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 Sun 21 Dec 2014, 14:47
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 Posts_count  
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: 13644
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_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: 13644
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_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 ?

Edited_time_total
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13644
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_website 
MU


Joined: 24 Aug 2005
Posts: 13644
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  135 Time(s) 
Back to top
View user's profile Send_private_message Visit_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: 13644
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_website 
MU


Joined: 24 Aug 2005
Posts: 13644
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_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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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