Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 May 2010 17:37:30 -0500
From:      Brandon Gooch <jamesbrandongooch@gmail.com>
To:        David DEMELIER <demelier.david@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Kernel panic when unpluggin AC adaptor
Message-ID:  <s2g179b97fb1005031537w2b15d8cah75f65873c450c934@mail.gmail.com>
In-Reply-To: <m2mb3954bba1005031457h642b551fq5c9062af8cbdf7d1@mail.gmail.com>
References:  <g2mb3954bba1005031436g77215426n83ce7904e5ef321@mail.gmail.com> <m2mb3954bba1005031457h642b551fq5c9062af8cbdf7d1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 3, 2010 at 4:57 PM, David DEMELIER <demelier.david@gmail.com> w=
rote:
> 2010/5/3 David DEMELIER <demelier.david@gmail.com>:
>> Hi,
>>
>> I just updated my 8.0-STABLE/amd64 today around 17h CEST, and it just
>> panics when I unplug my AC. =A0The current process =3D 11 (idle: cpu1) i=
s
>> 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=3D"HIGH"
> #performance_cpu_freq=3D${performance_cx_lowest}
> #economy_cx_lowest=3D"LOW"
> #economy_cpu_freq=3D${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        =3D 0
dynamic pcpu    =3D 0x692d00
curthread    =3D 0xffffff0001507390: pid 11 "idle: cpu0"
curpcb       =3D 0xffffff8000039d40
fpcurthread  =3D none
idlethread   =3D 0xffffff0001507390: pid 11 "idle: cpu0"
curpmap         =3D 0
tssp            =3D 0xffffffff80840580
commontssp      =3D 0xffffffff80840580
rsp0            =3D 0xffffff8000039d40
gs32p           =3D 0xffffffff8083f3b8
ldt             =3D 0xffffffff8083f3f8
tss             =3D 0xffffffff8083f3e8

cpuid        =3D 1
dynamic pcpu    =3D 0xffffff807f85ed00
curthread    =3D 0xffffff0001507720: pid 11 "idle: cpu1"
curpcb       =3D 0xffffff8000034d40
fpcurthread  =3D none
idlethread   =3D 0xffffff0001507720: pid 11 "idle: cpu1"
curpmap         =3D 0
tssp            =3D 0xffffffff808405e8
commontssp      =3D 0xffffffff808405e8
rsp0            =3D 0xffffff8000034d40
gs32p           =3D 0xffffffff8083f420
ldt             =3D 0xffffffff8083f460
tss             =3D 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 =3D 0, rsp =3D 0xffffff8000039d30, rbp =3D 0 ---

-Brandon



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