Re: bpf_mtap/SRP on -current/amd64 panics after a few minutes
On Aug 22, 2015, at 12:22 PM, Mattieu Baptiste mattie...@gmail.com wrote: acpicpu0 at acpi0: !C2(0@100 io@0x841), C1(@1 halt!), PSS acpicpu1 at acpi0: !C2(0@100 io@0x841), C1(@1 halt!), PSS These look suspicious. Perhaps the acpicpu driver is the culprit. 5.8 appears to of added the following: acpicpu(4) http://www.openbsd.org/cgi-bin/man.cgi?query=acpicpusec=4 uses ACPI C-state information to reduce power consumption of idle CPUs. A âcoolâ feature imho that might add life to a fanless.
Re: bpf_mtap/SRP on -current/amd64 panics after a few minutes
On Sat, Aug 22, 2015 at 9:18 PM, Patrick Dohman patrick_doh...@comcast.net wrote: On Aug 22, 2015, at 12:22 PM, Mattieu Baptiste mattie...@gmail.com wrote: acpicpu0 at acpi0: !C2(0@100 io@0x841), C1(@1 halt!), PSS acpicpu1 at acpi0: !C2(0@100 io@0x841), C1(@1 halt!), PSS These look suspicious. Perhaps the acpicpu driver is the culprit. 5.8 appears to of added the following: acpicpu(4) http://www.openbsd.org/cgi-bin/man.cgi?query=acpicpusec=4 uses ACPI C-state information to reduce power consumption of idle CPUs. A “cool” feature imho that might add life to a fanless. That'll make his box idle cooler, but that's unrelated to a panic in the SRP bits. Philip Guenther
bpf_mtap/SRP on -current/amd64 panics after a few minutes
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:::::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 0x80235700 via 0x80077448 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 0x: ddb{0} ps PID PPID PGRPUID S FLAGS WAIT COMMAND 7312 19078 16851 1000 30x83 selectssh 19078 16851 16851 1000 7 0x3cvs 16851 19066 16851 1000 30x8b pause sh 22942 12034 12034 1000 30x83 kqreadtail 26179 8406 26179 1000 30x83 ttyin ksh 32407 8406 32407 1000 30x83 ttyin ksh 22216 8406 22216 1000 30x83 ttyin ksh 5782 8406 5782 1000 30x83 ttyin ksh 13232 22589 22589 1000 30x83 kqreadtail 30965 8406 30965 1000 30x83 ttyin ksh 12034 8406 12034 1000 30x8b pause ksh 19066 8406 19066 1000 30x8b pause ksh 22589 8406 22589 1000 30x8b pause ksh 8406 1 8406 1000 30x80 kqreadtmux 3546 14481 14481 1000 30x83 kqreadtmux 14481 26328 14481 1000 30x8b pause ksh 26328 20622 20622 1000 30x90 selectsshd 20622 28780 20622 0 30x92 poll sshd 16424 1 16424 0 30x83 ttyin getty 5420 1 5420 0 30x80 poll cron 2642 1 2642 0 30x80 kqreadapmd 6503 1 6503 0 30x80 netio openvpn 21664 1 15856566 30x90 kqreadtor 21467 1 21467 32767 30x90 netconpfstatd 10586 1 10586 71 30x90 kqreadftp-proxy 7148 30502 30502 95 30x90 kqreadsmtpd 3050 30502 30502 95 30x90 kqreadsmtpd 17014 30502 30502 95 30x90 kqreadsmtpd 6238 30502 30502 95 30x90 kqreadsmtpd 23058 30502 30502 95 30x90 kqreadsmtpd 22647 30502 30502103 30x90 kqreadsmtpd 30502 1 30502 0 30x80 kqreadsmtpd 31180 1 31180 92 30x90 poll rtadvd 27245 1 27245 77 30x90 poll dhcpd 5519 1 5519577 30x90 poll openvpn 20054 1 20054 0 30x80 kqreadifstated 28780 1 28780 0 30x80 selectsshd 27854727 27854 0 30x80 netio npppd 727 1727 82 30x90 kqreadnpppd 890 3611 3611 68 30x90 selectisakmpd 3611 1 3611 0 30x80 netio isakmpd 20108 18369 9603 83 30x90 poll ntpd 18369 9603 9603 83 30x90 poll ntpd 9603 1 9603 0 30x80 poll ntpd 21695 12104 12104 74 30x90 bpf pflogd 12104 1 12104 0 30x80 netio pflogd 20324 5352 5352 73 30x90 kqreadsyslogd 5352 1 5352 0 30x80 netio syslogd 23494 1 23494577 30x90 poll openvpn 16206 1 16206577 30x90 poll openvpn 7113 0 0 0 3 0x14200 pgzerozerothread 9098 0 0 0 3 0x14200 aiodoned aiodoned 6467 0 0 0 3 0x14200 syncerupdate 13114 0 0 0 3 0x14200 cleaner cleaner 17351