Subject: Re: NetBSD 2.0G doesn't boot on Axi 311 (sparc 10 clone)
To: john heasley <heas@shrubbery.net>
From: Gert Doering <gert@greenie.muc.de>
List: port-sparc
Date: 07/28/2004 23:04:34
Hi,

first of all: you are my heroes :-)

NetBSD 2.0_BETA (GENERIC.MP) #0: Wed Jul 28 17:03:35 CEST 2004
	gert@gamma:/home/obj/usr/src/sys/arch/sparc/compile/GENERIC.MP
...
cpu0 at mainbus0: mid 8: TMS390Z50 v1 @ 40.300 MHz, on-chip FPU
cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external
(32 b/l): cache enabled
cpu1 at mainbus0: mid 10: TMS390Z50 v1 @ 40 MHz, on-chip FPU
cpu1: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external
(32 b/l): cache enabled
...
cpu0: booting secondary processors: cpu1

*hooray*!

Second, yes, the boot loader has been the problem.  I copied the
sparc32 /usr/mdec/ directory from the cross-building sparc64/2.0 system, 
installboot'ed it (man page example :-) ) and not it boots.

I *did* google for the problem, but somehow my search expression didn't
find the pre-existing descriptions.


However, some individual comments:


On Wed, Jul 28, 2004 at 12:00:43PM -0700, john heasley wrote:
> did you update /ofwboot?  Old versions seem to be the cause of a lot of
> this type of problem.

I might be missing something, but isn't ofwboot only for sparc64?  I
can't find it mentioned anywhere for sparc32, and installboot didn't
need it either?


On Wed, Jul 28, 2004 at 08:30:34PM +0100, Dan Kolb wrote:
> I had that. If you update the boot loader, then it should all work nicely. A
> quick search, or read of the man pages should tell you all you need to know :)

The "installboot" man page has all the necessary examples.  Thanks!

On Wed, Jul 28, 2004 at 09:40:14PM +0200, Hauke Fath wrote:
> Is that the boot code that was installed with 1.6.3? If so, make sure you
> update it for post-2.0 kernels ('man installboot').

Exactly so.  Worked.

> You could also try a 2.0 snapshot from ftp://releng.netbsd.org/ since it
> supports smp on sparc and might have less problems than -current.

Actually I'm CVSing "-r netbsd-2-0", which does not seem to be exactly
the same as "-current", but I haven't yet fully figured out which state
2.0 is exactly in, right now.

On Wed, Jul 28, 2004 at 10:04:02PM +0200, Manuel Bouyer wrote:
> > Š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.
> 
> I have one:
> Axil-311 MP (2 X 390Z55), No Keyboard
> ROM Rev. 2.19 , 96 MB memory installed, Serial #9901724.
> Ethernet address 0:0:3b:80:39:b0, Host ID: 7297169c.

I definitely need to work on the amount of memory installed :-)

> Or you can try to build a trimmed-down kernel, I guess the bootloader
> you have installed can't load such a large kernel.

Actually the kernel size is not *that* much bigger:

-rwxr-xr-x  1 root  wheel  3620884 Jul 28 18:49 netbsd
-rwxr-xr-x  1 root  wheel  3338486 Feb 11 09:05 netbsd163

but maybe it was hitting the magical 640k/2=320 kbyte bar...

Again, thanks to all of you!

Now off, installing 2.0 userland...

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