Stefan Sperling
2017-06-19 20:19:06 UTC
Not sure if this has been reported before.
The snapshot this ALIX machine is running is 10 days old.
I don't know what triggers this. It may have happened while
I was rearranging some cables but I am not sure about that.
It is possible that there is some interaction with the olsrd deamon
installed from ports (net/olsrd + a diff I send to ports@ yesterday).
panic: receive 1: so 0xf37429e4, so_type 3, sb_cc 194
Stopped at db_enter+0x7: leave
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*149598 42048 0 0 0 0 ospfd
db_enter(d0ba3803,f3784d58,d0ac5640,f3784d58,0) at db_enter+0x7
panic(d0ac5640,f37429e4,3,c2,4c724f) at panic+0x71
soreceive(f37429e4,0,f3784e8c,0,0) at soreceive+0xa54
soo_read(d15dc968,d15dc980,f3784e8c,d1712660,ade14ce) at soo_read+0x43
dofilereadv(f3765b30,4,d15dc968,f3784ef4,1) at dofilereadv+0x1c5
sys_read(f3765b30,f3784f54,f3784f7c,d0349dd7,0) at sys_read+0x8f
syscall() at syscall+0x12f
--- syscall (number -813780420) ---
clean_idt+0x226:
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb> show reg
ds 0x10
es 0x10
fs 0x20 clean_idt
gs 0
edi 0x100 clean_idt+0xe0
esi 0xd0ac5640 pchtemp_devices+0x460
ebp 0xf3784d0c
ebx 0xf3784d58
edx 0x1
ecx 0xd0bbc80c kprintf_mutex
eax 0x1
eip 0xd0956bf7 db_enter+0x7
cs 0x8
eflags 0x286 clean_idt+0x266
esp 0xf3784cfc
ss 0x10
db_enter+0x7: leave
ddb> show socket 0xf37429e4
socket 0xf37429e4
so_type: 3
so_options: 0x0000
so_linger: 0
so_state: 386
so_pcb: 0xd19c8e00
so_proto: 0xd0bbe580
so_head: 0x0
so_onq: 0x0
so_q0: @0xf37429fc first: 0x0
so_q: @0xf3742a04 first: 0x0
so_eq: next: 0x0
so_q0len: 0
so_qlen: 0
so_qlimit: 0
so_timeo: 0
so_pgid: 0
so_siguid: 0
so_sigeuid: 0
so_obmark: 0
so_sp: 0x0
so_rcv:
sb_cc: 194
sb_datacc: 192
sb_hiwat: 131072
sb_wat: 131072
sb_mbcnt: 768
sb_mbmax: 262144
sb_lowat: 1
sb_mb: 0x0
sb_mbtail: 0x0
sb_lastrecord: 0x0
sb_sel: ...
sb_flagsintr: 0
sb_flags: 129
sb_timeo: 0
so_snd:
sb_cc: 0
sb_datacc: 0
sb_hiwat: 8192
sb_wat: 8192
sb_mbcnt: 0
sb_mbmax: 196608
sb_lowat: 2048
sb_mb: 0x0
sb_mbtail: 0x0
sb_lastrecord: 0x0
sb_sel: ...
sb_flagsintr: 0
sb_flags: 0
sb_timeo: 0
so_upcall: 0x0 so_upcallarg: 0x0
so_euid: 0 so_ruid: 0
so_egid: 0 so_rgid: 0
so_cpid: 42048
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
43314 356808 80690 0 3 0x100083 ttyin ksh
80690 16405 33893 1000 3 0x10008b pause ksh
33893 355564 1 1000 3 0x100080 kqread tmux
32513 118501 1 0 3 0x100083 ttyin getty
90529 315746 1 0 3 0x100098 poll cron
2376 386193 1 0 3 0x80 select olsrd
58243 494907 1 0 2 0 olsrd
71187 122855 1 110 3 0x100090 poll sndiod
29435 399034 1 99 3 0x100090 poll sndiod
92570 14422 1 0 3 0x100080 kqread httpd
48678 426649 1 67 3 0x100092 kqread httpd
61770 14553 1 67 3 0x100092 kqread httpd
38336 193265 1 67 3 0x100092 kqread httpd
82848 505091 1 67 3 0x100092 kqread httpd
34864 285566 1 67 3 0x100090 kqread slowcgi
46586 226403 15511 95 3 0x100092 kqread smtpd
91801 182307 15511 103 3 0x100092 kqread smtpd
99101 511972 15511 95 3 0x100092 kqread smtpd
46711 109002 15511 95 3 0x100092 kqread smtpd
67199 85973 15511 95 3 0x100092 kqread smtpd
47469 491392 15511 95 3 0x100092 kqread smtpd
15511 522949 1 0 3 0x100080 kqread smtpd
54815 291895 1 77 3 0x100090 poll dhcpd
81160 287272 47444 90 3 0x90 kqread ospf6d
58379 140945 47444 90 3 0x90 kqread ospf6d
47444 351314 1 0 3 0x80 kqread ospf6d
3814 97370 42048 85 3 0x100090 kqread ospfd
47192 53226 42048 85 3 0x100090 kqread ospfd
*42048 149598 1 0 7 0 ospfd
17499 148281 1 0 3 0x80 select sshd
87668 150244 362 68 3 0x90 select isakmpd
362 342474 1 0 3 0x80 netio isakmpd
5935 446255 1 0 3 0x100080 poll ntpd
58897 135936 15891 83 3 0x100092 poll ntpd
15891 153142 1 83 3 0x100092 poll ntpd
79980 270714 1 53 3 0x90 kqread unbound
73838 164649 61573 97 3 0x100090 kqread nsd
61573 324570 76126 97 3 0x100090 poll nsd
76126 424278 1 97 3 0x100090 kqread nsd
7286 447781 34367 73 3 0x100090 kqread syslogd
34367 7672 1 0 3 0x100082 netio syslogd
8152 61 69338 115 3 0x100092 kqread slaacd
12235 208466 69338 115 3 0x100092 kqread slaacd
69338 232452 1 0 3 0x80 kqread slaacd
60954 259079 1 0 3 0x80 mfsidl mount_mfs
33719 173317 1 0 3 0x80 mfsidl mount_mfs
17868 14465 1 0 3 0x80 mfsidl mount_mfs
25440 190650 1 0 3 0x80 mfsidl mount_mfs
72427 447439 0 0 3 0x14200 pgzero zerothread
69245 515783 0 0 3 0x14200 aiodoned aiodoned
89648 291166 0 0 3 0x14200 syncer update
43400 487838 0 0 3 0x14200 cleaner cleaner
47829 424276 0 0 3 0x14200 reaper reaper
71035 189088 0 0 3 0x14200 pgdaemon pagedaemon
15360 523117 0 0 3 0x14200 bored crynlk
69935 358213 0 0 3 0x14200 bored crypto
88720 298929 0 0 3 0x14200 pftm pfpurge
1965 389239 0 0 3 0x14200 usbtsk usbtask
60547 328428 0 0 3 0x14200 usbatsk usbatsk
11535 186052 0 0 3 0x14200 bored sensors
64031 447077 0 0 3 0x14200 bored softnet
53988 268040 0 0 3 0x14200 bored systqmp
33198 148358 0 0 3 0x14200 bored systq
89263 8907 0 0 3 0x40014200 bored softclock
42935 290632 0 0 3 0x40014200 idle0
45422 256337 0 0 3 0x14200 kmalloc kmthread
1 273718 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb> dmesg
OpenBSD 6.1-current (GENERIC) #105: Fri Jun 9 20:41:52 MDT 2017
***@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 499 M
Hz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
real mem = 267931648 (255MB)
avail mem = 249606144 (238MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 11/05/08, BIOS32 rev. 0 @ 0xfd088
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 0
0:0d:b9:1f:f4:50
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
vr1 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 15, address 0
0:0d:b9:1f:f4:51
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
iwi0 at pci0 dev 12 function 0 "Intel PRO/Wireless 2200BG" rev 0x05: irq 9, add
ress 00:0e:35:89:2a:78
athn0 at pci0 dev 14 function 0 "Atheros AR9280" rev 0x01: irq 11
athn0: AR9280 rev 2 (2T2R), ROM rev 16, address 00:0e:8e:24:52:7d
glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 357
9545Hz 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 wir
ed to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFX-008G>
wd0: 1-sector PIO, LBA48, 7641MB, 15649200 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12, version 1.0,
legacy support
ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 add
r 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
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 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 add
r 1
nvram: invalid checksum
mos0 at uhub0 port 2 configuration 1 interface 0 "Moschip Semiconductor USB-MAC
Controller" rev 2.00/1.00 addr 2
mos0: MCS7830, address 00:13:3b:79:90:2c
ukphy2 at mos0 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 0x000000
, model 0x0000
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (11250e7d17e8a05f.a) swap on wd0b dump on wd0b
clock: unknown CMOS layout
The snapshot this ALIX machine is running is 10 days old.
I don't know what triggers this. It may have happened while
I was rearranging some cables but I am not sure about that.
It is possible that there is some interaction with the olsrd deamon
installed from ports (net/olsrd + a diff I send to ports@ yesterday).
panic: receive 1: so 0xf37429e4, so_type 3, sb_cc 194
Stopped at db_enter+0x7: leave
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*149598 42048 0 0 0 0 ospfd
db_enter(d0ba3803,f3784d58,d0ac5640,f3784d58,0) at db_enter+0x7
panic(d0ac5640,f37429e4,3,c2,4c724f) at panic+0x71
soreceive(f37429e4,0,f3784e8c,0,0) at soreceive+0xa54
soo_read(d15dc968,d15dc980,f3784e8c,d1712660,ade14ce) at soo_read+0x43
dofilereadv(f3765b30,4,d15dc968,f3784ef4,1) at dofilereadv+0x1c5
sys_read(f3765b30,f3784f54,f3784f7c,d0349dd7,0) at sys_read+0x8f
syscall() at syscall+0x12f
--- syscall (number -813780420) ---
clean_idt+0x226:
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports. Insufficient info makes it difficult to find and fix bugs.
ddb> show reg
ds 0x10
es 0x10
fs 0x20 clean_idt
gs 0
edi 0x100 clean_idt+0xe0
esi 0xd0ac5640 pchtemp_devices+0x460
ebp 0xf3784d0c
ebx 0xf3784d58
edx 0x1
ecx 0xd0bbc80c kprintf_mutex
eax 0x1
eip 0xd0956bf7 db_enter+0x7
cs 0x8
eflags 0x286 clean_idt+0x266
esp 0xf3784cfc
ss 0x10
db_enter+0x7: leave
ddb> show socket 0xf37429e4
socket 0xf37429e4
so_type: 3
so_options: 0x0000
so_linger: 0
so_state: 386
so_pcb: 0xd19c8e00
so_proto: 0xd0bbe580
so_head: 0x0
so_onq: 0x0
so_q0: @0xf37429fc first: 0x0
so_q: @0xf3742a04 first: 0x0
so_eq: next: 0x0
so_q0len: 0
so_qlen: 0
so_qlimit: 0
so_timeo: 0
so_pgid: 0
so_siguid: 0
so_sigeuid: 0
so_obmark: 0
so_sp: 0x0
so_rcv:
sb_cc: 194
sb_datacc: 192
sb_hiwat: 131072
sb_wat: 131072
sb_mbcnt: 768
sb_mbmax: 262144
sb_lowat: 1
sb_mb: 0x0
sb_mbtail: 0x0
sb_lastrecord: 0x0
sb_sel: ...
sb_flagsintr: 0
sb_flags: 129
sb_timeo: 0
so_snd:
sb_cc: 0
sb_datacc: 0
sb_hiwat: 8192
sb_wat: 8192
sb_mbcnt: 0
sb_mbmax: 196608
sb_lowat: 2048
sb_mb: 0x0
sb_mbtail: 0x0
sb_lastrecord: 0x0
sb_sel: ...
sb_flagsintr: 0
sb_flags: 0
sb_timeo: 0
so_upcall: 0x0 so_upcallarg: 0x0
so_euid: 0 so_ruid: 0
so_egid: 0 so_rgid: 0
so_cpid: 42048
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
43314 356808 80690 0 3 0x100083 ttyin ksh
80690 16405 33893 1000 3 0x10008b pause ksh
33893 355564 1 1000 3 0x100080 kqread tmux
32513 118501 1 0 3 0x100083 ttyin getty
90529 315746 1 0 3 0x100098 poll cron
2376 386193 1 0 3 0x80 select olsrd
58243 494907 1 0 2 0 olsrd
71187 122855 1 110 3 0x100090 poll sndiod
29435 399034 1 99 3 0x100090 poll sndiod
92570 14422 1 0 3 0x100080 kqread httpd
48678 426649 1 67 3 0x100092 kqread httpd
61770 14553 1 67 3 0x100092 kqread httpd
38336 193265 1 67 3 0x100092 kqread httpd
82848 505091 1 67 3 0x100092 kqread httpd
34864 285566 1 67 3 0x100090 kqread slowcgi
46586 226403 15511 95 3 0x100092 kqread smtpd
91801 182307 15511 103 3 0x100092 kqread smtpd
99101 511972 15511 95 3 0x100092 kqread smtpd
46711 109002 15511 95 3 0x100092 kqread smtpd
67199 85973 15511 95 3 0x100092 kqread smtpd
47469 491392 15511 95 3 0x100092 kqread smtpd
15511 522949 1 0 3 0x100080 kqread smtpd
54815 291895 1 77 3 0x100090 poll dhcpd
81160 287272 47444 90 3 0x90 kqread ospf6d
58379 140945 47444 90 3 0x90 kqread ospf6d
47444 351314 1 0 3 0x80 kqread ospf6d
3814 97370 42048 85 3 0x100090 kqread ospfd
47192 53226 42048 85 3 0x100090 kqread ospfd
*42048 149598 1 0 7 0 ospfd
17499 148281 1 0 3 0x80 select sshd
87668 150244 362 68 3 0x90 select isakmpd
362 342474 1 0 3 0x80 netio isakmpd
5935 446255 1 0 3 0x100080 poll ntpd
58897 135936 15891 83 3 0x100092 poll ntpd
15891 153142 1 83 3 0x100092 poll ntpd
79980 270714 1 53 3 0x90 kqread unbound
73838 164649 61573 97 3 0x100090 kqread nsd
61573 324570 76126 97 3 0x100090 poll nsd
76126 424278 1 97 3 0x100090 kqread nsd
7286 447781 34367 73 3 0x100090 kqread syslogd
34367 7672 1 0 3 0x100082 netio syslogd
8152 61 69338 115 3 0x100092 kqread slaacd
12235 208466 69338 115 3 0x100092 kqread slaacd
69338 232452 1 0 3 0x80 kqread slaacd
60954 259079 1 0 3 0x80 mfsidl mount_mfs
33719 173317 1 0 3 0x80 mfsidl mount_mfs
17868 14465 1 0 3 0x80 mfsidl mount_mfs
25440 190650 1 0 3 0x80 mfsidl mount_mfs
72427 447439 0 0 3 0x14200 pgzero zerothread
69245 515783 0 0 3 0x14200 aiodoned aiodoned
89648 291166 0 0 3 0x14200 syncer update
43400 487838 0 0 3 0x14200 cleaner cleaner
47829 424276 0 0 3 0x14200 reaper reaper
71035 189088 0 0 3 0x14200 pgdaemon pagedaemon
15360 523117 0 0 3 0x14200 bored crynlk
69935 358213 0 0 3 0x14200 bored crypto
88720 298929 0 0 3 0x14200 pftm pfpurge
1965 389239 0 0 3 0x14200 usbtsk usbtask
60547 328428 0 0 3 0x14200 usbatsk usbatsk
11535 186052 0 0 3 0x14200 bored sensors
64031 447077 0 0 3 0x14200 bored softnet
53988 268040 0 0 3 0x14200 bored systqmp
33198 148358 0 0 3 0x14200 bored systq
89263 8907 0 0 3 0x40014200 bored softclock
42935 290632 0 0 3 0x40014200 idle0
45422 256337 0 0 3 0x14200 kmalloc kmthread
1 273718 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb> dmesg
OpenBSD 6.1-current (GENERIC) #105: Fri Jun 9 20:41:52 MDT 2017
***@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 499 M
Hz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
real mem = 267931648 (255MB)
avail mem = 249606144 (238MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 11/05/08, BIOS32 rev. 0 @ 0xfd088
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 0
0:0d:b9:1f:f4:50
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
vr1 at pci0 dev 11 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 15, address 0
0:0d:b9:1f:f4:51
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
model 0x0034
iwi0 at pci0 dev 12 function 0 "Intel PRO/Wireless 2200BG" rev 0x05: irq 9, add
ress 00:0e:35:89:2a:78
athn0 at pci0 dev 14 function 0 "Atheros AR9280" rev 0x01: irq 11
athn0: AR9280 rev 2 (2T2R), ROM rev 16, address 00:0e:8e:24:52:7d
glxpcib0 at pci0 dev 15 function 0 "AMD CS5536 ISA" rev 0x03: rev 3, 32-bit 357
9545Hz 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 wir
ed to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFX-008G>
wd0: 1-sector PIO, LBA48, 7641MB, 15649200 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 15 function 4 "AMD CS5536 USB" rev 0x02: irq 12, version 1.0,
legacy support
ehci0 at pci0 dev 15 function 5 "AMD CS5536 USB" rev 0x02: irq 12
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "AMD EHCI root hub" rev 2.00/1.00 add
r 1
isa0 at glxpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
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 configuration 1 interface 0 "AMD OHCI root hub" rev 1.00/1.00 add
r 1
nvram: invalid checksum
mos0 at uhub0 port 2 configuration 1 interface 0 "Moschip Semiconductor USB-MAC
Controller" rev 2.00/1.00 addr 2
mos0: MCS7830, address 00:13:3b:79:90:2c
ukphy2 at mos0 phy 1: Generic IEEE 802.3u media interface, rev. 0: OUI 0x000000
, model 0x0000
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on wd0a (11250e7d17e8a05f.a) swap on wd0b dump on wd0b
clock: unknown CMOS layout