Kernel panic when unpluggin AC adaptor

Jeremy Chadwick freebsd at jdc.parodius.com
Fri May 7 19:26:07 UTC 2010


On Fri, May 07, 2010 at 08:33:46PM +0200, Demelier David wrote:
> Le Vendredi 07 mai 2010 à 18:22 +0200, Giovanni Trematerra a écrit :
> > On Fri, May 7, 2010 at 2:08 PM, Demelier David <demelier.david at gmail.com> wrote:
> > > Hi,
> > >        I noticed that pluggin the AC adaptor when I boot without it does not
> > >        panic. It only panic when removing it.
> > >
> > >        Maybe that could help ?
> > >
> > 
> > Good to know. The problem lies somewhere when performance state change.
> > In your case it happens when you remove AC adaptor. Let's hope someone on
> > acpi@ ml comes up with a good idea.
> > 
> 
> Okay so for the moment no change, I'll wait for someone with an idea
> that could solve my problem. For me because the panic only happens when
> changing profile from ac plugged -> ac unplugged (and not the reverse) I
> would think it's a cpu related acpi issue.

This is one of the reasons why I asked you to provide sysctl dev.cpu
output (which you did -- thanks!).  There's a known situation where CPUs
going into C3 (but not C1 or C2) state causes problems.  In your case
your CPUs only advertise up to C2, so you're unaffected by that issue.

-- 
| Jeremy Chadwick                                   jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list