[ltp] 560Z and 3Com 3cCFE575BT Cardbus card slow as 16Bit-PCMCIA since upgrade

Heiko Rosemann linux-thinkpad@linux-thinkpad.org
Sun, 10 Jun 2007 02:12:07 +0200


Hi everyone,

I'm running a Thinkpad 560Z as a tiny web/eMail/whatever-Server plus
downloading-machine (mainly onlineTVrecorder) First I had a Xircom 16Bit
PCMCIA-network card, but it soon bothered me that I could only get
~500kB/s from it. So I bought the above-mentioned 3Com Cardbus card
3cCFE575BT (see lspci-Output below) plugged it in and got 2.5-3MB/s from
it (which was not fast, but - well - OK...)

This was with Slackware 9.1 and kernel 2.4.31 installed.

Recently I installed Gentoo on that box (to have the same system as on
my other boxes - and for the easier upgrade procedure) with a
2.6.20-kernel and kernel-PCMCIA - and now I only get ~500kB/s from my
Cardbus card as well. Which is quite - annoying, to say the least.

I have tried several kernel options (ACPI, no ACPI, PCI_HOTPLUG, no
PCI_HOTPLUG, PCMCIA built-in or as modules...) searched google to no
avail but did not find any solution yet. Unfortunately I don't have any
of the old files any more (like .config) so I can't really check what
has changed...

I might just have forgotten a simple step somewhere in the middle of the
PCMCIA-config, but most of the stuff I find on the net is about
"old-style" pcmcia-cs (which is considered deprecated for now - I
suppose I could as well give it a try)

So, if anyone has any suggestions for me - I'd be happy to try them out,
this is driving me nuts.

I have attached anything I could think of as useful to describe this
problem. If you need/want more information, I'll happily provide it.

Thanks in advance for any helpful suggestion,

Heiko

---
z560 ~ # pccardctl status
Socket 0:
  no card
Socket 1:
  3.3V 32-bit PC Card
---
z560 ~ # pccardctl ls
Socket 0 Bridge:        [yenta_cardbus]         (bus ID: 0000:00:02.0)
Socket 1 Bridge:        [yenta_cardbus]         (bus ID: 0000:00:02.1)
  CardBus card -- see "lspci" for more information
