LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-13-2003, 12:42 PM   #1
markjuggles
Member
 
Registered: Nov 2003
Location: Chicago western suburbs
Distribution: Linux Mint
Posts: 75

Rep: Reputation: 15
Realtek 8139 ethernet and new kernel


Hi,

I have a HP Pavilion 510n with an i810 Sound Chipset and an RTL8139 ethernet card.
The Debian 3.0 installed kernel does not recognize my sound card but the ethernet is ok.
When I rebuild the kernel with the i810 and the RTL8139 configured, sound is ok but ethernet is not.

Here is my lspci:

00:00.0 Host bridge: Intel Corp. 82810E GMCH [Graphics Memory Controller Hub] (rev 03)
00:01.0 VGA compatible controller: Intel Corp. 82810E CGC [Chipset Graphics Controller] (rev 03)
00:1e.0 PCI bridge: Intel Corp. 82801AA PCI Bridge (rev 02)
00:1f.0 ISA bridge: Intel Corp. 82801AA ISA Bridge (LPC) (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801AA IDE (rev 02)
00:1f.2 USB Controller: Intel Corp. 82801AA USB (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801AA AC'97 Audio (rev 02)
01:0a.0 Communication controller: Conexant HCF 56k Data/Fax Modem (rev 89)
01:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 10)


Here are some greps from 'dmesg' for the two kernels:

Custom kernel, "eth0" (broken)
-----------------------------------
eth0: RealTek RTL8139 Fast Ethernet at 0xd0800000, 00:e0:18:4c:a9:d2, IRQ 9
eth0: Identified 8139 chip type 'RTL-8139B'
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.

Debian kernel, "eth0" (works)
---------------------------------
eth0: RealTek RTL8139 Fast Ethernet at 0xd081a000, 00:e0:18:4c:a9:d2, IRQ 9
eth0: Identified 8139 chip type 'RTL-8139B'
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.

Custom kernel, "8139" (broken)
-----------------------------------
8139too Fast Ethernet driver 0.9.24
eth0: RealTek RTL8139 Fast Ethernet at 0xd0800000, 00:e0:18:4c:a9:d2, IRQ 9
eth0: Identified 8139 chip type 'RTL-8139B'
8139cp 10/100 PCI Ethernet driver v0.0.6 (Nov 19, 2001)
8139cp: pci dev 01:0d.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
8139cp: Try the "8139too" driver instead.

Debian kernel, "8139" (works)
-----------------------------------
8139cp 10/100 PCI Ethernet driver v0.0.6 (Nov 19, 2001)
8139cp: pci dev 01:0d.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
8139cp: Try the "8139too" driver instead.
8139too Fast Ethernet driver 0.9.24
eth0: RealTek RTL8139 Fast Ethernet at 0xd081a000, 00:e0:18:4c:a9:d2, IRQ 9
eth0: Identified 8139 chip type 'RTL-8139B'

It looks about the same to me except the order in which the 8139cp driver is rejected.
Since it's an 8139B card, rejecting the 8139cp driver is ok.

Can you provide any clues?

Thanks,

Mark
 
Old 12-13-2003, 09:45 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
I would say make an alias to tell the system to use the 8139too for eth0. Open /etc/modutils/aliases and add the following lines:
Code:
## Added by me to force eth0 to use the correct module
alias eth0 8139too
Then run update-modules to update the /etc/modules.conf and reboot.
 
Old 12-14-2003, 12:56 PM   #3
markjuggles
Member
 
Registered: Nov 2003
Location: Chicago western suburbs
Distribution: Linux Mint
Posts: 75

Original Poster
Rep: Reputation: 15
Unhappy

Thanks, but that didn't help.

My guess is that the kernel does choose the 8139too driver -- it just doesn't work.

Any other ideas??

Mark
 
Old 12-14-2003, 02:28 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
Quote:
Originally posted by markjuggles
Thanks, but that didn't help.

My guess is that the kernel does choose the 8139too driver -- it just doesn't work.

Any other ideas??

Mark
Recompile the kernel with the 8139too module and no 8139cp then it has to use the correct module.
 
Old 12-15-2003, 09:04 AM   #5
markjuggles
Member
 
Registered: Nov 2003
Location: Chicago western suburbs
Distribution: Linux Mint
Posts: 75

Original Poster
Rep: Reputation: 15
Unhappy

Yep, done that too.

I was going through the code and found a pointer to its homepage. There is a slightly newer version of the driver available from sourceforge. After downloading and compiling, I got some errors. Make clean didn't help.

I will try compiling the new driver as a module....

Mark
 
  


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
Mandrake 10.2 Realtek 8139 Ethernet unable to connect SgC.9711 Linux - Newbie 20 10-11-2005 01:33 AM
RealTek RTL8129/8139 Fast Ethernet tom_from_van Linux - Networking 15 08-16-2005 12:24 PM
Ethernet Card Realtek 8139 not working on MDK 10.1 community [MDK]NooB Mandriva 3 05-10-2005 02:54 PM
problem with two realtek 8139 ethernet cards w3bbuilder Linux - Newbie 1 08-15-2003 03:46 PM
realtek 8139 ethernet port problem. poortl9109 Linux - Networking 10 01-09-2003 11:07 AM


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