Subject: Re: 1.4L sparc snapshot
To: Paul Kranenburg <pk@cs.few.eur.nl>
From: Simon J. Gerraty <sjg@quick.com.au>
List: port-sparc
Date: 11/05/1999 01:30:54
Paul,

I built a kernel with no MP enabled - ran fine.
I built the same with MP and DDB enabled, and I get:

Rebooting with command: netbsd.mp -s                                  
Boot device: /iommu/sbus/espdma@f,400000/esp@f,800000/sd@3,0  File and args: netbsd.mp -s
>> NetBSD/sparc Secondary Boot, Revision 1.9
>> (pk@dolphin, Sat Aug  7 02:01:08 MEST 1999)
Booting netbsd.mp
1720580+110708+242004 [68+107088+81972]=0x23875c
entry: 0x4000, bootinfo: 0x23c760
bootinfo[0]=0x23cb60; bootinfo[1]=0x23c768
nsym=0x1, ssym=0x20e2d0, esym=0x23c75c
OBP version 3, revision 2.25 (plugin rev 2)
pmap_bootstrap: installing kernel page tables...done.
[ preserving 189580 bytes of netbsd ELF symbol table ]
console is ttya
Copyright (c) 1996, 1997, 1998, 1999
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.4L (TOO.MP) #0: Thu Nov  4 09:59:01 EST 1999
    root@too.quick.com.au:/u3/NetBSD/current/src/sys/arch/sparc/compile/TOO.MP
total memory = 159 MB
avail memory = 144 MB
using 2066 buffers containing 8264 KB of memory
bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
mainbus0 (root): SUNW,SPARCstation-20
cpu0 at mainbus0: mid 8: RT620/625 @ 100 MHz, on-chip FPU
cpu0: 256K byte write-back, 64 bytes/line, sw flush: cache enabled
cpu1 at mainbus0: mid 9: RT620/625 @ 100 MHz, on-chip FPU
cpu1: 256K byte write-back, 64 bytes/line, sw flush: cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08 (eeprom)
timer0 at obio0 slot 0 offset 0x300000 delay constant 48
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console)
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0
ms0 at zs1 channel 1
fdc0 at obio0 slot 0 offset 0x700000 level 11 softpri 4: chip 82077
auxreg0 at obio0 slot 0 offset 0x800000
power0 at obio0 slot 0 offset 0xa01000 level 2
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x1, page-size 4096, range 64MB
sbus0 at iommu0: clock = 25 MHz
dma0 at sbus0 slot 15 offset 0x400000: rev 2
esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
ledma0 at sbus0 slot 15 offset 0x400010: rev 2
le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:72:58:20
le0: 8 receive buffers, 2 transmit buffers
SUNW,bpp at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3) not configured
SUNW,DBRIe at sbus0 slot 14 offset 0x10000 level 9 not configured
eccmemctl0 at mainbus0: version 0x0/0x2
scsibus0: waiting 2 seconds for devices to settle...
probe(esp0:3:0): max sync rate 10.00Mb/s
sd0 at scsibus0 targ 3 lun 0: <SEAGATE, ST34371W SUN4.2G, 7462> SCSI2 0/direct fixed
sd0: 4094 MB, 3882 cyl, 16 head, 135 sec, 512 bytes/sect x 8385121 sectors
root on sd0a dumps on sd0b
mountroot: trying msdos...
mountroot: trying cd9660...
mountroot: trying nfs...
mountroot: trying ffs...
root file system type: ffs
panic: smp_cache_flush:warning: cpu #1 locked
lockmgr: no context
Stopped at      cpu_Debugger+0x4:       jmpl            [%o7 + 0x8], %g0
db> trace
lockmgr(0xf01d7008, 0x1, 0xfffffffe, 0x0, 0xf020b400, 0xf01d7000) at lockmgr+0x
90
uvm_fault(0x5, 0xf92d9000, 0x0, 0x2, 0xf01f8c00, 0xf01c5d00) at uvm_fault+0x15c

mem_access_fault4m(0x9, 0x3a6, 0xf92d9000, 0xf9848e30, 0xffffffff, 0xaaaaaaaa) a
t mem_access_fault4m+0x1fc
memfault_sun4m(0x24, 0xf92d9000, 0x6, 0x3f, 0xf020bc00, 0x40) at memfault_sun4m
+0x14c
db> 

thank heaven for serial consoles :-)

Is there anything I can usefully do at this point to help?


--sjg