Subject: Re: sparc64 SMP support
To: MOCHIZUKI Tomomitsu <mochi@thn.ne.jp>
From: R. Tyler Ballance <tyler@ekkobsd.org>
List: port-sparc64
Date: 08/31/2004 06:38:57
I'm not sure if this _is_ what the GENERIC.MP kernel does, but I know that SMP
support on NetBSD/sparc64 can only spinup the second processor, but cannot use it.

I haven't tried the MP kernel on my Ultra 2, so I can't verify :P

-Tyler

-----------------
R. Tyler Ballance
NetBSD-FreeBSD-L4::Pistachio

---------- Original Message -----------
From: MOCHIZUKI Tomomitsu <mochi@thn.ne.jp>
To: cross+netbsd@distal.com
Sent: Tue, 31 Aug 2004 20:58:19 +0900 (JST)
Subject: Re: sparc64 SMP support

> From: Chris Ross <cross+netbsd@distal.com>
> Subject: sparc64 SMP support
> Date: Fri, 25 Jun 2004 12:34:14 -0400
> Message-ID: <40DC5406.2070506@distal.com>
> 
> Hi, all.
> 
> cross+netbsd>    I have another 2x Netra next to it, too, so I
> cross+netbsd> should have what I need to do the hacking.  :-)
> 
> My Ultra2(2CPU) had done in the panic.
> Is it possible to get by helping?
> 
> --------
> NetBSD 2.0G (GENERIC.MP) #1: Sun Aug 29 21:27:06 JST 2004
>        
mochi@daiki.thn.ne.jp:/local/src/NetBSD/sparc64/src/sys/arch/sparc64/compile/obj/GENERIC.MP
> total memory = 512 MB
> avail memory = 487 MB
> bootpath: /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0
> mainbus0 (root): SUNW,Ultra-2: hostid xxxxxxxx
> cpu0 at mainbus0: SUNW,UltraSPARC @ 199.987 MHz, version 0 FPU
> cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 1024K external 
> (64 b/l) cpu1 at mainbus0: SUNW,UltraSPARC @ 199.987 MHz, version 0 FPU
> cpu1: 32K instruction (32 b/l), 16K data (32 b/l), 1024K external 
> (64 b/l) timer0 at mainbus0 addr 0xfffc3c00 irq vectors 7f0 and 7f1 
> sbus0 at mainbus0 addr 0xfffc8000: clock = 25 MHz DVMA map: ff800000 
> to ffffe000 IOTSB: f8c000 to f8e000 audiocs0 at sbus0 slot 13 offset 
> 0xc000000 vector 24 ipl 8: CS4231A audio0 at audiocs0: full duplex 
> auxio0 at sbus0 slot 15 offset 0x1900000 flashprom at sbus0 slot 15 
> offset 0x0 not configured SUNW,fdtwo at sbus0 slot 15 offset 
> 0x1400000 vector 29 ipl 11 not configured clock0 at sbus0 slot 15 
> offset 0x1200000: mk48t59 zs0 at sbus0 slot 15 offset 0x1100000 
> vector 28 ipl 12 softpri 6 zstty0 at zs0 channel 0 (console i/o) 
> zstty1 at zs0 channel 1 zs1 at sbus0 slot 15 offset 0x1000000 vector 
> 28 ipl 12 softpri 6 zstty2 at zs1 channel 0 kbd0 at zstty2 zstty3 at 
> zs1 channel 1 ms0 at zstty3 intr_establish: intr reused 7e8 sc at 
> sbus0 slot 15 offset 0x1300000 not configured SUNW,pll at sbus0 slot 
> 15 offset 0x1304000 not configured esp0 at sbus0 slot 14 offset 
> 0x8800000 vector 20 ipl 3: FAS366/HME, 40MHz, SCSI ID 7 scsibus0 at 
> esp0: 16 targets, 8 luns per target hme0 at sbus0 slot 14 offset 
> 0x8c00000 vector 21 ipl 6: Sun Happy Meal Ethernet(SUNW,hme) hme0: 
> Ethernet address xx:xx:xx:xx:xx:xx nsphy0 at hme0 phy 1: DP83840 
> 10/100 media interface, rev. 0 nsphy0: 10baseT, 10baseT-FDX, 
> 100baseTX, 100baseTX-FDX, auto bpp0 at sbus0 slot 14 offset 
> 0xc800000 vector 22 ipl 2: DMA rev unknown (0x20000000) bpp: hcr 0 
> ocr 2008 tcr 8 or 0 dma0 at sbus0 slot 0 offset 0x81000: DMA rev esc 
> esp1 at dma0 slot 0 offset 0x80000 vector 3 ipl 3: ESP200, 25MHz,
>  SCSI ID 7 scsibus1 at esp1: 8 targets, 8 luns per target lebuffer0 
> at sbus0 slot 0 offset 0x40000: 128K memory le0 at lebuffer0 slot 0 
> offset 0x60000 vector 4 ipl 6: address xx:xx:xx:xx:xx:xx le0: 64 
> receive buffers, 16 transmit buffers SUNW,ffb at mainbus0 addr 
> 0xfec00000 not configured pcons at mainbus0 not configured 
> raidattach: Asked for 8 units Kernelized RAIDframe activated 
> scsibus0: waiting 2 seconds for devices to settle... scsibus1: 
> waiting 2 seconds for devices to settle... sd0 at scsibus0 target 0 
> lun 0: <IBM, DPSS-309170M, S96H> disk fixed sd0: 8748 MB, 14627 cyl, 
> 3 head, 408 sec, 512 bytes/sect x 17916240 sectors sd0: sync 
> (100.00ns offset 15), 16-bit (20.000MB/s) transfers sd1 at scsibus0 
> target 1 lun 0: <IBM, DPSS-309170M, S96H> disk fixed sd1: 8748 MB, 
> 14627 cyl, 3 head, 408 sec, 512 bytes/sect x 17916240 sectors sd1: 
> sync (100.00ns offset 15), 16-bit (20.000MB/s) transfers cd0 at 
> scsibus0 target 6 lun 0: <PLEXTOR, CD-ROM PX-32TS, 1.03> cdrom removable
> cd0: sync (100.00ns offset 15), 8-bit (10.000MB/s) transfers
> Searching for RAID components...
> root on sd0a dumps on sd0b
> mountroot: trying msdos...
> mountroot: trying cd9660...
> mountroot: trying lfs...
> mountroot: trying nfs...
> mountroot: trying ffs...
> root file system type: ffs
> cpu_args @ 0xfff90000
> ktext 1000000, ktextp 47400000, ektext 14ec000
> kdata 1800000, kdatap 46c00000, ekdata 18f8000
> mp_start fff90050, mp_start_size 0x50
> cpu0: booting secondary processors:
> node f0066528, cpuinfo 47e40000, initstack 0xe0020000
> cpu1 now spinning idle (waited 1 iterations)
> 
> trap type 0x34: pc=1333040 npc=1333044 pstate=820006<PRIV,IE>
> kernel trap 34: mem address not aligned
> cpu0 paused.
> Stopped in pid 1.1 (init) at    netbsd:cc_microtime+0x19c:      ldx
> [%fp + 0x7df], %g2
> db{1}>
> 
> --
> ;; MOCHIZUKI Tomomitsu mailto:mochi@thn.ne.jp
------- End of Original Message -------