LinuxQuestions.org
Visit Jeremy's Blog.
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
  Search this Thread
Old 09-01-2003, 07:59 PM   #1
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
ethernet card not working now after i compile


hey.
i just tried to compile the new 2.4.22 kernel. i am currently on a 2.4.18 kernel, which seems to work fine.

my problem is when i boot into the 2.4.22 one. and the ethernet card, which is a sis900 is found, but not , ummm ... for lack of a better word - used?

instead it finds some realtek rtl8201 card , then the sis900, and then at the end - no connection.

this is what dmesg gives when i boot the 2.4.22 kernel:

sis900.c: v1.08.06 9/24/2002
eth0: Unknown PHY transceiver found at address 0.
eth0: Realtek RTL8201 PHY transceiver found at address 1.
eth0: Unknown PHY transceiver found at address 2.
eth0: Unknown PHY transceiver found at address 3.
....
eth0: Unknown PHY transceiver found at address 31.
eth0: Using transceiver found at address 31 as default
eth0: SiS 900 PCI Fast Ethernet at 0xcc00, IRQ 5, 00:a0:cc:d9:57:3c.


and this is what the 2.4.18 kernel which works ok, gives :
sis900.c: v1.08.02 11/30/2001
PCI: Found IRQ 5 for device 00:04.0
eth0: Unknown PHY transceiver found at address 0.
eth0: Realtek RTL8201 PHY transceiver found at address 1.
eth0: Unknown PHY transceiver found at address 2
....
eth0: Unknown PHY transceiver found at address 31.
eth0: Using transceiver found at address 31 as default
eth0: SiS 900 PCI Fast Ethernet at 0xcc00, IRQ 5, 00:a0:cc:d9:57:3c.

can someone pls tell me what to do here? i am truly lost, and cant go ahead without gettin this kernel compiled. (

thnx a million.
 
Old 09-01-2003, 08:07 PM   #2
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
i just realized that even when it does connect the realtek card was detected anyway.
why would this happen?

also i remember during the first install of the system (i did the bf24 option for kernel 2.4), sis900 was not listed among the others, although it had detected it.
 
Old 09-01-2003, 11:48 PM   #3
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
someone, anyone?
 
Old 09-02-2003, 01:35 AM   #4
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
help!
 
Old 09-02-2003, 02:37 AM   #5
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
If you'r using hotplug and have a directory /etc/hotplug/ (or similar)
there should be a file blacklist - add the realtek card to the list in there and see what happens

or alternatively

compile your card into the kernel and not as a module, that's what I've done seeing as it's the only one likely to be used ever (unless it breaks then recompile again so..) and the only one I've compiled for.
 
Old 09-02-2003, 03:01 PM   #6
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
thnx for the reply - im not on my machine right now to try out ur first suggestion.
i did try compiling the card into the kernel and as a module as well. both attempts resulted in the same thing.
 
Old 09-02-2003, 03:07 PM   #7
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
wondering - did u face the exact same problem?
also, any idea why the thing does 32 tries b4 deciding on using it? even the 2.4.18 ver which detects eth0 does it - it detects the realtek card and somehow uses the sis900 one - but not after i compile a new kernel - it only detects realtek and sis900 , but doesnt do anything beyond.

also, can u tell me what the /etc/rc.d/rc.inet1 file would be. i definitely dont see it listed,. is it a file that im supposed to edit by hand?

thnx again.
 
Old 09-02-2003, 07:03 PM   #8
mvp
Member
 
Registered: Apr 2003
Distribution: Debian
Posts: 52

Rep: Reputation: 15
nm

Last edited by mvp; 09-02-2003 at 07:14 PM.
 
Old 09-03-2003, 10:23 PM   #9
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
ok, i got the eth card to working , but im not happy bout how i got it to work. heh.
i compiled it with the 2.4.18-bf24 kernel which is compiled when we first install debian.
i couldnt figure out wht was going wrong when i was compiling it on my own, and after a month, i think now, i just got it to use the config file which was first set during the install.

so, its working, but i have no clue what was going wrong and what is the one thing that was causing the problem.
 
Old 09-03-2003, 10:23 PM   #10
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
i forgot to mention - the 2.4.22 kernel is what i just built.
 
Old 11-14-2003, 08:07 PM   #11
ergunergin
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
Hello All,

I am having similar problem with recently installed Slackware 9.1 release. It was not after compiling a new kernel. But in my case kernel crashes when eth0 is started. If I boot without activating the eth0 I got the same messages during boot time:

sis900.c: v1.08.06 9/24/2002
eth0: Unknown PHY transceiver found at address 0.
eth0: Realtek RTL8201 PHY transceiver found at address 1.
eth0: Unknown PHY transceiver found at address 2.
eth0: Unknown PHY transceiver found at address 3.
....
eth0: Unknown PHY transceiver found at address 31.
eth0: Using transceiver found at address 31 as default
eth0: SiS 900 PCI Fast Ethernet at 0xec00, IRQ 5, <mac address>

than if I assign ip address, netmask and default router and start eth0 via ifconfig kernal hangs (no more keybord input, nothing is active except reset button). It is the same if I configure DHCP.

Can you explain in alitle bit more detail how did you compile a new kernel solving the problem (I am new to kernel compiling).

thanks,

Ergun..
 
Old 11-14-2003, 08:15 PM   #12
ergunergin
LQ Newbie
 
Registered: Nov 2003
Posts: 2

Rep: Reputation: 0
forgot to mention,

It used to be working perfectly with Redhat 8.1 but Redhat 9.0 is giving the same problem.

Ergun...
 
  


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
Cannot seem to get ethernet card working. Help!! MikeyS Linux - Newbie 7 08-18-2005 07:46 AM
ethernet card not working joshyjosh1289 Linux - Hardware 5 02-21-2005 03:48 PM
ethernet card not working Dasc Linux - Hardware 3 08-13-2004 11:21 AM
ethernet card not working deca Linux - Networking 8 07-29-2003 04:20 PM
compile source code ethernet card [lindows] lexy Linux - Newbie 5 10-11-2002 04:04 PM


All times are GMT -5. The time now is 12:50 PM.

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