Subject: netbooting an IPX, stuck at NFS mounting root fs
To: None <port-sparc@netbsd.org>
From: Tom Kooij <tom_kooij@hotmail.com>
List: port-sparc
Date: 02/07/2004 22:50:32
I'm trying to netboot a SPARCstation IPX. (netbsd-1.6.1)

On the PC (Debian linux) I have rarp, tftp, portmap, bootparam, nfsd, mountd 
etc etc. NFS works fine on the PC. (as it seems)

The NVRAM battery of the IPX is dead, so I set sensible values first and 
type "boot net"

- It downloads the boot.net loader using tftp.

- It downloads and boots the netbsd kernel using nfs

And it gets stuck at trying to mount the root fs:

root on le0
nfs_boot: trying DHCP/BOOTP
nfs_boot: timeout...
nfs_boot: timeout...
nfs_boot: timeout...
nfs_boot: trying RARP (and RPC/bootparam)
nfs_boot: client_addr=192.168.1.90 (RARP from 192.168.1.0)
nfs_boot: server_addr=192.168.1.0
nfs_boot: hostname=hobbes
nfs_boot: sosend: 13
nfs_boot: bootparam get root: 13
no file system for le0
cannot mount root, error = 79

I cannot find (google) what error 13 means. Since the kernel seems to be 
loaded over NFS, and NFS works on the host machine, I'm really stuck.

I tried DHCP/BOOTP with the same results. I have attach a capture of the 
serial console and some relevant portions of "tcpdump".

Tom

**** Capture of the serial console:

SPARCstation IPX, No Keyboard
ROM Rev. 2.3, 32 MB memory installed, Serial #16777215.
Ethernet address ff:ff:ff:ff:ff:ff, Host ID: ffffffff.


The IDPROM contents are invalid

Power-On SelfTest FAILED ... Replace TOD/NVRAM

Testing  32 megs of memory. Still to go    0

SBus slot 0 le esp dma
SBus slot 1
SBus slot 2
SBus slot 3 cgsix


Type b (boot), c (continue), or n (new command mode)
>n
Type  help  for more information
ok 17 0 mkp
ok 8 0 20 c0 ff ee c0ffee mkpl
ok boot net
Boot device: /sbus/le@0,c00000   File and args:
14000
>>NetBSD/sparc Secondary Boot, Revision 1.12
>>(autobuild@tgm.daemon.org, Wed Apr  9 02:46:11 UTC 2003)
Booting netbsd
bootp: no reply
Using BOOTPARAMS protocol: ip address: 192.168.1.90, hostname: hobbes
root addr=192.168.1.0 path=/tftpboot/root
2843976+100108+257920 [182784+139576]=0x36c8d0
OBP version 2, revision 2.3 (plugin rev 2)
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.6.1 (GENERIC) #0: Wed Apr  9 03:02:04 UTC 2003
    
autobuild@tgm.daemon.org:/autobuild/netbsd-1-6/sparc/OBJ/autobuild/netbsd-1C
total memory = 32644 KB
avail memory = 28196 KB
using 128 buffers containing 512 KB of memory
bootpath: /sbus0/le@0,c00000
mainbus0 (root): SUNW,Sun 4/50
cpu0 at mainbus0: cache chip bug; trap page uncached: W8601/8701 or MB86903 
@ 4U
cpu0: 64K byte write-through, 32 bytes/line, hw flush: cache enabled
memreg0 at mainbus0 ioaddr 0xf4000000
clock0 at mainbus0 ioaddr 0xf2000000: mk48t02: hostid 57c0ffee
timer0 at mainbus0 ioaddr 0xf3000000 ipl 10: delay constant 18
auxreg0 at mainbus0 ioaddr 0xf7400003
zs0 at mainbus0 ioaddr 0xf1000000 ipl 12 softpri 6
zstty0 at zs0 channel 0 (console i/o)
zstty1 at zs0 channel 1
zs1 at mainbus0 ioaddr 0xf0000000 ipl 12 softpri 6
kbd0 at zs1 channel 0: baud rate 1200
ms0 at zs1 channel 1: baud rate 1200
audioamd0 at mainbus0 ioaddr 0xf7201000 ipl 13 softpri 4
audio0 at audioamd0: full duplex
sbus0 at mainbus0 ioaddr 0xf8000000: clock = 20 MHz
dma0 at sbus0 slot 0 offset 0x400000: dma rev 1+
esp0 at sbus0 slot 0 offset 0x800000 level 3: ESP100A, 20MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
le0 at sbus0 slot 0 offset 0xc00000 level 5: address 08:00:20:c0:ff:ee
le0: 8 receive buffers, 2 transmit buffers
cgsix0 at sbus0 slot 3 offset 0x0 level 7: SUNW,501-1672, 1152 x 900, rev 5
cgsix0: attached to /dev/fb
fdc0 at mainbus0 ioaddr 0xf7200000 ipl 11 softpri 4: chip 82072
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 3 lun 0: <SEAGATE, ST1480, 5830> SCSI2 0/direct fixed
sd0: 411 MB, 1476 cyl, 9 head, 63 sec, 512 bytes/sect x 842845 sectors
sd0: sync (248.0ns offset 15), 8-bit (4.032MB/s) transfers, tagged queueing
Kernelized RAIDframe activated
root on le0
nfs_boot: trying DHCP/BOOTP
nfs_boot: timeout...
nfs_boot: timeout...
nfs_boot: timeout...
nfs_boot: trying RARP (and RPC/bootparam)
nfs_boot: client_addr=192.168.1.90 (RARP from 192.168.1.0)
nfs_boot: server_addr=192.168.1.0
nfs_boot: hostname=hobbes
nfs_boot: sosend: 13
nfs_boot: bootparam get root: 13
no file system for le0
cannot mount root, error = 79
root device (default le0):

