MODPROBE meets ncpfs

Booting, installing, newbie
Post Reply
Message
Author
rjackson
Posts: 9
Joined: Tue 14 Mar 2006, 22:32

MODPROBE meets ncpfs

#1 Post by rjackson »

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?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

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

rjackson
Posts: 9
Joined: Tue 14 Mar 2006, 22:32

Well Hidden

#3 Post by rjackson »

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

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#4 Post by MU »

usually .o or .o.gz

rjackson
Posts: 9
Joined: Tue 14 Mar 2006, 22:32

Murkier and Murkier

#5 Post by rjackson »

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, 23:58, edited 1 time in total.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#6 Post by MU »

.ko is a module for the 2.6 Kernel.
Puppy uses 2.4.
Does "make" finish without errors?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#7 Post by MU »

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

is available somewhere on the downloadpage (kernelmodules).
Here is this single module attached.
Attachments
ncpfs.tar.gz
(21.75 KiB) Downloaded 215 times

rjackson
Posts: 9
Joined: Tue 14 Mar 2006, 22:32

More Magic Needed

#8 Post by rjackson »

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.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#9 Post by MU »

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

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#10 Post by MU »

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: Select all

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: Select all

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

rjackson
Posts: 9
Joined: Tue 14 Mar 2006, 22:32

Problem Solved

#11 Post by rjackson »

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:

Post Reply