LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 11-18-2001, 01:52 AM   #1
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 468

Rep: Reputation: 30
New kernel wont locate the eth0 module


I have a SuSE 7.0 with 2.2.16 kernel.
I compiled and installed a new kernel for it (2.4.14). While booting up, I see the message
"modprobe: can't locate module eth0".

While building the kernel, I believe I have taken enough precautions to enable the network support. While in xconfig,

In the 'Network device support'
Set the 'Network device support to 'y'.
set the 'dummy net driver support to 'y'
set the 'ethernet (10 or 100 mbit) to 'y'
set y to 'hp 10/100VG pclan (ISA, EISA, PCI) support'
(I have an HP EN1207D-TX PCI 10/100 Fast Ethernet Adapter).

Inspite of this, the kernel still says it can't module eth0 while booting.

Can someone help me solve this problem, please?

I also saw in xconfig, a way to save your configuration file or to use someother configuration file. I want to know if I can use such a file generated with I installed OS for the first time. If yes, which is that file? Is it /etc/modules.conf?

Thanks,
Ravi
 
Old 11-18-2001, 02:10 AM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
you can put an alias in /etc/modules.conf

[david@microdot david]$ cat /etc/modules.conf
alias eth0 3c59x
alias eth1 3c59x

if your kernel is 2.4.9-14 then
see if you have a folder 2.4.9-14 in /lib/modules/

check modules.dep in that folder

[david@microdot 2.4.9-12]$ cat modules.dep | grep 3c59x
/lib/modules/2.4.9-12/kernel/drivers/net/3c59x.o:


if not you need to find the driver

[david@microdot 2.4.9-12]$ slocate 3c59x.o
/lib/modules/2.4.9-6/kernel/drivers/net/3c59x.o
/lib/modules/2.4.9-12/kernel/drivers/net/3c59x.o

if it's not in the /lib/modules/2.4.9-14/kernel folder somewhere you need to put it there.

then depmod or insmod it, whatever works.

run depmod -a
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Locate Module wlan0 mattp Linux - Laptop and Netbook 34 02-28-2005 11:16 AM
Can't locate module cdrom cparx Linux - Newbie 4 04-20-2004 05:56 PM
modprobe?! can't locate Module?! DjRedMar Linux - Software 1 10-19-2003 02:55 PM
can't locate module in @INC john lee Programming 1 06-05-2002 11:12 AM
No modem after kernel upgrade: Modprobe can't locate module char-major-4 Rimmer Linux - General 2 05-09-2001 03:40 AM


All times are GMT -5. The time now is 07:18 PM.

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