Port-sparc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mostly working SMP again
> i've commited several changes to -current today that make SMP almost
> work for me. i have to comment the stray interrupts panic and beyond
> that it seems to mostly work.
Nice work!
> i'd like folks to make the body of sparc/sparc/intr.c:strayintr()
> be empty and boot test kernel, or use the GENERIC.MP i've uploaded
> here, that has the same change:
>
> ftp.netbsd.org:/pub/NetBSD/misc/mrg/netbsd.generic.gz
>
> and then report back on what happens for you.
First time, almost working but got a watchdog reset:
---
Rebooting with command: netbsd.generic.gz
Boot device: /iommu/sbus/espdma@f,400000/esp@f,800000/sd@3,0 File and args:
netbsd.generic.gz
>> NetBSD/sparc Secondary Boot, Revision 1.15
>> (tsutsui@mirage, Sat Jan 2 12:46:42 JST 2010)
Booting netbsd.generic.gz
3893512+269960 [249168+234608]=0x46eccc
OBP version 3, revision 2.25 (plugin rev 2)
setting cpus self reference
going to pmap_kenter_pa(va=0xf0502000, pa=0x402000)
set cpu0 ci_self address: 0xf0502000
set cpu1 ci_self address: 0xf0582000
set cpu2 ci_self address: 0xf0602000
set cpu3 ci_self address: 0xf0682000
pmap_bootstrap4m done
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010
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 5.99.23 (GENERIC.MP) #0: Sun Jan 3 21:45:13 PST 2010
mrg%space-bird.eterna23.net@localhost:/var/obj/sparc/usr/src2/sys/arch/sparc/compile/GENERIC.MP
total memory = 127 MB
avail memory = 118 MB
bootpath: /iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@3,0
mainbus0 (root): SUNW,SPARCstation-20: hostid 727aaa0a
cpu0 at mainbus0: mid 8: RT620/625 @ 150 MHz, on-chip FPU
cpu0: 512K byte write-back, 32 bytes/line, sw flush: cache enabled
cpu1 at mainbus0: mid 9: RT620/625 @ 150 MHz, on-chip FPU
cpu1: 512K byte write-back, 32 bytes/line, sw flush: cache enabled
cpu2 at mainbus0: mid 10: RT620/625 @ 150 MHz, on-chip FPU
cpu2: 512K byte write-back, 32 bytes/line, sw flush: cache enabled
cpu3 at mainbus0: mid 11: RT620/625 @ 150 MHz, on-chip FPU
cpu3: 512K byte write-back, 32 bytes/line, sw flush: cache enabled
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08
timer0 at obio0 slot 0 offset 0x300000: delay constant 73, frequency = 2000000
Hz
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
zstty4 at zs1 channel 0
kbd0 at zstty4
zstty5 at zs1 channel 1
ms0 at zstty5
wsmouse0 at ms0 mux 0
fdc0 at obio0 slot 0 offset 0x700000 level 11 softpri 4: chip 82077
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
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:7a:aa:0a
le0: 8 receive buffers, 2 transmit buffers
bpp0 at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3): DMA rev 2
dbri0 at sbus0 slot 14 offset 0x10000 level 9: rev e
hme0 at sbus0 slot 0 offset 0x8c00000 level 4 (ipl 7): Sun Happy Meal Ethernet
(SUNW,hme)
hme0: Ethernet address 08:00:20:7a:aa:0a
nsphy0 at hme0 phy 1: DP83840 10/100 media interface, rev. 1
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
cgsix0 at sbus0 slot 2 offset 0x0 level 9: SUNW,501-2253, 1152 x 900, rev 11
cgsix0: attached to /dev/fb0
cgsix0: framebuffer size: 2 MB
wsdisplay1 at cgsix0 kbdmux 1
eccmemctl0 at mainbus0 ioaddr 0x0: version 0x0/0x2
cpu0: booting secondary processors: cpu1 cpu2 cpu3
scsibus0: waiting 2 seconds for devices to settle...
wskbd0 at kbd0 mux 1
dbri0: speakerbox detected
dbri0: cs4215 rev E found at offset 8
audio0 at dbri0: full duplex, playback, capture, mmap
sd0 at scsibus0 target 3 lun 0: <IBM, DDRS-39130W, S97B> disk fixed
sd0: 8715 MB, 8387 cyl, 10 head, 212 sec, 512 bytes/sect x 17850000 sectors
sd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers, tagged queueing
cd0 at scsibus0 target 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 1755> cdrom
removable
cd0: async, 8-bit transfers
Kernelized RAIDframe activated
root on sd0a dumps on sd0b
root file system type: ffs
Mon Jan 4 15:23:32 JST 2010
Starting root file system check:
/dev/rsd0a: file system is clean; not checking
swapctl: adding /dev/sd0b as swap device at priority 0
Starting file system checks:
/dev/rsd0a: file system is mounted read-write on /; not checking
Setting tty flags.
Setting sysctl variables:
kern.no_sa_support: 1 -> 1
ddb.onpanic: 1 -> 0
Starting network.
Hostname: atenza
NIS domainname: mydomain
IPv6 mode: host
Configuring network interfaces: hme0.
Adding interface aliases:.
add net default: gateway 192.168.20.1
Building databases: dev, utmp, utmpx done
Starting syslogd.
Setting date via ntp.
Starting rpcbind.
Starting ypbind.
Mounting all filesystems...
Clearing temporary files.
Starting amd.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Checking for core dump...
savecore - - - no core dump
Starting local daemons:.
Updating motd.
Starting ntpd.
Starting sshd.
Starting inetd.
Starting cron.
A
Watchdog Reset
Type help for more information
<#1> ok
---
Second time, I can get a getty prompt:
---
:
Starting inetd.
Starting cron.
Mon Jan 4 15:32:19 JST 2010
NetBSD/sparc (atenza) (console)
login: root
Password:
Jan 4 15:32:49 atenza login: ROOT LOGIN (root) on tty console
Last login: Sat Jan 2 15:52:39 2010 on console
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010
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 5.99.23 (GENERIC.MP) #0: Sun Jan 3 21:45:13 PST 2010
Welcome to NetBSD!
Terminal type is sun.
We recommend creating a non-root account and using su(1) for root access.
# top -n
load averages: 0.13, 0.18, 0.08; up 0+00:03:47 15:34:26
17 processes: 15 sleeping, 2 on CPU
CPU0 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU1 states: 0.0% user, 0.0% nice, 1.0% system, 0.0% interrupt, 99.0% idle
CPU2 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU3 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
Memory: 21M Act, 18M Wired, 6892K Exec, 6940K File, 71M Free
Swap: 228M Total, 228M Free
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
148 root 81 0 6084K 13M select/2 0:07 0.00% 0.00% amd
0 root 0 0 0K 8296K CPU/3 0:03 0.00% 0.00% [system]
586 root 84 0 7764K 2632K wait/1 0:02 0.00% 0.00% login
547 root 43 0 3900K 1260K CPU/1 0:00 0.00% 0.00% top
309 root 85 0 5584K 5224K pause/1 0:00 0.00% 0.00% ntpd
549 postfix 85 0 5980K 2244K kqueue/3 0:00 0.00% 0.00% pickup
523 root 85 0 5980K 2144K kqueue/2 0:00 0.00% 0.00% master
147 root 85 0 5976K 1516K kqueue/0 0:00 0.00% 0.00% syslogd
156 root 85 0 3720K 1260K select/1 0:00 0.00% 0.00% rpcbind
592 root 85 0 3428K 1228K pause/1 0:00 0.00% 0.00% csh
507 root 85 0 3608K 1088K nanosl/2 0:00 0.00% 0.00% cron
158 root 85 0 3500K 1020K select/0 0:00 0.00% 0.00% ypbind
177 root 85 0 66M 728K mfsidl/0 0:00 0.00% 0.00% mount_mfs
335 root 84 0 7860K 1876K select/1 0:00 0.00% 0.00% sshd
568 postfix 82 0 5980K 2260K kqueue/0 0:00 0.00% 0.00% qmgr
562 root 82 0 3724K 1208K kqueue/3 0:00 0.00% 0.00% inetd
1 root 81 0 3604K 1036K wait/2 0:00 0.00% 0.00% init
# top -nt
load averages: 0.16, 0.11, 0.07; up 0+00:08:21 15:38:59
58 threads: 17 idle, 37 sleeping, 4 on CPU
CPU0 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU1 states: 1.0% user, 0.0% nice, 1.0% system, 0.0% interrupt, 98.1% idle
CPU2 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
CPU3 states: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle
Memory: 21M Act, 18M Wired, 6892K Exec, 7288K File, 71M Free
Swap: 228M Total, 228M Free
PID LID USERNAME PRI STATE TIME WCPU CPU COMMAND NAME
147 1 root 85 kqueue/0 0:00 0.68% 0.68% syslogd -
148 1 root 85 select/2 0:07 0.00% 0.00% amd -
586 1 root 84 wait/1 0:02 0.00% 0.00% login -
0 43 root 124 syncer/1 0:01 0.00% 0.00% [system] ioflush
0 17 root 220 IDLE/1 0:01 0.00% 0.00% [system] softclk/1
39 1 root 43 CPU/1 0:00 0.00% 0.00% top -
0 26 root 0 CPU/3 0:00 0.00% 0.00% [system] idle/3
0 20 root 0 CPU/2 0:00 0.00% 0.00% [system] idle/2
0 2 root 0 CPU/0 0:00 0.00% 0.00% [system] idle/0
0 7 root 127 xcall/0 0:00 0.00% 0.00% [system] xcall/0
0 19 root 127 xcall/1 0:00 0.00% 0.00% [system] xcall/1
0 31 root 127 xcall/3 0:00 0.00% 0.00% [system] xcall/3
0 25 root 127 xcall/2 0:00 0.00% 0.00% [system] xcall/2
0 42 root 126 pgdaem/1 0:00 0.00% 0.00% [system] pgdaemon
0 1 root 125 uvm/1 0:00 0.00% 0.00% [system] swapper
0 45 root 125 vmem_r/2 0:00 0.00% 0.00% [system] vmem_rehash
0 44 root 125 aiodon/1 0:00 0.00% 0.00% [system] aiodoned
0 10 root 125 cacheg/2 0:00 0.00% 0.00% [system] cachegc
0 9 root 125 vrele/2 0:00 0.00% 0.00% [system] vrele
0 8 root 125 modunl/3 0:00 0.00% 0.00% [system] modunload
0 46 root 123 physio/1 0:00 0.00% 0.00% [system] physiod
0 47 root 96 nfsiod/1 0:00 0.00% 0.00% [system] nfsio
0 41 root 96 unpgc/3 0:00 0.00% 0.00% [system] unpgc
0 32 root 96 sccomp/2 0:00 0.00% 0.00% [system] scsibus0
0 13 root 96 pmfsus/3 0:00 0.00% 0.00% [system] pmfsuspend
0 12 root 96 pmfeve/0 0:00 0.00% 0.00% [system] pmfevent
0 11 root 96 nfssil/0 0:00 0.00% 0.00% [system] nfssilly
0 50 root 96 nfsiod/1 0:00 0.00% 0.00% [system] nfsio
0 49 root 96 nfsiod/1 0:00 0.00% 0.00% [system] nfsio
0 48 root 96 nfsiod/1 0:00 0.00% 0.00% [system] nfsio
158 1 root 85 select/3 0:00 0.00% 0.00% ypbind -
562 1 root 85 kqueue/3 0:00 0.00% 0.00% inetd -
177 1 root 85 mfsidl/0 0:00 0.00% 0.00% mount_mfs -
523 1 root 85 kqueue/2 0:00 0.00% 0.00% master -
549 1 postfix 85 kqueue/3 0:00 0.00% 0.00% pickup -
568 1 postfix 85 kqueue/0 0:00 0.00% 0.00% qmgr -
507 1 root 85 nanosl/2 0:00 0.00% 0.00% cron -
156 1 root 85 select/1 0:00 0.00% 0.00% rpcbind -
592 1 root 85 pause/1 0:00 0.00% 0.00% csh -
335 1 root 84 select/1 0:00 0.00% 0.00% sshd -
1 1 root 81 wait/2 0:00 0.00% 0.00% init -
0 6 root 223 IDLE/0 0:00 0.00% 0.00% [system] softser/0
0 24 root 223 IDLE/2 0:00 0.00% 0.00% [system] softser/2
0 18 root 223 IDLE/1 0:00 0.00% 0.00% [system] softser/1
0 30 root 223 IDLE/3 0:00 0.00% 0.00% [system] softser/3
0 3 root 222 IDLE/0 0:00 0.00% 0.00% [system] softnet/0
0 15 root 222 IDLE/1 0:00 0.00% 0.00% [system] softnet/1
0 27 root 222 IDLE/3 0:00 0.00% 0.00% [system] softnet/3
0 21 root 222 IDLE/2 0:00 0.00% 0.00% [system] softnet/2
0 28 root 221 IDLE/3 0:00 0.00% 0.00% [system] softbio/3
0 22 root 221 IDLE/2 0:00 0.00% 0.00% [system] softbio/2
0 16 root 221 IDLE/1 0:00 0.00% 0.00% [system] softbio/1
0 4 root 221 IDLE/0 0:00 0.00% 0.00% [system] softbio/0
0 29 root 220 IDLE/3 0:00 0.00% 0.00% [system] softclk/3
0 23 root 220 IDLE/2 0:00 0.00% 0.00% [system] softclk/2
0 5 root 220 IDLE/0 0:00 0.00% 0.00% [system] softclk/0
0 14 root 0 IDLE/1 0:00 0.00% 0.00% [system] idle/1
309 1 root 85 pause/1 ??? 0.00% 0.00% ntpd -
#
---
Great improvement!!!
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index