LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 05-08-2009, 04:22 AM   #1
cmrnaidu
LQ Newbie
 
Registered: Jun 2006
Posts: 15

Rep: Reputation: 0
loading module through NFS


Hi all,

I'm trying to load the module using the NFS, I can mount using the NFS without any problem, but I couldn't load the module.


uclibc[/]# mount -o nolock 192.168.0.104:/tango /tango
uclibc[/]# cd /tango/
uclibc[tango]# ls
llad.ko* sdk.tgz*
uclibc[tango]# insmod llad.ko
nfs: server 192.168.0.104 not responding, still trying
nfs: server 192.168.0.104 not responding, still trying

and the system hanged.


vi /etc/exports
/tango 192.168.0.10(rw)

Please say me the solution about this.
 
Old 05-08-2009, 10:00 AM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Change this:
Quote:
/tango 192.168.0.10(defaults)
to this:
Quote:
/tango 192.168.0.10(defaults)
Also, have you setup the hosts.allow and hosts.deny files correctly?
 
Old 05-10-2009, 07:22 PM   #3
cmrnaidu
LQ Newbie
 
Registered: Jun 2006
Posts: 15

Original Poster
Rep: Reputation: 0
HI Irishbitte,

I can't understand, what do you mean in changing.
Change this:
Quote:
/tango 192.168.0.10(defaults)

to this:
Quote:
/tango 192.168.0.10(defaults)
as both looks same !!
 
Old 05-11-2009, 01:29 AM   #4
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
My apologies. I meant, change this
Quote:
/tango 192.168.0.10(rw)
to this:
Code:
/tango 192.168.0.10(defaults)
You really should look in more detail how to setup your NFS exports, and you need to make sure your hosts.allow and hosts.deny files are setup correctly. If you do some reading, you will find that setting up NFS takes about ten minutes! This is a good Howto: http://nfs.sourceforge.net/nfs-howto/ar01s03.html, enjoy!
 
Old 05-13-2009, 06:14 AM   #5
kirany
Member
 
Registered: Feb 2007
Posts: 30

Rep: Reputation: 15
Hi,

I am working on a embedded linux project which doesn't have any in-built tools for debugging my application. I read plenty of options and got interest in NFS setup. can anyone put some light on this how and in what manner NFS can be used for embedded application debugging?

thanks and regards
kiran
 
Old 05-14-2009, 05:43 AM   #6
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
The way I would do it is mount a filesystem like for example: /srv/bin on the embedded unit as /usr/bin on the server, then add /srv/bin to the PATH variable on the embedded application. That way, you can install all tools/utilities/apps for debugging on the server path /usr/bin, and you will have access to them on the embedded application. Just a thought?
 
Old 05-14-2009, 09:32 AM   #7
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
can you copy stuff via nfs ?

maybe sshfs will play more nicely.
 
Old 05-14-2009, 07:27 PM   #8
cmrnaidu
LQ Newbie
 
Registered: Jun 2006
Posts: 15

Original Poster
Rep: Reputation: 0
NFS Load module fixed but ..

Hi All,

I have fixed this loading module with NFS by connecting my client directly to the server,but previously both are connected in LAN.when i connect my client with another person server through LAN it works fine, but i can't understand why its not working with mine server, may be vmware setting problem ??

Thanks alot,
Naidu
 
Old 05-15-2009, 01:20 AM   #9
kirany
Member
 
Registered: Feb 2007
Posts: 30

Rep: Reputation: 15
Hi,
Can you give more details on this. how tools installed in /usr/bin in server will be accessable to /srv/bin in embedded unit?

regards
kiran
 
Old 05-15-2009, 08:47 PM   #10
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
kirany, it's only an idea. I would propose mounting server:/usr/bin on unit:/srv/bin. On unit, add /srv/bin to the system path. That way, when the NFS mount is in place, the tools in server:/usr/bin are accessible, and when the unit is off network, there are no diagnostic tools available. I haven't done this myself, it's only one idea of a possible route to take.
 
Old 05-15-2009, 08:48 PM   #11
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
cmrnaidu: I doubt it's anything to do with vmware settings, more likely your NFS /etc/exports file is set up incorrectly.
 
  


Reply

Tags
nfs



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS , Loading module cmrnaidu Linux - Kernel 1 04-18-2009 06:01 PM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-27-2004 11:40 PM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM
module loading moojuece Slackware 7 08-06-2003 04:16 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 06:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration