I get the panic when unplugging either AC or bge0. The panic, trace and
ps are the same regardless of unplugging AC or bge0, but `mach ddbcpu 1`
fills the console with 'bge0: PHY read timed out' when unplugging bge0.
This is a HP 6730b, -current, clean install. Anyone who can help me?
Should I file a PR?
Unplugging AC:
panic: config_detach: forced detach of bge0 failed (45)
Stopped at Debugger+0x5: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{0}> trace
Debugger() at Debugger+0x5
panic() at panic+0xe4
config_detach() at config_detach+0x2b3
config_detach_children() at config_detach_children+0x3e
pci_detach_devices() at pci_detach_devices+0x15
ppb_hotplug_remove() at ppb_hotplug_remove+0x26
workq_thread() at workq_thread+0x33
end trace frame: 0x0, count: -7
ddb{0}> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
2700 1 2700 0 3 0x2004080 ttyin getty
12568 1 12568 0 3 0x2004080 ttyin getty
11603 1 11603 0 3 0x2004080 ttyin getty
16402 1 16402 0 3 0x2004080 ttyin getty
20217 1 20217 0 3 0x2004080 ttyin ksh
8702 1 8702 0 3 0x2040180 select sendmail
7226 1 7226 0 3 0x2000080 select cron
1324 1 1324 0 3 0x2000180 select inetd
31937 6792 6792 74 3 0x2000180 bpf pflogd
6792 1 6792 0 3 0x2000080 netio pflogd
23870 13234 13234 73 3 0x2000180 poll syslogd
13234 1 13234 0 3 0x2000088 netio syslogd
29109 1 29109 77 3 0x2000180 poll dhclient
27342 1 11837 0 3 0x2000080 poll dhclient
15 0 0 0 3 0x2100200 aiodoned aiodoned
14 0 0 0 3 0x2100200 syncer update
13 0 0 0 3 0x2100200 cleaner cleaner
12 0 0 0 3 0x100200 reaper reaper
11 0 0 0 3 0x2100200 pgdaemon pagedaemon
10 0 0 0 3 0x2100200 bored crypto
9 0 0 0 3 0x2100200 pftm pfpurge
8 0 0 0 3 0x2100200 usbtsk usbtask
7 0 0 0 3 0x2100200 usbatsk usbatsk
6 0 0 0 3 0x2100200 bored intelrel
5 0 0 0 3 0x2100200 amlsleep acpi0
4 0 0 0 7 0x40100200 idle1
* 3 0 0 0 7 0x2100200 syswq
2 0 0 0 3 0x40100200 idle0
1 0 1 0 3 0x2004080 wait init
0 -1 0 0 3 0x2080200 scheduler swapper
ddb{0}> mach ddbcpu 1
Stopped at Debugger+0x5: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{1}> trace
Debugger() at Debugger+0x5
x86_ipi_handler() at x86_ipi_handler+0x64
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x1b
--- interrupt ---
Bad frame pointer: 0xffff800025a2cf10
end trace frame: 0xffff800025a2cf10, count: -3
cpu_idle_cycle+0x13:
Unplugging bge0:
panic: config_detach: forced detach of bge0 failed (45)
Stopped at Debugger+0x5: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{0}> trace
Debugger() at Debugger+0x5
panic() at panic+0xe4
config_detach() at config_detach+0x2b3
config_detach_children() at config_detach_children+0x3e
pci_detach_devices() at pci_detach_devices+0x15
ppb_hotplug_remove() at ppb_hotplug_remove+0x26
workq_thread() at workq_thread+0x33
end trace frame: 0x0, count: -7
ddb{0}> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
13738 1 13738 0 3 0x2004080 ttyin getty
15165 1 15165 0 3 0x2004080 ttyin getty
23547 1 23547 0 3 0x2004080 ttyin getty
15747 1 15747 0 3 0x2004080 ttyin getty
27648 1 27648 0 3 0x2004080 ttyin getty
16213 1 16213 0 3 0x2040180 select sendmail
31992 1 31992 0 3 0x2000080 select cron
11017 1 11017 0 3 0x2000180 select inetd
12744 31215 31215 74 3 0x2000180 bpf pflogd
31215 1 31215 0 3 0x2000080 netio pflogd
8386 6551 6551 73 3 0x2000180 poll syslogd
6551 1 6551 0 3 0x2000088 netio syslogd
23061 1 23061 77 3 0x2000180 poll dhclient
18769 1 23818 0 3 0x2000080 poll dhclient
15 0 0 0 3 0x2100200 aiodoned aiodoned
14 0 0 0 3 0x2100200 syncer update
13 0 0 0 3 0x2100200 cleaner cleaner
12 0 0 0 3 0x100200 reaper reaper
11 0 0 0 3 0x2100200 pgdaemon pagedaemon
10 0 0 0 3 0x2100200 bored crypto
9 0 0 0 3 0x2100200 pftm pfpurge
8 0 0 0 3 0x2100200 usbtsk usbtask
7 0 0 0 3 0x2100200 usbatsk usbatsk
6 0 0 0 3 0x2100200 bored intelrel
5 0 0 0 3 0x2100200 amlsleep acpi0
4 0 0 0 7 0x40100200 idle1
* 3 0 0 0 7 0x2100200 syswq
2 0 0 0 3 0x40100200 idle0
1 0 1 0 3 0x2004080 wait init
0 -1 0 0 3 0x2080200 scheduler swapper
ddb{0}> mach ddbcpu 1
Stopped at Debugger+0x5: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIbgePANPCY
ead tiNeNG uM
ace'b ge0:OPHYR eaOCtimeR , t
O.
DbgeNO PHV r aOTHim dEPOR
T INFORMATION! rT INtLmDdNouTH
ddb{1}> bge0: PHY read timed out
bge0: PHY read timed out
bge0: PHY read timed out
....
and so on
OpenBSD 4.8-current (GENERIC.MP) #647: Fri Nov 26 08:49:58 MST 2010
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error
ff<clock_battery,ROM_cksum,config_unit,memory_size,fixed_disk,invalid_time>
real mem = 2069291008 (1973MB)
avail mem = 2000289792 (1907MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0x7b8c4000 (21 entries)
bios0: vendor Hewlett-Packard version "68PDD Ver. F.13" date 12/08/2009
bios0: Hewlett-Packard HP Compaq 6730b (GB987ET#AK8)
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP HPET APIC MCFG ASF! TCPA SSDT SLIC SSDT DMAR
SSDT SSDT SSDT
acpi0: wakeup devices LANC(S5) HDEF(S4) RP02(S5) WNIC(S5) RP03(S5)
ECF0(S5) RP05(S5) ECF0(S5) RP06(S5) NIC_(S5) USB1(S3) USB2(S3) USB3(S3)
USB4(S3) USB5(S3) USB6(S3) U6RM(S3) EHC1(S3) EHC2(S3) PCIB(S5) HST1(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz, 2261.30 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG
cpu0: 3MB 64b/line 8-way L2 cache
cpu0: apic clock running at 266MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz, 2261.00 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,NXE,LONG
cpu1: 3MB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 1
acpiprt0 at acpi0: bus -1 (PEGP)
acpiprt1 at acpi0: bus 1 (RP01)
acpiprt2 at acpi0: bus 2 (RP02)
acpiprt3 at acpi0: bus 3 (RP03)
acpiprt4 at acpi0: bus 68 (RP05)
acpiprt5 at acpi0: bus 133 (RP06)
acpiprt6 at acpi0: bus 134 (PCIB)
acpiprt7 at acpi0: bus 0 (PCI0)
acpiec0 at acpi0
acpicpu0 at acpi0: C2, C1, PSS
acpicpu1 at acpi0: C2, C1, PSS
acpipwrres0 at acpi0: APPR
acpipwrres1 at acpi0: COMP
acpipwrres2 at acpi0: LPP_
acpipwrres3 at acpi0: PFN0
acpipwrres4 at acpi0: PFN1
acpipwrres5 at acpi0: PFN2
acpipwrres6 at acpi0: PFN3
acpipwrres7 at acpi0: PFN4
acpitz0 at acpi0: critical temperature 256 degC
acpitz1 at acpi0: critical temperature 110 degC
acpitz2 at acpi0: critical temperature 105 degC
acpitz3 at acpi0: critical temperature 110 degC
acpitz4 at acpi0: critical temperature 110 degC
acpibat0 at acpi0: BAT0 model "Primary" serial 04335 2009/01/20 type
LIon oem "Hewlett-Packard"
acpibat1 at acpi0: BAT1 not present
acpiac0 at acpi0: AC unit online
acpibtn0 at acpi0: SLPB
acpibtn1 at acpi0: LID_
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
cpu0: Enhanced SpeedStep 2261 MHz: speeds: 2267, 2266, 1600, 800 MHz
memory map conflict 0xfff80000/0x7000
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
vga1 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0x80000000, size 0x10000000
inteldrm0 at vga1: apic 1 int 16 (irq 10)
drm0 at inteldrm0
"Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 1 int
16 (irq 10)
uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 1 int
17 (irq 11)
uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 1 int
18 (irq 10)
ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 1 int
19 (irq 10)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: apic
1 int 17 (irq 11)
azalia0: codecs: Analog Devices AD1984A, AT&T/Lucent/0x1040, using
Analog Devices AD1984A
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: apic 1 int
16 (irq 10)
pci1 at ppb0 bus 1
ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: apic 1 int
17 (irq 11)
pci2 at ppb1 bus 2
iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5100" rev 0x00: apic 1
int 17 (irq 11), MIMO 1T2R, MoW, address 00:21:6b:a8:84:9a
ppb2 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x03: apic 1 int
18 (irq 10)
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03: apic 1 int
16 (irq 10)
pci4 at ppb3 bus 68
ppb4 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x03: apic 1 int
17 (irq 11)
pci5 at ppb4 bus 133
bge0 at pci5 dev 0 function 0 "Broadcom BCM5787M" rev 0x02, BCM5754/5787
A2 (0xb002): apic 1 int 17 (irq 11), address 00:24:81:44:b2:b5
brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0
uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 1 int
20 (irq 10)
uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 1 int
22 (irq 10)
uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 1 int
18 (irq 10)
ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 1 int
20 (irq 10)
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
pci6 at ppb5 bus 134
pcib0 at pci0 dev 31 function 0 "Intel 82801IBM LPC" rev 0x03
ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: apic 1 int
21 (irq 10), AHCI 1.2
scsibus0 at ahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, TOSHIBA MK1652GS, LV01> SCSI3
0/direct fixed
sd0: 152627MB, 512 bytes/sec, 312581808 sec total
cd0 at scsibus0 targ 1 lun 0: <Optiarc, DVD RW AD-7561S, AH03> ATAPI
5/cdrom removable
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb6 at uhci4: USB revision 1.0
uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb7 at uhci5: USB revision 1.0
uhub7 at usb7 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
mtrr: Pentium Pro MTRR support
uvideo0 at uhub0 port 5 configuration 1 interface 0 "Chicony Electronics
Co., Ltd. CKF7037" rev 2.00/33.18 addr 2
video0 at uvideo0
ubt0 at uhub2 port 1 "Broadcom Corp HP Integrated Module" rev 2.00/1.00
addr 2
ugen0 at uhub3 port 1 "AuthenTec Fingerprint Sensor" rev 2.00/17.03 addr 2
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
root on sd0a swap on sd0b dump on sd0b