---
z560 ~ # lspci
00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/DX Host
bridge (AGP disabled) (rev 02)
00:02.0 CardBus bridge: Texas Instruments PCI1250 (rev 02)
00:02.1 CardBus bridge: Texas Instruments PCI1250 (rev 02)
00:03.0 VGA compatible controller: Neomagic Corporation NM2160
[MagicGraph 128XD] (rev 01)
00:06.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 02)
00:06.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:06.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:06.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
05:00.0 Ethernet controller: 3Com Corporation 3cCFE575BT Megahertz
10/100 LAN CardBus [Cyclone] (rev 01)
---
/var/log/messages:
Jun 10 01:05:15 z560 kernel: [ 1828.622740] Yenta: CardBus bridge found
at 0000:00:02.0 [1014:0092]
Jun 10 01:05:15 z560 kernel: [ 1828.622848] Yenta: Using CSCINT to route
CSC interrupts to PCI
Jun 10 01:05:15 z560 kernel: [ 1828.622865] Yenta: Routing CardBus
interrupts to PCI
Jun 10 01:05:15 z560 kernel: [ 1828.622897] Yenta TI: socket
0000:00:02.0, mfunc 0xfba97543, devctl 0x62
Jun 10 01:05:15 z560 kernel: [ 1828.723746] Yenta TI: socket
0000:00:02.0 probing PCI interrupt failed, trying to fix
Jun 10 01:05:15 z560 kernel: [ 1828.827655] Yenta TI: socket
0000:00:02.0 no PCI interrupts. Fish. Please report.
Jun 10 01:05:15 z560 kernel: [ 1828.827702] Yenta: no PCI IRQ, CardBus
support disabled for this socket.
Jun 10 01:05:15 z560 kernel: [ 1828.827717] Yenta: check your BIOS
CardBus, BIOS IRQ or ACPI settings.
Jun 10 01:05:15 z560 kernel: [ 1828.956353] Yenta: ISA IRQ mask 0x0098,
PCI irq 0
Jun 10 01:05:15 z560 kernel: [ 1828.956385] Socket status: 30000006
Jun 10 01:05:15 z560 kernel: [ 1828.958697] Yenta: CardBus bridge found
at 0000:00:02.1 [1014:0092]
Jun 10 01:05:15 z560 kernel: [ 1828.958797] Yenta: Using CSCINT to route
CSC interrupts to PCI
Jun 10 01:05:15 z560 kernel: [ 1828.958816] Yenta: Routing CardBus
interrupts to PCI
Jun 10 01:05:15 z560 kernel: [ 1828.958848] Yenta TI: socket
0000:00:02.1, mfunc 0xfba97543, devctl 0x62
Jun 10 01:05:15 z560 kernel: [ 1829.188229] Yenta: ISA IRQ mask 0x0098,
PCI irq 11
Jun 10 01:05:15 z560 kernel: [ 1829.188262] Socket status: 30000020
Jun 10 01:05:15 z560 kernel: [ 1829.827660] pccard: CardBus card
inserted into slot 1
Jun 10 01:05:15 z560 kernel: [ 1834.090657] parport: PnPBIOS parport
detected.
Jun 10 01:05:15 z560 kernel: [ 1834.090992] parport0: PC-style at 0x3bc,
irq 7 [PCSPP,TRISTATE]
Jun 10 01:05:15 z560 kernel: [ 1835.499458] Serial: 8250/16550 driver
$Revision: 1.90 $ 4 ports, IRQ sharing disabled
Jun 10 01:05:15 z560 kernel: [ 1835.545293] pnp: Device 00:03 activated.
Jun 10 01:05:15 z560 kernel: [ 1835.550366] 00:03: ttyS0 at I/O 0x3f8
(irq = 4) is a 16550A
Jun 10 01:05:16 z560 kernel: [ 1837.191572] cs: IO port probe
0x100-0x3af: excluding 0x220-0x22f 0x388-0x38f
Jun 10 01:05:16 z560 kernel: [ 1837.196226] cs: IO port probe
0x3e0-0x4ff: excluding 0x4d0-0x4d7
Jun 10 01:05:16 z560 kernel: [ 1837.198618] cs: IO port probe
0x820-0x8ff: clean.
Jun 10 01:05:16 z560 kernel: [ 1837.200848] cs: IO port probe
0xc00-0xcf7: clean.
Jun 10 01:05:16 z560 kernel: [ 1837.206308] cs: IO port probe
0xa00-0xaff: clean.
Jun 10 01:05:16 z560 kernel: [ 1837.281028] cs: IO port probe
0x100-0x3af: excluding 0x220-0x22f 0x388-0x38f
Jun 10 01:05:16 z560 kernel: [ 1837.285071] cs: IO port probe
0x3e0-0x4ff: excluding 0x4d0-0x4d7
Jun 10 01:05:16 z560 kernel: [ 1837.287526] cs: IO port probe
0x820-0x8ff: clean.
Jun 10 01:05:16 z560 kernel: [ 1837.289701] cs: IO port probe
0xc00-0xcf7: clean.
Jun 10 01:05:16 z560 kernel: [ 1837.295151] cs: IO port probe
0xa00-0xaff: clean.
Jun 10 01:05:16 z560 kernel: [ 1837.910441] PCI: Enabling device
0000:05:00.0 (0000 -> 0003)
Jun 10 01:05:16 z560 kernel: [ 1837.910532] ACPI: PCI Interrupt
0000:05:00.0[A] -> Link [LNKB] -> GSI 11 (level, low) -> IR
Q 11
Jun 10 01:05:16 z560 kernel: [ 1837.910592] 3c59x: Donald Becker and
others. www.scyld.com/network/vortex.html
Jun 10 01:05:16 z560 kernel: [ 1837.910641] 0000:05:00.0: 3Com PCI
3CCFE575BT Cyclone CardBus at c885e000.
Jun 10 01:05:48 z560 kernel: [ 1894.601626] eth0:  setting half-duplex.
---
z560 ~ # mii-diag
Using the default interface 'eth0'.
Basic registers of MII PHY #0:  1000 282d 0300 e54b 00a1 41e1 0003 0000.
 The autonegotiated capability is 00a0.
The autonegotiated media type is 100baseTx.

(note: should be 100baseTx-FD - but forcing that with -F doesn't work
either)

 Basic mode control register 0x1000: Auto-negotiation enabled.
 You have link beat, and everything is working OK.
 Your link partner advertised 41e1: 100baseTx-FD 100baseTx 10baseT-FD
10baseT.
   End of basic transceiver information.
---
z560 ~ # lsmod
Module                  Size  Used by
ipv6                  252640  16
xt_tcpudp               3712  2
iptable_nat             8068  1
nf_nat                 18476  1 iptable_nat
nf_conntrack_ipv4      17932  2 iptable_nat
nf_conntrack           61520  3 iptable_nat,nf_nat,nf_conntrack_ipv4
ip_tables              12872  1 iptable_nat
x_tables               16148  3 xt_tcpudp,iptable_nat,ip_tables
lp                     13188  0
3c59x                  47024  0
pcmcia                 33608  0
8250_pnp               10240  0
8250                   24004  1 8250_pnp
serial_core            22424  1 8250
parport_pc             36388  1
parport                37864  2 lp,parport_pc
yenta_socket           27404  3
rsrc_nonstatic         13696  1 yenta_socket
pcmcia_core            42840  3 pcmcia,yenta_socket,rsrc_nonstatic
uhci_hcd               25620  0
usbcore               134352  2 uhci_hcd
---
z560 ~ # cat /proc/interrupts
           CPU0
  0:     860162    XT-PIC-XT        timer
  1:        596    XT-PIC-XT        i8042
  2:          0    XT-PIC-XT        cascade
  7:          4    XT-PIC-XT        parport0
  8:          2    XT-PIC-XT        rtc
  9:         16    XT-PIC-XT        acpi
 10:     100000    XT-PIC-XT        uhci_hcd:usb1
 11:      19292    XT-PIC-XT        yenta, eth0
 12:        150    XT-PIC-XT        i8042
 14:       5779    XT-PIC-XT        ide0
NMI:          0
ERR:          0