panic with soekris net5501 on OpenBSD 5.9-beta (GENERIC) #1536: Thu Jan 28 20:18:35 MST 2016

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

panic with soekris net5501 on OpenBSD 5.9-beta (GENERIC) #1536: Thu Jan 28 20:18:35 MST 2016

Lars Noodén
I'm getting frequent panics from the snapshot OpenBSD 5.9-beta
(GENERIC) #1536: Thu Jan 28 20:18:35 MST 2016 on a Soekris Net5501.

It seems to happen when I connect physically via ethernet.  Normally I
have dhcpd running but even if I kill that first, just plugging the
cable in seems to cause the panic.   Below are console output, ddb
trace, ddb ps and the dmesg.

Regards,
Lars

# panic: kernel diagnostic assertion "pd.m->m_pkthdr.pf.statekey ==
NULL" failed: file "../../../../net/pf.c", line 6569
Stopped at      Debugger+0x7:   leave
   TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*18936  18936      0     0x14000      0x210    0  softnet
Debugger(d09feb68,f523fd14,d09d9764,f523fd14,d6057b00) at Debugger+0x7
panic(d09d9764,d0957746,d09cf8c8,d09cf988,19a9) at panic+0x71
__assert(d0957746,d09cf988,19a9,d09cf8c8,0) at __assert+0x2e
pf_test(2,1,d1abd800,f523fe90,d0b56680) at pf_test+0xf2d
ipv4_input(d6057b00,d0203028,60,f523fecc,d041c580) at ipv4_input+0x23e
ipintr(d041c580,56ab7825,0,f523fec8,d177cbc0) at ipintr+0x16
netintr(0,d0b56680,d5e01700,f523ff0c,d03b8482) at netintr+0x62
softintr_dispatch(1) at softintr_dispatch+0x5a
Xsoftnet() at Xsoftnet+0x12
--- interrupt ---
uvm_fault(0xd0bbe100, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      db_read_bytes+0x17:     movzbl  0(%esi,%ecx,1),%eax
   TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*18936  18936      0     0x14000      0x210    0  softnet
db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
db_get_value(3,4,0,d03cbe95,d09feb68) at db_get_value+0x38
db_numargs(ffffffff,f523fb80,0,3,d03cbe70) at db_numargs+0x24
db_stack_trace_print(d0558f07,0,5,d09cb91a,d03cbe70) at db_stack_trace_print+0x
3a7
db_trap(1,0,58,a,5) at db_trap+0xd2
kdb_trap(1,0,f523fc78,f523fcd4,0) at kdb_trap+0xcc
trap() at trap+0x2a5
--- trap (number 1) ---
Bad frame pointer: 0xd09d9764
"net5501.dhcp.inet.fi" 16:32 29-Jan-16
0:
http://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.

ddb> trace
db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
db_get_value(3,4,0,d03cbe95,d09feb68) at db_get_value+0x38
db_numargs(ffffffff,f523fb80,0,3,d03cbe70) at db_numargs+0x24
db_stack_trace_print(d0558f07,0,5,d09cb91a,d03cbe70) at db_stack_trace_print+0x
3a7
db_trap(1,0,58,a,5) at db_trap+0xd2
kdb_trap(1,0,f523fc78,f523fcd4,0) at kdb_trap+0xcc
trap() at trap+0x2a5
--- trap (number 1) ---
Bad frame pointer: 0xd09d9764
0:

ddb> ps
   TID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
 23954  30431  23954   1000  3    0x100083  ttyin         ksh
 30431   8219   8219   1000  3        0x90  select        sshd
  8219   6698   8219      0  3        0x92  poll          sshd
 26385  15218  26385      0  3    0x100083  ttyin         ksh
 15218      1  15218      0  3    0x100080  kqread        tmux
  3685   7798   3685      0  3    0x100083  kqread        tmux
  7798      1   7798      0  3    0x10008b  pause         ksh
  5022      1   5022      0  3    0x100098  poll          cron
 22234  12425  12425     74  3    0x100090  bpf           pflogd
 12425      1  12425      0  3        0x80  netio         pflogd
 26320      1  26320      0  3    0x100080  poll          ntpd
 10186   6497  10186     83  3    0x100090  poll          ntpd
  6497      1   6497     83  3    0x100090  poll          ntpd
  8180      1   8180     77  3    0x100090  poll          dhclient
 20082      1  20082      0  3        0x80  poll          dhclient
  3112      1   3112     99  3    0x100090  poll          sndiod
 30808      1  30808    110  3    0x100090  poll          sndiod
 15178      1  15178    109  3        0x90  kqread        ftp-proxy
   988   2777   2777     95  3    0x100090  kqread        smtpd
   603   2777   2777     95  3    0x100090  kqread        smtpd
 17455   2777   2777     95  3    0x100090  kqread        smtpd
 24674   2777   2777     95  3    0x100090  kqread        smtpd
 19851   2777   2777     95  3    0x100090  kqread        smtpd
  2160   2777   2777    103  3    0x100090  kqread        smtpd
  2777      1   2777      0  3    0x100080  kqread        smtpd
  1609      1   1609     77  3    0x100090  poll          dhcpd
  6698      1   6698      0  3        0x80  select        sshd
  6268  11201  11821     83  3    0x100090  poll          ntpd
 11201  11821  11821     83  3    0x100090  poll          ntpd
 11821      1  11821      0  3    0x100080  poll          ntpd
 24477  30672  30672     74  3    0x100090  bpf           pflogd
 30672      1  30672      0  3        0x80  netio         pflogd
 26659  16340  16340     73  3    0x100090  kqread        syslogd
 16340      1  16340      0  3    0x100080  netio         syslogd
 27309      0      0      0  3     0x14200  pgzero        zerothread
 22001      0      0      0  3     0x14200  aiodoned      aiodoned
 26836      0      0      0  3     0x14200  syncer        update
 25182      0      0      0  3     0x14200  cleaner       cleaner
  6836      0      0      0  3     0x14200  reaper        reaper
 27523      0      0      0  3     0x14200  pgdaemon      pagedaemon
 24875      0      0      0  3     0x14200  bored         sensors
 16209      0      0      0  3     0x14200  bored         srdis
 19127      0      0      0  3     0x14200  bored         crypto
 14244      0      0      0  3     0x14200  pftm          pfpurge
 20483      0      0      0  3     0x14200  usbtsk        usbtask
 32332      0      0      0  3     0x14200  usbatsk       usbatsk
*18936      0      0      0  7     0x14210                softnet
 17844      0      0      0  3     0x14200  bored         systqmp
  4243      0      0      0  3     0x14200  bored         systq
 22992      0      0      0  3  0x40014200                idle0
 25905      0      0      0  3     0x14200  kmalloc       kmthread
     1      0      1      0  3        0x82  wait          init
     0     -1      0      0  3     0x10200  scheduler     swapper


# dmesg
1 at ohci0: USB revision 1.0
uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
softraid0: sd0 was not shutdown properly
sd0 at scsibus2 targ 1 lun 0: <OPENBSD, SR RAID 0, 005> SCSI2 0/direct fixed
sd0: 6827MB, 512 bytes/sector, 13981696 sectors
root on wd0a (cd1ed40cc23f4dd4.a) swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
panic: kernel diagnostic assertion "pd.m->m_pkthdr.pf.statekey ==
NULL" failed: file "../../../../net/pf.c", line 6569
Stopped at      Debugger+0x7:   leave
   TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*18936  18936      0     0x14000      0x210    0  softnet
Debugger(d09feb68,f523fd14,d09d9764,f523fd14,d6057b00) at Debugger+0x7
panic(d09d9764,d0957746,d09cf8c8,d09cf988,19a9) at panic+0x71
__assert(d0957746,d09cf988,19a9,d09cf8c8,0) at __assert+0x2e
pf_test(2,1,d1abd800,f523fe90,d0b56680) at pf_test+0xf2d
ipv4_input(d6057b00,d0203028,60,f523fecc,d041c580) at ipv4_input+0x23e
ipintr(d041c580,56ab7825,0,f523fec8,d177cbc0) at ipintr+0x16
netintr(0,d0b56680,d5e01700,f523ff0c,d03b8482) at netintr+0x62
softintr_dispatch(1) at softintr_dispatch+0x5a
Xsoftnet() at Xsoftnet+0x12
--- interrupt ---
uvm_fault(0xd0bbe100, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      db_read_bytes+0x17:     movzbl  0(%esi,%ecx,1),%eax
   TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*18936  18936      0     0x14000      0x210    0  softnet
db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
db_get_value(3,4,0,d03cbe95,d09feb68) at db_get_value+0x38
db_numargs(ffffffff,f523fb80,0,3,d03cbe70) at db_numargs+0x24
db_stack_trace_print(d0558f07,0,5,d09cb91a,d03cbe70) at
db_stack_trace_print+0x3a7
db_trap(1,0,58,a,5) at db_trap+0xd2
kdb_trap(1,0,f523fc78,f523fcd4,0) at kdb_trap+0xcc
trap() at trap+0x2a5
--- trap (number 1) ---
Bad frame pointer: 0xd09d9764
0:
http://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb> db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
db_get_value(3,4,0,d03cbe95,d09feb68) at db_get_value+0x38
db_numargs(ffffffff,f523fb80,0,3,d03cbe70) at db_numargs+0x24
db_stack_trace_print(d0558f07,0,5,d09cb91a,d03cbe70) at
db_stack_trace_print+0x3a7
db_trap(1,0,58,a,5) at db_trap+0xd2
kdb_trap(1,0,f523fc78,f523fcd4,0) at kdb_trap+0xcc
trap() at trap+0x2a5
--- trap (number 1) ---
Bad frame pointer: 0xd09d9764
0:
ddb>    TID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
 23954  30431  23954   1000  3    0x100083  ttyin         ksh
 30431   8219   8219   1000  3        0x90  select        sshd
  8219   6698   8219      0  3        0x92  poll          sshd
 26385  15218  26385      0  3    0x100083  ttyin         ksh
 15218      1  15218      0  3    0x100080  kqread        tmux
  3685   7798   3685      0  3    0x100083  kqread        tmux
  7798      1   7798      0  3    0x10008b  pause         ksh
  5022      1   5022      0  3    0x100098  poll          cron
 22234  12425  12425     74  3    0x100090  bpf           pflogd
 12425      1  12425      0  3        0x80  netio         pflogd
 26320      1  26320      0  3    0x100080  poll          ntpd
 10186   6497  10186     83  3    0x100090  poll          ntpd
  6497      1   6497     83  3    0x100090  poll          ntpd
  8180      1   8180     77  3    0x100090  poll          dhclient
 20082      1  20082      0  3        0x80  poll          dhclient
  3112      1   3112     99  3    0x100090  poll          sndiod
 30808      1  30808    110  3    0x100090  poll          sndiod
 15178      1  15178    109  3        0x90  kqread        ftp-proxy
   988   2777   2777     95  3    0x100090  kqread        smtpd
   603   2777   2777     95  3    0x100090  kqread        smtpd
 17455   2777   2777     95  3    0x100090  kqread        smtpd
 24674   2777   2777     95  3    0x100090  kqread        smtpd
 19851   2777   2777     95  3    0x100090  kqread        smtpd
  2160   2777   2777    103  3    0x100090  kqread        smtpd
  2777      1   2777      0  3    0x100080  kqread        smtpd
  1609      1   1609     77  3    0x100090  poll          dhcpd
  6698      1   6698      0  3        0x80  select        sshd
  6268  11201  11821     83  3    0x100090  poll          ntpd
 11201  11821  11821     83  3    0x100090  poll          ntpd
 11821      1  11821      0  3    0x100080  poll          ntpd
 24477  30672  30672     74  3    0x100090  bpf           pflogd
 30672      1  30672      0  3        0x80  netio         pflogd
 26659  16340  16340     73  3    0x100090  kqread        syslogd
 16340      1  16340      0  3    0x100080  netio         syslogd
 27309      0      0      0  3     0x14200  pgzero        zerothread
 22001      0      0      0  3     0x14200  aiodoned      aiodoned
 26836      0      0      0  3     0x14200  syncer        update
 25182      0      0      0  3     0x14200  cleaner       cleaner
  6836      0      0      0  3     0x14200  reaper        reaper
 27523      0      0      0  3     0x14200  pgdaemon      pagedaemon
 24875      0      0      0  3     0x14200  bored         sensors
 16209      0      0      0  3     0x14200  bored         srdis
 19127      0      0      0  3     0x14200  bored         crypto
 14244      0      0      0  3     0x14200  pftm          pfpurge
 20483      0      0      0  3     0x14200  usbtsk        usbtask
 32332      0      0      0  3     0x14200  usbatsk       usbatsk
*18936      0      0      0  7     0x14210                softnet
 17844      0      0      0  3     0x14200  bored         systqmp
  4243      0      0      0  3     0x14200  bored         systq
 22992      0      0      0  3  0x40014200                idle0
 25905      0      0      0  3     0x14200  kmalloc       kmthread
     1      0      1      0  3        0x82  wait          init
     0     -1      0      0  3     0x10200  scheduler     swapper
ddb> sync        crash       dump        halt        reboot      poweroff
ddb>
OpenBSD 5.9-beta (GENERIC) #1536: Thu Jan 28 20:18:35 MST 2016
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD"
586-class) 500 MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
real mem  = 536363008 (511MB)
avail mem = 513568768 (489MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 20/70/03, BIOS32 rev. 0 @ 0xfac40
pcibios0 at bios0: rev 2.0 @ 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: 0xc8000/0xa800
cpu0 at mainbus0: (uniprocessor)
mtrr: K6-family MTRR support (2 registers)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
0:20:0: io address conflict 0x6100/0x100
0:20:0: io address conflict 0x6200/0x200
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 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11,
address 00:00:24:cb:a9:24
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5,
address 00:00:24:cb:a9:25
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9,
address 00:00:24:cb:a9:26
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12,
address 00:00:24:cb:a9:27
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
re0 at pci0 dev 14 function 0 "Realtek 8139" rev 0x20: RTL8139C+
(0x7480), irq 10, address 00:0a:fa:20:03:79
rlphy0 at re0 phy 0: RTL internal PHY
ral0 at pci0 dev 17 function 0 "Ralink RT2561S" rev 0x00: irq 15,
address 00:12:0e:61:54:68
ral0: MAC/BBP RT2561C, RF RT5225
glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3,
32-bit 3579545Hz timer, watchdog, gpio, i2c
gpio0 at glxpcib0: 32 pins
iic0 at glxpcib0
pciide0 at pci0 dev 20 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: <SanDisk SDCFH-004G>
wd0: 1-sector PIO, LBA48, 3825MB, 7835184 sectors
wd1 at pciide0 channel 0 drive 1: <ELITE PRO CF CARD 4GB>
wd1: 1-sector PIO, LBA, 3823MB, 7831152 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 7,
version 1.0, legacy support
ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 7
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
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbc0: unable to establish interrupt for irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
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
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
softraid0: sd0 was not shutdown properly
sd0 at scsibus2 targ 1 lun 0: <OPENBSD, SR RAID 0, 005> SCSI2 0/direct fixed
sd0: 6827MB, 512 bytes/sector, 13981696 sectors
root on wd0a (cd1ed40cc23f4dd4.a) swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
panic: kernel diagnostic assertion "pd.m->m_pkthdr.pf.statekey ==
NULL" failed: file "../../../../net/pf.c", line 6569
Stopped at      Debugger+0x7:   leave
   TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*25430  25430      0     0x14000      0x210    0  softnet
Debugger(d09feb68,f523fd14,d09d9764,f523fd14,d5f9a800) at Debugger+0x7
panic(d09d9764,d0957746,d09cf8c8,d09cf988,19a9) at panic+0x71
__assert(d0957746,d09cf988,19a9,d09cf8c8,0) at __assert+0x2e
pf_test(2,1,d1abd800,f523fe90,d0b56680) at pf_test+0xf2d
ipv4_input(d5f9a800,d0203028,60,f523fecc,d041c580) at ipv4_input+0x23e
ipintr(d041c580,56ab7925,0,f523fec8,d177cbc0) at ipintr+0x16
netintr(0,d0b56680,d5f99400,f523ff0c,d03b8482) at netintr+0x62
softintr_dispatch(1) at softintr_dispatch+0x5a
Xsoftnet() at Xsoftnet+0x12
--- interrupt ---
uvm_fault(0xd0bbe100, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      db_read_bytes+0x17:     movzbl  0(%esi,%ecx,1),%eax
   TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*25430  25430      0     0x14000      0x210    0  softnet
db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
db_get_value(3,4,0,d03cbe95,d09feb68) at db_get_value+0x38
db_numargs(ffffffff,f523fb80,0,3,d03cbe70) at db_numargs+0x24
db_stack_trace_print(d0558f07,0,5,d09cb91a,d03cbe70) at
db_stack_trace_print+0x3a7
db_trap(1,0,58,f523fc10,d039edc4) at db_trap+0xd2
kdb_trap(1,0,f523fc78,f523fc30,d084b07e) at kdb_trap+0xcc
trap() at trap+0x2a5
--- trap (number 1) ---
Bad frame pointer: 0xd09d9764
0:
http://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb>
OpenBSD 5.9-beta (GENERIC) #1536: Thu Jan 28 20:18:35 MST 2016
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD"
586-class) 500 MHz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
real mem  = 536363008 (511MB)
avail mem = 513568768 (489MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 20/70/03, BIOS32 rev. 0 @ 0xfac40
pcibios0 at bios0: rev 2.0 @ 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: 0xc8000/0xa800
cpu0 at mainbus0: (uniprocessor)
mtrr: K6-family MTRR support (2 registers)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
0:20:0: io address conflict 0x6100/0x100
0:20:0: io address conflict 0x6200/0x200
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 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11,
address 00:00:24:cb:a9:24
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5,
address 00:00:24:cb:a9:25
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9,
address 00:00:24:cb:a9:26
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12,
address 00:00:24:cb:a9:27
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
0x004063, model 0x0034
re0 at pci0 dev 14 function 0 "Realtek 8139" rev 0x20: RTL8139C+
(0x7480), irq 10, address 00:0a:fa:20:03:79
rlphy0 at re0 phy 0: RTL internal PHY
ral0 at pci0 dev 17 function 0 "Ralink RT2561S" rev 0x00: irq 15,
address 00:12:0e:61:54:68
ral0: MAC/BBP RT2561C, RF RT5225
glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3,
32-bit 3579545Hz timer, watchdog, gpio, i2c
gpio0 at glxpcib0: 32 pins
iic0 at glxpcib0
pciide0 at pci0 dev 20 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: <SanDisk SDCFH-004G>
wd0: 1-sector PIO, LBA48, 3825MB, 7835184 sectors
wd1 at pciide0 channel 0 drive 1: <ELITE PRO CF CARD 4GB>
wd1: 1-sector PIO, LBA, 3823MB, 7831152 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 7,
version 1.0, legacy support
ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 7
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
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbc0: unable to establish interrupt for irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
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
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
softraid0: sd0 was not shutdown properly
sd0 at scsibus2 targ 1 lun 0: <OPENBSD, SR RAID 0, 005> SCSI2 0/direct fixed
sd0: 6827MB, 512 bytes/sector, 13981696 sectors
root on wd0a (cd1ed40cc23f4dd4.a) swap on wd0b dump on wd0b
WARNING: / was not properly unmounted

Reply | Threaded
Open this post in threaded view
|

Re: panic with soekris net5501 on OpenBSD 5.9-beta (GENERIC) #1536: Thu Jan 28 20:18:35 MST 2016

Stuart Henderson-6
On 2016/01/29 16:57, Lars Noodén wrote:
> I'm getting frequent panics from the snapshot OpenBSD 5.9-beta
> (GENERIC) #1536: Thu Jan 28 20:18:35 MST 2016 on a Soekris Net5501.
>
> It seems to happen when I connect physically via ethernet.  Normally I
> have dhcpd running but even if I kill that first, just plugging the
> cable in seems to cause the panic.   Below are console output, ddb
> trace, ddb ps and the dmesg.

I'm not sure exactly which code is in current snaps, please build
a new kernel from up-to-date current source and see if it recurs.


> Regards,
> Lars
>
> # panic: kernel diagnostic assertion "pd.m->m_pkthdr.pf.statekey ==
> NULL" failed: file "../../../../net/pf.c", line 6569
> Stopped at      Debugger+0x7:   leave
>    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
> *18936  18936      0     0x14000      0x210    0  softnet
> Debugger(d09feb68,f523fd14,d09d9764,f523fd14,d6057b00) at Debugger+0x7
> panic(d09d9764,d0957746,d09cf8c8,d09cf988,19a9) at panic+0x71
> __assert(d0957746,d09cf988,19a9,d09cf8c8,0) at __assert+0x2e
> pf_test(2,1,d1abd800,f523fe90,d0b56680) at pf_test+0xf2d
> ipv4_input(d6057b00,d0203028,60,f523fecc,d041c580) at ipv4_input+0x23e
> ipintr(d041c580,56ab7825,0,f523fec8,d177cbc0) at ipintr+0x16
> netintr(0,d0b56680,d5e01700,f523ff0c,d03b8482) at netintr+0x62
> softintr_dispatch(1) at softintr_dispatch+0x5a
> Xsoftnet() at Xsoftnet+0x12
> --- interrupt ---
> uvm_fault(0xd0bbe100, 0x0, 0, 1) -> e
> kernel: page fault trap, code=0
> Stopped at      db_read_bytes+0x17:     movzbl  0(%esi,%ecx,1),%eax
>    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
> *18936  18936      0     0x14000      0x210    0  softnet
> db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
> db_get_value(3,4,0,d03cbe95,d09feb68) at db_get_value+0x38
> db_numargs(ffffffff,f523fb80,0,3,d03cbe70) at db_numargs+0x24
> db_stack_trace_print(d0558f07,0,5,d09cb91a,d03cbe70) at db_stack_trace_print+0x
> 3a7
> db_trap(1,0,58,a,5) at db_trap+0xd2
> kdb_trap(1,0,f523fc78,f523fcd4,0) at kdb_trap+0xcc
> trap() at trap+0x2a5
> --- trap (number 1) ---
> Bad frame pointer: 0xd09d9764
> "net5501.dhcp.inet.fi" 16:32 29-Jan-16
> 0:
> http://www.openbsd.org/ddb.html describes the minimum info required in bug
> reports.  Insufficient info makes it difficult to find and fix bugs.
>
> ddb> trace
> db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
> db_get_value(3,4,0,d03cbe95,d09feb68) at db_get_value+0x38
> db_numargs(ffffffff,f523fb80,0,3,d03cbe70) at db_numargs+0x24
> db_stack_trace_print(d0558f07,0,5,d09cb91a,d03cbe70) at db_stack_trace_print+0x
> 3a7
> db_trap(1,0,58,a,5) at db_trap+0xd2
> kdb_trap(1,0,f523fc78,f523fcd4,0) at kdb_trap+0xcc
> trap() at trap+0x2a5
> --- trap (number 1) ---
> Bad frame pointer: 0xd09d9764
> 0:
>
> ddb> ps
>    TID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
>  23954  30431  23954   1000  3    0x100083  ttyin         ksh
>  30431   8219   8219   1000  3        0x90  select        sshd
>   8219   6698   8219      0  3        0x92  poll          sshd
>  26385  15218  26385      0  3    0x100083  ttyin         ksh
>  15218      1  15218      0  3    0x100080  kqread        tmux
>   3685   7798   3685      0  3    0x100083  kqread        tmux
>   7798      1   7798      0  3    0x10008b  pause         ksh
>   5022      1   5022      0  3    0x100098  poll          cron
>  22234  12425  12425     74  3    0x100090  bpf           pflogd
>  12425      1  12425      0  3        0x80  netio         pflogd
>  26320      1  26320      0  3    0x100080  poll          ntpd
>  10186   6497  10186     83  3    0x100090  poll          ntpd
>   6497      1   6497     83  3    0x100090  poll          ntpd
>   8180      1   8180     77  3    0x100090  poll          dhclient
>  20082      1  20082      0  3        0x80  poll          dhclient
>   3112      1   3112     99  3    0x100090  poll          sndiod
>  30808      1  30808    110  3    0x100090  poll          sndiod
>  15178      1  15178    109  3        0x90  kqread        ftp-proxy
>    988   2777   2777     95  3    0x100090  kqread        smtpd
>    603   2777   2777     95  3    0x100090  kqread        smtpd
>  17455   2777   2777     95  3    0x100090  kqread        smtpd
>  24674   2777   2777     95  3    0x100090  kqread        smtpd
>  19851   2777   2777     95  3    0x100090  kqread        smtpd
>   2160   2777   2777    103  3    0x100090  kqread        smtpd
>   2777      1   2777      0  3    0x100080  kqread        smtpd
>   1609      1   1609     77  3    0x100090  poll          dhcpd
>   6698      1   6698      0  3        0x80  select        sshd
>   6268  11201  11821     83  3    0x100090  poll          ntpd
>  11201  11821  11821     83  3    0x100090  poll          ntpd
>  11821      1  11821      0  3    0x100080  poll          ntpd
>  24477  30672  30672     74  3    0x100090  bpf           pflogd
>  30672      1  30672      0  3        0x80  netio         pflogd
>  26659  16340  16340     73  3    0x100090  kqread        syslogd
>  16340      1  16340      0  3    0x100080  netio         syslogd
>  27309      0      0      0  3     0x14200  pgzero        zerothread
>  22001      0      0      0  3     0x14200  aiodoned      aiodoned
>  26836      0      0      0  3     0x14200  syncer        update
>  25182      0      0      0  3     0x14200  cleaner       cleaner
>   6836      0      0      0  3     0x14200  reaper        reaper
>  27523      0      0      0  3     0x14200  pgdaemon      pagedaemon
>  24875      0      0      0  3     0x14200  bored         sensors
>  16209      0      0      0  3     0x14200  bored         srdis
>  19127      0      0      0  3     0x14200  bored         crypto
>  14244      0      0      0  3     0x14200  pftm          pfpurge
>  20483      0      0      0  3     0x14200  usbtsk        usbtask
>  32332      0      0      0  3     0x14200  usbatsk       usbatsk
> *18936      0      0      0  7     0x14210                softnet
>  17844      0      0      0  3     0x14200  bored         systqmp
>   4243      0      0      0  3     0x14200  bored         systq
>  22992      0      0      0  3  0x40014200                idle0
>  25905      0      0      0  3     0x14200  kmalloc       kmthread
>      1      0      1      0  3        0x82  wait          init
>      0     -1      0      0  3     0x10200  scheduler     swapper
>
>
> # dmesg
> 1 at ohci0: USB revision 1.0
> uhub1 at usb1 "AMD OHCI root hub" rev 1.00/1.00 addr 1
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> softraid0: sd0 was not shutdown properly
> sd0 at scsibus2 targ 1 lun 0: <OPENBSD, SR RAID 0, 005> SCSI2 0/direct fixed
> sd0: 6827MB, 512 bytes/sector, 13981696 sectors
> root on wd0a (cd1ed40cc23f4dd4.a) swap on wd0b dump on wd0b
> WARNING: / was not properly unmounted
> panic: kernel diagnostic assertion "pd.m->m_pkthdr.pf.statekey ==
> NULL" failed: file "../../../../net/pf.c", line 6569
> Stopped at      Debugger+0x7:   leave
>    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
> *18936  18936      0     0x14000      0x210    0  softnet
> Debugger(d09feb68,f523fd14,d09d9764,f523fd14,d6057b00) at Debugger+0x7
> panic(d09d9764,d0957746,d09cf8c8,d09cf988,19a9) at panic+0x71
> __assert(d0957746,d09cf988,19a9,d09cf8c8,0) at __assert+0x2e
> pf_test(2,1,d1abd800,f523fe90,d0b56680) at pf_test+0xf2d
> ipv4_input(d6057b00,d0203028,60,f523fecc,d041c580) at ipv4_input+0x23e
> ipintr(d041c580,56ab7825,0,f523fec8,d177cbc0) at ipintr+0x16
> netintr(0,d0b56680,d5e01700,f523ff0c,d03b8482) at netintr+0x62
> softintr_dispatch(1) at softintr_dispatch+0x5a
> Xsoftnet() at Xsoftnet+0x12
> --- interrupt ---
> uvm_fault(0xd0bbe100, 0x0, 0, 1) -> e
> kernel: page fault trap, code=0
> Stopped at      db_read_bytes+0x17:     movzbl  0(%esi,%ecx,1),%eax
>    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
> *18936  18936      0     0x14000      0x210    0  softnet
> db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
> db_get_value(3,4,0,d03cbe95,d09feb68) at db_get_value+0x38
> db_numargs(ffffffff,f523fb80,0,3,d03cbe70) at db_numargs+0x24
> db_stack_trace_print(d0558f07,0,5,d09cb91a,d03cbe70) at
> db_stack_trace_print+0x3a7
> db_trap(1,0,58,a,5) at db_trap+0xd2
> kdb_trap(1,0,f523fc78,f523fcd4,0) at kdb_trap+0xcc
> trap() at trap+0x2a5
> --- trap (number 1) ---
> Bad frame pointer: 0xd09d9764
> 0:
> http://www.openbsd.org/ddb.html describes the minimum info required in bug
> reports.  Insufficient info makes it difficult to find and fix bugs.
> ddb> db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
> db_get_value(3,4,0,d03cbe95,d09feb68) at db_get_value+0x38
> db_numargs(ffffffff,f523fb80,0,3,d03cbe70) at db_numargs+0x24
> db_stack_trace_print(d0558f07,0,5,d09cb91a,d03cbe70) at
> db_stack_trace_print+0x3a7
> db_trap(1,0,58,a,5) at db_trap+0xd2
> kdb_trap(1,0,f523fc78,f523fcd4,0) at kdb_trap+0xcc
> trap() at trap+0x2a5
> --- trap (number 1) ---
> Bad frame pointer: 0xd09d9764
> 0:
> ddb>    TID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
>  23954  30431  23954   1000  3    0x100083  ttyin         ksh
>  30431   8219   8219   1000  3        0x90  select        sshd
>   8219   6698   8219      0  3        0x92  poll          sshd
>  26385  15218  26385      0  3    0x100083  ttyin         ksh
>  15218      1  15218      0  3    0x100080  kqread        tmux
>   3685   7798   3685      0  3    0x100083  kqread        tmux
>   7798      1   7798      0  3    0x10008b  pause         ksh
>   5022      1   5022      0  3    0x100098  poll          cron
>  22234  12425  12425     74  3    0x100090  bpf           pflogd
>  12425      1  12425      0  3        0x80  netio         pflogd
>  26320      1  26320      0  3    0x100080  poll          ntpd
>  10186   6497  10186     83  3    0x100090  poll          ntpd
>   6497      1   6497     83  3    0x100090  poll          ntpd
>   8180      1   8180     77  3    0x100090  poll          dhclient
>  20082      1  20082      0  3        0x80  poll          dhclient
>   3112      1   3112     99  3    0x100090  poll          sndiod
>  30808      1  30808    110  3    0x100090  poll          sndiod
>  15178      1  15178    109  3        0x90  kqread        ftp-proxy
>    988   2777   2777     95  3    0x100090  kqread        smtpd
>    603   2777   2777     95  3    0x100090  kqread        smtpd
>  17455   2777   2777     95  3    0x100090  kqread        smtpd
>  24674   2777   2777     95  3    0x100090  kqread        smtpd
>  19851   2777   2777     95  3    0x100090  kqread        smtpd
>   2160   2777   2777    103  3    0x100090  kqread        smtpd
>   2777      1   2777      0  3    0x100080  kqread        smtpd
>   1609      1   1609     77  3    0x100090  poll          dhcpd
>   6698      1   6698      0  3        0x80  select        sshd
>   6268  11201  11821     83  3    0x100090  poll          ntpd
>  11201  11821  11821     83  3    0x100090  poll          ntpd
>  11821      1  11821      0  3    0x100080  poll          ntpd
>  24477  30672  30672     74  3    0x100090  bpf           pflogd
>  30672      1  30672      0  3        0x80  netio         pflogd
>  26659  16340  16340     73  3    0x100090  kqread        syslogd
>  16340      1  16340      0  3    0x100080  netio         syslogd
>  27309      0      0      0  3     0x14200  pgzero        zerothread
>  22001      0      0      0  3     0x14200  aiodoned      aiodoned
>  26836      0      0      0  3     0x14200  syncer        update
>  25182      0      0      0  3     0x14200  cleaner       cleaner
>   6836      0      0      0  3     0x14200  reaper        reaper
>  27523      0      0      0  3     0x14200  pgdaemon      pagedaemon
>  24875      0      0      0  3     0x14200  bored         sensors
>  16209      0      0      0  3     0x14200  bored         srdis
>  19127      0      0      0  3     0x14200  bored         crypto
>  14244      0      0      0  3     0x14200  pftm          pfpurge
>  20483      0      0      0  3     0x14200  usbtsk        usbtask
>  32332      0      0      0  3     0x14200  usbatsk       usbatsk
> *18936      0      0      0  7     0x14210                softnet
>  17844      0      0      0  3     0x14200  bored         systqmp
>   4243      0      0      0  3     0x14200  bored         systq
>  22992      0      0      0  3  0x40014200                idle0
>  25905      0      0      0  3     0x14200  kmalloc       kmthread
>      1      0      1      0  3        0x82  wait          init
>      0     -1      0      0  3     0x10200  scheduler     swapper
> ddb> sync        crash       dump        halt        reboot      poweroff
> ddb>
> OpenBSD 5.9-beta (GENERIC) #1536: Thu Jan 28 20:18:35 MST 2016
>     [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD"
> 586-class) 500 MHz
> cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
> real mem  = 536363008 (511MB)
> avail mem = 513568768 (489MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: date 20/70/03, BIOS32 rev. 0 @ 0xfac40
> pcibios0 at bios0: rev 2.0 @ 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: 0xc8000/0xa800
> cpu0 at mainbus0: (uniprocessor)
> mtrr: K6-family MTRR support (2 registers)
> amdmsr0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> 0:20:0: io address conflict 0x6100/0x100
> 0:20:0: io address conflict 0x6200/0x200
> 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 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11,
> address 00:00:24:cb:a9:24
> ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5,
> address 00:00:24:cb:a9:25
> ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9,
> address 00:00:24:cb:a9:26
> ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12,
> address 00:00:24:cb:a9:27
> ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> re0 at pci0 dev 14 function 0 "Realtek 8139" rev 0x20: RTL8139C+
> (0x7480), irq 10, address 00:0a:fa:20:03:79
> rlphy0 at re0 phy 0: RTL internal PHY
> ral0 at pci0 dev 17 function 0 "Ralink RT2561S" rev 0x00: irq 15,
> address 00:12:0e:61:54:68
> ral0: MAC/BBP RT2561C, RF RT5225
> glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3,
> 32-bit 3579545Hz timer, watchdog, gpio, i2c
> gpio0 at glxpcib0: 32 pins
> iic0 at glxpcib0
> pciide0 at pci0 dev 20 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: <SanDisk SDCFH-004G>
> wd0: 1-sector PIO, LBA48, 3825MB, 7835184 sectors
> wd1 at pciide0 channel 0 drive 1: <ELITE PRO CF CARD 4GB>
> wd1: 1-sector PIO, LBA, 3823MB, 7831152 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 7,
> version 1.0, legacy support
> ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 7
> 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
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbc0: unable to establish interrupt for irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
> gpio1 at nsclpcsio0: 29 pins
> 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
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> softraid0: sd0 was not shutdown properly
> sd0 at scsibus2 targ 1 lun 0: <OPENBSD, SR RAID 0, 005> SCSI2 0/direct fixed
> sd0: 6827MB, 512 bytes/sector, 13981696 sectors
> root on wd0a (cd1ed40cc23f4dd4.a) swap on wd0b dump on wd0b
> WARNING: / was not properly unmounted
> panic: kernel diagnostic assertion "pd.m->m_pkthdr.pf.statekey ==
> NULL" failed: file "../../../../net/pf.c", line 6569
> Stopped at      Debugger+0x7:   leave
>    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
> *25430  25430      0     0x14000      0x210    0  softnet
> Debugger(d09feb68,f523fd14,d09d9764,f523fd14,d5f9a800) at Debugger+0x7
> panic(d09d9764,d0957746,d09cf8c8,d09cf988,19a9) at panic+0x71
> __assert(d0957746,d09cf988,19a9,d09cf8c8,0) at __assert+0x2e
> pf_test(2,1,d1abd800,f523fe90,d0b56680) at pf_test+0xf2d
> ipv4_input(d5f9a800,d0203028,60,f523fecc,d041c580) at ipv4_input+0x23e
> ipintr(d041c580,56ab7925,0,f523fec8,d177cbc0) at ipintr+0x16
> netintr(0,d0b56680,d5f99400,f523ff0c,d03b8482) at netintr+0x62
> softintr_dispatch(1) at softintr_dispatch+0x5a
> Xsoftnet() at Xsoftnet+0x12
> --- interrupt ---
> uvm_fault(0xd0bbe100, 0x0, 0, 1) -> e
> kernel: page fault trap, code=0
> Stopped at      db_read_bytes+0x17:     movzbl  0(%esi,%ecx,1),%eax
>    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
> *25430  25430      0     0x14000      0x210    0  softnet
> db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
> db_get_value(3,4,0,d03cbe95,d09feb68) at db_get_value+0x38
> db_numargs(ffffffff,f523fb80,0,3,d03cbe70) at db_numargs+0x24
> db_stack_trace_print(d0558f07,0,5,d09cb91a,d03cbe70) at
> db_stack_trace_print+0x3a7
> db_trap(1,0,58,f523fc10,d039edc4) at db_trap+0xd2
> kdb_trap(1,0,f523fc78,f523fc30,d084b07e) at kdb_trap+0xcc
> trap() at trap+0x2a5
> --- trap (number 1) ---
> Bad frame pointer: 0xd09d9764
> 0:
> http://www.openbsd.org/ddb.html describes the minimum info required in bug
> reports.  Insufficient info makes it difficult to find and fix bugs.
> ddb>
> OpenBSD 5.9-beta (GENERIC) #1536: Thu Jan 28 20:18:35 MST 2016
>     [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD"
> 586-class) 500 MHz
> cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
> real mem  = 536363008 (511MB)
> avail mem = 513568768 (489MB)
> mpath0 at root
> scsibus0 at mpath0: 256 targets
> mainbus0 at root
> bios0 at mainbus0: date 20/70/03, BIOS32 rev. 0 @ 0xfac40
> pcibios0 at bios0: rev 2.0 @ 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: 0xc8000/0xa800
> cpu0 at mainbus0: (uniprocessor)
> mtrr: K6-family MTRR support (2 registers)
> amdmsr0 at mainbus0
> pci0 at mainbus0 bus 0: configuration mode 1 (bios)
> 0:20:0: io address conflict 0x6100/0x100
> 0:20:0: io address conflict 0x6200/0x200
> 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 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11,
> address 00:00:24:cb:a9:24
> ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5,
> address 00:00:24:cb:a9:25
> ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9,
> address 00:00:24:cb:a9:26
> ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12,
> address 00:00:24:cb:a9:27
> ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI
> 0x004063, model 0x0034
> re0 at pci0 dev 14 function 0 "Realtek 8139" rev 0x20: RTL8139C+
> (0x7480), irq 10, address 00:0a:fa:20:03:79
> rlphy0 at re0 phy 0: RTL internal PHY
> ral0 at pci0 dev 17 function 0 "Ralink RT2561S" rev 0x00: irq 15,
> address 00:12:0e:61:54:68
> ral0: MAC/BBP RT2561C, RF RT5225
> glxpcib0 at pci0 dev 20 function 0 "AMD CS5536 ISA" rev 0x03: rev 3,
> 32-bit 3579545Hz timer, watchdog, gpio, i2c
> gpio0 at glxpcib0: 32 pins
> iic0 at glxpcib0
> pciide0 at pci0 dev 20 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: <SanDisk SDCFH-004G>
> wd0: 1-sector PIO, LBA48, 3825MB, 7835184 sectors
> wd1 at pciide0 channel 0 drive 1: <ELITE PRO CF CARD 4GB>
> wd1: 1-sector PIO, LBA, 3823MB, 7831152 sectors
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
> wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
> pciide0: channel 1 ignored (disabled)
> ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 7,
> version 1.0, legacy support
> ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 7
> 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
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> pckbc0: unable to establish interrupt for irq 12
> pckbd0 at pckbc0 (kbd slot)
> wskbd0 at pckbd0: console keyboard
> pcppi0 at isa0 port 0x61
> spkr0 at pcppi0
> nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
> gpio1 at nsclpcsio0: 29 pins
> 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
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> softraid0: sd0 was not shutdown properly
> sd0 at scsibus2 targ 1 lun 0: <OPENBSD, SR RAID 0, 005> SCSI2 0/direct fixed
> sd0: 6827MB, 512 bytes/sector, 13981696 sectors
> root on wd0a (cd1ed40cc23f4dd4.a) swap on wd0b dump on wd0b
> WARNING: / was not properly unmounted
>

Reply | Threaded
Open this post in threaded view
|

Re: panic with soekris net5501 on OpenBSD 5.9-beta (GENERIC) #1536: Thu Jan 28 20:18:35 MST 2016

Lars Noodén
> I'm not sure exactly which code is in current snaps, please build
> a new kernel from up-to-date current source and see if it recur

Ok.  Here's with the GENERIC kernel build from current source.
/Lars

# panic: kernel diagnostic assertion "pd.m->m_pkthdr.pf.statekey ==
NULL" failed: file "../../../../net/pf.c", line 6569
Stopped at      Debugger+0x7:   leave
   TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*29708  29708      0     0x14000      0x210    0  softnet
Debugger(d09feb68,f523fd14,d09d9764,f523fd14,d5e12f00) at Debugger+0x7
panic(d09d9764,d0957746,d09cf8c8,d09cf988,19a9) at panic+0x71
__assert(d0957746,d09cf988,19a9,d09cf8c8,0) at __assert+0x2e
pf_test(2,1,d1afc800,f523fe90,d0b56680) at pf_test+0xf2d
ipv4_input(d5e12f00,d0203028,60,f523fecc,d041c5b0) at ipv4_input+0x23e
ipintr(d041c5b0,56abaf48,0,f523fec8,d177cbc0) at ipintr+0x16
netintr(0,d0b56680,d6057b00,f523ff0c,d03b84b2) at netintr+0x62
softintr_dispatch(1) at softintr_dispatch+0x5a
Xsoftnet() at Xsoftnet+0x12
--- interrupt ---
uvm_fault(0xd0bbe100, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      db_read_bytes+0x17:     movzbl  0(%esi,%ecx,1),%eax
   TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*29708  29708      0     0x14000      0x210    0  softnet
db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
db_get_value(3,4,0,d03cbec5,d09feb68) at db_get_value+0x38
"net5501.dhcp.inet.fi" 20:27 29-Jan-16
db_numargs(ffffffff,f523fb80,0,3,d03cbea0) at db_numargs+0x24
db_stack_trace_print(d0558f37,0,5,d09cb91a,d03cbea0) at db_stack_trace_print+0x
3a7
db_trap(1,0,58,a,5) at db_trap+0xd2
kdb_trap(1,0,f523fc78,f523fcd4,0) at kdb_trap+0xcc
trap() at trap+0x2a5
--- trap (number 1) ---
Bad frame pointer: 0xd09d9764
0:


ddb> ps
   TID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
 16113  20213  16113   1000  3    0x100083  ttyin         ksh
 20213   1489   1489   1000  3        0x90  select        sshd
  1489  17601   1489      0  3        0x92  poll          sshd
 10738  28923  10738      0  3    0x100083  ttyin         ksh
 28923      1  28923      0  3    0x100080  kqread        tmux
  5303   4042   5303      0  3    0x100083  kqread        tmux
  4042      1   4042      0  3    0x10008b  pause         ksh
 13336      1  13336      0  3    0x100098  poll          cron
 17473  13159  13159     74  3    0x100090  bpf           pflogd
 13159      1  13159      0  3        0x80  netio         pflogd
 21618      1  21618      0  3    0x100080  poll          ntpd
  1172  30589   1172     83  3    0x100090  poll          ntpd
 30589      1  30589     83  3    0x100090  poll          ntpd
 15299      1  15299     77  3    0x100090  poll          dhclient
  2523      1   2523      0  3        0x80  poll          dhclient
  6689      1   6689     99  3    0x100090  poll          sndiod
 12009      1  12009    110  3    0x100090  poll          sndiod
 26213      1  26213    109  3        0x90  kqread        ftp-proxy
 24928   2884   2884     95  3    0x100090  kqread        smtpd
 16519   2884   2884     95  3    0x100090  kqread        smtpd
 28738   2884   2884     95  3    0x100090  kqread        smtpd
 23906   2884   2884     95  3    0x100090  kqread        smtpd
 12924   2884   2884     95  3    0x100090  kqread        smtpd
 32719   2884   2884    103  3    0x100090  kqread        smtpd
  2884      1   2884      0  3    0x100080  kqread        smtpd
 18115      1  18115     77  3    0x100090  poll          dhcpd
 17601      1  17601      0  3        0x80  select        sshd
 21635   2457   2976     83  3    0x100090  poll          ntpd
  2457   2976   2976     83  3    0x100090  poll          ntpd
  2976      1   2976      0  3    0x100080  poll          ntpd
 20604  30730  30730     74  3    0x100090  bpf           pflogd
 30730      1  30730      0  3        0x80  netio         pflogd
  8328   7896   7896     73  3    0x100090  kqread        syslogd
  7896      1   7896      0  3    0x100080  netio         syslogd
 21621      0      0      0  3     0x14200  pgzero        zerothread
 30294      0      0      0  3     0x14200  aiodoned      aiodoned
 17478      0      0      0  3     0x14200  syncer        update
 22479      0      0      0  3     0x14200  cleaner       cleaner
  3060      0      0      0  3     0x14200  reaper        reaper
  2935      0      0      0  3     0x14200  pgdaemon      pagedaemon
 27343      0      0      0  3     0x14200  bored         sensors
 28187      0      0      0  3     0x14200  bored         srdis
 25975      0      0      0  3     0x14200  bored         crypto
  1286      0      0      0  3     0x14200  pftm          pfpurge
 19467      0      0      0  3     0x14200  usbtsk        usbtask
  2939      0      0      0  3     0x14200  usbatsk       usbatsk
*29708      0      0      0  7     0x14210                softnet
  2708      0      0      0  3     0x14200  bored         systqmp
 24917      0      0      0  3     0x14200  bored         systq
 22278      0      0      0  3  0x40014200                idle0
  2193      0      0      0  3     0x14200  kmalloc       kmthread
     1      0      1      0  3        0x82  wait          init
     0     -1      0      0  3     0x10200  scheduler     swapper


ddb> trace
db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
db_get_value(3,4,0,d03cbec5,d09feb68) at db_get_value+0x38
db_numargs(ffffffff,f523fb80,0,3,d03cbea0) at db_numargs+0x24
db_stack_trace_print(d0558f37,0,5,d09cb91a,d03cbea0) at db_stack_trace_print+0x
3a7
db_trap(1,0,58,a,5) at db_trap+0xd2
kdb_trap(1,0,f523fc78,f523fcd4,0) at kdb_trap+0xcc
trap() at trap+0x2a5
--- trap (number 1) ---
Bad frame pointer: 0xd09d9764
0:


ddb> dmesg
 256 targets
softraid0: sd0 was not shutdown properly
sd0 at scsibus2 targ 1 lun 0: <OPENBSD, SR RAID 0, 005> SCSI2 0/direct fixed
sd0: 6827MB, 512 bytes/sector, 13981696 sectors
root on wd0a (cd1ed40cc23f4dd4.a) swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
panic: kernel diagnostic assertion "pd.m->m_pkthdr.pf.statekey == NULL" failed:
 file "../../../../net/pf.c", line 6569
Stopped at      Debugger+0x7:   leave
   TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
* 8880   8880      0     0x14000      0x210    0  softnet
Debugger(d09feb68,f523fd14,d09d9764,f523fd14,d6048500) at Debugger+0x7
panic(d09d9764,d0957746,d09cf8c8,d09cf988,19a9) at panic+0x71
__assert(d0957746,d09cf988,19a9,d09cf8c8,0) at __assert+0x2e
pf_test(2,1,d1abd800,f523fe90,d0b56680) at pf_test+0xf2d
ipv4_input(d6048500,d0203028,60,f523fecc,d041c580) at ipv4_input+0x23e
ipintr(d041c580,56ab7cfb,0,f523fec8,d177cbc0) at ipintr+0x16
netintr(0,d0b56680,d5f8a300,f523ff0c,d03b8482) at netintr+0x62
softintr_dispatch(1) at softintr_dispatch+0x5a
Xsoftnet() at Xsoftnet+0x12
--- interrupt ---
uvm_fault(0xd0bbe100, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      db_read_bytes+0x17:     movzbl  0(%esi,%ecx,1),%eax
   TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
* 8880   8880      0     0x14000      0x210    0  softnet
db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
db_get_value(3,4,0,d03cbe95,d09feb68) at db_get_value+0x38
db_numargs(ffffffff,f523fb80,0,3,d03cbe70) at db_numargs+0x24
db_stack_trace_print(d0558f07,0,5,d09cb91a,d03cbe70) at db_stack_trace_print+0x
3a7
db_trap(1,0,58,a,5) at db_trap+0xd2
kdb_trap(1,0,f523fc78,f523fcd4,0) at kdb_trap+0xcc
trap() at trap+0x2a5
--- trap (number 1) ---
Bad frame pointer: 0xd09d9764
0:
http://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb> ddb>
OpenBSD 5.9-beta (GENERIC) #1536: Thu Jan 28 20:18:35 MST 2016
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 500 M
Hz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
real mem  = 536363008 (511MB)
avail mem = 513568768 (489MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 20/70/03, BIOS32 rev. 0 @ 0xfac40
pcibios0 at bios0: rev 2.0 @ 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: 0xc8000/0xa800
cpu0 at mainbus0: (uniprocessor)
mtrr: K6-family MTRR support (2 registers)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
0:20:0: io address conflict 0x6100/0x100
0:20:0: io address conflict 0x6200/0x200
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 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 0
0:00:24:cb:a9:24
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
 model 0x0034
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 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 0
0:00:24:cb:a9:24
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
 model 0x0034
vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5, address 00
:00:24:cb:a9:25
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
 model 0x0034
vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9, address 00
:00:24:cb:a9:26
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
 model 0x0034
vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12, address 0
0:00:24:cb:a9:27
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
 model 0x0034
re0 at pci0 dev 14 function 0 "Realtek 8139" rev 0x20: RTL8139C+ (0x7480), irq 1
0, address 00:0a:fa:20:03:79
rlphy0 at re0 phy 0: RTL internal PHY
ral0 at pci0 dev 17 function 0 "Ralink RT2561S" rev 0x00: irq 15, address 00:12
:0e:61:54:68
ral0: MAC/BBP RT2561C, RF RT5225
glxpcib0 at pci0 dev 20 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
pciide0 at pci0 dev 20 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 SDCFH-004G>
wd0: 1-sector PIO, LBA48, 3825MB, 7835184 sectors
wd1 at pciide0 channel 0 drive 1: <ELITE PRO CF CARD 4GB>
wd1: 1-sector PIO, LBA, 3823MB, 7831152 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 7, version 1.0, l
egacy support
ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 7
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
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbc0: unable to establish interrupt for irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
pkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
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
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
softraid0: sd0 was not shutdown properly
sd0 at scsibus2 targ 1 lun 0: <OPENBSD, SR RAID 0, 005> SCSI2 0/direct fixed
sd0: 6827MB, 512 bytes/sector, 13981696 sectors
root on wd0a (cd1ed40cc23f4dd4.a) swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
umass0 at uhub0 port 1 configuration 1 interface 0 "JetFlash Mass Storage Devic
e" rev 2.00/1.42 addr 2
umass0: using SCSI over Bulk-Only
scsibus3 at umass0: 2 targets, initiator 0
sd1 at scsibus3 targ 1 lun 0: <JetFlash, Transcend 4GB, 8.07> SCSI2 0/direct re
movable
sd1: 3911MB, 512 bytes/sector, 8011774 sectors
syncing disks... done
sd0 detached
OpenBSD 5.9-beta (GENERIC) #1: Fri Jan 29 20:22:13 EET 2016
    [hidden email]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Geode(TM) Integrated Processor by AMD PCS ("AuthenticAMD" 586-class) 500 M
Hz
cpu0: FPU,DE,PSE,TSC,MSR,CX8,SEP,PGE,CMOV,CFLUSH,MMX,MMXX,3DNOW2,3DNOW
real mem  = 536363008 (511MB)
avail mem = 513568768 (489MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: date 20/70/03, BIOS32 rev. 0 @ 0xfac40
pcibios0 at bios0: rev 2.0 @ 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: 0xc8000/0xa800
cpu0 at mainbus0: (uniprocessor)
mtrr: K6-family MTRR support (2 registers)
amdmsr0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
0:20:0: io address conflict 0x6100/0x100
0:20:0: io address conflict 0x6200/0x200
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 6 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 11, address 0
0:00:24:cb:a9:24
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
 model 0x0034
vr1 at pci0 dev 7 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 5, address 00
:00:24:cb:a9:25
ukphy1 at vr1 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
 model 0x0034
vr2 at pci0 dev 8 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 9, address 00
:00:24:cb:a9:26
ukphy2 at vr2 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
 model 0x0034
vr3 at pci0 dev 9 function 0 "VIA VT6105M RhineIII" rev 0x96: irq 12, address 0
0:00:24:cb:a9:27
ukphy3 at vr3 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 0x004063,
 model 0x0034
re0 at pci0 dev 14 function 0 "Realtek 8139" rev 0x20: RTL8139C+ (0x7480), irq 1
0, address 00:0a:fa:20:03:79
rlphy0 at re0 phy 0: RTL internal PHY
ral0 at pci0 dev 17 function 0 "Ralink RT2561S" rev 0x00: irq 15, address 00:12
:0e:61:54:68
ral0: MAC/BBP RT2561C, RF RT5225
glxpcib0 at pci0 dev 20 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
pciide0 at pci0 dev 20 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 SDCFH-004G>
wd0: 1-sector PIO, LBA48, 3825MB, 7835184 sectors
wd1 at pciide0 channel 0 drive 1: <ELITE PRO CF CARD 4GB>
wd1: 1-sector PIO, LBA, 3823MB, 7831152 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
ohci0 at pci0 dev 21 function 0 "AMD CS5536 USB" rev 0x02: irq 7, version 1.0, l
egacy support
ehci0 at pci0 dev 21 function 1 "AMD CS5536 USB" rev 0x02: irq 7
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
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbc0: unable to establish interrupt for irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
nsclpcsio0 at isa0 port 0x2e/2: NSC PC87366 rev 9: GPIO VLM TMS
gpio1 at nsclpcsio0: 29 pins
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
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
sd0 at scsibus2 targ 1 lun 0: <OPENBSD, SR RAID 0, 005> SCSI2 0/direct fixed
sd0: 6827MB, 512 bytes/sector, 13981696 sectors
root on wd0a (cd1ed40cc23f4dd4.a) swap on wd0b dump on wd0b
panic: kernel diagnostic assertion "pd.m->m_pkthdr.pf.statekey == NULL" failed:
 file "../../../../net/pf.c", line 6569
Stopped at      Debugger+0x7:   leave
   TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*29708  29708      0     0x14000      0x210    0  softnet
Debugger(d09feb68,f523fd14,d09d9764,f523fd14,d5e12f00) at Debugger+0x7
panic(d09d9764,d0957746,d09cf8c8,d09cf988,19a9) at panic+0x71
__assert(d0957746,d09cf988,19a9,d09cf8c8,0) at __assert+0x2e
pf_test(2,1,d1afc800,f523fe90,d0b56680) at pf_test+0xf2d
ipv4_input(d5e12f00,d0203028,60,f523fecc,d041c5b0) at ipv4_input+0x23e
ipintr(d041c5b0,56abaf48,0,f523fec8,d177cbc0) at ipintr+0x16
netintr(0,d0b56680,d6057b00,f523ff0c,d03b84b2) at netintr+0x62
softintr_dispatch(1) at softintr_dispatch+0x5a
Xsoftnet() at Xsoftnet+0x12
--- interrupt ---
uvm_fault(0xd0bbe100, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      db_read_bytes+0x17:     movzbl  0(%esi,%ecx,1),%eax
   TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*29708  29708      0     0x14000      0x210    0  softnet
db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
db_get_value(3,4,0,d03cbec5,d09feb68) at db_get_value+0x38
db_numargs(ffffffff,f523fb80,0,3,d03cbea0) at db_numargs+0x24
db_stack_trace_print(d0558f37,0,5,d09cb91a,d03cbea0) at db_stack_trace_print+0x
3a7
db_trap(1,0,58,a,5) at db_trap+0xd2
kdb_trap(1,0,f523fc78,f523fcd4,0) at kdb_trap+0xcc
trap() at trap+0x2a5
--- trap (number 1) ---
Bad frame pointer: 0xd09d9764
0:
http://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb>    TID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND
 16113  20213  16113   1000  3    0x100083  ttyin         ksh
 20213   1489   1489   1000  3        0x90  select        sshd
  1489  17601   1489      0  3        0x92  poll          sshd
 10738  28923  10738      0  3    0x100083  ttyin         ksh
 28923      1  28923      0  3    0x100080  kqread        tmux
  5303   4042   5303      0  3    0x100083  kqread        tmux
  4042      1   4042      0  3    0x10008b  pause         ksh
 13336      1  13336      0  3    0x100098  poll          cron
 17473  13159  13159     74  3    0x100090  bpf           pflogd
 13159      1  13159      0  3        0x80  netio         pflogd
 21618      1  21618      0  3    0x100080  poll          ntpd
  1172  30589   1172     83  3    0x100090  poll          ntpd
 30589      1  30589     83  3    0x100090  poll          ntpd
 15299      1  15299     77  3    0x100090  poll          dhclient
  2523      1   2523      0  3        0x80  poll          dhclient
  6689      1   6689     99  3    0x100090  poll          sndiod
 12009      1  12009    110  3    0x100090  poll          sndiod
 26213      1  26213    109  3        0x90  kqread        ftp-proxy
 24928   2884   2884     95  3    0x100090  kqread        smtpd
 16519   2884   2884     95  3    0x100090  kqread        smtpd
 28738   2884   2884     95  3    0x100090  kqread        smtpd
 23906   2884   2884     95  3    0x100090  kqread        smtpd
 12924   2884   2884     95  3    0x100090  kqread        smtpd
 32719   2884   2884    103  3    0x100090  kqread        smtpd
  2884      1   2884      0  3    0x100080  kqread        smtpd
 18115      1  18115     77  3    0x100090  poll          dhcpd
 17601      1  17601      0  3        0x80  select        sshd
 21635   2457   2976     83  3    0x100090  poll          ntpd
  2457   2976   2976     83  3    0x100090  poll          ntpd
  2976      1   2976      0  3    0x100080  poll          ntpd
 20604  30730  30730     74  3    0x100090  bpf           pflogd
 30730      1  30730      0  3        0x80  netio         pflogd
  8328   7896   7896     73  3    0x100090  kqread        syslogd
  7896      1   7896      0  3    0x100080  netio         syslogd
 21621      0      0      0  3     0x14200  pgzero        zerothread
 30294      0      0      0  3     0x14200  aiodoned      aiodoned
 17478      0      0      0  3     0x14200  syncer        update
 22479      0      0      0  3     0x14200  cleaner       cleaner
  3060      0      0      0  3     0x14200  reaper        reaper
  2935      0      0      0  3     0x14200  pgdaemon      pagedaemon
 27343      0      0      0  3     0x14200  bored         sensors
 28187      0      0      0  3     0x14200  bored         srdis
 25975      0      0      0  3     0x14200  bored         crypto
  1286      0      0      0  3     0x14200  pftm          pfpurge
 19467      0      0      0  3     0x14200  usbtsk        usbtask
  2939      0      0      0  3     0x14200  usbatsk       usbatsk
*29708      0      0      0  7     0x14210                softnet
  2708      0      0      0  3     0x14200  bored         systqmp
 24917      0      0      0  3     0x14200  bored         systq
 22278      0      0      0  3  0x40014200                idle0
  2193      0      0      0  3     0x14200  kmalloc       kmthread
     1      0      1      0  3        0x82  wait          init
     0     -1      0      0  3     0x10200  scheduler     swapper
ddb> db_read_bytes(3,4,f523fae8,d0b52180,ffffffff) at db_read_bytes+0x17
db_get_value(3,4,0,d03cbec5,d09feb68) at db_get_value+0x38
db_numargs(ffffffff,f523fb80,0,3,d03cbea0) at db_numargs+0x24
db_stack_trace_print(d0558f37,0,5,d09cb91a,d03cbea0) at db_stack_trace_print+0x
3a7
db_trap(1,0,58,a,5) at db_trap+0xd2
kdb_trap(1,0,f523fc78,f523fcd4,0) at kdb_trap+0xcc
trap() at trap+0x2a5
--- trap (number 1) ---
Bad frame pointer: 0xd09d9764
0:
ddb>