Synopsis:       kernel panic with rtadvd
Category:       kernel panic
Environment:
        System      : OpenBSD 5.9
        Details     : OpenBSD 5.9-beta (GENERIC) #859: Tue Dec 22 13:38:04 MST 
2015
                         
[email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC

        Architecture: OpenBSD.sparc64
        Machine     : sparc64

Description:
        updated to latest snapshot from 22/23 december
        kernel panic on system startup

        for dmesg see below

        all was ok with kernel:

OpenBSD 5.8-current (GENERIC) #852: Fri Dec 18 11:08:54 MST 2015
    [email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC

        running ipv6 tunnel from sixxs (with use of net/aiccu) on gem0
        running rtadvd for local network on rl0

How-To-Repeat:
        update to that snapshot
        startup system
        start aiccu at system startup

/etc/rc.conf.local:
ntpd_flags=""           # for normal use: ""
rtadvd_flags="rl0"      # for normal use: list of interfaces
ftpproxy_flags=""       # for normal use: ""
httpd_flags=""          # for normal use: ""
slowcgi_flags=""        # for normal use: ""
xdm_flags=""            # for normal use: ""
pkg_scripts="dnsmasq arpwatch noip2 stunnel aiccu"

Fix:
        workaround for now: use old kernel

dmesg:
console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2015 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.9-beta (GENERIC) #859: Tue Dec 22 13:38:04 MST 2015
    [email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 536870912 (512MB)
avail mem = 511459328 (487MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: Sun Blade 100 (UltraSPARC-IIe)
cpu0 at mainbus0: SUNW,UltraSPARC-IIe (rev 1.4) @ 502 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 256K external (64 
b/l)
psycho0 at mainbus0: pci108e,a001, impl 0, version 0, ign 7c0
psycho0: bus range 0-1, PCI bus 0
psycho0: dvma map c0000000-dfffffff
pci0 at psycho0
ebus0 at pci0 dev 12 function 0 "Sun RIO EBus" rev 0x01
"flashprom" at ebus0 addr 0-fffff not configured
clock1 at ebus0 addr 0-1fff: mk48t59
ebus1 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"dma" at ebus1 addr 0-ffff ivec 0x2a not configured
power0 at ebus1 addr 800-82f ivec 0x20
com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo
com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo
gem0 at pci0 dev 12 function 1 "Sun ERI Ether" rev 0x01: ivec 0x7c6, address 
00:03:ba:18:3a:e9
ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x0010dd, model 0x0002
"Sun FireWire" rev 0x01 at pci0 dev 12 function 2 not configured
ohci0 at pci0 dev 12 function 3 "Sun USB" rev 0x01: ivec 0x7e4, version 1.0, 
legacy support
alipm0 at pci0 dev 3 function 0 "Acer Labs M7101 Power" rev 0x00: 223KHz clock
iic0 at alipm0
"max1617" at alipm0 addr 0x18 skipped due to alipm0 bugs
"scm001" at alipm0 addr 0x20 skipped due to alipm0 bugs
spdmem0 at iic0 addr 0x50: 512MB SDRAM ECC PC133CL2
autri0 at pci0 dev 8 function 0 "Acer Labs M5451 Audio" rev 0x01: ivec 0x7e3
ac97: codec id 0x41445348 (Analog Devices AD1881A)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at autri0
midi0 at autri0: <4DWAVE MIDI UART>
pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc3: DMA, 
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7cc for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST3120213A>
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <LITEON, CD-ROM LTN486S, Y3S2> ATAPI 5/cdrom 
removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 0: <WDC WD1600AAJB-00J3A0>
wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ppb0 at pci0 dev 5 function 0 "Intel S21152BB" rev 0x00
pci1 at ppb0 bus 1
rl0 at pci1 dev 2 function 0 "D-Link DFE-530TX+" rev 0x10: ivec 0x7d5, address 
00:11:95:21:ec:70
rlphy0 at rl0 phy 0: RTL internal PHY
machfb0 at pci0 dev 19 function 0 "ATI Rage XL" rev 0x27
machfb0: ATY,RageXL, 800x600
wsdisplay0 at machfb0 mux 1: console (std, sun emulation)
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Sun OHCI root hub" rev 1.00/1.00 addr 1
uhidev0 at uhub0 port 1 configuration 1 interface 0 "Fujitsu Component Type 6 
Keyboard" rev 1.00/1.02 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes, country code 33
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub0 port 2 configuration 1 interface 0 "Logitech USB-PS/2 Optical 
Mouse" rev 2.00/20.00 addr 3
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
bootpath: /pci@1f,0/ide@d,0/disk@0,0
root on wd0a (a3fcc6617d442473.a) swap on wd0b dump on wd0b
WARNING: / was not properly unmounted
panic: kernel diagnostic assertion "!pf_state_key_isvalid(sk)" failed: file 
"../../../../net/pf.c", line 6830
Stopped at      Debugger+0x8:   nop
   TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND                       
 
*17325  17325     92    0x100010          0    0  rtadvd                        
 
__assert(1620858, 1689630, 1aae, 1689688, 0, a82ec0d4e0) at __assert+0x20
pf_state_key_unref(400090aab60, 0, 0, 0, 0, 0) at pf_state_key_unref+0xac
pf_pkt_unlink_state_key(40008df4300, a82f00f000, fffffffffffffff8, 40010b18000, 
1012d74, 0) at pf_pkt_unlink_state_key+0x4
m_free(40008df4300, 0, 40010b1bb18, 0, 0, 0) at m_free+0xb4
soreceive(4000908f900, 0, 40010b1bb18, 0, 40008df4200, 4000908f980) at 
soreceive+0xc84
recvit(0, 3, 40010b1bcb8, 0, 40010b1bdf0, 3b9aca00) at recvit+0x10c
sys_recvmsg(400090a0000, 40010b1bdb0, a82f00f868, 40010b1bcd8, 400090a0048, 
14b) at sys_recvmsg+0x88
syscall(40010b1bed0, 41b, aac219dfa8, aac219dfac, 0, 0) at syscall+0x34c
softtrap(3, a82f00f898, 0, aac21648cc, 0, a82ec0d4e0) at softtrap+0x19c
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> No such command
ddb> machine     print       examine     x           search      set         
write       w           delete      d           break       dwatch      
watch       step        s           continue    c           until       
next        match       trace       call        ps          callout     
show        boot        help        hangman     dmesg       
ddb>    TID   PPID   PGRP    UID  S       FLAGS  WAIT          COMMAND         
  9748   2160  28004      0  3    0x100083  nanosleep     sleep           
 23971      1  23971      0  3        0x80  nanosleep     aiccu           
 24249      1  23971      0  3   0x4000080  tunread       aiccu           
 25099      1  23971      0  3   0x4000080  netio         aiccu           
  2160  28004  28004      0  3    0x10008b  pause         sh              
 28303      1  28303    528  3        0x90  poll          stunnel         
 18738      1  18738    624  3        0x90  select        noip2           
 29830      1  28004      0  3        0x80  bpf           arpwatch        
 11327      1  16036    631  3        0x90  poll          dnsmasq         
 12724      1  12724     99  3        0x90  poll          sndiod          
 26013      1  26013    110  3        0x90  poll          sndiod          
 27074      1  27074    109  3        0x90  kqread        ftp-proxy       
 22394   6369   6369     67  3    0x100090  kqread        httpd           
  5027   6369   6369     67  3    0x100090  kqread        httpd           
 21891   6918  21891     67  3    0x100090  kqread        httpd           
  6369   6918   6369     67  3    0x100090  kqread        httpd           
  6918      1   6918      0  3    0x100080  kqread        httpd           
 10334      1  10334     67  3    0x100090  kqread        slowcgi         
  5817   7007   7007     95  3    0x100090  kqread        smtpd           
 20525   7007   7007     95  3    0x100090  kqread        smtpd           
 11371   7007   7007     95  3    0x100090  kqread        smtpd           
 10392   7007   7007     95  3    0x100090  kqread        smtpd           
  1210   7007   7007     95  3    0x100090  kqread        smtpd           
 18682   7007   7007    103  3    0x100090  kqread        smtpd           
  7007      1   7007      0  3    0x100080  kqread        smtpd           
*17325      1  17325     92  7    0x100010                rtadvd          
  8345      1   8345      0  3        0x80  select        sshd            
   839   4935  15769     83  3    0x100090  poll          ntpd            
  4935  15769  15769     83  3    0x100090  poll          ntpd            
 15769      1  15769      0  3    0x100080  poll          ntpd            
 16890  25572  25572     74  3    0x100090  bpf           pflogd          
 25572      1  25572      0  3        0x80  netio         pflogd          
 21339   9979   9979     73  3    0x100090  kqread        syslogd         
  9979      1   9979      0  3    0x100080  netio         syslogd         
 28004      1  28004      0  3    0x10008b  pause         sh              
  5064      0      0      0  3     0x14200  pgzero        zerothread      
 17575      0      0      0  3     0x14200  aiodoned      aiodoned        
  3072      0      0      0  3     0x14200  syncer        update          
 25820      0      0      0  3     0x14200  cleaner       cleaner         
 28232      0      0      0  3     0x14200  reaper        reaper          
 18247      0      0      0  3     0x14200  pgdaemon      pagedaemon      
  7824      0      0      0  3     0x14200  bored         crypto          
  4996      0      0      0  3     0x14200  pftm          pfpurge         
 15471      0      0      0  3     0x14200  usbtsk        usbtask         
  3556      0      0      0  3     0x14200  usbatsk       usbatsk         
  4874      0      0      0  3     0x14200  bored         softnet         
 15659      0      0      0  3     0x14200  bored         systqmp         
  5080      0      0      0  3     0x14200  bored         systq           
 11982      0      0      0  3  0x40014200                idle0           
 24822      0      0      0  3     0x14200  kmalloc       kmthread        
     1      0      1      0  3        0x82  wait          init            
     0     -1      0      0  3     0x10200  scheduler     swapper         
ddb> No such command
ddb> __assert(1620858, 1689630, 1aae, 1689688, 0, a82ec0d4e0) at __assert+0x20
pf_state_key_unref(400090aab60, 0, 0, 0, 0, 0) at pf_state_key_unref+0xac
pf_pkt_unlink_state_key(40008df4300, a82f00f000, fffffffffffffff8, 40010b18000, 
1012d74, 0) at pf_pkt_unlink_state_key+0x4
m_free(40008df4300, 0, 40010b1bb18, 0, 0, 0) at m_free+0xb4
soreceive(4000908f900, 0, 40010b1bb18, 0, 40008df4200, 4000908f980) at 
soreceive+0xc84
recvit(0, 3, 40010b1bcb8, 0, 40010b1bdf0, 3b9aca00) at recvit+0x10c
sys_recvmsg(400090a0000, 40010b1bdb0, a82f00f868, 40010b1bcd8, 400090a0048, 
14b) at sys_recvmsg+0x88
syscall(40010b1bed0, 41b, aac219dfa8, aac219dfac, 0, 0) at syscall+0x34c
softtrap(3, a82f00f898, 0, aac21648cc, 0, a82ec0d4e0) at softtrap+0x19c
ddb> rebooting

now using older kernel:

console is keyboard/display
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2015 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.8-current (GENERIC) #852: Fri Dec 18 11:08:54 MST 2015
    [email protected]:/usr/src/sys/arch/sparc64/compile/GENERIC
real mem = 536870912 (512MB)
avail mem = 511467520 (487MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root: Sun Blade 100 (UltraSPARC-IIe)
cpu0 at mainbus0: SUNW,UltraSPARC-IIe (rev 1.4) @ 502 MHz
cpu0: physical 16K instruction (32 b/l), 16K data (32 b/l), 256K external (64 
b/l)
psycho0 at mainbus0: pci108e,a001, impl 0, version 0, ign 7c0
psycho0: bus range 0-1, PCI bus 0
psycho0: dvma map c0000000-dfffffff
pci0 at psycho0
ebus0 at pci0 dev 12 function 0 "Sun RIO EBus" rev 0x01
"flashprom" at ebus0 addr 0-fffff not configured
clock1 at ebus0 addr 0-1fff: mk48t59
ebus1 at pci0 dev 7 function 0 "Acer Labs M1533 ISA" rev 0x00
"dma" at ebus1 addr 0-ffff ivec 0x2a not configured
power0 at ebus1 addr 800-82f ivec 0x20
com0 at ebus1 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo
com1 at ebus1 addr 2e8-2ef ivec 0x2b: ns16550a, 16 byte fifo
gem0 at pci0 dev 12 function 1 "Sun ERI Ether" rev 0x01: ivec 0x7c6, address 
00:03:ba:18:3a:e9
ukphy0 at gem0 phy 1: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x0010dd, model 0x0002
"Sun FireWire" rev 0x01 at pci0 dev 12 function 2 not configured
ohci0 at pci0 dev 12 function 3 "Sun USB" rev 0x01: ivec 0x7e4, version 1.0, 
legacy support
alipm0 at pci0 dev 3 function 0 "Acer Labs M7101 Power" rev 0x00: 223KHz clock
iic0 at alipm0
"max1617" at alipm0 addr 0x18 skipped due to alipm0 bugs
"scm001" at alipm0 addr 0x20 skipped due to alipm0 bugs
spdmem0 at iic0 addr 0x50: 512MB SDRAM ECC PC133CL2
autri0 at pci0 dev 8 function 0 "Acer Labs M5451 Audio" rev 0x01: ivec 0x7e3
ac97: codec id 0x41445348 (Analog Devices AD1881A)
ac97: codec features headphone, Analog Devices Phat Stereo
audio0 at autri0
midi0 at autri0: <4DWAVE MIDI UART>
pciide0 at pci0 dev 13 function 0 "Acer Labs M5229 UDMA IDE" rev 0xc3: DMA, 
channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using ivec 0x7cc for native-PCI interrupt
wd0 at pciide0 channel 0 drive 0: <ST3120213A>
wd0: 16-sector PIO, LBA48, 114473MB, 234441648 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <LITEON, CD-ROM LTN486S, Y3S2> ATAPI 5/cdrom 
removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2
wd1 at pciide0 channel 1 drive 0: <WDC WD1600AAJB-00J3A0>
wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
ppb0 at pci0 dev 5 function 0 "Intel S21152BB" rev 0x00
pci1 at ppb0 bus 1
rl0 at pci1 dev 2 function 0 "D-Link DFE-530TX+" rev 0x10: ivec 0x7d5, address 
00:11:95:21:ec:70
rlphy0 at rl0 phy 0: RTL internal PHY
machfb0 at pci0 dev 19 function 0 "ATI Rage XL" rev 0x27
machfb0: ATY,RageXL, 800x600
wsdisplay0 at machfb0 mux 1: console (std, sun emulation)
usb0 at ohci0: USB revision 1.0
uhub0 at usb0 "Sun OHCI root hub" rev 1.00/1.00 addr 1
uhidev0 at uhub0 port 1 configuration 1 interface 0 "Fujitsu Component Type 6 
Keyboard" rev 1.00/1.02 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes, country code 33
wskbd0 at ukbd0: console keyboard, using wsdisplay0
uhidev1 at uhub0 port 2 configuration 1 interface 0 "Logitech USB-PS/2 Optical 
Mouse" rev 2.00/20.00 addr 3
uhidev1: iclass 3/1
ums0 at uhidev1: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
bootpath: /pci@1f,0/ide@d,0/disk@0,0
root on wd0a (a3fcc6617d442473.a) swap on wd0b dump on wd0b

usbdevs:
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), Sun(0x108e), 
rev 1.00
 port 1 addr 2: low speed, power 100 mA, config 1, Type 6 Keyboard(0x0005), 
Fujitsu Component(0x0430), rev 1.02
 port 2 addr 3: low speed, power 98 mA, config 1, USB-PS/2 Optical 
Mouse(0xc03e), Logitech(0x046d), rev 20.00
 port 3 powered
 port 4 powered

Reply via email to