Subject: NetBSD 2.0G doesn't boot on Axi 311 (sparc 10 clone)
To: None <port-sparc@netbsd.org>
From: Gert Doering <gert@greenie.muc.de>
List: port-sparc
Date: 07/28/2004 19:40:31
Hi,

I'm a quite happy Sparc64 user (Ultra5), and recently I had the chance
to get a "real SMP machine" - an Axil 311 with two SM41 modules.  (Yes,
I know that this is slow as hell, but it's SMP!!! - and I'm a big fan of
these oldish machines).

Installing 1.6.3 on the Axil 311 went flawlessly, but of course that's
uniprocessor only.

Then I tried cross-compiling a 2.0G release on the Sparc64 (because it's
5 times as fast), and booting the resulting GENERIC.MP and GENERIC
kernels.  Didn't work.  "OK, so the cross-build is weird".

Now I built a kernel on the 1.6.3 sparc system locally, using the
netbsd-2-0 tagged sources as of 2004-07-27.  Building took 8 hours :-) but
eventually finished with:

===> Summary of results:
         build.sh command: ./build.sh -M /home/obj -T /home/obj.tools -u tools kernel=GENERIC.MP
         build.sh started: Wed Jul 28 09:19:07 CEST 2004
         No /home/obj.tools/bin/nbmake, needs building.
         Bootstrapping nbmake
         MACHINE:          sparc
         MACHINE_ARCH:     sparc
         TOOLDIR path:     /home/obj.tools
         DESTDIR path:     /home/obj/usr/src/destdir.sparc
         RELEASEDIR path:  /home/obj/usr/src/releasedir
         Created /home/obj.tools/bin/nbmake
         makewrapper:      /home/obj.tools/bin/nbmake-sparc
         Updated /home/obj.tools/bin/nbmake-sparc
         Tools built to /home/obj.tools
         Building kernel:  GENERIC.MP
         Build directory: /home/obj/usr/src/sys/arch/sparc/compile/GENERIC.MP
         Kernels built from GENERIC.MP:
          /home/obj/usr/src/sys/arch/sparc/compile/GENERIC.MP/netbsd
         build.sh started: Wed Jul 28 09:19:07 CEST 2004
         build.sh ended:   Wed Jul 28 17:04:39 CEST 2004


copied that kernel to /netbsd, and tried booting into it...:

------------------------------------------------
<#0> ok boot disk1 netbsd
esetting ... 
AXIL-311MP (2 X 390Z55), No Keyboard
ROM Rev. 2.10, 32 MB memory installed, Serial #8788084.
Ethernet address 0:0:3b:80:1b:78, Host ID: 72861874.


Rebooting with command: disk1 netbsd                                  
Boot device: /iommu/sbus/espdma@f,400000/esp@f,800000/sd@1,0   File and
args: netbsd
>> NetBSD/sparc Secondary Boot, Revision 1.12
>> (autobuild@tgm.netbsd.org, Wed Feb 11 07:53:48 UTC 2004)
Booting netbsd
3100660+100324+329476 [190528Illegal Instruction
Type  help  for more information
<#0> ok 
------------------------------------------------

... which is not *really* what I had hoped to see here... - but it's the
same error I got with the sparc64->sparc cross-compiled GENERIC.MP kernel,
so at least it wasn't a cross-compiling problem.

The GENERIC.UP kernel (cross-compiled) fails like this:

------------------------------------------------
Rebooting with command: disk1 /tmp/GENERIC.cross.up                   
Boot device: /iommu/sbus/espdma@f,400000/esp@f,800000/sd@1,0   File and
args: /tmp/GENERIC.cross.up
>> NetBSD/sparc Secondary Boot, Revision 1.12
>> (autobuild@tgm.netbsd.org, Wed Feb 11 07:53:48 UTC 2004)
Booting /tmp/GENERIC.cross.up
3055444+100204+329432 [189744Illegal Instruction
Type  help  for more information
------------------------------------------------


Now I'm looking for some advice how to go ahead.  

The machine itself did work fine with SunOS 4.1.4 (and sees both CPUs,
amazing enough).

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert@net.informatik.tu-muenchen.de