Hi,
It seems unplugging the power cable on my HP Mini 9 netbook makes OpenBSD
5.5 panic. I just reproduced by booting up the machine and pulling the cord
without even logging into the system, the first time I tripped in the cable
by accident. See trace and ps below. plus56.html shows this line
"If acpi(4) finds a bogus interrupt, don't panic but print a message, to
workaround dodgy BIOS."
I could not find an associated bug number or changeset number to compare.
config_activate_children: device eephy0 failed 1
config_activate_children: device msk0 failed 1
panic: config_detach: forced detach of mskc0 failed (45)
Stopped at Debugger+0x4: popl %ebp
RUN AT LEAST ‘trace’ AND ‘ps’ AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
IF RUNNING SMP, USE ‘mac ddbcpu <#>’ AND ‘trace’ ON OTHER PROCESSORS, TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{1}> trace
Debugger(d09e0f87, f5b50ea8, d09bc458, f5b50ea8, d31e1100) at Debugger+0x4
panic(d09bc458, d31e1114, 2d, d03cb0b5, d0b26fc8) at panic+0x67
config_detach(d31e1100, 1, 0, c0, d321d400) at config_detach+0x332
config_detach_children(d31e1f00, 1, f5b50f4c, d321d400, d0b27040) at
config_detach_children+0x3d
pci_detach_devices(d31e1f00, 1, 0, f5b50f68, d0b27040) at
pci_detach_devices+0x1b
ppb_hotplug_remove(d321d400, 0, d0c4ce20, f5b50f70, d0564458) at
ppb_hotplug_remove+0x28
taskq_thread(d0b27040) at taskq_thread+0x28
Bad frame pointer: 0xd0d17e48
ddb{1}> ps
| PID | PPID | PGRP | UID | S | FLAGS | WAIT | COMMAND |
| 2182 | 1 | 2182 | 0 | 3 | 0x83 | ttyin | getty |
| 7300 | 1 | 7300 | 0 | 3 | 0x83 | ttyin | getty |
| 10151 | 1 | 10151 | 0 | 3 | 0x83 | ttyin | getty |
| 21215 | 1 | 21215 | 0 | 3 | 0x83 | ttyin | getty |
| 6804 | 1 | 6804 | 0 | 3 | 0x83 | ttyin | getty |
| 10523 | 1 | 10523 | 0 | 3 | 0x80 | select | cron |
| 30756 | 1 | 30756 | 99 | 3 | 0x90 | poll | sndiod |
| 17856 | 1 | 17856 | 0 | 3 | 0xb0 | select | sendmail |
| 27327 | 26093 | 26093 | 74 | 3 | 0x90 | bpf | pflogd |
| 26093 | 1 | 26093 | 0 | 3 | 0x80 | netio | pflogd |
| 11389 | 9705 | 9705 | 73 | 2 | 0x90 | | syslogd |
| 9705 | 1 | 9705 | 0 | 3 | 0x80 | netio | syslogd |
| 13734 | 1 | 13734 | 77 | 3 | 0x90 | poll | dhclient |
| 12424 | 1 | 12424 | 0 | 3 | 0x80 | poll | dhclient |
| 24620 | 0 | 0 | 0 | 3 | 0x4200 | aiodoned | aiodoned |
| 10235 | 0 | 0 | 0 | 3 | 0x4200 | syncer | update |
| 3663 | 0 | 0 | 0 | 3 | 0x4200 | cleaner | cleaner |
| 24543 | 0 | 0 | 0 | 3 | 0x4200 | reaper | reaper |
| 5246 | 0 | 0 | 0 | 3 | 0x4200 | pgdaemon | pagedaemon |
| 25249 | 0 | 0 | 0 | 3 | 0x4200 | bored | crypto |
| 9966 | 0 | 0 | 0 | 3 | 0x4200 | pftm | pfpurge |
| 26634 | 0 | 0 | 0 | 3 | 0x4200 | usbtsk | usbtask |
| 23683 | 0 | 0 | 0 | 3 | 0x4200 | usbatsk | usbatsk |
| 18484 | 0 | 0 | 0 | 3 | 0x4200 | bored | intelrel |
| 30836 | 0 | 0 | 0 | 3 | 0x4200 | bored | sensors |
| 25918 | 0 | 0 | 0 | 3 | 0x40004200 | acpiec | acpi0 |
| 13285 | 0 | 0 | 0 | 3 | 0x40004200 | | idle1 |
| * 5092 | 0 | 0 | 0 | 7 | 0x4200 | | systq |
| 9664 | 0 | 0 | 0 | 3 | 0x4200 | bored | syswq |
| 16657 | 0 | 0 | 0 | 7 | 0x40004200 | | idle0 |
| 571 | 0 | 0 | 0 | 3 | 0x4200 | kmalloc | kmthread |
| 1 | 0 | 0 | 0 | 3 | 0x82 | wait | init |
| 0 | -1 | 0 | 0 | 3 | 0x200 | scheduler | swapper |
Cheers,
Eric