public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* ACPI (20030522, 20030619) breaks 3c59x in 2.4, 2.5
@ 2003-06-24  9:09 Yaroslav Rastrigin
       [not found] ` <3EF81563.9080409-343whMTK1pU@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Yaroslav Rastrigin @ 2003-06-24  9:09 UTC (permalink / raw)
  To: ACPI-Devel mailing list

[-- Attachment #1: Type: text/plain, Size: 2190 bytes --]

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-
---

  >   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR- FastB2B-
54c54

<   Latency: 64 (2500ns min, 2500ns max)

---

  >   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]
---

  >   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


[-- Attachment #2: 3c59x-acpi=off --]
[-- Type: text/plain, Size: 639 bytes --]

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


[-- Attachment #3: 3c59x-pci=noacpi --]
[-- Type: text/plain, Size: 683 bytes --]

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* ACPI (20030522, 20030619) breaks 3c59x in 2.4, 2.5
@ 2003-06-24  9:24 Yaroslav Rastrigin
  0 siblings, 0 replies; 4+ messages in thread
From: Yaroslav Rastrigin @ 2003-06-24  9:24 UTC (permalink / raw)
  To: ACPI-Devel mailing list

[-- Attachment #1: Type: text/plain, Size: 2190 bytes --]

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-
---

  >   Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr-
Stepping- SERR- FastB2B-
54c54

<   Latency: 64 (2500ns min, 2500ns max)

---

  >   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]
---

  >   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


[-- Attachment #2: 3c59x-acpi=off --]
[-- Type: text/plain, Size: 639 bytes --]

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


[-- Attachment #3: 3c59x-pci=noacpi --]
[-- Type: text/plain, Size: 683 bytes --]

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ACPI (20030522, 20030619) breaks 3c59x in 2.4, 2.5
       [not found] ` <3EF81563.9080409-343whMTK1pU@public.gmane.org>
@ 2003-06-24  9:38   ` liste-9nAOAgdJVo4b1SvskN2V4Q
       [not found]     ` <Pine.LNX.4.33.0306241137250.996-100000-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: liste-9nAOAgdJVo4b1SvskN2V4Q @ 2003-06-24  9:38 UTC (permalink / raw)
  To: Yaroslav Rastrigin; +Cc: ACPI-Devel mailing list

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Salut Yaroslav,
I am curios what the /proc/interrupts diff looks like...

On Tue, 24 Jun 2003, Yaroslav Rastrigin wrote:
> 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).
Hartwig Felger

Hartwig Felger informatics

- -- 
1024D/339FD693 Hartwig Felger <hgfelger-9nAOAgdJVo4b1SvskN2V4Q@public.gmane.org>
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ACPI (20030522, 20030619) breaks 3c59x in 2.4, 2.5
       [not found]     ` <Pine.LNX.4.33.0306241137250.996-100000-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org>
@ 2003-06-24  9:54       ` Yaroslav Rastrigin
  0 siblings, 0 replies; 4+ messages in thread
From: Yaroslav Rastrigin @ 2003-06-24  9:54 UTC (permalink / raw)
  To: ACPI-Devel mailing list

[-- Attachment #1: Type: text/plain, Size: 681 bytes --]

Hi !
> Salut Yaroslav,
> I am curios what the /proc/interrupts diff 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
---
  >   0:      59038          XT-PIC  timer
  >   1:        139          XT-PIC  i8042
5a6
  >   5:        187          XT-PIC  eth0
7,9c8,9
<   9:          2          XT-PIC  acpi
<  12:         55          XT-PIC  i8042
<  14:       2686          XT-PIC  ide0
---
  >  12:        343          XT-PIC  i8042
  >  14:       2669          XT-PIC  ide0
yarick@/tmp>


With all the best, yarick at relex dot ru


[-- Attachment #2: interrupts.acpi --]
[-- Type: text/plain, Size: 439 bytes --]

           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


[-- Attachment #3: interrupts.acpi=off --]
[-- Type: text/plain, Size: 439 bytes --]

           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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-06-24  9:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-24  9:24 ACPI (20030522, 20030619) breaks 3c59x in 2.4, 2.5 Yaroslav Rastrigin
  -- strict thread matches above, loose matches on Subject: below --
2003-06-24  9:09 Yaroslav Rastrigin
     [not found] ` <3EF81563.9080409-343whMTK1pU@public.gmane.org>
2003-06-24  9:38   ` liste-9nAOAgdJVo4b1SvskN2V4Q
     [not found]     ` <Pine.LNX.4.33.0306241137250.996-100000-KnfdeQs3A3X/9pzu0YdTqQ@public.gmane.org>
2003-06-24  9:54       ` Yaroslav Rastrigin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox