Bug 8539

Summary: Network card not usable - sky2 88E8036
Product: Drivers Reporter: Ruben (nahoo82)
Component: NetworkAssignee: Stephen Hemminger (stephen)
Status: RESOLVED CODE_FIX    
Severity: normal CC: akpm
Priority: P2    
Hardware: i386   
OS: Linux   
Kernel Version: 2.6.22-rc2 Subsystem:
Regression: --- Bisected commit-id:
Attachments: GPC control register fix

Description Ruben 2007-05-25 06:24:29 UTC
Most recent kernel where this bug did *NOT* occur:

It's been happening for a long time (I'd say always).

Distribution:

GNU/Debian Unstable

Hardware Environment:

00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express
Processor to DRAM Controller (rev 03)
	Subsystem: Toshiba America Info Systems Unknown device ff00
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>

00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML
Express Graphics Controller (rev 03) (prog-if 00 [VGA])
	Subsystem: Toshiba America Info Systems Unknown device ff00
	Flags: bus master, fast devsel, latency 0, IRQ 10
	Memory at b0080000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at 1800 [size=8]
	Memory at c0000000 (32-bit, prefetchable) [size=256M]
	Memory at b0000000 (32-bit, non-prefetchable) [size=256K]
	Capabilities: <access denied>

00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express
Graphics Controller (rev 03)
	Subsystem: Toshiba America Info Systems Unknown device ff00
	Flags: fast devsel
	Memory at 54000000 (32-bit, non-prefetchable) [disabled] [size=512K]
	Capabilities: <access denied>

