Subject: solaris netboot
To: None <current-users@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: current-users
Date: 12/20/1999 20:04:38
Hi,
sorry for the off-topic question, but I don't have clues at what's wrong
and I need the anserw for tomorow :)
Did someone manage to netboot a solaris 2.7 (2.5.1 would do it as well)
from a NetBSD server ?
I've set up the server this way:
/tftpboot:
total 272
lrwxr-xr-x  1 root  daemon      28 Dec 20 16:56 84E33F6F -> inetboot.SUN4U.Solaris_2.7-1
lrwxr-xr-x  1 root  daemon      28 Dec 20 16:56 84E33F6F.SUN4U -> inetboot.SUN4U.Solaris_2.7-1
-rwxr-xr-x  1 root  daemon  129632 Dec 20 16:56 inetboot.SUN4U.Solaris_2.7-1
lrwxr-xr-x  1 root  daemon       1 Dec 20 16:56 tftpboot -> .

/etc/bootparams contains:
toccata root=jazz:/home/solaris/Solaris_2.7/Boot       install=armandeche:/cdrom boottype=:in    rootopts=:rsize=32768

(these values were added by solaris's add_install_client script).

Now here's the console output:
Rebooting with command: boot net -vs                                  
Boot device: /sbus/ledma@e,8400010/le@e,8c00000  File and args: -vs
23a00 hostname: toccata
domainname: asim_rech.ibp.fr
X
Requesting Ethernet address for 0.0.0.0 = 00000000
No reply received.
root server: jazz
root directory: /home/solaris/Solaris_2.7/Boot
Size: 299316+54592+68972 Bytes
cpu0: SUNW,UltraSPARC (upaid 0 impl 0x10 ver 0x40 clock 143 MHz)
SunOS Release 5.7 Version Generic [UNIX(R) System V Release 4.0]
Copyright (c) 1983-1998, Sun Microsystems, Inc.
Using default device instance data
mem = 131072K (0x8000000)
avail mem = 124379136
Ethernet address = 8:0:20:85:e6:5
root nexus = Sun Ultra 1 SBus (UltraSPARC 143MHz)
sbus0 at root: UPA 0x1f 0x0 ...
sbus0 is /sbus@1f,0
ledma0 at sbus0: SBus0 slot 0xe offset 0x8400010
le0 at ledma0: SBus0 slot 0xe offset 0x8c00000 Onboard device sparc9 ipl 6
le0 is /sbus@1f,0/ledma@e,8400010/le@e,8c00000
Requesting Internet address for 8:0:20:85:e6:5
Found my IP address: 84e33f6f (132.227.63.111)
hostname: toccata
domainname: asim_rech.ibp.fr
rtioctl: kstr_ioctl failed: error 128
whoami: couldn't add route: error 128.
WARNING: nfsdyn_mountroot: NFS3 mount_root failed: error 128
Cannot mount root on /sbus@1f,0/ledma@e,8400010/le@e,8c00000 fstype nfsdyn
panic[cpu0]/thread=10404040: vfs_mountroot: cannot mount root
skipping system dump - no dump device configured

Error 128 is 'network unreachable'; also I don't have any clues why it asks
for ether addr of 0.0.0.0.
I also tried to use a solaris2.7 box as server, but I couldn't get
rpc.boorparamd to work.

Any infos greatly appreciated.

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     {Net,Free}BSD: 22 ans d'experience feront toujours la difference
--