Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Got two RTL8139 chipsets, first one loads, second one fails.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
ChojinDSL
l33t
l33t


Joined: 07 Jul 2003
Posts: 784

PostPosted: Thu Oct 20, 2005 9:22 pm    Post subject: Got two RTL8139 chipsets, first one loads, second one fails. Reply with quote

I migrated my gentoo server to a different machine. Anyways, I took all the relevant hardware out of the old machine and put it into the new one.

When I boot from the Gentoo LiveCD, then both NICs are correctly identified and setup as eth0 and eth1 using the 8139too module. However, when I boot my server using the most recent gentoo-sources kernel then only the first nic loads and activates, the second one gives me an error.

Code:

8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 12 (level, low) -> IRQ
eth0: RealTek RTL8139 at 0xdc00, 00:40:f4:31:71:26, IRQ 12
eth0:  Identified 8139 chip type 'RTL-8139C'
ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKD] -> GSI 10 (level, low) -> IRQ
PCI: Unable to reserve I/O region #1:100@de00 for device 0000:00:0b.0
Trying to free nonexistent resource <0000de00-0000deff>
Trying to free nonexistent resource <efffff00-efffffff>
8139too: probe of 0000:00:0b.0 failed with error -16


lspci -v
Code:

0000:00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: D-Link System Inc DRN-32TX
        Flags: bus master, medium devsel, latency 64, IRQ 12
        I/O ports at dc00 [size=256]
        Memory at effffe00 (32-bit, non-prefetchable) [size=256]
        Capabilities: [50] Power Management version 2

0000:00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
        Subsystem: Realtek Semiconductor Co., Ltd. RT8139
        Flags: bus master, medium devsel, latency 64, IRQ 10
        I/O ports at de00 [size=256]
        Memory at efffff00 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at effc0000 [disabled] [size=128K]
        Capabilities: [50] Power Management version 2


The livecd detects and activates both nics just fine, but in my actual gentoo installation, no dice. Any ideas?
Back to top
View user's profile Send private message
JSharku
Apprentice
Apprentice


Joined: 09 Feb 2003
Posts: 189
Location: Belgium

PostPosted: Fri Oct 21, 2005 12:28 am    Post subject: Reply with quote

Try adding two lines like this to your /etc/modules.autoload
Code:
8139too irq=10
8139too irq=12


Sharku
_________________
If only life were portage-driven:
Code:
USE="-bitch -in-laws nice gorgeous smart" emerge girlfriend
*sigh*
--
Open Source for Windows!
Back to top
View user's profile Send private message
ChojinDSL
l33t
l33t


Joined: 07 Jul 2003
Posts: 784

PostPosted: Fri Oct 21, 2005 8:14 am    Post subject: Reply with quote

Hi there. I tried what you said. I added those options to /etc/modules.autoload.d/kernel-2.6 but no dice. dmesg tells me "unknown parameter irq". Both nics failed to load and I had to manually modprobe 8139.

****update****

hmm, strange. I tried replacing the nic with a tulip based chipset, same situation. I even tried putting it in a different slot on the mobo, no difference. Then I took out a old isdn card I had in there, since I thought that maybe that was taking up some resources, but once again, same situation. In my system there is a graphic card, a Hauppauge PVR-350 and a RTL8139 nic card. Strangely, the livecd (in both cases) seems to be able to load both cards just fine.

By the way, here is the dmesg output with the tulip card inside as well.
Code:

8139too Fast Ethernet driver 0.9.27
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LNKC] -> GSI 12 (level, low) -> IRQ 12
eth0: RealTek RTL8139 at 0xdc00, 00:40:f4:31:71:26, IRQ 12
eth0:  Identified 8139 chip type 'RTL-8139C'
Linux Tulip driver version 1.1.13 (May 11, 2002)
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:00:0c.0[A] -> Link [LNKA] -> GSI 10 (level, low) -> IRQ 10
PCI: Unable to reserve I/O region #1:100@de00 for device 0000:00:0c.0


That last line puzzles me. Im guessing it must be something about my kernel config, since the liveCD is able to load both just fine. Maybe its just an issue with the current gentoo-sources kernel, who knows.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum