Date: Tue, 4 May 2010 22:27:23 +0200 From: David DEMELIER <demelier.david@gmail.com> To: Kostik Belousov <kostikbel@gmail.com> Cc: Giovanni Trematerra <giovanni.trematerra@gmail.com>, freebsd-stable@freebsd.org Subject: Re: Kernel panic when unpluggin AC adaptor Message-ID: <i2qb3954bba1005041327v72795c19va26e23dbb79159b9@mail.gmail.com> In-Reply-To: <20100504200139.GP23646@deviant.kiev.zoral.com.ua> References: <m2mb3954bba1005031457h642b551fq5c9062af8cbdf7d1@mail.gmail.com> <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>
next in thread | previous in thread | raw e-mail | index | archive | help
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: > =A0 =A0 =A0 =A0if (cx_next->p_lvlx =3D=3D NULL) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0printf("Going to panic.\n"); > to =A0dev/acpi/acpi_cpu.c:acpi_cpu_idle() function, right before > =A0 =A0CPU_GET_REG(cx_next->p_lvlx, 1); > line and see if it prints the message immediately before the panic. > Yes it does at the beginning of the kernel panic. Cheers. --=20 Demelier David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?i2qb3954bba1005041327v72795c19va26e23dbb79159b9>