Subject: it works (was Re: multiple core files on dual hypersparc )
To: None <port-sparc@netbsd.org, tech-smp@netbsd.org>
From: Simon J. Gerraty <sjg@crufty.net>
List: tech-smp
Date: 01/28/2003 01:44:57
Ok, I just applied mrg's patch to disable the icache and my hypersparc
ss20 is up running multi-user ok.

Obviously not an ideal fix, but perhaps helps pinpoint the problem?

Only one failed xcall below...

--sjg

SPARCstation 20 MP (2 X RT625), No Keyboard
ROM Rev. 2.25R hyperSPARC, 160 MB memory installed, Serial #7493664.
Ethernet address 8:0:20:72:58:20, Host ID: 72725820.



Rebooting with command: net netbsd.toomp
Boot device: /iommu/sbus/ledma@f,400010/le@f,c00000  File and args: netbsd.toomp
14200
>> NetBSD/sparc Secondary Boot, Revision 1.13
>> (sjg@void.crufty.net, Sun Jan 19 21:02:39 PST 2003)
Booting netbsd.toomp
net_open: client addr: 192.168.250.2
net_open: subnet mask: 255.255.255.192
net_open: net gateway: 192.168.250.3
net_open: server addr: 192.168.250.10
net_open: server path: /export/diskless/too/root
net_open: file name: /tftpboot/sparc/boot.net
Using BOOTP protocol: ip address: 192.168.250.2, netmask: 255.255.255.192, gateway: 192.168.250.3
root addr=192.168.250.10 path=/export/diskless/too/root
net_open: client addr: 192.168.250.2
net_open: subnet mask: 255.255.255.192
net_open: net gateway: 192.168.250.3
net_open: server addr: 192.168.250.10
net_open: server path: /export/diskless/too/root
net_open: file name: /tftpboot/sparc/boot.net
Using BOOTP protocol: ip address: 192.168.250.2, netmask: 255.255.255.192, gateway: 192.168.250.3
root addr=192.168.250.10 path=/export/diskless/too/root
2713076+98008+314036/[162416+126858]=0x351b6c
OBP version 3, revision 2.25 (plugin rev 2)
[ using 289768 bytes of netbsd ELF symbol table ]
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
    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.6M (TOO.MP) #3: Tue Jan 28 00:32:58 PST 2003
    sjg@void.crufty.net:/j/obj/NetBSD/current/sparc/obj/g/NetBSD/current/src/sys/arch/sparc/compile/TOO.MP
