LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-18-2002, 12:32 PM   #1
jimval7
Member
 
Registered: Jan 2002
Location: Dallas, TX
Distribution: RedHat 7.0 - Kernel 2.4.17
Posts: 95

Rep: Reputation: 16
Angry UGHH! Building new kernel


I downloaded the newest "stable" kernel 2.4.17. I DO THE FOLLOWING:
make config
make dep
make clean
make bzImage
make modules
make modules_install

AND everything seemed fine. I made my changes to lilo and rebooted.

Everything looked good. Everything worked except my NICS!! The most important thing! I have 2 PCMICA Xircom cards, i looked at the message file and says:

modprobe: modprobe: Can't locate module eth0

Well, I located the modules my nics use on my old kernel and rebuilt the new kernel again, AND I made sure I selected the Xircom modules, which is x2ps_xxx.o I cant remember the xxx part but I know it was something like that. I MADE sure i selected it by hitting "y" when it asked me. SOOOOO i thought i got it, so i made my changes to lilo and rebooted, BUT I GOT THE SAME DANG THING!:
eth0 failed
modprobe: modprobe: Can't locate module eth0
eth1 failed
modprobe: modprobe: Can't locate module eth1

SO then i go check for the module in /lib/modules/2.4.17/kernel/drivers/net/ and only 2 .o files are there, and they are not for my NIC's. So then I look at the /etc/modules.conf file but nothing is there regarding my NICS.

i know which moule i need, can someone tell me how to install the NIC module? I know which one I need, and I also know the name of it, BUT how can I install that one freaking module?!!!

How can I install that one freaking module?!!!

Isn't there a command to install a certain module?

:smash:
 
Old 02-18-2002, 12:39 PM   #2
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
try compiling them directly into the kernel. make's life easier that way, so you don't have to mess around with loading the modules.

also, you might wanna replace "make bzImage" with "make bzlilo", i've found it's more consistent with compiling new kernels.
 
Old 02-18-2002, 12:43 PM   #3
jimval7
Member
 
Registered: Jan 2002
Location: Dallas, TX
Distribution: RedHat 7.0 - Kernel 2.4.17
Posts: 95

Original Poster
Rep: Reputation: 16
Angry I DO!!

I DO load them directly into the kernel, when it asks me i enter "y" i dont enter "m" for some reason my kernel will not put load the module.
 
Old 02-18-2002, 12:44 PM   #4
jimval7
Member
 
Registered: Jan 2002
Location: Dallas, TX
Distribution: RedHat 7.0 - Kernel 2.4.17
Posts: 95

Original Poster
Rep: Reputation: 16
Unhappy STILL NEED HELP!

OK, im running out of options here, I still need to know how to:

install that one freaking module?!!!

Isn't there a command to install a certain module?



:smash:
 
Old 02-18-2002, 01:42 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well what module do you want? you have to make sure it's selected as a module in the net drivers section (as i'm sure you're aware). you do know that "eth0" is not the module, but simply it's alias? check /etc/modules.conf to show the module name
 
Old 02-18-2002, 01:52 PM   #6
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Re: STILL NEED HELP!

Quote:
Originally posted by jimval7
OK, im running out of options here, I still need to know how to:

install that one freaking module?!!!

Isn't there a command to install a certain module?



:smash:
Hi,
Maybe a compilation as module and then
insmod module_name
Does it help?

Mara
 
Old 02-18-2002, 01:54 PM   #7
jimval7
Member
 
Registered: Jan 2002
Location: Dallas, TX
Distribution: RedHat 7.0 - Kernel 2.4.17
Posts: 95

Original Poster
Rep: Reputation: 16
Unhappy No solution yet?!

I need module x2ps_cw.o.


i know that eht0 and eth1 are aliases. I checked the /etc/modules.conf and nothing is in there for eth0 or eth1. I'm at a lost.
 
Old 02-18-2002, 01:56 PM   #8
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
check to see if you have that module even available in your /usr/src/linux directory.. usually under module directory in your linux source directory...

usually /usr/src/linux/modules..
 
Old 02-18-2002, 02:02 PM   #9
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,569

Rep: Reputation: 171Reputation: 171
Re: No solution yet?!

Quote:
Originally posted by jimval7
I need module x2ps_cw.o.


i know that eht0 and eth1 are aliases. I checked the /etc/modules.conf and nothing is in there for eth0 or eth1. I'm at a lost.
If you have the right module, you can add it to modules.conf.
 
Old 02-20-2002, 12:34 PM   #10
jimval7
Member
 
Registered: Jan 2002
Location: Dallas, TX
Distribution: RedHat 7.0 - Kernel 2.4.17
Posts: 95

Original Poster
Rep: Reputation: 16
Thumbs up Finally

OK, I finally got my NICS to work. I tried doing an insmod but that didn't work, so I recompiled my kernel and selected practically everything regarding PCMCIA and networking. I wish I would of found out what I was missing before but I was tired and wanted it to work. So incase anyone cares, they are working now. Now I can start on iptables, NAT, an QoS. Thanks for everyone's help. It really helped me.

 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building kernel module from multiple source file in 2.6 kernel yogeshwar_s Programming 1 12-20-2004 10:31 AM
Problems building a simple kernel module for kernel 2.6.7 atticman Linux - Software 2 12-13-2004 04:35 PM
Kernel building? microsoft/linux Linux - General 1 09-30-2004 08:46 PM
Building kernel mods for an existing kernel ugenn Linux - Software 2 10-06-2003 02:25 PM
UGHH! Building new kernel jimval7 Linux - Software 3 02-18-2002 01:52 PM


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

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