LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 09-08-2003, 10:39 AM   #1
andy18
Member
 
Registered: Oct 2002
Location: Malaysia
Posts: 106

Rep: Reputation: 15
eth0 failed to start after kernel compile


Hi,

I just compile the kernel to 2.4.22 and the Network LAN failed to start :

When I have login to the root shell, it prompted :

Perhaps iptables or your kernel need to be upgraded
iptables v1.2.8 : can't initialize iptables table 'filter' : iptables who?( do you need to insmod?)

Running ifconfig eth0 returns the below error message :

eth0:error fetching interface info : Device not found.

I have also tried lspci and the LAN driver seems to be detected but when tried the lsmod command, no modules are listed.

I have tried the installation of the LAN modules from the motherboard CD driver but no success :

************************************************SiS900 Fast Ethernet Adapters Linux Driver Install Documentation
Jun 6, 2002

**Before install this driver, you should make sure that your kernel had
enable " SiS 900/7016 PCI Fast Ethernet Adapter support " !

This driver is for kernel RedHat kernel 2.4.x or 2.5.x. You can install this driver
follow steps descributed below. In following case, we use kernel 2.4.19 for example

1> Copy sis900.c and sis900.h to /usr/src/2.4.19/drivers/net/ and replace old ones

2> Compile the driver module:

[root@/usr/src/2.4.19]# make modules;make modules_install

The binary will be installed as:

/lib/modules/2.4.19/kernel/drivers/net/sis900.o

3> Reboot your computer

4> Install the module:

[root@/lib/modules/2.4.19/kernel/drivers/net]# insmod sis900.o

5> Assign an IP address to the interface by entering the following, where <x>
is interface number:

ifconfig ethx <IP_address>

6> Verify that the interface works. Enter the following, where <IP_address>
is the IP address for another machine on the same subnet as the interface
that is being tested:

ping <IP_address>

************************************************


After I follow the step 2 and rebooted the PC, the compilation seems to be failed and I am unable to find the file sis900.0 in the /lib/modules/2.4.19/kernel/drivers/net/ directory.


Please advise...Thanks
 
Old 09-08-2003, 06:25 PM   #2
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 114Reputation: 114
Quote:
After I follow the step 2 and rebooted the PC, the compilation seems to be failed and I am unable to find the file sis900.0 in the /lib/modules/2.4.19/kernel/drivers/net/ directory.
*shrug* failed compilation means no driver. Fix the compilation.

Or else get an earlier version driver and try it.

Are there other drivers in that directory?
 
Old 09-08-2003, 08:45 PM   #3
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 45
i had the sam eproblems as u do.
the thing with those sissy900s is that it's probably some other module thats screwing it up.
i had built it into the kernel, blah blah.

the only thing that worked was:
i copied the config file from my previous install which was reading the card fine, and built the kernel using that.
then just go thro the modules, and remove the ones u think u definitely dont need, leaving u with ...
 
Old 09-09-2003, 09:32 AM   #4
andy18
Member
 
Registered: Oct 2002
Location: Malaysia
Posts: 106

Original Poster
Rep: Reputation: 15
Hi,

Thanks for the advise.

I fixed by recompiling the kernel as it was my mistakes during the compilation as not added the on-board Ethernet card controller support.

The eth0 is not detected and I was able to connect to the internet.But I still get the iptables error :

Perhaps iptables or your kernel need to be upgraded
iptables v1.2.8 : can't initialize iptables table 'filter' : iptables who?( do you need to insmod?)

Thanks
 
  


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
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 01:59 PM
kernel 2.6.8 compile error mkinitrd failed mcalizo Linux - Software 0 11-30-2004 01:58 AM
eth0: [Failed] antiliphe Linux - Networking 1 09-17-2004 05:09 PM
Eth0 & Eth1 boot start Up FAILED.. PAOLO_GRS Linux - Networking 1 09-03-2004 07:18 PM
Bringing up interface eth0: determining ip information for eth0... failed ralphethomas Linux - Networking 0 01-24-2004 05:33 PM


All times are GMT -5. The time now is 11:44 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