Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
insmod 3c59x works, modprobe 3c59x fails !
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
danzvash
n00b
n00b


Joined: 01 May 2002
Posts: 62
Location: London, UK

PostPosted: Thu Jan 23, 2003 11:24 am    Post subject: insmod 3c59x works, modprobe 3c59x fails ! Reply with quote

Now why would this be the case?
I just upgraded my kernel from gentoo-2.4.19 to vanilla-2.4.20, and in so doing I compiled my 3Com Corporation 3c905C-TX/TX-M [Tornado] NIC as a module, as I usually do.
As a result, after make modules_install, the driver (3c59x.o) was sitting happily in /lib/modules/2.4.20/kernel/drivers/net/. And "modinfo 3c59x" gives correct output.
(I also ensured /etc/modules.autoload still had the "3c59x" entry before rebooting)
However, when I rebooted, the network start failed (and hence all the net-related daemons) because, I found, that the module "3c59x" was not located. When I tried

# modprobe 3c59x

.. I received

modprobe: Can't locate module 3c59x

.. even though modinfo could! Why oh why oh why?

"insmod 3c59x" works fine. But then I have to start all my net-daemons manually!
Now I am compiling the 3c59x into the kernel (not as a module) in the hope that it will work.
But this is a DIRTY SOLUTION, and I SHOULD NOT HAVE TO DO THIS. Surely?

Others may have had this problem:

https://forums.gentoo.org/viewtopic.php?t=365
https://forums.gentoo.org/viewtopic.php?t=17581
https://forums.gentoo.org/viewtopic.php?t=9212
https://forums.gentoo.org/viewtopic.php?t=19142
Back to top
View user's profile Send private message
danzvash
n00b
n00b


Joined: 01 May 2002
Posts: 62
Location: London, UK

PostPosted: Thu Jan 23, 2003 1:35 pm    Post subject: Reply with quote

Just to confirm, compiling the 3c95x driver into the kernel worked OK, allowing the network interface to be activated at boot time.

So the question remains: why does "modprobe 3c59x" fail?
Back to top
View user's profile Send private message
Praxxus
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 193
Location: Indiana, US

PostPosted: Thu Jan 23, 2003 7:14 pm    Post subject: Reply with quote

Try tossing a depmod -a command in after you make modules_install.

It looks like your module dependencies aren't getting re-built, so "modprobe" doesn't know what to do. Is
_________________
My glaucoma just got worse!
Back to top
View user's profile Send private message
danzvash
n00b
n00b


Joined: 01 May 2002
Posts: 62
Location: London, UK

PostPosted: Sat Jan 25, 2003 4:45 pm    Post subject: Reply with quote

thanks for the tip, Praxxus - I will try this next time and see if it resolves the issue....
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
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