ACPI (20030522, 20030619) breaks 3c59x in 2.4, 2.5
Hi ,
I've posted this message on lkml, but it went practically unnoticed. Well, realising this list is a more appropriate place - I'm (re)posting it here, with some additional info.
The problem is:
with ACPI patches mentioned in Subject and ACPI enabled in kernel, NIC in my laptop (3c556 Laptop Hurricane, according to driver output) fails to detect proper card configuration, including, but not limited to, media it is working with, availability of MII transceiver(s), and other important parameters. Kernels tested:
2.4.20, 2.4.21-rc7, 2.4.21, 2.4.21-ac, 2.5.70, 2.5.72
What I've tried to fix this (apparently wrong) behaviour:
pci=noacpi and pci=biosint kernel cmdline arguments, enabling/disabling different PCI access modes (BIOS/Direct/Any).
Disabling ACPI with acpi=off cures this problem completely.
Attached are dmesg excerpts from ACPI-enabled and -disabled boots with results of insmod 3c59x debug=6
Full respective dmesgs, .config and lspci -vvv outputs are available at
http://www.relex.ru/~yarick/acpi/
I was very interested by
diff lspci.acpi lspci.acpi=off
output, and I want to provide it inlined, in case somebody could get or give me a quick clue:
52c52
< Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
---
Quoted 1 line
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR- FastB2B-
54c54
< Latency: 64 (2500ns min, 2500ns max)
---
Quoted 1 line
Latency: 80 (2500ns min, 2500ns max), cache line size 08
56,58c56,58
< Region 0: I/O ports at 1400 [size=256]
< Region 1: [virtual] Memory at 10000000 (32-bit, non-prefetchable)
[size=128]
< Region 2: [virtual] Memory at 10000080 (32-bit, non-prefetchable)
[size=128]
---
Quoted 5 lines
Region 0: I/O ports at 1800 [size=256]
Region 1: Memory at
e8101400(32-bit, non-prefetchable) [size=128]Region 2: Memory at
e8101000(32-bit, non-prefetchable) [size=128]
Every line in this diff is related to
00:03.0 Ethernet controller: 3Com Corporation 3c556B Hurricane CardBus (rev 20)
I could and gladly will provide additional information. Or, at least, tell me where to start digging ?
--
With all the best, yarick at relex dot ru
PCI: Found IRQ 5 for device 00:03.0
PCI: Sharing IRQ 5 with 00:03.1
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html See Documentation/networking/vortex.txt
00:03.0: 3Com PCI 3c556B Laptop Hurricane at 0x1800. Vers LK1.1.19
00:04:76:61:9a:bb, IRQ 5
product code 0000 rev aa.8 date 03-01-00
00:03.0: CardBus functions mapped e8101000->d0aca000
Internal config register is 80600040, transceivers 0x40. 8K byte-wide RAM 5:3 Rx:Tx split, MII interface.
MII transceiver found at address 0, status 7849. Enabling bus-master transmits and whole-frame receives.
00:03.0: scatter/gather enabled. h/w checksums enabled
PCI: Found IRQ 5 for device 00:03.0
PCI: Sharing IRQ 5 with 00:03.1
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html See Documentation/networking/vortex.txt
00:03.0: 3Com PCI 3c556B Laptop Hurricane at 0x1400. Vers LK1.1.19
ff:ff:ff:ff:ff:ff, IRQ 5
product code ffff rev ffff.15 date 15-31-127
00:03.0: CardBus functions mapped 10000080->d0ada080
Full duplex capable
Internal config register is ffffffff, transceivers 0xffff.
1024K word-wide RAM 3:5 Rx:Tx split, autoselect/<invalid transceiver> interface. ***WARNING*** No MII transceivers found!
Enabling bus-master transmits and early receives.
00:03.0: scatter/gather enabled. h/w checksums enabled
A message that is not in the archive (sent off-list or not yet received): [email protected]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Salut Yaroslav,
I am curios what the /proc/interrupts diff looks like...
Quoted 5 lines · Yaroslav Rastrigin
I've posted this message on lkml, but it went practically unnoticed. Well, realising this list is a more appropriate place - I'm (re)posting it here, with some additional info.
The problem is:
with ACPI patches mentioned in Subject and ACPI enabled in kernel, NIC in my
Quoted 8 lines
laptop (3c556 Laptop Hurricane, according to driver output) fails to detect proper card configuration, including, but not limited to, media it is working with, availability of MII transceiver(s), and other important parameters. Kernels tested:
2.4.20, 2.4.21-rc7, 2.4.21, 2.4.21-ac, 2.5.70, 2.5.72
What I've tried to fix this (apparently wrong) behaviour:
pci=noacpi and pci=biosint kernel cmdline arguments, enabling/disabling different PCI access modes (BIOS/Direct/Any).
Hartwig Felger
Hartwig Felger informatics
- --
1024D/339FD693 Hartwig Felger <[email protected]> Key fingerprint = FB2F 3EE9 345A D55B 6FF2 0EC1 F5B0 684F 339F D693 For the pulic keys, please visit my page.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE++Bwc9bBoTzOf1pMRAjqqAJ47GizHR+QnL0Nn+8OzBaEZiORUbQCfdYC5 tHoto2CY1WpDlhswYBlOAqA=
=gqlR
-----END PGP SIGNATURE-----
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
A message that is not in the archive (sent off-list or not yet received): Pine.LNX.4.33.0306241137250.996-100000-KnfdeQs3A3X/[email protected]
Hi !
Quoted 2 lines
Salut Yaroslav,
I am curios what the/proc/interruptsdiff looks like...
Huh. Easily :-) Just two quick reboots :-)
yarick@/tmp>diff interrupts.acpi interrupts.acpi=off 2,3c2,3
< 0: 66065 XT-PIC timer < 1: 192 XT-PIC i8042
---
Quoted 2 lines
0: 59038 XT-PIC timer 1: 139 XT-PIC i8042
5a6
Quoted 1 line
5: 187 XT-PIC eth0
7,9c8,9
< 9: 2 XT-PIC acpi < 12: 55 XT-PIC i8042 < 14: 2686 XT-PIC ide0
---
Quoted 2 lines
12: 343 XT-PIC i8042 14: 2669 XT-PIC ide0
yarick@/tmp>
With all the best, yarick at relex dot ru
CPU0
0: 66065 XT-PIC timer 1: 192 XT-PIC i8042 2: 0 XT-PIC cascade 3: 0 XT-PIC CS46XX 8: 1 XT-PIC rtc 9: 2 XT-PIC acpi 12: 55 XT-PIC i8042 14: 2686 XT-PIC ide0 15: 25 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 0 MIS: 0
CPU0
0: 59038 XT-PIC timer 1: 139 XT-PIC i8042 2: 0 XT-PIC cascade 3: 0 XT-PIC CS46XX 5: 187 XT-PIC eth0 8: 1 XT-PIC rtc 12: 343 XT-PIC i8042 14: 2669 XT-PIC ide0 15: 25 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 0 MIS: 0