From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 111c93,c5c63add0843a962 X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-08-22 20:35:57 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: st-wong@alumni.cuhk.net (ST Wong) Newsgroups: comp.os.linux.alpha Subject: Re: Pls help: net boot failure Date: 22 Aug 2003 20:35:56 -0700 Organization: http://groups.google.com/ Message-ID: <28073c51.0308221935.2de304f8@posting.google.com> References: <28073c51.0308120220.65ced23a@posting.google.com> <28073c51.0308171936.12399a43@posting.google.com> <28073c51.0308181920.33592de3@posting.google.com> <28073c51.0308200254.ef3045a@posting.google.com> <28073c51.0308210140.511aaaab@posting.google.com> <28073c51.0308211805.5ae792c0@posting.google.com> NNTP-Posting-Host: 137.189.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1061609757 29436 127.0.0.1 (23 Aug 2003 03:35:57 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 23 Aug 2003 03:35:57 GMT Xref: archiver1.google.com comp.os.linux.alpha:8166 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:... > > > 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