Hi,
I just upgraded my main router to -current (a PC-Engine APU, dmesg at the end).
It panics after 5 minutes or so. It seems relative to the commit
making bpf_mtap using SRPs.
I'm bridging vlan/vether interfaces:
$ cat /etc/hostname.bridge0
add re0
add vether0
up
$ cat /etc/hostname.bridge1
add vlan0
add vlan3
up
$ cat /etc/hostname.re0
inet 192.168.42.1 255.255.255.0 NONE group internal
inet6 alias 2a01:xxxx:xxxx:xxxx::1 64
$ cat /etc/hostname.vether0
inet 192.168.42.2 255.255.255.0 NONE group internal -inet6
$ cat /etc/hostname.vlan0
vlan 100 vlandev re0 -inet6
$ cat /etc/hostname.vlan3
vlan 100 vlandev re2 -inet6
Here are the panic, trace, ps and dmesg:
panic: srp_leave: unexpected ref 0xffff800000235700 via 0xffff800000077448
Stopped at Debugger+0x9: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
IF RUNNING SMP, USE 'mach ddbcpu <#>' AND 'trace' ON OTHER PROCESSORS, TOO.
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb{0}> trace
Debugger() at Debugger+0x9
panic() at panic+0xfe
srp_leave() at srp_leave+0x48
_bpf_mtap() at _bpf_mtap+0x9f
bpf_mtap_ether() at bpf_mtap_ether+0x39
if_input() at if_input+0x80
bridge_process() at bridge_process+0x2f5
bridgeintr() at bridgeintr+0x4c
netintr() at netintr+0xa7
softintr_dispatch() at softintr_dispatch+0x8b
Xsoftnet() at Xsoftnet+0x1f
--- interrupt ---
end of kernel
end trace frame: 0x8, count: -11
0xffffffffffffffff:
ddb{0}> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
7312 19078 16851 1000 3 0x83 select ssh
19078 16851 16851 1000 7 0x3 cvs
16851 19066 16851 1000 3 0x8b pause sh
22942 12034 12034 1000 3 0x83 kqread tail
26179 8406 26179 1000 3 0x83 ttyin ksh
32407 8406 32407 1000 3 0x83 ttyin ksh
22216 8406 22216 1000 3 0x83 ttyin ksh
5782 8406 5782 1000 3 0x83 ttyin ksh
13232 22589 22589 1000 3 0x83 kqread tail
30965 8406 30965 1000 3 0x83 ttyin ksh
12034 8406 12034 1000 3 0x8b pause ksh
19066 8406 19066 1000 3 0x8b pause ksh
22589 8406 22589 1000 3 0x8b pause ksh
8406 1 8406 1000 3 0x80 kqread tmux
3546 14481 14481 1000 3 0x83 kqread tmux
14481 26328 14481 1000 3 0x8b pause ksh
26328 20622 20622 1000 3 0x90 select sshd
20622 28780 20622 0 3 0x92 poll sshd
16424 1 16424 0 3 0x83 ttyin getty
5420 1 5420 0 3 0x80 poll cron
2642 1 2642 0 3 0x80 kqread apmd
6503 1 6503 0 3 0x80 netio openvpn
21664 1 15856 566 3 0x90 kqread tor
21467 1 21467 32767 3 0x90 netcon pfstatd
10586 1 10586 71 3 0x90 kqread ftp-proxy
7148 30502 30502 95 3 0x90 kqread smtpd
3050 30502 30502 95 3 0x90 kqread smtpd
17014 30502 30502 95 3 0x90 kqread smtpd
6238 30502 30502 95 3 0x90 kqread smtpd
23058 30502 30502 95 3 0x90 kqread smtpd
22647 30502 30502 103 3 0x90 kqread smtpd
30502 1 30502 0 3 0x80 kqread smtpd
31180 1 31180 92 3 0x90 poll rtadvd
27245 1 27245 77 3 0x90 poll dhcpd
5519 1 5519 577 3 0x90 poll openvpn
20054 1 20054 0 3 0x80 kqread ifstated
28780 1 28780 0 3 0x80 select sshd
27854 727 27854 0 3 0x80 netio npppd
727 1 727 82 3 0x90 kqread npppd
890 3611 3611 68 3 0x90 select isakmpd
3611 1 3611 0 3 0x80 netio isakmpd
20108 18369 9603 83 3 0x90 poll ntpd
18369 9603 9603 83 3 0x90 poll ntpd
9603 1 9603 0 3 0x80 poll ntpd
21695 12104 12104 74 3 0x90 bpf pflogd
12104 1 12104 0 3 0x80 netio pflogd
20324 5352 5352 73 3 0x90 kqread syslogd
5352 1 5352 0 3 0x80 netio syslogd
23494 1 23494 577 3 0x90 poll openvpn
16206 1 16206 577 3 0x90 poll openvpn
7113 0 0 0 3 0x14200 pgzero zerothread
9098 0 0 0 3 0x14200 aiodoned aiodoned
6467 0 0 0 3 0x14200 syncer update
13114 0 0 0 3 0x14200 cleaner cleaner
17351 0 0 0 3 0x14200 reaper reaper
24249 0 0 0 3 0x14200 pgdaemon pagedaemon
25873 0 0 0 3 0x14200 bored crypto
27422 0 0 0 3 0x14200 pftm pfpurge
12655 0 0 0 3 0x14200 bored sensors
12731 0 0 0 3 0x14200 usbtsk usbtask
1785 0 0 0 3 0x14200 usbatsk usbatsk
27262 0 0 0 3 0x40014200 acpi0 acpi0
1873 0 0 0 3 0x40014200 idle1
*20667 0 0 0 7 0x14210 softnet
16952 0 0 0 3 0x14200 bored systqmp
878 0 0 0 3 0x14200 bored systq
21957 0 0 0 3 0x40014200 idle0
1 0 1 0 3 0x82 wait init
0 -1 0 0 3 0x10200 scheduler swapper
ddb{0}>
dmesg:
OpenBSD 5.8-current (GENERIC.MP) #0: Fri Aug 21 21:36:40 CEST 2015
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4246003712 (4049MB)
avail mem = 4113432576 (3922MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xdf16d820 (7 entries)
bios0: vendor coreboot version "4.0" date 09/08/2014
bios0: PC Engines APU
acpi0 at bios0: rev 0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SPCR HPET APIC HEST SSDT SSDT SSDT
acpi0: wakeup devices AGPB(S4) HDMI(S4) PBR4(S4) PBR5(S4) PBR6(S4)
PBR7(S4) PE20(S4) PE21(S4) PE22(S4) PE23(S4) PIBR(S4) UOH1(S3)
UOH2(S3) UOH3(S3) UOH4(S3) UOH5
(S3) [...]
acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpihpet0 at acpi0: 14318180 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD G-T40E Processor, 1000.05 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LO
NG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC
cpu0: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB
64b/line 16-way L2 cache
cpu0: 8 4MB entries fully associative
cpu0: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 199MHz
cpu0: mwait min=64, max=64, IBE
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD G-T40E Processor, 1000.00 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,SSSE3,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,LO
NG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,IBS,SKINIT,ITSC
cpu1: 32KB 64b/line 2-way I-cache, 32KB 64b/line 8-way D-cache, 512KB
64b/line 16-way L2 cache
cpu1: 8 4MB entries fully associative
cpu1: DTLB 40 4KB entries fully associative, 8 4MB entries fully associative
cpu1: smt 0, core 1, package 0
ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins
acpiprt0 at acpi0: bus -1 (AGPB)
acpiprt1 at acpi0: bus -1 (HDMI)
acpiprt2 at acpi0: bus 1 (PBR4)
acpiprt3 at acpi0: bus 2 (PBR5)
acpiprt4 at acpi0: bus 3 (PBR6)
acpiprt5 at acpi0: bus -1 (PBR7)
acpiprt6 at acpi0: bus 5 (PE20)
acpiprt7 at acpi0: bus -1 (PE21)
acpiprt8 at acpi0: bus -1 (PE22)
acpiprt9 at acpi0: bus -1 (PE23)
acpiprt10 at acpi0: bus 0 (PCI0)
acpiprt11 at acpi0: bus 4 (PIBR)
acpicpu0 at acpi0: !C2(0@100 io@0x841), C1(@1 halt!), PSS
acpicpu1 at acpi0: !C2(0@100 io@0x841), C1(@1 halt!), PSS
acpibtn0 at acpi0: PWRB
cpu0: 1000 MHz: speeds: 1000 800 MHz
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 "AMD AMD64 14h Host" rev 0x00
ppb0 at pci0 dev 4 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi
pci1 at ppb0 bus 1
re0 at pci1 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E
(0x2c00), msi, address 00:0d:b9:33:8e:8c
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 4
ppb1 at pci0 dev 5 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi
pci2 at ppb1 bus 2
re1 at pci2 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E
(0x2c00), msi, address 00:0d:b9:33:8e:8d
rgephy1 at re1 phy 7: RTL8169S/8110S/8211 PHY, rev. 4
ppb2 at pci0 dev 6 function 0 "AMD AMD64 14h PCIE" rev 0x00: msi
pci3 at ppb2 bus 3
re2 at pci3 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E
(0x2c00), msi, address 00:0d:b9:33:8e:8e
rgephy2 at re2 phy 7: RTL8169S/8110S/8211 PHY, rev. 4
ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 2 int
19, AHCI 1.2
ahci0: port 0: 6.0Gb/s
scsibus1 at ahci0: 32 targets
sd0 at scsibus1 targ 0 lun 0: <ATA, KINGSTON SMS200S, 524A> SCSI3
0/direct fixed naa.50026b72430389d0
sd0: 28626MB, 512 bytes/sector, 58626288 sectors, thin
ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int
18, version 1.0, legacy support
ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int
18, version 1.0, legacy support
ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1
piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling
iic0 at piixpm0
pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40
ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40
pci4 at ppb3 bus 4
ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 2 int
18, version 1.0, legacy support
ppb4 at pci0 dev 21 function 0 "ATI SB800 PCIE" rev 0x00
pci5 at ppb4 bus 5
ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 2 int
18, version 1.0, legacy support
ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17
usb2 at ehci2: USB revision 2.0
uhub2 at usb2 "ATI EHCI root hub" rev 2.00/1.00 addr 1
pchb1 at pci0 dev 24 function 0 "AMD AMD64 14h Link Cfg" rev 0x43
pchb2 at pci0 dev 24 function 1 "AMD AMD64 14h Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 14h DRAM Cfg" rev 0x00
km0 at pci0 dev 24 function 3 "AMD AMD64 14h Misc Cfg" rev 0x00
pchb4 at pci0 dev 24 function 4 "AMD AMD64 14h CPU Power" rev 0x00
pchb5 at pci0 dev 24 function 5 "AMD AMD64 14h Reserved" rev 0x00
pchb6 at pci0 dev 24 function 6 "AMD AMD64 14h NB Power" rev 0x00
pchb7 at pci0 dev 24 function 7 "AMD AMD64 14h Reserved" rev 0x00
usb3 at ohci0: USB revision 1.0
uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb4 at ohci1: USB revision 1.0
uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: NCT5104D rev 0x52
usb5 at ohci2: USB revision 1.0
uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1
usb6 at ohci3: USB revision 1.0
uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1
umass0 at uhub2 port 1 configuration 1 interface 0 "Generic Flash Card
Reader/Writer" rev 2.01/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus2 at umass0: 2 targets, initiator 0
sd1 at scsibus2 targ 1 lun 0: <Multiple, Card Reader, 1.00> SCSI2
0/direct removable serial.058f6366058F63666485
vscsi0 at root
scsibus3 at vscsi0: 256 targets
softraid0 at root
scsibus4 at softraid0: 256 targets
root on sd0a (f50cd30a31527519.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
--
Mattieu Baptiste
"/earth is 102% full ... please delete anyone you can."