Re: [BUG] PCMCIA CardBus problems

From: Guido Bartsch (Guido.Bartsch@akustik.rwth-aachen.de)
Date: Wed Aug 02 2000 - 03:28:38 EST


David Hinds wrote:
>
> It would be good to include more kernel messages (specifically the
> startup messages from the PCMCIA drivers). Also since the PCMCIA
> support in the 2.4test kernels is experimental, it would be good to
> compare this with the standalone PCMCIA driver modules, either running
> on a stable kernel or on this same kernel.
>
> > Interrupt sources are pending! CSR5 is f0678046.
>
> I'd agree that this looks like an interrupt configuration problem. It
> is unlikely to be a problem with interrupt sharing, though.
>
> -- Dave

I tried the standalone PCMCIA driver module (27-Jul-00) with the 2.2.16
kernel. This configuration now permits to send and receive, but it
hangs
after continuously sending or receiving packages (e.g. using ftp, cp,
...).
Nevertheless another tcp-connection can be established but the same
behavior
after continuously sending or receiving packages ...

Suggestions ?

Here is some diag information:

--------------------------------------------------------------------

tulip-diag.c:v2.00 4/19/2000 Donald Becker (becker@scyld.com)
 http://www.scyld.com/diag/index.html
Index #1: Found a Digital DS21143 Tulip adapter at 0x100.
 Port selection is MII, full-duplex.
 Transmit started, Receive started, full-duplex.
  The Rx process state is 'Waiting for packets'.
  The Tx process state is 'Idle'.
  The transmit threshold is 128.
  The NWay status register is 000000c6.
EEPROM size is 8.
PCI Subsystem IDs, vendor 13d1, device ab01.
CardBus Information Structure at offset 00005002.
Ethernet MAC Station Address 00:E0:98:23:00:5C.
EEPROM transceiver/media description for the Digital DS21143 Tulip chip.
Leaf node at offset 30, default media type 0800 (Autosense).
 1 transceiver description blocks:
  Media MII, block type 3, length 13.
   MII interface PHY 0 (media type 11).
   21143 MII initialization sequence is 0 words:.
   21143 MII reset sequence is 0 words:.
    Media capabilities are 7800, advertising 01e1.
    Full-duplex map 5000, Threshold map 1800.
    MII interrupt on GPIO pin -1.
 MII PHY found at address 0, status 0x782d.
 MII PHY #0 transceiver registers:
   3000 782d 0040 6212 01e1 41e1 0003 0000
   0000 0000 0000 0000 0000 0000 0000 0000
   1000 0300 0000 0000 0000 0f5f 0700 0000
   003f 853e 0f00 ff00 002f 0000 80a0 000b.
  Internal autonegotiation state is 'Autonegotiation disabled'.
------------------------------------------------------------------------

Linux version 2.2.16 (root@thunderbird) (gcc version egcs-2.91.66
19990314/Linux
(egcs-1.1.2 release)) #1 Fri Jul 28 16:00:47 CEST 2000
Detected 300013 kHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 598.02 BogoMIPS
Memory: 63556k/65472k available (640k kernel code, 416k reserved, 824k
data, 36k init)
Dentry hash table entries: 8192 (order 4, 64k)
Buffer cache hash table entries: 65536 (order 6, 256k)
Page cache hash table entries: 16384 (order 4, 64k)
CPU: Intel Mobile Pentium II stepping 0a
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.35a (19990819) Richard Gooch (rgooch@atnf.csiro.au)
PCI: PCI BIOS revision 2.10 entry at 0xfd9c3
PCI: Using configuration type 1
PCI: Probing PCI hardware
Linux NET4.0 for Linux 2.2
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 65536 bhash 65536)
Starting kswapd v 1.5
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.13)
PIIX4: IDE controller on PCI bus 00 dev 19
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfc60-0xfc67, BIOS settings: hda:pio, hdb:DMA
hda: HITACHI_DK239A-48, ATA DISK drive
hdb: TOSHIBA CD-ROM XM-7002B, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: HITACHI_DK239A-48, 4645MB w/512kB Cache, CHS=629/240/63, UDMA
Partition check:
 hda: hda1 hda2 < hda5 > hda3
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 36k freed
Adding Swap: 65536k swap-space (priority -1)
parport0: PC-style at 0x378 [SPP,PS2,EPP]
lp0: using parport0 (polling).
CSLIP: code copyright 1989 Regents of the University of California
SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256).
PPP: version 2.3.7 (demand dialling)
PPP line discipline registered.
PPP BSD Compression module registered
es1371: version v0.22 time 16:06:05 Jul 28 2000
es1371: found chip, vendor id 0x1102 device id 0x8938 revision 0x00
es1371: found es1371 rev 0 at io 0xfcc0 irq 5
es1371: features: joystick 0x0
PCI: Enabling bus mastering for device 00:30
es1371: codec vendor @ (0x014083) revision 132 (0x84)
es1371: codec features none
es1371: stereo enhancement: no 3D stereo enhancement
Linux PCMCIA Card Services 3.1.20
  kernel build: 2.2.16 #1 Fri Jul 28 16:00:47 CEST 2000
  options: [pci] [cardbus] [apm]
PCI routing table version 1.0 at 0xfdf70
ds: no socket drivers loaded!
Intel PCIC probe:
  TI 1225 rev 01 PCI-to-CardBus at slot 00:0a, mem 0x68000000
    host opts [0]: [ring] [pci + serial irq] [no pci irq] [lat 168/176]
[bus 32/34]
    host opts [1]: [ring] [pci + serial irq] [no pci irq] [lat 168/176]
[bus 35/37]
    ISA irqs (scanned) = 3,4,7,9,10,15 status change on irq 15
cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x2f8-0x2ff 0x398-0x39f
0x3f8-0x3ff
0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
Serial driver version 4.27 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
cs: cb_alloc(bus 32): vendor 0x1011, device 0x0019
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
cs: cb_config(bus 32)
  fn 0 bar 1: io 0x100-0x17f
  fn 0 bar 2: mem 0x600c0000-0x600c03ff
  fn 0 rom: mem 0x60080000-0x600bffff
  irq 3
cs: cb_enable(bus 32)
  bridge io map 0 (flags 0x21): 0x100-0x17f
  bridge mem map 0 (flags 0x1): 0x60080000-0x600c0fff
tulip_attach(device 20:00.0)
tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov (modified by
danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford)
eth0: Digital DS21143 Tulip rev 65 at 0x100, 00:E0:98:23:00:5C, IRQ 3.
eth0: EEPROM default media type Autosense.
eth0: Index #0 - Media MII (#11) described by a 21142 MII PHY (3)
block.
eth0: MII transceiver #0 config 3000 status 7809 advertising 01e1.
IrDA: Registered device irda0
IrDA: Unable to find requested dongle
eth0: Setting full-duplex based on MII#0 link partner capability of
41e1.

--
Guido Bartsch

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:07 EST