RE: [uCsimm] can't mount with RedHat 6.0

From: Stu (doktor1@earthlink.net)
Date: Fri Jan 21 2000 - 06:36:56 EST


I never use rhosts... maybe I should? :)

iMax, make sure you're running (at a minimum) portmap, nfsd, and mountd. On
a Debian system, it looks like this:

  309 ? S 0:00 /sbin/portmap
  313 ? S 0:00 /usr/sbin/rpc.nfsd
  315 ? S 0:00 /usr/sbin/rpc.mountd

(You have to be running portmap first.)

At a minimum, running rpcinfo -p should display this:

   program vers proto port
    100000 2 tcp 111 portmapper
    100000 2 udp 111 portmapper
    100003 2 udp 2049 nfs
    100003 2 tcp 2049 nfs
    100005 1 udp 916 mountd
    100005 2 udp 916 mountd
    100005 1 tcp 919 mountd
    100005 2 tcp 919 mountd

When you have successfully mounted something with the uCsimm, you should see
this in /var/log/syslog (/var/log/messages on redhat?) on the host machine:

Jan 20 22:41:33 my_server's_name mountd[315]: NFS mount of
/usr/local/projects/ramdisk attempted from 192.168.1.1
Jan 20 22:41:33 my_server's_name mountd[315]: /usr/local/projects/ramdisk
has been mounted by 192.168.1.1

If it hangs somehow, you can do this:

strace -p 309 (or 313 or 315), where 303, 313, and 315 are the PIDs of
portmap, nfsd, and mountd. This will show you all the syscalls that the
given PID is doing. That way, if it hangs on trying to resolve an IP address
to a DNS name, you can see it. (It'll say gethostbyaddr or something.)

Hope that works...

    - Stu

 ----Original Message-----
From: owner-ucsimm@uClinux.com [mailto:owner-ucsimm@uClinux.com]On Behalf Of
Tom Walsh
Sent: Thursday, January 20, 2000 11:31 PM
To: ucsimm@uClinux.com
Subject: Re: [uCsimm] can't mount with RedHat 6.0

 iMax Tech Engineering wrote:
     Hi, I have tried to mount uCsimm to RedHat 6.0 workstation. I have
tried everything with etc/exports and set the IP of workstation to be
192.168.1.11 but no success. I have mounted success with Slackware 3.6.
Please help Thanks in advance. CC
  Did you mention the uCsimm IP in /etc/hosts then made an entry in
/root/rhosts for the hostname associated with the IP of the uCsimm?
  I commonly forget to update the rhosts file, someday I'll remember..

  T
  omW

--
Tom Walsh - Embedded Systems Consultant - tom over_at mytoys(.)com
'www.mytoys.com', 'www.openhardware.net', 'www.cyberiansoftware.com'
"Windows? No thanks, I have work to do..."

This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/



This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:34 EST