Reply
Thread Tools
Posts: 2 | Thanked: 0 times | Joined on Jun 2007
#1
I have trouble getting NFS to run.
After studying many howtos on the web I am still struggeling..

my 770 runs with the OS 3.2006.49-2
my pc with Kubuntu 7.04

I have my cdrom drive shared via nfs on my pc.
The cd has a fat32 file system
Code:
~$ showmount -e 192.168.1.99
Export list for 192.168.1.99:
/media/share     192.168.1.0/255.255.255.0
/media/cdrom0    192.168.1.0/255.255.255.0
It can be mounted without a problem on the pc.
Code:
mount 192.168.1.99:/media/cdrom0 /home/t/tstmt
But when I try to mount it on the 770 all I get is:
Code:
~ $ sudo gainroot
Root shell enabled
..
mount 192.168.1.99:/media/cdrom0 /media/nfs
mount: Mounting 192.168.1.99:/media/cdrom0 on /media/nfs failed: No such device
What the heck does No such device mean?


The pc seems to have authorized the request.
On my pc I get in my /var/log/syslog (mini is my 770):
Code:
localhost mountd[10971]: authenticated mount request from mini:
677 for /media/cdrom0 (/media/cdrom0)
If anyone could help me with a link or a hint. Or a different way to
access my pc-files via net from the 770 I would be very gratefull.

tim
 
Posts: 5 | Thanked: 0 times | Joined on Jul 2007
#2
When using mount this error usually means that NFS is not in your kernel. I was under the impression from other things that I had read that nfs was included in the 770 kernel, but seeing as I am able to reproduce your problem exactly (including the server saying the mount was successful) just now, I am going to guess that it is not. Was NFS compiled out of the kernel for 3.2006.49-2?

edit: got it working, see next post!

Last edited by onlysolution; 2007-07-02 at 09:14.
 
Posts: 5 | Thanked: 0 times | Joined on Jul 2007
#3
I found some precompiled modules for the current kernel and got NFS working!
You need the kernel modules for NFS and the other mods it needs at http://fanoush.wz.cz/maemo/#mmcplus
get the tar.gz with the extra modules from the file from the line beginning with "ZIP file for 2.2006.39-14..." These modules will work with kernel 2.6.16.27 which is used in both 2.2006 and 3.2006 I believe.
You need sunrpc.ko, lockd.ko, and nfs.ko from that archive, and they can go in to the directory /lib/modules/2.6.16.27-omap1/ which you will probably need create.

Once you get those files on to your 770 issue the following commands to a root shell

Code:
insmod sunrpc.ko
insmod lockd.ko
insmod nfs.ko
you should now be able to mount nfs as you attempted before.
you can add the modules, one on each line without the extension to /etc/modules (you may need to create that file)

I would update the wiki with this info if my account could actually log in :\
 
Posts: 5 | Thanked: 0 times | Joined on Jul 2007
#4
also the nfs module appears to be in the package nfs-client-kernel-modules though I am not sure which repo this is in or if it will even show up in the application manager if your are not in Red Pill Mode (add repo with "matrix" as the url and hit cancel)
 
Posts: 2 | Thanked: 0 times | Joined on Jun 2007
#5
onlysolution, you are my hero!
it worked as you explained.
thanks a lot !
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 03:50.