Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 02 Sep 2014, 13:33
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
MODPROBE meets ncpfs
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
rjackson

Joined: 14 Mar 2006
Posts: 9

PostPosted: Tue 14 Mar 2006, 18:42    Post subject:  MODPROBE meets ncpfs  

I have compiled and installed the ncpfs and novelclient but when I try to
login via novelclient, it fails and I see:

daemon.err modprobe: modprobe: Can't locate module net-pf-4
daemon.err modprobe: modprobe: Can't locate module ncpfs
daemon.err modprobe: modprobe: Can't locate module net-pf-4

in my /var/log/messages file.

Any suggestions?
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 14 Mar 2006, 19:00    Post subject:  

Puppy deletes /lib/modules at reboot.
Try to move your modules after compilation to /usr/lib/modules , as only /usr and /etc is persistent.
If that should fail, you would have add a "cp /root/my-modulesbackup/xxx.o /lib/modules/" in /etc/rc.d/rc.local so that they are copied to the right location at boot.

Mark
Back to top
View user's profile Send private message Visit poster's website 
rjackson

Joined: 14 Mar 2006
Posts: 9

PostPosted: Tue 14 Mar 2006, 19:09    Post subject: Well Hidden  

Being new to this module game...
What file extension do modules have?
I see a .pot and a .lsm for ncpfs, but nothing for a net-pf-4
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 14 Mar 2006, 19:16    Post subject:  

usually .o or .o.gz
Back to top
View user's profile Send private message Visit poster's website 
rjackson

Joined: 14 Mar 2006
Posts: 9

PostPosted: Tue 14 Mar 2006, 19:35    Post subject: Murkier and Murkier  

On a Suse Linux 10.0 distribution with a working ncpfs and novelclient installation, I do see a

/lib/modules/2.6.13-15.8-default/kernel/fs/ncpfs/ncpfs.ko

and a

/usr/share/locale/*/LC_MESSAGES/ncpfs.mo

but not ncpfs*.o or net-pf-4*.o

In my Puppy tree, I see

/root/my-applications/lib/libncp.so*

Could this have anything to do with configuring with --prefix=/root/my-applications instead of something like / or /usr/local ?

Last edited by rjackson on Tue 14 Mar 2006, 19:58; edited 1 time in total
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 14 Mar 2006, 19:56    Post subject:  

.ko is a module for the 2.6 Kernel.
Puppy uses 2.4.
Does "make" finish without errors?
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 14 Mar 2006, 20:04    Post subject:  

/lib/modules/2.4.29/fs/ncpfs/ncpfs.o

is available somewhere on the downloadpage (kernelmodules).
Here is this single module attached.
ncpfs.tar.gz
Description 
gz

 Download 
Filename  ncpfs.tar.gz 
Filesize  21.75 KB 
Downloaded  130 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
rjackson

Joined: 14 Mar 2006
Posts: 9

PostPosted: Tue 14 Mar 2006, 20:19    Post subject: More Magic Needed  

Thank you for the ncpfs.o file.
I put it in /usr/lib/modules

Is there some more magic needed to avoid the:

Mar 14 16:44:24 (none) daemon.err modprobe: modprobe: Can't locate module ncpfs

var/log/message entry.

Please forgive my wealth of ignorance.
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 14 Mar 2006, 20:45    Post subject:  

Did you run modprobe from a console?

modprobe ncpfs
Does it give errors?
As I said, if you reboot, the module is not there any more.
See this thread, too:
http://www.murga.org/~puppy/viewtopic.php?t=6716
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Tue 14 Mar 2006, 20:59    Post subject:  

I would try:

create a folder /root/ncpfs and copy the file there, so you have

/root/ncpfs/ncpfs.o

then add these lines after the first one to
/etc/rc.d/rc.local

Code:
mkdir /lib/modules/2.4.29/fs/ncpfs
cp  /root/ncpfs/ncpfs.o   /lib/modules/2.4.29/fs/ncpfs/ncpfs.o


Then reboot.
Now it should be possible for the daemon to load it.
Maybe (I am no expert in this) you also need these lines after the ones above:

Code:
echo "">>/lib/modules/2.4.29/modules/dep
echo "/lib/modules/2.4.29/fs/ncpfs/ncpfs.o : ">>/lib/modules/2.4.29/modules.dep
echo "">>/lib/modules/2.4.29/modules/dep


I needed such an entry for another module.
Mark
Back to top
View user's profile Send private message Visit poster's website 
rjackson

Joined: 14 Mar 2006
Posts: 9

PostPosted: Wed 15 Mar 2006, 13:56    Post subject: Problem Solved  

Mark,

Thank you for the file and the suggestions.

After some trial and error, the following now works on my Puppy Hard Drive installation:

Added file:

/lib/modules/2.4.29/fs/ncpfs.o.gz

Added line to modules.dep

/lib/modules/2.4.29/fs/ncpfs.o.gz:
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0617s ][ Queries: 13 (0.0098s) ][ GZIP on ]