Kernel panic when unpluggin AC adaptor

Brandon Gooch jamesbrandongooch at gmail.com
Mon May 3 22:37:45 UTC 2010


On Mon, May 3, 2010 at 4:57 PM, David DEMELIER <demelier.david at gmail.com> wrote:
> 2010/5/3 David DEMELIER <demelier.david at gmail.com>:
>> Hi,
>>
>> I just updated my 8.0-STABLE/amd64 today around 17h CEST, and it just
>> panics when I unplug my AC.  The current process = 11 (idle: cpu1) is
>> this related to the cpufreq and related stuff ?
>>
>> It also says cannot dump. Device not defined or unavailable so I can't
>> give you more infos now.
>>
>
> I can confirm that :
>
> #performance_cx_lowest="HIGH"
> #performance_cpu_freq=${performance_cx_lowest}
> #economy_cx_lowest="LOW"
> #economy_cpu_freq=${economy_cx_lowest}
>
> in rc.conf was the problem.

Can you get a backtrace? I've been experiencing something strange
lately after applying optimization settings from:

http://wiki.freebsd.org/TuningPowerConsumption

I can't get a useful dump either, the machine is idle, and the
backtrace is strange to me:

db> show allpcpu

Current CPU: 0

cpuid        = 0
dynamic pcpu    = 0x692d00
curthread    = 0xffffff0001507390: pid 11 "idle: cpu0"
curpcb       = 0xffffff8000039d40
fpcurthread  = none
idlethread   = 0xffffff0001507390: pid 11 "idle: cpu0"
curpmap         = 0
tssp            = 0xffffffff80840580
commontssp      = 0xffffffff80840580
rsp0            = 0xffffff8000039d40
gs32p           = 0xffffffff8083f3b8
ldt             = 0xffffffff8083f3f8
tss             = 0xffffffff8083f3e8

cpuid        = 1
dynamic pcpu    = 0xffffff807f85ed00
curthread    = 0xffffff0001507720: pid 11 "idle: cpu1"
curpcb       = 0xffffff8000034d40
fpcurthread  = none
idlethread   = 0xffffff0001507720: pid 11 "idle: cpu1"
curpmap         = 0
tssp            = 0xffffffff808405e8
commontssp      = 0xffffffff808405e8
rsp0            = 0xffffff8000034d40
gs32p           = 0xffffffff8083f420
ldt             = 0xffffffff8083f460
tss             = 0xffffffff8083f450

db> bt

Tracing pid 11 tid 100004 td 0xffffff0001507390
rman_get_bushandle() at rman_get_bushandle+0x1
sched_idletd() at sched_idletd+0x123
fork_exit() at fork_exit+0x118
fork_trampoline() at fork_trampoline+0xe
--- trap 0, rip = 0, rsp = 0xffffff8000039d30, rbp = 0 ---

-Brandon


More information about the freebsd-stable mailing list