Hello @bugs,
I have an SGI O2 (IP32 processor) that has been running 5.8 release just
fine. I finally got around upgrading it to 5.9 -current and hit this
kernel panic. On the initial reboot after (U)pgrading and installing the
base system. I did a reboot a few minutes later and hit it at exactly the
same spot.
Given that there typically aren't a ton of people on this processor
architecture, I thought it would be best for me to share the full report as
quickly as I found it.
I'm including the serial console output, the traceback, the process list,
and for good measure the output of 'show uvm' and 'show bcstats' on the off
chance this is filesystem related.
I've upgraded with this same snapshot kernel on my amd64 machine, my hppa
machine and my alpha machine and they are all happy as can be. I'll try my
sparc64, macppc and i386 machines when can get a chance.
Any ideas? Happy to work with someone and gather any information needed.
My apologies in advance if I misread any of the documentation on what
information is needed to report a kernel panic.
Data follows:
Cannot connect to keyboard -- check the cable.
Cannot open keyboard() for input
Cannot connect to keyboard -- check the cable.
Cannot open keyboard() for input
Running power-on diagnostics...
Starting up the system...
OpenBSD/sgi-IP32 ARCBios boot version 1.6
arg 0: pci(0)scsi(0)disk(1)rdisk(0)partition(8)/boot
arg 1: OSLoadOptions=auto
arg 2: ConsoleIn=serial(0)
arg 3: ConsoleOut=serial(0)
arg 4: SystemPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(8)
arg 5: OSLoader=boot
arg 6: OSLoadPartition=pci(0)scsi(0)disk(1)rdisk(0)partition(0)
arg 7: OSLoadFilename=/bsd
Boot: pci(0)scsi(0)disk(1)rdisk(0)partition(0)/bsd
6378584+622520 [78+329712+204324]=0x72fd38
ARCS32 Firmware Version 1.10
Found SGI-IP32, setting up.
Initial setup done, switching console.
[ using 534824 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
Copyright (c) 1995-2016 OpenBSD. All rights reserved.
http://www.OpenBSD.org
OpenBSD 5.9-beta (GENERIC-IP32) #533: Wed Jan 6 21:26:07 MST 2016
[email protected]:/usr/src/sys/arch/sgi/compile/GENERIC-IP32
real mem = 134217728 (128MB)
rsvd mem = 7020544 (7MB)
avail mem = 114503680 (109MB)
mainbus0 at root: O2
cpu0 at mainbus0: MIPS R5000 CPU rev 2.1 200 MHz, R5000 based FPC rev 1.0
cpu0: cache L1-I 32KB D 32KB 2 way, L2 1024KB direct
clock0 at mainbus0: int 5
macebus0 at mainbus0: crime rev 10.1
com0 at macebus0 base 0x00390000 irq 4: ns16550a, 16 byte fifo
com0: console
com1 at macebus0 base 0x00398000 irq 4: ns16550a, 16 byte fifo
dsrtc0 at macebus0 base 0x003a0000: DS1687
macepcibr0 at macebus0 base 0x00080000 irq 7: mace rev 1
pci0 at macepcibr0 bus 0
ahc0 at pci0 dev 1 function 0 "Adaptec AIC-7880" rev 0x00: irq 8
ahc0: Host Adapter Bios disabled. Using default SCSI device parameters
scsibus0 at ahc0: 16 targets, initiator 7
ahc0: target 1 using 8bit transfers
ahc0: target 1 using asynchronous transfers
sd0 at scsibus0 targ 1 lun 0: <IBM-ESXS, ST318305LC !#, B244> SCSI3
0/direct fix
ed serial.IBM-ESXSST318305LC_!#3JKPRFY800007237VZQN
sd0: 17357MB, 512 bytes/sector, 35548320 sectors
cd0 at scsibus0 targ 4 lun 0: <TOSHIBA, CD-ROM XM-6201TA, 1037> SCSI2
5/cdrom re
movable
ahc1 at pci0 dev 2 function 0 "Adaptec AIC-7880" rev 0x00: irq 9
ahc1: Host Adapter Bios disabled. Using default SCSI device parameters
scsibus1 at ahc1: 16 targets, initiator 7
mavb0 at macebus0 base 0x00300000 irq 6: AD1843 rev 1
audio0 at mavb0
mec0 at macebus0 base 0x00280000 irq 3: MAC-110 rev 1, address
08:00:69:0c:c8:8c
nsphy0 at mec0 phy 8: DP83840 10/100 PHY, rev. 1
mkbc0 at macebus0 base 0x00320000 irq 5
power0 at macebus0 irq 5
gbe0 at mainbus0: rev 1, 8MB, 1280x1024 at 8 bits
wsdisplay0 at gbe0 mux 1
wsdisplay0: screen 0 added (std, vt100 emulation)
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 20.0MHz, offset = 0x8
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 20.0MHz, offset = 0x8
boot device: sd0
root on sd0a (eeb12dc1962e3783.a) swap on sd0b dump on sd0b
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 20.0MHz, offset = 0x8
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 20.0MHz, offset = 0x8
ahc0: target 1 using 16bit transfers
ahc0: target 1 synchronous at 20.0MHz, offset = 0x8
Automatic boot in progress: starting file system checks.
/dev/sd0a (eeb12dc1962e3783.a): file system is clean; not checking
/dev/sd0g (eeb12dc1962e3783.g): file system is clean; not checking
/dev/sd0d (eeb12dc1962e3783.d): file system is clean; not checking
/dev/sd0f (eeb12dc1962e3783.f): file system is clean; not checking
/dev/sd0e (eeb12dc1962e3783.e): file system is clean; not checking
setting tty flags
pf enabled
starting network
DHCPDISCOVER on mec0 - interval 3
DHCPOFFER from 10.0.1.1 (f0:de:f1:95:d7:06)
DHCPREQUEST on mec0 to 255.255.255.255
DHCPACK from 10.0.1.1 (f0:de:f1:95:d7:06)
bound to 10.0.1.3 -- renewal in 21600 seconds.
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: no core dump
checking quotas: done.
panic: assertwaitok: non-zero mutex count: 3
Stopped at Debugger+0x4: jr ra
Debugger+0x8: nop
TID PID UID PRFLAGS PFLAGS CPU COMMAND
Debugger+0x4 (b522b890d4e98afa,80,500,c000000003d779a8) ra
0xffffffff8023d490 s
p 0xc000000003d779e0, sz 0
panic+0x100 (b522b890d4e98afa,3,ffffffff80715720,20) ra 0xffffffff80241d84
sp 0
xc000000003d779e0, sz 112
assertwaitok+0x4c (b522b890d4e98afa,3,ffffffff80715720,20) ra
0xffffffff8022bc
70 sp 0xc000000003d77a50, sz 32
mi_switch+0x50 (b522b890d4e98afa,3,ffffffff80715720,20) ra
0xffffffff8022c09c s
p 0xc000000003d77a70, sz 64
yield+0x5c (b522b890d4e98afa,3,ffffffff80715720,20) ra 0xffffffff802392ec
sp 0
xc000000003d77ab0, sz 48
pool_get+0x1f4 (b522b890d4e98afa,3,ffffffff80715720,20) ra
0xffffffff80239548 s
p 0xc000000003d77ae0, sz 128
pool_p_alloc+0x1e0 (b522b890d4e98afa,3,ffffffff80715720,20) ra
0xffffffff80239
af0 sp 0xc000000003d77b60, sz 64
pool_do_get+0x268 (b522b890d4e98afa,3,ffffffff80715720,20) ra
0xffffffff802391
e8 sp 0xc000000003d77ba0, sz 80
pool_get+0xf0 (b522b890d4e98afa,3,ffffffff80715720,20) ra
0xffffffff80414008 s
p 0xc000000003d77bf0, sz 128
pmap_enter+0x468 (b522b890d4e98afa,3,ffffffff80715720,20) ra
0xffffffff803b1bf
4 sp 0xc000000003d77c70, sz 112
uvm_fault+0x564 (c0000000022f8d00,5be8c000,0,20) ra 0xffffffff804166b4 sp
0xc0
00000003d77ce0, sz 528
itsa+0x22c (c0000000022f8d00,5be8c000,0,20) ra 0xffffffff80417468 sp
0xc000000
003d77ef0, sz 176
trap+0x1e8 (c0000000022f8d00,5be8c000,0,20) ra 0xffffffff8041a450 sp
0xc000000
003d77fa0, sz 48
u_general+0x140 (c0000000022f8d00,5be8c000,0,de43340) ra 0x0 sp
0xc000000003d7
7fd0, sz 0
User-level: pid 13329
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
Debugger+0x4 (b522b890d4e98afa,80,500,c000000003d779a8) ra
0xffffffff8023d490 s
p 0xc000000003d779e0, sz 0
panic+0x100 (b522b890d4e98afa,3,ffffffff80715720,20) ra 0xffffffff80241d84
sp 0
xc000000003d779e0, sz 112
assertwaitok+0x4c (b522b890d4e98afa,3,ffffffff80715720,20) ra
0xffffffff8022bc
70 sp 0xc000000003d77a50, sz 32
mi_switch+0x50 (b522b890d4e98afa,3,ffffffff80715720,20) ra
0xffffffff8022c09c s
p 0xc000000003d77a70, sz 64
yield+0x5c (b522b890d4e98afa,3,ffffffff80715720,20) ra 0xffffffff802392ec
sp 0
xc000000003d77ab0, sz 48
pool_get+0x1f4 (b522b890d4e98afa,3,ffffffff80715720,20) ra
0xffffffff80239548 s
p 0xc000000003d77ae0, sz 128
pool_p_alloc+0x1e0 (b522b890d4e98afa,3,ffffffff80715720,20) ra
0xffffffff80239
af0 sp 0xc000000003d77b60, sz 64
pool_do_get+0x268 (b522b890d4e98afa,3,ffffffff80715720,20) ra
0xffffffff802391
e8 sp 0xc000000003d77ba0, sz 80
pool_get+0xf0 (b522b890d4e98afa,3,ffffffff80715720,20) ra
0xffffffff80414008 s
p 0xc000000003d77bf0, sz 128
pmap_enter+0x468 (b522b890d4e98afa,3,ffffffff80715720,20) ra
0xffffffff803b1bf
4 sp 0xc000000003d77c70, sz 112
uvm_fault+0x564 (c0000000022f8d00,5be8c000,0,20) ra 0xffffffff804166b4 sp
0xc0
00000003d77ce0, sz 528
itsa+0x22c (c0000000022f8d00,5be8c000,0,20) ra 0xffffffff80417468 sp
0xc000000
003d77ef0, sz 176
trap+0x1e8 (c0000000022f8d00,5be8c000,0,20) ra 0xffffffff8041a450 sp
0xc000000
003d77fa0, sz 48
u_general+0x140 (c0000000022f8d00,5be8c000,0,de43340) ra 0x0 sp
0xc000000003d7
7fd0, sz 0
User-level: pid 13329
ddb> ps
TID PPID PGRP UID S FLAGS WAIT COMMAND
2816 5506 5506 0 2 0x100000 ntpd
25941 5506 5506 0 2 0x100000 ntpd
9252 5506 5506 0 2 0x100000 ntpd
19041 5506 5506 0 2 0x100000 ntpd
7550 5506 5506 0 2 0x100000 ntpd
16849 5506 5506 0 2 0x100000 ntpd
*13329 5506 5506 0 2 0x100000 ntpd
31985 5506 5506 0 2 0x100000 ntpd
14874 21979 21979 0 2 0x100013 kvm_mkdb
27188 27625 5506 83 3 0x100090 poll ntpd
27625 5506 5506 83 3 0x100090 poll ntpd
5506 1 5506 0 3 0x100080 poll ntpd
6441 18925 18925 74 3 0x100090 bpf pflogd
18925 1 18925 0 3 0x80 netio pflogd
5439 29838 29838 73 3 0x100090 kqread syslogd
29838 1 29838 0 3 0x100080 netio syslogd
10991 1 10991 77 3 0x100090 poll dhclient
2655 1 2655 0 3 0x80 poll dhclient
21979 1 21979 0 3 0x10008b pause sh
224 0 0 0 2 0x14200 zerothread
28396 0 0 0 3 0x14200 aiodoned aiodoned
24358 0 0 0 2 0x14200 update
10271 0 0 0 3 0x14200 cleaner cleaner
12289 0 0 0 3 0x14200 reaper reaper
8728 0 0 0 3 0x14200 pgdaemon pagedaemon
4324 0 0 0 3 0x14200 bored crypto
23961 0 0 0 2 0x14600 pfpurge
25304 0 0 0 3 0x14200 bored softnet
11492 0 0 0 2 0x14200 systqmp
10814 0 0 0 2 0x14200 systq
7840 0 0 0 3 0x40014200 idle0
22873 0 0 0 2 0x14200 kmthread
1 0 1 0 3 0x82 wait init
0 -1 0 0 3 0x10200 scheduler swapper
ddb> show uvm
Current UVM status:
pagesize=4096 (0x1000), pagemask=0xfff, pageshift=12
27967 VM pages: 3565 active, 955 inactive, 0 wired, 15507 free (1522 zero)
min 10% (25) anon, 10% (25) vnode, 5% (12) vtext
pages 0 anon, 0 vnode, 0 vtext
freemin=932, free-target=1242, inactive-target=0, wired-max=9322
faults=33307, traps=45905, intrs=5348, ctxswitch=3199 fpuswitch=125
softint=2685, syscalls=34264, kmapent=12
fault counts:
noram=0, noanon=0, pgwait=0, pgrele=0
ok relocks(total)=1759(1759), anget(retries)=18549(0), amapcopy=11778
neighbor anon/obj pg=11866/13770, gets(lock/unlock)=6815/1759
cases: anon=14423, anoncow=4126, obj=5830, prcopy=985, przero=7943
daemon and swap counts:
woke=0, revs=0, scans=0, obscans=0, anscans=0
busy=0, freed=0, reactivate=0, deactivate=0
pageouts=0, pending=0, nswget=0
nswapdev=1, nanon=0, nanonneeded=0 nfreeanon=0
swpages=65535, swpginuse=0, swpgonly=0 paging=0
kernel pointers:
objs(kern)=0xffffffff8076b598
ddb> show bcstats
Current Buffer Cache status:
numbufs 926 busymapped 0, delwri 75
kvaslots 349 avail kva slots 349
bufpages 3672, dirtypages 299
pendingreads 0, pendingwrites 0
ddb>
Thanks,
Bryan