Subject: Re: Ultra 2 multiprocessor kernel panic on boot
To: None <port-sparc64@netbsd.org>
From: Jake Kupersmith <jakerosoft@gmail.com>
List: port-sparc64
Date: 02/07/2006 18:39:30
Ok sorry, I see on the front page that SMP is not supported... Why is
this not supported?  do linux/freebsd support smp on sparc64?  I would
love to help test/contribute to this project I have a few MP
ultrasparc's that I can test with.  If it's a simple matter of porting
existing drivers then I wouldn't mind donating my time.

Thanks again,
Jake

On 2/7/06, Jake Kupersmith <jakerosoft@gmail.com> wrote:
> Hi, I'm trying to boot a Sun Ultra 2 with netbsd-current.  The machine
> runs file on 1 CPU but when i try to boot a MP kernel, it panics..
>
> cpu0: booting secondary processors:
> mp_tramp: 0xfff6a000
> cpu1 fired up.
> cpu1 now spinning idle (waited 2 iterations)
> cpu1 enters idle loop.
> <SNIP>
>
> then it's either ...
>
> trap type 0x10: pc=3D8 npc=3Dc pstate=3D820006<PRIV,IE>
> kernel trap 10: illegal instruction
> cpu0 paused.
> Stopped in pid 1.1 (init) at
>
> or
>
> data fault: pc=3D100a480 addr=3D2c420000000
> kernel trap 30: data access exception
> cpu0 paused.
> Stopped in pid 4.1 (pagedaemon) at      netbsd:cpu_switch+0x15c:        s=
tx
>         %
> l1, [%l6 + 0x10]
> db{1}>
>
> Any ideas or thoughts as to why this is happening would be much appreciat=
ed..
> Below is the output from banner and the initial boot process
>
> Sun Ultra 2 UPA/SBus (2 X UltraSPARC-II 296MHz), No Keyboard
> OpenBoot 3.7, 256 MB memory installed, Serial #9303059.
> Ethernet address 8:0:20:8f:d4:13, Host ID: 808df413.
>
> NetBSD 3.99.15 (GENERIC.MP) #0: Mon Feb  6 06:34:50 EST 2006
>         jkupersm@colt45:/home/jkupersm/NetBSD-current/obj/sys/arch/sparc6=
4/compile/GENERIC.MP
> total memory =3D 256 MB
> avail memory =3D 238 MB
> bootpath: /sbus@1f,0/SUNW,fas@e,8800000/sd@0,0
> mainbus0 (root): SUNW,Ultra-2: hostid 808df413
> cpu0 at mainbus0: SUNW,UltraSPARC-II @ 296 MHz, version 0 FPU
> cpu0: 32K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l=
)
> cpu0: upa id 0
> cpu1 at mainbus0: SUNW,UltraSPARC-II @ 296 MHz, version 0 FPU
> cpu1: 32K instruction (32 b/l), 16K data (32 b/l), 2048K external (64 b/l=
)
> cpu1: upa id 0
> timer0 at mainbus0 addr 0xfffc1c00 irq vectors 7f0 and 7f1
> sbus0 at mainbus0 addr 0xfffcc000: clock =3D 25 MHz
> DVMA map: ff800000 to ffffe000
> IOTSB: 426000 to 428000
>
> Thanks,
> Jake
>