Skip to contentSkip to conversation

r8169 and region #2 not an MMIO resource

DISCUSSION Libor Klepáč 2 participants 6 messages Nov 1, 2006 – Nov 5, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Good day,

i have build computer with msi MS-7235 motherboard, it has r8169 chip onboard i'm using kernel version 2.6.18 from debian (and i also rebuild kernel without NAPI).
When i modprobe module , dmesg says

r8169 Gigabit Ethernet driver 2.2LK loaded
PCI: Enabling device 0000:03:06.0 (0000 -> 0003)
ACPI: PCI Interrupt 0000:03:06.0[A] -> GSI 21 (level, low) -> IRQ 201 r8169 0000:03:06.0: region #2 not an MMIO resource, aborting

lspci says (there is no region 2? )

0000:03:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169SC Gigabit Ethernet (rev 10)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 235c
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 201
Region 0: I/O ports at cc00 [disabled] [size=256]
Region 1: Memory at fd7fd000 (32-bit, non-prefetchable) [disabled]
[size=256]
Expansion ROM at fde20000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA
PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

when i build r1000 driver, dmesg says
PCI: Enabling device 0000:03:06.0 (0000 -> 0003)
ACPI: PCI Interrupt 0000:03:06.0[A] -> GSI 21 (level, low) -> IRQ 201
eth1: Identified chip type is 'RTL8169SC/8110SC'.
eth1: r10001.04, the Linux device driver for Realtek Ethernet Controllers at 0xcc00, 00:16:17:b1:54:56, IRQ 201
Realtek RTL8169/8110 Family Gigabit Ethernet Network Adapter Driver version:1.04
Released date:2006/07/07
Link Status:Not Linked
I/O Base:0xCC00(I/O port)
IRQ:201

and lspci output changes
0000:03:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169SC Gigabit Ethernet (rev 10)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 235c
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-

        Latency: 32 (8000ns min, 16000ns max), Cache Line Size: 0x10 (64 

bytes)
Interrupt: pin A routed to IRQ 201
Region 0: I/O ports at cc00 [size=256]
Region 1: Memory at fd7fd000 (32-bit, non-prefetchable) [size=256] Expansion ROM at fde20000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA
PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

I also tried to boot with acpi=noirq and/or pci=noacpi, it doesn't help. I tried to fetch, apply and use some patches ,which i found on
http://www.fr.zoreil.com/linux/kernel/ , but it doesn't help

I can play with this machine for next few days, before it's placed in housing center, so if you need some more feedback, i'll try to respond

cu

libor

#1 lore raw

Libor Klepáč <[email protected]> :
[...]

Quoted 11 lines

i have build computer with msi MS-7235 motherboard, it has r8169 chip onboard i'm using kernel version 2.6.18 from debian (and i also rebuild kernel without NAPI).
When i modprobe module , dmesg says

r8169 Gigabit Ethernet driver 2.2LK loaded
PCI: Enabling device 0000:03:06.0 (0000 -> 0003)
ACPI: PCI Interrupt 0000:03:06.0[A] -> GSI 21 (level, low) -> IRQ 201 r8169 0000:03:06.0: region #2 not an MMIO resource, aborting

lspci says (there is no region 2? )

Please send lspci -vvx, I need the hexadecimal ID.

Signature · 1 line
Ueimor
#2 lore raw

Francois Romieu <[email protected]> :
[...]

Quoted 1 line

Please send lspci -vvx, I need the hexadecimal ID.

Actually, no. This is a 8167, 2.6.19-rc4 includes the correct code for it.

Signature · 1 line
Ueimor
#5 lore raw
In reply to Francois Romieu

Dne středa 01 listopad 2006 23:00 Francois Romieu napsal(a):

Quoted 8 lines

Libor Klepáč <[email protected]> :
[...]

Quoted 5 lines

i have build computer with msi MS-7235 motherboard, it has r8169 chip onboard i'm using kernel version 2.6.18 from debian (and i also rebuild kernel without NAPI).
When i modprobe module , dmesg says

Quoted 8 lines
Quoted 6 lines

r8169 Gigabit Ethernet driver 2.2LK loaded
PCI: Enabling device 0000:03:06.0 (0000 -> 0003)
ACPI: PCI Interrupt 0000:03:06.0[A] -> GSI 21 (level, low) -> IRQ 201 r8169 0000:03:06.0: region #2 not an MMIO resource, aborting

lspci says (there is no region 2? )

Please send lspci -vvx, I need the hexadecimal ID.

hello, here it comes

0000:03:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169SC Gigabit Ethernet (rev 10)
Subsystem: Micro-Star International Co., Ltd.: Unknown device 235c
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-

        Latency: 32 (8000ns min, 16000ns max), Cache Line Size: 0x10 (64 

bytes)
Interrupt: pin A routed to IRQ 201
Region 0: I/O ports at cc00 [size=256]
Region 1: Memory at fd7fd000 (32-bit, non-prefetchable) [size=256] Expansion ROM at fde20000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA
PME(D0-,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: ec 10 67 81 07 00 b0 02 10 00 00 02 10 20 00 00
10: 01 cc 00 00 00 d0 7f fd 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 62 14 5c 23
30: 00 00 00 00 dc 00 00 00 00 00 00 00 07 01 20 40

libor

#3 lore raw
In reply to Francois Romieu

Dne středa 01 listopad 2006 23:13 Francois Romieu napsal(a):

Quoted 6 lines

Francois Romieu <[email protected]> :
[...]

Quoted 1 line

Please send lspci -vvx, I need the hexadecimal ID.

Actually, no. This is a 8167, 2.6.19-rc4 includes the correct code for it.

ok, thanks, i'll try this version

libor

#4 lore raw
In reply to Francois Romieu

Dne středa 01 listopad 2006 23:13 Francois Romieu napsal(a):

Quoted 6 lines

Francois Romieu <[email protected]> :
[...]

Quoted 1 line

Please send lspci -vvx, I need the hexadecimal ID.

Actually, no. This is a 8167, 2.6.19-rc4 includes the correct code for it.

thanks, it worked

but udev named it also eth0, even there already was eth0 in persistent rules, so i was without connection after remote restart of computer

cu

libor