LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 12-10-2003, 08:44 AM   #1
toastermaker
Member
 
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219

Rep: Reputation: 30
modules.conf doesnt load 8211.o at boot


I can load 8211.o if I cd to the folder where I "made" it originally and do "insmod".
I have inserted "alias eth1 8211.o" into modules.conf but the driver doesnt load at boot.

8211.o is a wireless driver for eth1

eth0 and eth1 are both shown during bootup but only eth0 "loads" OK. Eth1 "fails"

I've seen a post about rc.d but they were talking about slack.

Do I need to put 8211.o somewhere special so modules.conf can find it?

Any help greatly appreciated
 
Old 12-10-2003, 08:51 AM   #2
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Try copying the 8211.o file to /lib/modules/<kernel version>/kernel/drivers/net
then do a "/sbin/depmod -a"
then put
alias eth1 8211
in modules.conf
 
Old 12-10-2003, 04:02 PM   #3
toastermaker
Member
 
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219

Original Poster
Rep: Reputation: 30
Thanks Demonbane.

This is how I copied the 8211.o driver to /lib/modules/2.4.22-10mdk/kernel/drivers/net :

[root@localhost teabear]# cp /tmp/ADM8211/8211.o /lib/modules/2.4.22-10mdk/kernel/drivers/net

Then I did depmod like so :
[root@localhost teabear]# /sbin/depmod -a
And got the output :
depmod: *** Unresolved symbols in /lib/modules/2.4.22-10mdk/kernel/drivers/net/8211.o

The driver still doesnt load at boot.
I look in /<path>/net and 8211.o is there.
I notice everything else in "/net" has a .gz ? Is 8211.o supposed to be zipped or something?

I have found some old posts that appear similar to my situation. The most to the point of the posts I found follows :

Quote:

Thanks to your help, I can load the "8211" module before the system "Bringing up the interface eth0" now.

I did so by adding a file called "ADMtek" in the /etc/rc.d/init.d with the mere statement

insmod -f /lib/modules/2.4.20-18.7/kernel/drivers/net/pcmcia/8211.o

and then created a soft link "S09ADMtek" in the /etc/rc.d/rc3.d that points to the "ADMtek" file. Certainly, I had to "chmod 'a+x' ADMtek" to make it a executable file. Now I have internet access as soon as a log in as any user.

End Quote.

I also found more than one reference to "unresolved symbols" warning, after copying 8211.o to /<path>/net and then doing depmod-a. The posts said 8211.o still works even when the "unresolved symbols" warning comes out of depmod-a.

What else might I try to get driver to load at boot?

Help is greatly appreciated!

Last edited by toastermaker; 12-10-2003 at 04:05 PM.
 
Old 12-10-2003, 10:10 PM   #4
Demonbane
Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
hmm if invoking
/sbin/insmod -f /lib/modules/2.4.22-10mdk/kernel/drivers/net/8211.o
works for you, I suppose you can do what he did as well, make a file which contains just the above command, make it executable, then make a symlink to your runlevel directory
(probably /etc/rc.d/rcX.d for Mandrake, can't remember on top of my head), do it for runlevel 3,4, and 5. The runlevel scripts run in ascending number order with regard to their name so make sure you name the symlink something like S008211.
 
Old 12-11-2003, 04:36 PM   #5
toastermaker
Member
 
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219

Original Poster
Rep: Reputation: 30
Very exellent Demonbane,

It now loads at boot. The only different thing about it is during boot a new line comes up with all the rest - "starting admtek" followed by "OK" (great!) then two lines later the normal "starting eth1" comes up and pauses for a few seconds then outputs the error msg " sorry, another instance of eth1 is already loaded" ( or words to that effect ) then everything moves on fine.

Not a problem at the moment, I dont want to take the time right now to try to correct that because I'm in a rush to get wireless configured and "up and running"

Not that it would really be a problem anyway, its just that later on, when I have time I want to start taking measures to cause the quickest boot I can.

Extreme thanks to you Demonbane.

Continued gratitude to all those who help us newbies
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conf.modules Vs Modules.conf Issue, lost eth0 initialization LinuxFreebie41 Linux - General 3 11-04-2004 06:02 AM
boot loader doesnt load ryan00davis Linux - General 2 04-27-2004 09:44 PM
Linux doesnt boot after showing finding modules OK status praveenk13 Linux - Software 0 02-26-2004 11:04 PM
Grub boot loader doesnt load (but soo close) Boomba Linux - Newbie 5 01-19-2004 12:55 AM
modules.conf - Cannot get modules to load automatically gundelgauk Linux - General 1 12-27-2003 11:27 PM


All times are GMT -5. The time now is 10:39 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration