Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: st-wong@alumni.cuhk.net (ST Wong)
Subject: Re: Pls help: net boot failure
Date: 22 Aug 2003 20:35:56 -0700	[thread overview]
Message-ID: <28073c51.0308221935.2de304f8@posting.google.com> (raw)
In-Reply-To: 28073c51.0308211805.5ae792c0@posting.google.com

st-wong@alumni.cuhk.net (ST Wong) wrote in message news:<28073c51.0308211805.5ae792c0@posting.google.com>...
> mru@users.sourceforge.net (M�ns Rullg�rd) wrote in message news:<yw1xisorxrsx.fsf@users.sourceforge.net>...
> > > I tried eth0 and eth1 but both failed with the same result (RCP error
> > > number 51).  I use tcpdump to sniff the packets.  Found that there is
> > > no traffic from client after downloading the boot image using tftp. 
> > > It seems eth0 is not configured with network information obtained from
> > > dhcpd... :-?
> > 
> > Do you see any dhcp traffic?  Try configuring the IP address
> > manually, as in nfsroot.txt.
> 
> Yes, i see dhcp traffic and there is no problem to tftp the boot
> image.  Then I see nothing about NFS or RPC related traffic. :-? 
> While the dhcp request  broadcasts to the network, the portmap and NFS
> mount requests require eth0 being configured.  I wonder if the boot
> process will do anything like ifconfig in order to set up eth0 before
> sending any RPC request to the NFS server (although the server IP is
> known to the boot process according to the boot messages).
> 
> Thanks.

After examining net/ipv4/ipconfig.c in kernel source tree, found that
the network interface won't be configured if the "ip=" boot parameter
is missing.  I always put the "ip=" boot parameter in next line that
has the same effect of missing it out, like this:

>>>boot ewa0 -fl "root=/dev/nfs nfsroot=192.168.100.10:/export
_>ip=:192.168.100.10::::eth0:" 

When I put everything in the same line, I can see the IP-Config
message.  However, instead of contacting portmap on NFS server, the
boot process continues to send out dhcp messages, which look like this
in tcpdump:

11:32:14.681692 0.0.0.0.bootpc > 255.255.255.255.bootps: 
xid:0x25a84cb0 secs:15 Y:255.255.255.255 S:255.255.255.255 ether
8:0:2b:86:ed:7d file ""[|bootp] (DF)

The boot messages now look like this:

------------------------------ cut here ------------------------
[snip]
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
tulip0:  EEPROM default media type Autosense.
tulip0:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY
(2) bloc.
tulip0:  Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial
PHY (2) .
tulip0:  Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY
(4) block.
tulip0:  Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM
PHY (4) b.
eth0: Digital DS21143 Tulip rev 65 at 0x8000, 08:00:2B:86:D1:02, IRQ
29.
tulip1:  EEPROM default media type Autosense.
tulip1:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY
(2) bloc.
tulip1:  Index #1 - Media 10baseT-FDX (#4) described by a 21142 Serial
PHY (2) .
tulip1:  Index #2 - Media 100baseTx (#3) described by a 21143 SYM PHY
(4) block.
tulip1:  Index #3 - Media 100baseTx-FDX (#5) described by a 21143 SYM
PHY (4) b.
eth1: Digital DS21143 Tulip rev 65 at 0x8080, 08:00:2B:86:D1:03, IRQ
30.
SCSI subsystem driver Revision: 1.00
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 65536 bind 65536)
IP-Config: Entered.
IP-Config: eth0 UP (able=1, xid=7d356346)
Sending DHCP requests .DHCP: Sending message type 3
.DHCP: Sending message type 3
.DHCP: Sending message type 3
.DHCP: Sending message type 3
.DHCP: Sending message type 3
.DHCP: Sending message type 3
 timed out!
IP-Config: Downing eth0
IP-Config: Retrying forever (NFS root)...
IP-Config: eth0 UP (able=1, xid=65c13bc0)
Sending DHCP requests .DHCP: Sending message type 3
.DHCP: Sending message type 3
.DHCP: Sending message type 3  
[loop forever]
------------------------------ cut here ------------------------

Any suggestion?

Thanks a lot.
/ST


  reply	other threads:[~2003-08-23  3:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-12 10:20 Pls help: net boot failure ST Wong
2003-08-12 11:12 ` Måns Rullgård
2003-08-13  6:02   ` ST Wong
2003-08-13  8:51     ` Måns Rullgård
2003-08-16  4:29       ` ST Wong
2003-08-17 11:16         ` Måns Rullgård
2003-08-18  3:36           ` ST Wong
2003-08-18 10:07             ` Måns Rullgård
2003-08-19  3:20               ` ST Wong
2003-08-19  9:23                 ` Måns Rullgård
2003-08-20 10:54                   ` ST Wong
2003-08-20 11:12                     ` Måns Rullgård
2003-08-21  9:40                       ` ST Wong
2003-08-21  9:50                         ` Måns Rullgård
2003-08-22  2:05                           ` ST Wong
2003-08-23  3:35                             ` ST Wong [this message]
2003-08-24 11:34                               ` Måns Rullgård
2003-09-03  9:51                                 ` ST Wong
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox