[Soekris] net 4511 PXE boot won't mount NFS

Larry Boehm LarryBoehm at BellSouth.net
Tue Oct 3 02:48:13 UTC 2006


Ted,
Thanks for the advice...
This is my current pxelinux.cfg/default

SERIAL 0 19200
DEFAULT vmlinuz console=ttyS0,19200n81 root=/dev/nfs
nfsaddrs=192.168.0.105:192.168.0.26:255.255.255.0:soekris:eth0
nfsroot=192.168.0.26:/nfsroot/debian panic=10
IPAPPEND 1

Actually...notice how I conveniently left of the route/gateway
address...hmmm.

It should be this:
SERIAL 0 19200
DEFAULT vmlinuz console=ttyS0,19200n81 root=/dev/nfs
nfsaddrs=192.168.0.105:192.168.0.26:192.168.0.1:255.255.255.0:soekris:eth0
nfsroot=192.168.0.26:/nfsroot/debian panic=10
IPAPPEND 1

Yep...that did it.  Don't you hate silly mistakes!

Thanks!
-Larry

-----Original Message-----
From: Ted Phelps [mailto:phelps at gnusto.com] 
Sent: Monday, October 02, 2006 6:40 AM
To: Larry Boehm
Cc: soekris-tech at lists.soekris.com
Subject: Re: [Soekris] net 4511 PXE boot won't mount NFS 


Hi Larry,

Larry Boehm writes:
> I'm trying to configure a 4511 to use debian per Mike's page.
> I'm on 12+ hours and have no more hair left to pull.
>
> [snip]
>
> Can anyone offer some advice..I'm stuck?

This is the bit that I think is interesting:
> eth0: link up.
> eth0: Setting full-duplex based on negotiated link capability.
> eth1: autonegotiation did not complete in 4000 usec.

At this point eth0 is up.

> IP-Config: Incomplete network configuration information.
> 
> eth0: remaining active for wake-on-lan
> eth1: remaining active for wake-on-lan

And at this point eth0 is down again -- I see the "remaining active"
message when I use ifconfig to take an interface down.  I'm guessing that
the preceding line (IP-Config: Incomplete network configuration
information) is suggesting what has gone wrong.

> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> Looking up port of RPC 100003/2 on 192.168.0.26
> RPC: sendmsg returned error 101

And error 101 is Network unreachable, which implies that you don't have a
route to 192.168.0.26, confirming that eth0 is down


I'm guessing that you need to add an "ip=dhcp" line to your kernel args in
the pxeboot config file.  My /tftpboot/pxelinux.cfg/default file looks like
this:


---8<---

DEFAULT nfs

SERIAL 0 57600 0

LABEL nfs
kernel vmlinuz-2.6.16.16
APPEND root=/dev/nfs ip=dhcp nfsroot=/scratch/cerberus/root,ro
init=/sbin/init c onsole=ttyS0,57600

--->8---


Cheers,
-Ted



More information about the Soekris-tech mailing list