2006-08-07 18:45:54

by Jeremy Fitzhardinge

[permalink] [raw]
Subject: 2.6.18-rc3-mm2: bad e1000 device name

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
Subsystem: Lenovo Unknown device 2017
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA])
Subsystem: Lenovo Unknown device 201a
Flags: bus master, fast devsel, latency 0, IRQ 20
Memory at ee100000 (32-bit, non-prefetchable) [size=512K]
I/O ports at 1800 [size=8]
Memory at d0000000 (32-bit, prefetchable) [size=256M]
Memory at ee200000 (32-bit, non-prefetchable) [size=256K]
Capabilities: [90] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [d0] Power Management version 2

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
Subsystem: Lenovo Unknown device 201a
Flags: fast devsel
Memory at ee180000 (32-bit, non-prefetchable) [size=512K]
Capabilities: [d0] Power Management version 2

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
Subsystem: Lenovo Unknown device 2010
Flags: bus master, fast devsel, latency 0, IRQ 22
Memory at ee240000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [50] Power Management version 2
Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Capabilities: [70] Express Unknown type IRQ 0
Capabilities: [100] Virtual Channel
Capabilities: [130] Unknown (5)

00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: ee000000-ee0fffff
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 00003000-00004fff
Memory behind bridge: ec000000-edffffff
Prefetchable memory behind bridge: 00000000e4000000-00000000e4000000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=0b, sec-latency=0
I/O behind bridge: 00005000-00006fff
Memory behind bridge: e8000000-e9ffffff
Prefetchable memory behind bridge: 00000000e4100000-00000000e4100000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=0c, subordinate=13, sec-latency=0
I/O behind bridge: 00007000-00008fff
Memory behind bridge: ea000000-ebffffff
Prefetchable memory behind bridge: 00000000e4200000-00000000e4200000
Capabilities: [40] Express Root Port (Slot+) IRQ 0
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [90] #0d [0000]
Capabilities: [a0] Power Management version 2
Capabilities: [100] Virtual Channel
Capabilities: [180] Unknown (5)

00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #1 (rev 02) (prog-if 00 [UHCI])
Subsystem: Lenovo Unknown device 200a
Flags: bus master, medium devsel, latency 0, IRQ 20
I/O ports at 1820 [size=32]

00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #2 (rev 02) (prog-if 00 [UHCI])
Subsystem: Lenovo Unknown device 200a
Flags: bus master, medium devsel, latency 0, IRQ 22
I/O ports at 1840 [size=32]

00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #3 (rev 02) (prog-if 00 [UHCI])
Subsystem: Lenovo Unknown device 200a
Flags: bus master, medium devsel, latency 0, IRQ 23
I/O ports at 1860 [size=32]

00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI #4 (rev 02) (prog-if 00 [UHCI])
Subsystem: Lenovo Unknown device 200a
Flags: bus master, medium devsel, latency 0, IRQ 21
I/O ports at 1880 [size=32]

00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02) (prog-if 20 [EHCI])
Subsystem: Lenovo Unknown device 200b
Flags: bus master, medium devsel, latency 0, IRQ 21
Memory at ee444000 (32-bit, non-prefetchable) [size=1K]
Capabilities: [50] Power Management version 2
Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2) (prog-if 01 [Subtractive decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=15, subordinate=18, sec-latency=32
I/O behind bridge: 00009000-0000cfff
Memory behind bridge: e4300000-e7ffffff
Prefetchable memory behind bridge: 00000000e0000000-00000000e3f00000
Capabilities: [50] #0d [0000]

00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
Subsystem: Lenovo Unknown device 2009
Flags: bus master, medium devsel, latency 0
Capabilities: [e0] Vendor Specific Information

00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02) (prog-if 8a [Master SecP PriP])
Subsystem: Lenovo Unknown device 200c
Flags: bus master, medium devsel, latency 0, IRQ 255
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at <unassigned>
I/O ports at 1810 [size=16]

00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) Serial ATA Storage Controller AHCI (rev 02) (prog-if 01 [AHCI 1.0])
Subsystem: Lenovo Unknown device 200d
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 219
I/O ports at 18d0 [size=8]
I/O ports at 18c4 [size=4]
I/O ports at 18c8 [size=8]
I/O ports at 18c0 [size=4]
I/O ports at 18b0 [size=16]
Memory at ee444400 (32-bit, non-prefetchable) [size=1K]
Capabilities: [80] Message Signalled Interrupts: 64bit- Queue=0/0 Enable+
Capabilities: [70] Power Management version 2

00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
Subsystem: Lenovo Unknown device 200f
Flags: medium devsel, IRQ 19
I/O ports at 18e0 [size=32]

