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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-10-2003, 09:44 AM
|
#1
|
Member
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219
Rep:
|
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
|
|
|
12-10-2003, 09:51 AM
|
#2
|
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796
Rep:
|
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
|
|
|
12-10-2003, 05:02 PM
|
#3
|
Member
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219
Original Poster
Rep:
|
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 05:05 PM.
|
|
|
12-10-2003, 11:10 PM
|
#4
|
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796
Rep:
|
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.
|
|
|
12-11-2003, 05:36 PM
|
#5
|
Member
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 12:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|