Date: Tue, 4 May 2010 23:38:09 +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, freebsd-acpi@freebsd.org Subject: Re: Kernel panic when unpluggin AC adaptor Message-ID: <20100504203809.GR23646@deviant.kiev.zoral.com.ua> In-Reply-To: <i2qb3954bba1005041327v72795c19va26e23dbb79159b9@mail.gmail.com> References: <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> <20100504200139.GP23646@deviant.kiev.zoral.com.ua> <i2qb3954bba1005041327v72795c19va26e23dbb79159b9@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Bi+HF1AHjw0mn3zx Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 04, 2010 at 10:27:23PM +0200, David DEMELIER wrote: > 2010/5/4 Kostik Belousov <kostikbel@gmail.com>: > > On Tue, May 04, 2010 at 06:35:52PM +0200, David DEMELIER wrote: > >> Good news ! It worked, check the picture here : > >> > >> http://img63.imageshack.us/img63/4244/dsc00361g.jpg > > > > Please try adding code fragment like this: > > =9A =9A =9A =9Aif (cx_next->p_lvlx =3D=3D NULL) > > =9A =9A =9A =9A =9A =9A =9A =9Aprintf("Going to panic.\n"); > > to =9Adev/acpi/acpi_cpu.c:acpi_cpu_idle() function, right before > > =9A =9ACPU_GET_REG(cx_next->p_lvlx, 1); > > line and see if it prints the message immediately before the panic. > > >=20 > Yes it does at the beginning of the kernel panic. Ok, so the point of panic is found, it is NULL cx_next->p_lvlx resource. With the data in hand, I recommend you to ask on acpi@ (added a Cc:) about the cause and possible solution. --Bi+HF1AHjw0mn3zx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iEYEARECAAYFAkvghbAACgkQC3+MBN1Mb4gXlgCgsSPpn8IIMi0+2oZHTKz0haxO StgAoICD29XstQKYHcmwzOcQVubm4Qil =aXZF -----END PGP SIGNATURE----- --Bi+HF1AHjw0mn3zx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100504203809.GR23646>