00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI
Express Port 1 (rev 03) (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: 00003000-00003fff
	Memory behind bridge: b4000000-b7ffffff
	Prefetchable memory behind bridge: 00000000d0000000-00000000d3ffffff
	Capabilities: <access denied>

00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
USB UHCI #1 (rev 03) (prog-if 00 [UHCI])
	Subsystem: Toshiba America Info Systems Unknown device ff00
	Flags: bus master, medium devsel, latency 0, IRQ 18
	I/O ports at 1820 [size=32]

00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
USB UHCI #2 (rev 03) (prog-if 00 [UHCI])
	Subsystem: Toshiba America Info Systems Unknown device ff00
	Flags: bus master, medium devsel, latency 0, IRQ 19
	I/O ports at 1840 [size=32]

00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
USB UHCI #3 (rev 03) (prog-if 00 [UHCI])
	Subsystem: Toshiba America Info Systems Unknown device ff00
	Flags: bus master, medium devsel, latency 0, IRQ 20
	I/O ports at 1860 [size=32]

00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
USB UHCI #4 (rev 03) (prog-if 00 [UHCI])
	Subsystem: Toshiba America Info Systems Unknown device ff00
	Flags: bus master, medium devsel, latency 0, IRQ 17
	I/O ports at 1880 [size=32]

00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family)
USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI])
	Subsystem: Toshiba America Info Systems Unknown device ff00
	Flags: bus master, medium devsel, latency 0, IRQ 18
	Memory at b0040000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3) (prog-if
01 [Subtractive decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=06, subordinate=0a, sec-latency=216
	I/O behind bridge: 00004000-00004fff
	Memory behind bridge: b8000000-b80fffff
	Prefetchable memory behind bridge: 0000000050000000-0000000053ffffff
	Capabilities: <access denied>

00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW
(ICH6 Family) AC'97 Audio Controller (rev 03)
	Subsystem: Toshiba America Info Systems Unknown device ff00
	Flags: bus master, medium devsel, latency 0, IRQ 16
	I/O ports at 1c00 [size=256]
	I/O ports at 18c0 [size=64]
	Memory at b0040800 (32-bit, non-prefetchable) [size=512]
	Memory at b0040400 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>

00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem
Controller (rev 03) (prog-if 00 [Generic])
	Subsystem: Toshiba America Info Systems Unknown device 0001
	Flags: medium devsel, IRQ 21
	I/O ports at 2400 [size=256]
	I/O ports at 2000 [size=128]
	Capabilities: <access denied>

00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
	Subsystem: Toshiba America Info Systems Unknown device ff00
	Flags: bus master, medium devsel, latency 0

00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev
03) (prog-if 80 [Master])
	Subsystem: Toshiba America Info Systems Unknown device ff00
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
	I/O ports at 01f0 [size=8]
	I/O ports at 03f4 [size=1]
	I/O ports at 0170 [size=8]
	I/O ports at 0374 [size=1]
	I/O ports at 18b0 [size=16]
	Capabilities: <access denied>

00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus
Controller (rev 03)
	Subsystem: Toshiba America Info Systems Unknown device ff00
	Flags: medium devsel, IRQ 19
	I/O ports at 20a0 [size=32]

02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8036 PCI-E Fast
Ethernet Controller (rev 10)
	Subsystem: Toshiba America Info Systems Marvell 88E8036 Fast Ethernet
Controller (Compal)
	Flags: bus master, fast devsel, latency 0, IRQ 222
	Memory at b4000000 (64-bit, non-prefetchable) [size=16K]
	I/O ports at 3000 [size=256]
	Capabilities: <access denied>

06:02.0 Network controller: Intel Corporation PRO/Wireless 2200BG Network
Connection (rev 05)
	Subsystem: Intel Corporation Unknown device 2741
	Flags: bus master, medium devsel, latency 32, IRQ 22
	Memory at b8006000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>

06:04.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
	Subsystem: Toshiba America Info Systems Unknown device ff00
	Flags: bus master, medium devsel, latency 168, IRQ 17
	Memory at b8007000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=06, secondary=07, subordinate=0a, sec-latency=176
	Memory window 0: 50000000-53fff000 (prefetchable)
	Memory window 1: 58000000-5bfff000
	I/O window 0: 00004000-000040ff
	I/O window 1: 00004400-000044ff
	16-bit legacy interface ports at 0001

06:04.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host
Controller (prog-if 10 [OHCI])
	Subsystem: Toshiba America Info Systems Unknown device ff00
	Flags: bus master, medium devsel, latency 32, IRQ 11
	Memory at b8008000 (32-bit, non-prefetchable) [size=2K]
	Memory at b8000000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>

06:04.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia
Controller
	Subsystem: Toshiba America Info Systems Unknown device ff01
	Flags: bus master, medium devsel, latency 57, IRQ 10
	Memory at b8004000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>

06:04.4 Generic system peripheral [0805]: Texas Instruments
PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
	Subsystem: Toshiba America Info Systems Unknown device ff01
	Flags: bus master, medium devsel, latency 57, IRQ 10
	Memory at b8009000 (32-bit, non-prefetchable) [size=256]
	Memory at b8008c00 (32-bit, non-prefetchable) [size=256]
	Memory at b8008800 (32-bit, non-prefetchable) [size=256]
	Capabilities: <access denied>

Problem Description:

After booting the laptop the network card is not correctly initialized. The
module loads correctly and the interfaze is up, but it's not usable.
Unloading/loading the module does not help. This happens on normal booting and
after hibernation. Normaly booting the machine again fixes the problem.

Steps to reproduce:

Power off and on the computer.

Thanks.
Comment 1 Andrew Morton 2007-05-25 10:01:57 UTC
sky2.ko, I assume?
Comment 2 Stephen Hemminger 2007-05-25 10:21:55 UTC
What kind of laptop?
Comment 3 Stephen Hemminger 2007-07-02 19:12:14 UTC
Please load module with debug enabled:
  modprobe sky2 debug=16
and send console/dmesg output.
Comment 4 Stephen Hemminger 2007-08-22 09:30:13 UTC
Created attachment 12490 [details]
GPC control register fix

Try this patch going into 2.6.22.5
Comment 5 Stephen Hemminger 2007-10-03 15:21:00 UTC
Does it work in 2.6.22.X stable or 2.6.23-rc9?
Comment 6 Stephen Hemminger 2007-12-10 17:07:02 UTC
This is probably fixed by the patch listed, please reopen bug if it still occurs.