*** tcpdump capture of the netboot process:
[boot.net has been transferred using tftp and has been loaded]

22:38:26.924706 rarp who-is 192.168.1.90 tell 192.168.1.90
22:38:26.925431 rarp reply 192.168.1.90 at hobbes
22:38:27.094934 hobbes.1023 > 255.255.255.255.sunrpc: udp 96
22:38:27.113753 192.168.1.0.sunrpc > hobbes.1023: udp 76 (DF)
22:38:27.199077 arp who-has 192.168.1.0 tell hobbes
22:38:27.199133 arp reply 192.168.1.0 is-at 0:c0:ca:18:b5:64
22:38:27.215985 hobbes.1022 > 192.168.1.0.601: udp 80
22:38:27.216747 192.168.1.0.601 > hobbes.1022: udp 80 (DF)
22:38:27.365058 hobbes.1021 > 192.168.1.0.sunrpc: udp 76
22:38:27.365463 192.168.1.0.sunrpc > hobbes.1021: udp 28 (DF)
22:38:27.389812 hobbes.1021 > 192.168.1.0.789: udp 80
22:38:27.392742 192.168.1.0.789 > hobbes.1021: udp 60 (DF)
22:38:27.413521 hobbes.1021 > 192.168.1.0.sunrpc: udp 76
22:38:27.413885 192.168.1.0.sunrpc > hobbes.1021: udp 28 (DF)
22:38:27.435978 hobbes.6 > 192.168.1.0.nfs: 104 lookup [|nfs]
22:38:27.436512 192.168.1.0.nfs > hobbes.6: reply ok 128 lookup [|nfs] (DF)
22:38:27.469009 hobbes.7 > 192.168.1.0.nfs: 104 read [|nfs]
22:38:27.478741 192.168.1.0.nfs > hobbes.7: reply ok 1124 read (DF)

[kernel is being transferred]

22:40:22.177244 hobbes.3204 > 192.168.1.0.nfs: 104 read [|nfs]
22:40:22.177521 192.168.1.0.nfs > hobbes.3204: reply ok 412 read (DF)

[end of nfs transfer, dhcp/bootp requests:]

22:40:37.203198 fe80::a00:20ff:fec0:ffee > ff02::1:ffc0:ffee: HBH icmp6: 
multicast listener report max resp delay: 0 addr: ff02::1:ffc0:ffee [hlim 1]
22:40:37.824918 0.0.0.0.bootpc > 255.255.255.255.bootps:  xid:0xffffff01 
file ""[|bootp] [ttl 1]
22:40:38.824170 0.0.0.0.bootpc > 255.255.255.255.bootps:  xid:0xffffff01 
secs:1 file ""[|bootp] [ttl 1]
22:40:40.824469 0.0.0.0.bootpc > 255.255.255.255.bootps:  xid:0xffffff01 
secs:3 file ""[|bootp] [ttl 1]
22:40:41.603253 192.168.1.0.ipp > 192.168.1.255.ipp: udp 128 (DF)
22:40:43.824955 0.0.0.0.bootpc > 255.255.255.255.bootps:  xid:0xffffff01 
secs:6 file ""[|bootp] [ttl 1]
22:40:47.825588 0.0.0.0.bootpc > 255.255.255.255.bootps:  xid:0xffffff01 
secs:10 file ""[|bootp] [ttl 1]
22:40:52.847314 0.0.0.0.bootpc > 255.255.255.255.bootps:  xid:0xffffff01 
secs:15 file ""[|bootp] [ttl 1]
22:40:57.868149 0.0.0.0.bootpc > 255.255.255.255.bootps:  xid:0xffffff01 
secs:20 file ""[|bootp] [ttl 1]
22:41:02.888885 0.0.0.0.bootpc > 255.255.255.255.bootps:  xid:0xffffff01 
secs:25 file ""[|bootp] [ttl 1]

[and finally the rarp/bootparams]

22:41:10.928523 rarp who-is 192.168.1.90 tell 192.168.1.90
22:41:10.929016 rarp reply 192.168.1.90 at hobbes
22:41:10.990369 arp who-has hobbes tell hobbes
22:41:12.607690 192.168.1.0.ipp > 192.168.1.255.ipp: udp 128 (DF)
22:41:13.990014 hobbes.1023 > 192.168.1.255.sunrpc: udp 96
22:41:13.994480 192.168.1.0.sunrpc > hobbes.1023: udp 76 (DF)
22:41:43.634774 192.168.1.0.ipp > 192.168.1.255.ipp: udp 128 (DF)

[end of capture!]

***

_________________________________________________________________
Hotmail en Messenger on the move 
http://www.msn.nl/communicatie/smsdiensten/hotmailsmsv2/