Subject: Re: 1.6 miniroot won't boot
To: None <eeh@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-sparc64
Date: 06/07/2002 17:38:21
On Fri, Jun 07, 2002 at 03:35:38PM -0000, eeh@netbsd.org wrote:
>
> | If I try 'disk' instead of 'disk1' I get a different behavior:
> | Rebooting with command: boot disk:b
> | Boot device: /sbus/espdma@e,8400000/esp@e,8800000/sd@0,0:b File and args:
> | NetBSD IEEE 1275 Bootblock
> | .
> | Fast Data Access MMU Miss
>
> `disk' is actually an alias for `disk0', so you are booting from a different
> disk. Do you have a miniroot on both of them?
Yes.
The debug on "disk" is:
Boot device: /sbus/espdma@e,8400000/esp@e,8800000/sd@0,0:b File and args: -DV
The file just loaded does not appear to be executable.
ok debug search-directory
Stepper keys: <space> Down Up Continue Forth Go Help ? See $tring Quit
ok " /ofwboot" do-boot
NetBSD IEEE 1275 Bootblock
Loading file /ofwboot
from device /sbus@1f,0/espdma@e,8400000/esp@e,8800000/sd@0,0:b
ufs-open complete
.Looking for ofwboot in directory...
: search-directory ( 2 fffebca9 0 fffebca2 7 )
0 ( 2 fffebca9 0 fffebca2 7 0 )
is cur-offset ( 2 fffebca9 0 fffebca2 7 )
cur-offset ( 2 fffebca9 0 fffebca2 7 0 )
cur-inode ( 2 fffebca9 0 fffebca2 7 0 fff7ff60 )
di_size ( 2 fffebca9 0 fffebca2 7 0 fff7ff68 )
x@ ( 2 fffebca9 0 fffebca2 7 0 200 )
l< ( 2 fffebca9 0 fffebca2 7 ffffffffffffffff )
l->n ( 2 fffebca9 0 fffebca2 7 ffffffffffffffff )
while ( 2 fffebca9 0 fffebca2 7 )
sb-buf ( 2 fffebca9 0 fffebca2 7 fff87ff0 )
buf-read-file
and here it gave me back the ok prompt.
So it seems to have problems with buf-read-file
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--