All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* Mounting NFS on RPX-Lite
@ 2001-04-16 18:59 Laura Dean
  2001-04-16 22:43 ` Dan Malek
  0 siblings, 1 reply; 4+ messages in thread
From: Laura Dean @ 2001-04-16 18:59 UTC (permalink / raw
  To: linuxppc-embedded


Hi everyone,

I am attempting to run embedded linux on an RPX-Lite
board. I have tried from the Hard Hat CDK and also
building from 2.4.2 source. With both, I have the same
problem - I can't mount the NFS.

The output from minicom says this:
mount: server 10.1.253.88 not responding, timed out
Root-NFS: Server returned error -5 while mounting
/tftpboot/10.1.100.111

In /var/log/messages I find this:
(...) mountd[12:10]:authenticated mount request from
10.1.100.111:800 for /tftpboot/10.1.100.111
(/tftpboot)

I expect this on the kernel I built from source, but I
was expecting the Hard Hat kernel to be mounting
/opt/hardhat/devkit/ppc/8xx/target. I assumed the
"option root-path" line in dhcpd.conf configured this.
I have copied this filesystem to 10.1.100.111 though.

I am able to mount /tftpboot from a remote Linux
system, so I think the server is configured correctly.
Here is my /etc/exports file:
/tftpboot (rw,no_root_squash)
/opt/hardhat/devkit/ppc/8xx/target
(rw,no_root_sqush,no_all_squash)

When I all a no_all_squash option to /tftpboot, I
don't get the "authenticated mount request" message in
/var/log/messages.

One other thing is that my host computer is not on a
static IP (it's on DHCP). If this would cause the
problem I can probably get a static IP, but the
sysadmins don't give them out too easily (I have one
for the board).

Does anyone have any ideas as to what could be the
problem? I will be happy to post any other information
that could help the gurus in here to identify my
problem.

Thanks,
Laura


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mounting NFS on RPX-Lite
  2001-04-16 18:59 Mounting NFS on RPX-Lite Laura Dean
@ 2001-04-16 22:43 ` Dan Malek
  2001-04-17 14:10   ` Laura Dean
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Malek @ 2001-04-16 22:43 UTC (permalink / raw
  To: Laura Dean; +Cc: linuxppc-embedded


Laura Dean wrote:

> I expect this on the kernel I built from source, but I
> was expecting the Hard Hat kernel to be mounting
> /opt/hardhat/devkit/ppc/8xx/target. I assumed the
> "option root-path" line in dhcpd.conf configured this.

Version 2.0 DHCP doesn't work properly with some BOOTP
clients, in particular when providing this "extended"
type of information.  I suspect this may be the
problem, and suggest you check out isc.org for information.

I personally run Beta 3.0.

It still looks like you may have some NFS related
configuration problems on the server, too.

Oh yeah, NFS root works fine, whether you recompile or
use the ready made kernels.

	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mounting NFS on RPX-Lite
  2001-04-16 22:43 ` Dan Malek
@ 2001-04-17 14:10   ` Laura Dean
  2001-04-25 16:57     ` Mounting NFS on RPX-Lite - Solved! Laura Dean
  0 siblings, 1 reply; 4+ messages in thread
From: Laura Dean @ 2001-04-17 14:10 UTC (permalink / raw
  To: linuxppc-embedded


Well, rebooting fixed the problem with trying to mount
the wrong directory, maybe I should use DHCP Beta 3.0
but I was having problems getting that one to work
earlier...

Yes, I assume I have something configured wrong on my
NFS server but I can't figure out what it could be,
especially since I can mount the directories from
other Linux PCs on the network.

Someone suggested that I should take out the nis
entrys in my nsswitch.conf file (which I did) and
maybe that would make it work (which it didn't).

I've also noticed a new behavior which might indicate
something to someone smarter than me - after the board
tries to mount the NFS server, showmount no longer
returns a response. I restart the NFS server (and
unplug the board), and showmount shows that
10.1.100.111 (the IP of the board) is mounted.

Any ideas?

Thanks,
Laura

--- Dan Malek <dan@mvista.com> wrote:
> Laura Dean wrote:
>
> > I expect this on the kernel I built from source,
> but I
> > was expecting the Hard Hat kernel to be mounting
> > /opt/hardhat/devkit/ppc/8xx/target. I assumed the
> > "option root-path" line in dhcpd.conf configured
> this.
>
> Version 2.0 DHCP doesn't work properly with some
> BOOTP
> clients, in particular when providing this
> "extended"
> type of information.  I suspect this may be the
> problem, and suggest you check out isc.org for
> information.
>
> I personally run Beta 3.0.
>
> It still looks like you may have some NFS related
> configuration problems on the server, too.
>
> Oh yeah, NFS root works fine, whether you recompile
> or
> use the ready made kernels.
>
> 	-- Dan


Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Mounting NFS on RPX-Lite - Solved!
  2001-04-17 14:10   ` Laura Dean
@ 2001-04-25 16:57     ` Laura Dean
  0 siblings, 0 replies; 4+ messages in thread
From: Laura Dean @ 2001-04-25 16:57 UTC (permalink / raw
  To: linuxppc-embedded


My problem was that upon mounting, NFS wanted to see a
name for the board (not sure why it needed this when
mounting by IP address - just one of those things, I
guess).  Adding this line to /etc/hosts fixed my
problem:

10.1.100.111 rpxlite

(where 10.1.100.111 is the IP address of the board)

Cheers,
Laura


--- Laura Dean <tralad@yahoo.com> wrote:
>
> Well, rebooting fixed the problem with trying to
> mount
> the wrong directory, maybe I should use DHCP Beta
> 3.0
> but I was having problems getting that one to work
> earlier...
>
> Yes, I assume I have something configured wrong on
> my
> NFS server but I can't figure out what it could be,
> especially since I can mount the directories from
> other Linux PCs on the network.
>
> Someone suggested that I should take out the nis
> entrys in my nsswitch.conf file (which I did) and
> maybe that would make it work (which it didn't).
>
> I've also noticed a new behavior which might
> indicate
> something to someone smarter than me - after the
> board
> tries to mount the NFS server, showmount no longer
> returns a response. I restart the NFS server (and
> unplug the board), and showmount shows that
> 10.1.100.111 (the IP of the board) is mounted.
>
> Any ideas?
>
> Thanks,
> Laura
>
> --- Dan Malek <dan@mvista.com> wrote:
> > Laura Dean wrote:
> >
> > > I expect this on the kernel I built from source,
> > but I
> > > was expecting the Hard Hat kernel to be mounting
> > > /opt/hardhat/devkit/ppc/8xx/target. I assumed
> the
> > > "option root-path" line in dhcpd.conf configured
> > this.
> >
> > Version 2.0 DHCP doesn't work properly with some
> > BOOTP
> > clients, in particular when providing this
> > "extended"
> > type of information.  I suspect this may be the
> > problem, and suggest you check out isc.org for
> > information.
> >
> > I personally run Beta 3.0.
> >
> > It still looks like you may have some NFS related
> > configuration problems on the server, too.
> >
> > Oh yeah, NFS root works fine, whether you
> recompile
> > or
> > use the ready made kernels.
> >
> > 	-- Dan
>
>
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-04-25 16:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-16 18:59 Mounting NFS on RPX-Lite Laura Dean
2001-04-16 22:43 ` Dan Malek
2001-04-17 14:10   ` Laura Dean
2001-04-25 16:57     ` Mounting NFS on RPX-Lite - Solved! Laura Dean

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.