Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 May 2010 23:01:39 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        David DEMELIER <demelier.david@gmail.com>
Cc:        Giovanni Trematerra <giovanni.trematerra@gmail.com>, freebsd-stable@freebsd.org
Subject:   Re: Kernel panic when unpluggin AC adaptor
Message-ID:  <20100504200139.GP23646@deviant.kiev.zoral.com.ua>
In-Reply-To: <h2ub3954bba1005040935h7e5207b2o399c357a1cfd407@mail.gmail.com>
References:  <m2mb3954bba1005031457h642b551fq5c9062af8cbdf7d1@mail.gmail.com> <20100503224206.GB9134@icarus.home.lan> <i2rb3954bba1005040132z817cc785gfbfd2bb520d87cfc@mail.gmail.com> <20100504083738.GA23820@icarus.home.lan> <i2mb3954bba1005040141m97cbd6b0u69651cb26992ee97@mail.gmail.com> <20100504085332.GA24219@icarus.home.lan> <n2gb3954bba1005040351o718a9508u8e992b0469137bdf@mail.gmail.com> <r2p4e6cba831005040836y43a0bb21x82b4b25334a755fa@mail.gmail.com> <y2yb3954bba1005040927l538ef077q20aea7a4c5121fdd@mail.gmail.com> <h2ub3954bba1005040935h7e5207b2o399c357a1cfd407@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--nLMor0SRtNCuLS/8
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, May 04, 2010 at 06:35:52PM +0200, David DEMELIER wrote:
> Good news ! It worked, check the picture here :
>=20
> http://img63.imageshack.us/img63/4244/dsc00361g.jpg

Please try adding code fragment like this:
	if (cx_next->p_lvlx =3D=3D NULL)
		printf("Going to panic.\n");
to  dev/acpi/acpi_cpu.c:acpi_cpu_idle() function, right before
    CPU_GET_REG(cx_next->p_lvlx, 1);
line and see if it prints the message immediately before the panic.

--nLMor0SRtNCuLS/8
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iEYEARECAAYFAkvgfSIACgkQC3+MBN1Mb4hgXQCfZoB2ACP8BL29WZS/BoIxt/T3
LboAn0piHpPJjbd/oyY3IDhSiSAQvw1j
=qIKK
-----END PGP SIGNATURE-----

--nLMor0SRtNCuLS/8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100504200139.GP23646>