total memory = 159 MB
avail memory = 143 MB
using 896 buffers containing 8268 KB of memory
bootpath: /iommu@f,e0000000/sbus@f,e0001000/ledma@f,400010/le@f,c00000
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: hostid 72725820
timer0 at obio0 slot 0 offset 0x300000: delay constant 31
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0: baud rate 1200
ms0 at zs1 channel 1: baud rate 1200
SUNW,fdtwo at obio0 slot 0 offset 0x700000 level 11 not configured
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: dma 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: dma 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
bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): dma rev 2
SUNW,DBRIe at sbus0 slot 14 offset 0x10000 level 9 not configured
qec0 at sbus0 slot 2 offset 0x20000 level 4 (ipl 7): 128K memory
qe0 at qec0 slot 0 offset 0x0 rev 1 address 08:00:20:72:58:20
qe1 at qec0 slot 1 offset 0x0 rev 1 address 08:00:20:72:58:20
qe2 at qec0 slot 2 offset 0x0 rev 1 address 08:00:20:72:58:20
qe3 at qec0 slot 3 offset 0x0 rev 1 address 08:00:20:72:58:20
cgsix0 at sbus0 slot 3 offset 0x0 level 9: SUNW,501-2325, 1152 x 900, rev 11
cgsix0: attached to /dev/fb
eccmemctl0 at mainbus0 ioaddr 0x0: version 0x0/0x2
Kernelized RAIDframe activated
IPsec: Initialized Security Association Processing.
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 3 lun 0: <SEAGATE, ST34371W SUN4.2G, 7462> disk fixed
sd0: 4094 MB, 3882 cyl, 16 head, 135 sec, 512 bytes/sect x 8385121 sectors
sd0: sync (100.0ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 1084> cdrom removable
cd0: sync (248.0ns offset 15), 8-bit (4.032MB/s) transfers
root on le0
nfs_boot: trying DHCP/BOOTP
nfs_boot: DHCP next-server: 192.168.250.10
nfs_boot: my_domain=crufty.net
nfs_boot: my_addr=192.168.250.2
nfs_boot: my_mask=255.255.255.192
nfs_boot: gateway=192.168.250.3
root on 192.168.250.10:/export/diskless/too/root
root file system type: nfs
cpu0: booting secondary processors: cpu1
Tue Jan 28 09:34:51 GMT 2003
swapctl: adding /dev/sd0b as swap device at priority 0
Starting file system checks:
/dev/rsd0f: file system is clean; not checking
/dev/rsd0g: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
Starting network.
Hostname: too.crufty.net
NIS domainname: YP.fast
IPv6 mode: host
Configuring network interfaces: le0cpu0: bogus interrupt ipl 0x6 pc=0xf0152bbc npc=0xf0152bc0 psr=1e4001c2<S,PS>
xcall(cpu1,0xf00078dc): couldn't ping cpus:.
add net default: gateway 192.168.250.3
Adding interface aliases:
192.168.250.10:/export/diskless/too/root on / type nfs
/dev/sd0f on /var type ffs (local)
Building databases...
wsconscfg: /dev/ttyEcfg: Device not configured
wsconscfg: /dev/ttyEcfg: Device not configured
wsconscfg: /dev/ttyEcfg: Device not configured
wsconscfg: /dev/ttyEcfg: Device not configured
Starting syslogd.
Checking for core dump...
savecore: /netbsd.toomp: not owned by root
Jan 28 09:35:13 too savecore: /netbsd.toomp: not owned by root
savecore: can't find device 0/0
Jan 28 09:35:14 too savecore: can't find device 0/0
Starting rpcbind.
Starting ypbind.
Mounting all filesystems...
Clearing /tmp.
Starting amd.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Starting mountd.
Starting nfsd.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
starting local daemons:.
Updating motd.
Starting sshd.
Starting inetd.
Starting cron.
Tue Jan 28 09:35:37 UTC 2003

NetBSD/sparc (too.crufty.net) (console)

login: root
Password:
Last login: Mon Jan 27 01:38:24 2003 on console
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
        The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994
        The Regents of the University of California.  All rights reserved.

Jan 28 09:35:46 too login: ROOT LOGIN (root) ON console
NetBSD 1.6M (TOO.MP) #3: Tue Jan 28 00:32:58 PST 2003
Jan 28 09:35:46 too login: ROOT LOGIN (root) ON console
unix soit qui mal y pense
Terminal type is xterm.
We recommend creating a non-root account and using su(1) for root access.
tooroot@too:1# TERM=dump top
top: no termcap entry for a `dump' terminal
load averages:  0.16,  0.20,  0.14    09:43:02
27 processes:  26 sleeping, 1 on processor

Memory: 14M Act, 228K Wired, 3256K Exec, 3652K File, 119M Free
Swap: 300M Total, 300M Free


  PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU COMMAND
  294 root      28    0   176K  880K CPU/1      0:20 17.00%  0.83% top
  269 root      18    0   396K  984K pause/1    0:01  0.15%  0.15% ksh
  248 root       2    0   408K 1484K select/1   0:10  0.00%  0.00% sshd
    8 root     -18    0     0K   28M reaper/1   0:03  0.00%  0.00% [reaper]
    9 root      18    0     0K   28M syncer/1   0:00  0.00%  0.00% [ioflush]
  262 root      18    0    84K  656K pause/1    0:00  0.00%  0.00% inetd
    3 root      10    0     0K   28M nfsidl/1   0:00  0.00%  0.00% [nfsio]
    4 root      10    0     0K   28M nfsidl/1   0:00  0.00%  0.00% [nfsio]
    5 root      10    0     0K   28M nfsidl/1   0:00  0.00%  0.00% [nfsio]
    6 root      10    0     0K   28M nfsidl/1   0:00  0.00%  0.00% [nfsio]
    1 root      10    0    76K  700K wait/0     0:00  0.00%  0.00% init
  267 root      10    0   244K  680K nanosl/1   0:00  0.00%  0.00% cron
  128 root      10    0   432K  568K mfsidl/1   0:00  0.00%  0.00% mount_mfs
  139 root       2    0   564K 1232K select/1   0:00  0.00%  0.00% amd
  158 root       2    0   348K  920K select/1   0:00  0.00%  0.00% mountd
  115 root       2    0   320K  812K select/1   0:00  0.00%  0.00% rpcbind
  161 root       2    0   176K  804K select/1   0:00  0.00%  0.00% nfsd
  102 root       2    0   200K  764K select/0   0:00  0.00%  0.00% syslogd