02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
Subsystem: Lenovo Thinkpad X60s
Flags: bus master, fast devsel, latency 0, IRQ 218
Memory at ee000000 (32-bit, non-prefetchable) [size=128K]
I/O ports at 2000 [size=32]
Capabilities: [c8] Power Management version 2
Capabilities: [d0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable+
Capabilities: [e0] Express Endpoint IRQ 0
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Device Serial Number 0b-d2-20-ff-ff-d3-16-00

03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
Subsystem: IBM Unknown device 058a
Flags: bus master, fast devsel, latency 0, IRQ 6
Memory at edf00000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: 64bit- Queue=0/0 Enable-
Capabilities: [60] Express Legacy Endpoint IRQ 0
Capabilities: [90] MSI-X: Enable- Mask- TabSize=1
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel

15:00.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b4)
Subsystem: Lenovo Thinkpad X60s
Flags: bus master, medium devsel, latency 168, IRQ 20
Memory at e4300000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=15, secondary=16, subordinate=17, sec-latency=176
Memory window 0: e0000000-e1fff000 (prefetchable)
Memory window 1: e6000000-e7fff000
I/O window 0: 00009000-000090ff
I/O window 1: 00009400-000094ff
16-bit legacy interface ports at 0001

15:00.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller (rev 09) (prog-if 10 [OHCI])
Subsystem: Lenovo Thinkpad X60s
Flags: bus master, medium devsel, latency 64, IRQ 22
Memory at e4301000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [dc] Power Management version 2

15:00.2 Class 0805: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)
Subsystem: Lenovo Thinkpad X60s
Flags: bus master, medium devsel, latency 64, IRQ 23
Memory at e4301800 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2


Attachments:
compact-config.txt (25.68 kB)
dmesg-ok.txt (26.98 kB)
lspci-ok.txt (8.92 kB)
Download all attachments

2006-08-08 07:40:17

by Andrew Morton

[permalink] [raw]
Subject: Re: 2.6.18-rc3-mm2: bad e1000 device name

On Mon, 07 Aug 2006 11:45:28 -0700
Jeremy Fitzhardinge <[email protected]> wrote:

> With 2.6.18-rc3-mm2, I get a bogus device name for my e1000 device,
> which I would expect to be eth0:
>
> : ezr:pts/0; ifconfig -a
> �6f� Link encap:Ethernet HWaddr 00:16:D3:20:D2:0B
> UP BROADCAST MULTICAST MTU:1500 Metric:1
> RX packets:0 errors:0 dropped:0 overruns:0 frame:0
> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
> Base address:0x2000 Memory:ee000000-ee020000
> [...]

e1000 seems OK here. Don't know, sorry.

2006-08-08 08:16:12

by Jeremy Fitzhardinge

[permalink] [raw]
Subject: Re: 2.6.18-rc3-mm2: bad e1000 device name

Andrew Morton wrote:
> e1000 seems OK here. Don't know, sorry.
>

It's happening to all my ethernet-like devices: the Atheros wireless
comes up as a mess too. It's different each time, so it looks like
random uninitialized crud.

I did a clean rebuild, but it still happens. I guess I'll have to try
with some slab debugging and see if its an overrun or something.

J

2006-08-08 15:17:33

by Arjan van de Ven

[permalink] [raw]
Subject: Re: 2.6.18-rc3-mm2: bad e1000 device name

Jeremy Fitzhardinge wrote:
> Andrew Morton wrote:
>> e1000 seems OK here. Don't know, sorry.
>>
>
> It's happening to all my ethernet-like devices: the Atheros wireless
> comes up as a mess too. It's different each time, so it looks like
> random uninitialized crud.
>

is this the binary atheros driver? then please try without that..

2006-08-08 15:25:42

by Jeremy Fitzhardinge

[permalink] [raw]
Subject: Re: 2.6.18-rc3-mm2: bad e1000 device name

Arjan van de Ven wrote:
> Jeremy Fitzhardinge wrote:
>> Andrew Morton wrote:
>>> e1000 seems OK here. Don't know, sorry.
>>>
>>
>> It's happening to all my ethernet-like devices: the Atheros wireless
>> comes up as a mess too. It's different each time, so it looks like
>> random uninitialized crud.
>>
>
> is this the binary atheros driver? then please try without that..

It happens regardless of whether the atheros driver is loaded (or has
ever been loaded). But it also happens to the atheros driver, so it
isn't specific to the e1000.

J

2006-08-08 15:26:56

by Arjan van de Ven

[permalink] [raw]
Subject: Re: 2.6.18-rc3-mm2: bad e1000 device name

Jeremy Fitzhardinge wrote:
> Arjan van de Ven wrote:
>> Jeremy Fitzhardinge wrote:
>>> Andrew Morton wrote:
>>>> e1000 seems OK here. Don't know, sorry.
>>>>
>>>
>>> It's happening to all my ethernet-like devices: the Atheros wireless
>>> comes up as a mess too. It's different each time, so it looks like
>>> random uninitialized crud.
>>>
>>
>> is this the binary atheros driver? then please try without that..
>
> It happens regardless of whether the atheros driver is loaded (or has
> ever been loaded). But it also happens to the atheros driver, so it
> isn't specific to the e1000.
>

and you're also sure this is not your userspace using interface renaming...
(could be an initscripts bug for name-by-MAC ethernet device naming)

2006-08-08 16:17:35

by Jeremy Fitzhardinge

[permalink] [raw]
Subject: Re: 2.6.18-rc3-mm2: bad e1000 device name

Arjan van de Ven wrote:
> and you're also sure this is not your userspace using interface
> renaming...
> (could be an initscripts bug for name-by-MAC ethernet device naming)

It's definitely in-kernel, since its specific to this version. And it
seems to have gone away since I turned on slab debugging.

J