Kernel panic when unpluggin AC adaptor

David DEMELIER demelier.david at gmail.com
Tue May 4 08:41:22 UTC 2010


2010/5/4 Jeremy Chadwick <freebsd at jdc.parodius.com>:
> On Tue, May 04, 2010 at 10:32:14AM +0200, David DEMELIER wrote:
>> Since I added dumpdev="/dev/ad4s1b" in my /boot/loader.conf it does
>> not panic anymore ...
>>
>> I'm not lucky (or ?).
>
> 1) dumpdev="xxx" should go into /etc/rc.conf, not /boot/loader.conf.
> Putting in in /boot/loader.conf will change/do nothing.  You should
> probably be using 'dumpdev="auto"' anyway (it then uses whatever you
> define as swap in /etc/fstab).
>
> 2) If you meant to say /etc/rc.conf instead of /boot/loader.conf,
> setting dumpdev shouldn't fix your problem.  I think it's a red herring.
>
> 3) You sent the above to me directly; please keep the mailing list CC'd,
> as others need to know what you've tried/done.  Thanks.
>

Yes I also added dumpdev="AUTO" in /etc/rc.conf at the beginning. That
was Garett who told me to add it to loader.conf.

$ sysctl dev.cpu
dev.cpu.0.%desc: ACPI CPU
dev.cpu.0.%driver: cpu
dev.cpu.0.%location: handle=\_PR_.CPU0
dev.cpu.0.%pnpinfo: _HID=none _UID=0
dev.cpu.0.%parent: acpi0
dev.cpu.0.freq: 2101
dev.cpu.0.freq_levels: 2101/35000 1837/30625 1600/23888 1400/20902
1200/15000 1050/13125 900/11250 750/9375 600/7500 450/5625 300/3750
150/1875
dev.cpu.0.cx_supported: C1/1 C2/57
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_usage: 100.00% 0.00% last 497us
dev.cpu.1.%desc: ACPI CPU
dev.cpu.1.%driver: cpu
dev.cpu.1.%location: handle=\_PR_.CPU1
dev.cpu.1.%pnpinfo: _HID=none _UID=0
dev.cpu.1.%parent: acpi0
dev.cpu.1.cx_supported: C1/1 C2/57
dev.cpu.1.cx_lowest: C1
dev.cpu.1.cx_usage: 100.00% 0.00% last 497us

(I used Cc: entry I hope it sends to all)

-- 
Demelier David


More information about the freebsd-stable mailing list