>Synopsis: 5.8 kernel panic on PCengines ALIX / i386
>Category: kernel
>Environment:
System : OpenBSD 5.8
Details : OpenBSD 5.8 (GENERIC) #1: Wed Oct 14 19:41:58 CEST 2015
[email protected]:/binpatchng/work-binpatch58-i386/src/sys/arch/i386/compile/GENERIC
Architecture: OpenBSD.i386
Machine : i386
>Description:
PC Engines ALIX kernel panic
>How-To-Repeat:
Unknown, this is the first time the machine panics. The ALIX functions
as a simple ethernet bridge between two ethernet segments. Uptime was between
24 and 48 hours.
>Fix:
Unknown.
[job@lisa ~] $ cat /etc/hostname.vr0
inet 37.77.58.20 255.255.255.192
inet6 2001:67c:208c:10::20 64
[job@lisa ~] $ cat /etc/hostname.vr1
up media autoselect
[job@lisa ~] $ cat /etc/hostname.vr2
up media autoselect
[job@lisa ~] $ cat /etc/hostname.bridge0
add vr0
add vr1
add vr2
up
[job@lisa ~] $ ifconfig bridge0
bridge0: flags=41<UP,RUNNING>
groups: bridge
priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp
designated: id 00:00:00:00:00:00 priority 0
vr0 flags=3<LEARNING,DISCOVER>
port 1 ifpriority 0 ifcost 0
vr1 flags=3<LEARNING,DISCOVER>
port 2 ifpriority 0 ifcost 0
vr2 flags=3<LEARNING,DISCOVER>
port 3 ifpriority 0 ifcost 0
Addresses (max cache: 100, timeout: 240):
88:63:df:ad:98:c1 vr2 1 flags=0<>
c0:f8:da:25:0e:fe vr2 0 flags=0<>
70:71:bc:e2:b7:5d vr2 1 flags=0<>
5c:f9:38:51:ad:ba vr2 1 flags=0<>
00:0d:b9:01:a4:2c vr0 1 flags=0<>
00:11:32:10:02:f1 vr2 1 flags=0<>
00:27:0c:de:6d:07 vr2 1 flags=0<>
00:0d:b9:33:8f:c1 vr2 1 flags=0<>
00:20:0c:08:fa:55 vr2 1 flags=0<>
00:06:dc:89:5f:0b vr2 1 flags=0<>
f0:99:bf:04:e9:85 vr2 1 flags=0<>
b8:e8:56:24:d7:f6 vr2 1 flags=0<>
00:25:4b:09:3b:f5 vr2 1 flags=0<>
00:0d:b9:2f:61:d0 vr1 1 flags=0<>
[job@lisa ~] $
dmesg:
OpenBSD 5.8 (GENERIC) #1: Wed Oct 14 19:41:58 CEST 2015
[email protected]:/binpatchng/work-binpatch58-i386/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 499
MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
real mem = 267931648 (255MB)
avail mem = 250261504 (238MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 12/10/07, BIOS32 rev. 0 @ 0xfceb2
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xe0000/0xa800
cpu0 at mainbus0: (uniprocessor)
mtrr: K6-family MTRR support (2 registers)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 1 function 0 "AMD Geode LX" rev 0x33
glxsb0 at pci0 dev 1 function 2 "AMD Geode LX Crypto" rev 0x00: RNG AES
vr0 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 10, address
00:0d:b9:15:9a:d4
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
vr1 at pci0 dev 10 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address
00:0d:b9:15:9a:d5
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
vr2 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12, address
00:0d:b9:15:9a:d6
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit
3579545Hz timer, watchdog, gpio, i2c
gpio0 at glxpcib0: 32 pins
iic0 at glxpcib0
maxtmp0 at iic0 addr 0x4c: lm86
pciide0 at pci0 dev 15 function 2 "AMD CS5536 IDE" rev 0x01: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <CF 4GB>
wd0: 1-sector PIO, LBA, 3831MB, 7847280 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 15, version 1.0,
legacy support
ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 15
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "AMD EHCI root hub" rev 2.00/1.00 addr 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
nvram: invalid checksum
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (9801ca72e4a6eaf0.a) swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
clock: unknown CMOS layout
usbdevs:
Controller /dev/usb0:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), AMD(0x1022),
rev 1.00
port 1 powered
port 2 powered
port 3 powered
port 4 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), AMD(0x1022),
rev 1.00
port 1 powered
port 2 powered
port 3 powered
port 4 powered
ddb> trace
Debugger(d09d2a6c,f360bb74,d09ad374,f360bb74,22) at Debugger+0x7
panic(d09ad374,d092be46,d09a9088,d09a9044,42f) at panic+0x71
__assert(d092be46,d09a9044,42f,d09a9088,d0b90fbc) at __assert+0x2e
knote_enqueue(d54f40d0,0,d0b90fbc,2,d1445380) at knote_enqueue+0x83
knote(d14453e4,0,f360bc28,d03b6cc9,40) at knote+0x43
selwakeup(d14453e0,14,d144f0d1,f360bcdc,f360bc90) at selwakeup+0x22
bpf_wakeup(d1445380,d144f012,bf,0,f360bcdc) at bpf_wakeup+0x2b
bpf_catchpacket(d1445380,f37b4400,bf,ffffffff,d0416cc0) at bpf_catchpacket+0x13
8
_bpf_mtap(d136d200,f37b4400,1,0,d0b90f20) at _bpf_mtap+0xd6
bpf_mtap(d136d200,f37b4400,1,d03deb63,f36fe000) at bpf_mtap+0x27
bpf_mtap_ether(d136d200,f37b4400,1,2,1) at bpf_mtap_ether+0x38
if_input(d137103c,f360bdc0,3b9aca00,2,f37b4400) at if_input+0x7a
bridge_localbroadcast(d1417000,d137103c,f360be6a,f3a28b00,0) at bridge_localbro
adcast+0x8b
bridge_broadcast(d1417000,d137403c,f360be6a,f3a28b00,f3a28b00) at bridge_broadc
ast+0xc1
bridgeintr_frame(d1417000,f3a28b00,f37b4400,3b9aca00,2) at bridgeintr_frame+0x3
8b
bridgeintr(d03de398,f37b4400,f37b4400,f360bed8,d136d760) at bridgeintr+0x81
netintr(0,f37b4400,e,2,d137403c) at netintr+0xa7
softintr_dispatch(1) at softintr_dispatch+0x5a
Xsoftnet() at Xsoftnet+0x12
--- interrupt ---
uvm_fault(0xd0b8a240, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Faulted in DDB; continuing...
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
24047 4689 24047 0 3 0x83 ttyin ksh
4689 14016 4689 1000 3 0x8b pause ksh
14016 2474 2474 1000 3 0x90 select sshd
2474 12369 2474 0 3 0x92 poll sshd
23584 11129 11129 75 3 0x92 poll bgpd
19121 11129 11129 75 3 0x92 poll bgpd
11129 1 11129 0 3 0x80 poll bgpd
20362 4851 22543 83 3 0x90 poll ntpd
4851 22543 22543 83 3 0x90 poll ntpd
22543 1 22543 0 3 0x80 poll ntpd
24457 1 24457 0 3 0x83 ttyin getty
16621 1 16621 0 3 0x80 poll cron
1434 8574 8574 606 3 0x90 kqread ladvd
8574 1 8574 0 2 0 ladvd
6374 1 6374 99 3 0x90 poll sndiod
22785 11731 11731 95 3 0x90 kqread smtpd
8323 11731 11731 95 3 0x90 kqread smtpd
23181 11731 11731 95 3 0x90 kqread smtpd
5256 11731 11731 95 3 0x90 kqread smtpd
24567 11731 11731 95 3 0x90 kqread smtpd
31780 11731 11731 103 3 0x90 kqread smtpd
11731 1 11731 0 3 0x80 kqread smtpd
12369 1 12369 0 3 0x80 select sshd
20632 23781 23781 74 3 0x90 bpf pflogd
23781 1 23781 0 3 0x80 netio pflogd
26123 7364 7364 73 3 0x90 kqread syslogd
7364 1 7364 0 3 0x80 netio syslogd
4236 0 0 0 3 0x14200 pgzero zerothread
3215 0 0 0 3 0x14200 aiodoned aiodoned
7423 0 0 0 3 0x14200 syncer update
8182 0 0 0 3 0x14200 cleaner cleaner
26284 0 0 0 3 0x14200 reaper reaper
1303 0 0 0 3 0x14200 pgdaemon pagedaemon
22807 0 0 0 3 0x14200 bored crypto
8713 0 0 0 3 0x14200 pftm pfpurge
29174 0 0 0 3 0x14200 usbtsk usbtask
26906 0 0 0 3 0x14200 usbatsk usbatsk
8897 0 0 0 3 0x14200 bored sensors
* 4123 0 0 0 7 0x14210 softnet
25642 0 0 0 3 0x14200 bored systqmp
1429 0 0 0 3 0x14200 bored systq
31572 0 0 0 3 0x40014200 idle0
7205 0 0 0 3 0x14200 kmalloc kmthread
1 0 1 0 3 0x82 wait init
0 -1 0 0 3 0x10200 scheduler swapper
ddb>