First, thanks very much to those involved in bringing OpenBSD to the
Ubiquiti EdgeRouter Lite. I finally got my system setup the other day,
and I'm really looking forward to using it more.
I tried to untar ports.tar.gz last night, but doing so around the same
time as the first security script check ran into trouble (perl process
ran for ~3hrs of CPU time overnight) and the untar never completed. This
morning, I killed perl and tried to rm -rf the ports tree so I could
start clean, but the kernel panic'd. I rebooted, tried again and got a
second panic.
Dmesg, trace & ps (both) below.
Thanks,
Seth
# dmesg
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-beta (GENERIC) #2: Sat Jul 11 21:34:50 CEST 2015
r...@erl-2.jasper.la:/usr/src/sys/arch/octeon/compile/GENERIC
real mem = 515932160 (492MB)
avail mem = 511524864 (487MB)
warning: no entropy supplied by boot loader
mainbus0 at root
cpu0 at mainbus0: Cavium OCTEON CPU rev 0.1 500 MHz, Software FP emulation
cpu0: cache L1-I 32KB 4 way D 8KB 64 way, L2 128KB 8 way
clock0 at mainbus0: int 5
iobus0 at mainbus0
octcf at iobus0 base 0x1d000800 irq 0 not configured
pcibus at iobus0 irq 0 not configured
cn30xxgmx0 at iobus0 base 0x1180008000000 irq 48
cnmac0 at cn30xxgmx0: RGMII, address dc:9f:db:28:37:0e
atphy0 at cnmac0 phy 7: F1 10/100/1000 PHY, rev. 2
cnmac1 at cn30xxgmx0: RGMII, address dc:9f:db:28:37:0f
atphy1 at cnmac1 phy 6: F1 10/100/1000 PHY, rev. 2
cnmac2 at cn30xxgmx0: RGMII, address dc:9f:db:28:37:10
atphy2 at cnmac2 phy 5: F1 10/100/1000 PHY, rev. 2
octrng0 at iobus0 base 0x1400000000000 irq 0
octhci at iobus0 irq 56 not configured
dwctwo0 at iobus0 base 0x1180068000000 irq 56
usb0 at dwctwo0: USB revision 2.0
uhub0 at usb0 " DWC2 root hub" rev 2.00/1.00 addr 1
uartbus0 at mainbus0
com0 at uartbus0 base 0x1180000000800 irq 34: ns16550, no working fifo
com0: console
com1 at uartbus0 base 0x1180000000c00 irq 35: ns16550, no working fifo
/dev/ksyms: Symbol table not valid.
umass0 at uhub0 port 1 configuration 1 interface 0 "Lexar Echo" rev
2.00/11.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Lexar, Echo, 1100> SCSI0 0/direct
removable serial.05dca01aY63VXR9F6JRF
sd0: 15296MB, 512 bytes/sector, 31326208 sectors
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
boot device: sd0
root on sd0a (0b4a9b1afd0999c1.a) swap on sd0b dump on sd0b
WARNING: / was not properly unmounted
WARNING: No TOD clock, believing file system.
WARNING: CHECK AND RESET THE DATE!
cnmac0: a reception error occured, the packet was dropped (error code = 13)
crash
panic: pool_do_get: dwc2qtd free list modified: page 0x980000000f1f4000;
item addr 0x980000000f1f4018; offset 0x0=0xafbead
Stopped at 0xffffffff812722f4: jr ra
0xffffffff812722f8: nop
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
0xffffffff812722f0 (16429069f5df9c6e,9001070000000200,200,0) ra
0xffffffff810b
2f70 sp 0x98000000095b77a0, sz 0
0xffffffff810b2e24 (16429069f5df9c6e,9001070000000200,200,0) ra 0x0 sp
0x98000
000095b77a0, sz 0
User-level: pid 30882
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
29187 8338 8338 0 2 0x32 login_passwd
30578 8338 8338 27 3 0xc00490 netio sshd
8338 25189 8338 0 3 0x82 netio sshd
*30882 22227 30882 0 7 0x3 rm
22227 1 22227 0 3 0x8b pause ksh
14755 1 14755 0 3 0x80 poll cron
16891 1 16891 99 3 0x90 poll sndiod
12621 2136 2136 95 3 0x90 kqread smtpd
4356 2136 2136 95 3 0x90 kqread smtpd
11248 2136 2136 95 3 0x90 kqread smtpd
12767 2136 2136 95 3 0x90 kqread smtpd
16863 2136 2136 95 3 0x90 kqread smtpd
25205 2136 2136 103 3 0x90 kqread smtpd
2136 1 2136 0 3 0x80 kqread smtpd
191 1 191 77 3 0x90 poll dhcpd
25189 1 25189 0 3 0x80 select sshd
12495 1664 11586 83 3 0x90 poll ntpd
1664 11586 11586 83 3 0x90 poll ntpd
11586 1 11586 0 3 0x80 poll ntpd
9057 22320 22320 74 3 0x90 bpf pflogd
22320 1 22320 0 3 0x80 netio pflogd
18268 20821 20821 73 3 0x90 kqread syslogd
20821 1 20821 0 3 0x80 netio syslogd
12384 0 0 0 2 0x14200 zerothread
7322 0 0 0 3 0x14200 aiodoned aiodoned
4715 0 0 0 3 0x14200 syncer update
17696 0 0 0 3 0x14200 cleaner cleaner
14378 0 0 0 3 0x14200 reaper reaper
103 0 0 0 3 0x14200 pgdaemon pagedaemon
26200 0 0 0 3 0x14200 bored crypto
28910 0 0 0 3 0x14200 pftm pfpurge
11210 0 0 0 3 0x14200 usbtsk usbtask
6450 0 0 0 3 0x14200 usbatsk usbatsk
14768 0 0 0 3 0x14200 bored dwc2
31798 0 0 0 3 0x14200 bored softnet
29377 0 0 0 3 0x14200 bored systqmp
32381 0 0 0 3 0x14200 bored systq
5041 0 0 0 3 0x40014200 idle0
1 0 1 0 3 0x82 wait init
0 -1 0 0 3 0x10200 scheduler swapper
# rm -rf ports
panic: pool_do_get: dwc2qtd free list modified: page 0x980000000fed0000;
item addr 0x980000000fed0000; offset 0x0=0xadbeef
Stopped at 0xffffffff812722f4: jr ra
0xffffffff812722f8: nop
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> trace
0xffffffff812722f0 (16429069f5df9c6e,9001070000000200,200,0) ra
0xffffffff810b
2f70 sp 0x980000000eb8b640, sz 0
0xffffffff810b2e24 (16429069f5df9c6e,9001070000000200,200,0) ra 0x0 sp
0x98000
0000eb8b640, sz 0
User-level: pid 13226
ddb> ps
PID PPID PGRP UID S FLAGS WAIT COMMAND
*13226 29233 13226 0 7 0x3 rm
29233 1 29233 0 3 0x8b pause ksh
13751 1 13751 0 3 0x80 poll cron
27872 1 27872 99 3 0x90 poll sndiod
11878 17069 17069 95 3 0x90 kqread smtpd
28118 17069 17069 95 3 0x90 kqread smtpd
6320 17069 17069 95 3 0x90 kqread smtpd
26802 17069 17069 95 3 0x90 kqread smtpd
18130 17069 17069 95 3 0x90 kqread smtpd
30796 17069 17069 103 3 0x90 kqread smtpd
17069 1 17069 0 3 0x80 kqread smtpd
10798 1 10798 77 3 0x90 poll dhcpd
13598 1 13598 0 3 0x80 select sshd
18846 10901 10991 83 3 0x90 poll ntpd
10901 10991 10991 83 3 0x90 poll ntpd
10991 1 10991 0 3 0x80 poll ntpd
5281 22387 22387 74 3 0x90 bpf pflogd
22387 1 22387 0 3 0x80 netio pflogd
15938 20405 20405 73 3 0x90 kqread syslogd
20405 1 20405 0 3 0x80 netio syslogd
12384 0 0 0 3 0x14200 pgzero zerothread
7322 0 0 0 3 0x14200 aiodoned aiodoned
4715 0 0 0 3 0x14200 syncer update
17696 0 0 0 3 0x14200 cleaner cleaner
14378 0 0 0 3 0x14200 reaper reaper
103 0 0 0 3 0x14200 pgdaemon pagedaemon
26200 0 0 0 3 0x14200 bored crypto
28910 0 0 0 3 0x14200 pftm pfpurge
11210 0 0 0 3 0x14200 usbtsk usbtask
6450 0 0 0 3 0x14200 usbatsk usbatsk
14768 0 0 0 3 0x14200 bored dwc2
31798 0 0 0 3 0x14200 bored softnet
29377 0 0 0 3 0x14200 bored systqmp
32381 0 0 0 3 0x14200 bored systq
5041 0 0 0 3 0x40014200 idle0
1 0 1 0 3 0x82 wait init
0 -1 0 0 3 0x10200 scheduler swapper