Skip to contentSkip to conversation

3C562D/3C563D OK, but 3CCFE575BT failure

DISCUSSION Marvin Stodolsky 2 participants 2 messages Jun 29, 2001

lore
Share & tools
lore
#0 lore raw

The Attached text file relates successful usage of a 3Com Corporation", "3C562D/3C563D", "EtherLink III PCMCIA card, whereas the is a failure of:
3Com PCI 3CCFE575BT Cyclone CardBus in the same PCMCIA socket.

My current hotplug support is:
Package: hotplug
Version: 0.0.20010424-2
Priority: optional
Section: admin
Maintainer: Fumitoshi UKAI <[email protected]>
Depends: modutils (>= 2.4.2), debconf (>= 0.2.26)
Recommends: ifupdown, usbutils, pciutils, bsdutils

This is under Debian Linux with a custom 2.4.5 kernel on a Compaq Armada 1500c laptop. While it might be fun to work this out myself, my discretionary Linux service time is throughly used as one of the maintainers of the Lucent chip Winmodem drivers.

So assistance in bringing the 3CCFE575BT into service would be appreciated. Under a 2.4.3 and earliers kernel with the old style PCMCIA support, the card has served well.

Please reply to me directly, as I don't have time to track an additional list.

MarvS

# cardctl ident 1
  product info: "3Com Corporation", "3C562D/3C563D", "EtherLink III",
"LAN+Modem PC Card"
  manfid: 0x0101, 0x0562
  function: 6 (network)
# /etc/init.d/pcmcia start
PCIC=yenta_socket
Starting PCMCIA services: modulesJun 29 08:31:03 koala kernel: Linux PCMCIA
Card Services 3.1.22
Jun 29 08:31:03 koala kernel:   options:  [pci] [cardbus] [pm]
Jun 29 08:31:04 koala kernel: PCI: Found IRQ 11 for device 00:11.0
Jun 29 08:31:04 koala kernel: PCI: The same IRQ used for device 00:11.1
Jun 29 08:31:04 koala kernel: PCI: Found IRQ 11 for device 00:11.1
Jun 29 08:31:04 koala kernel: PCI: The same IRQ used for device 00:11.0
Jun 29 08:31:04 koala kernel: Yenta IRQ list 06d8, PCI irq11
Jun 29 08:31:04 koala kernel: Socket status: 30000006
Jun 29 08:31:04 koala kernel: Yenta IRQ list 06d8, PCI irq11
Jun 29 08:31:04 koala kernel: Socket status: 30000010
 cardmgr.
koala:~/knl/240# Jun 29 08:31:04 koala cardmgr[1363]: starting, version is
3.1.25
Jun 29 08:31:04 koala cardmgr[1363]: watching 2 sockets
Jun 29 08:31:04 koala cardmgr[1363]: Card Services release does not match
Jun 29 08:31:04 koala kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Jun 29 08:31:04 koala kernel: cs: IO port probe 0x0800-0x08ff: clean.
Jun 29 08:31:04 koala kernel: cs: IO port probe 0x0100-0x04ff: excluding
0x220-0x22f 0x250-0x257 0x260-0x267 0x330-0x337 0x378-0x37f 0x388-0x38f
0x3f8-0x3ff 0x4d0-0x4d7
Jun 29 08:31:04 koala kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Jun 29 08:31:04 koala cardmgr[1363]: initializing socket 1
Jun 29 08:31:04 koala kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Jun 29 08:31:04 koala cardmgr[1363]: socket 1: 3Com 3c562/3c563
Ethernet/Modem
Jun 29 08:31:05 koala cardmgr[1363]: executing: 'modprobe 3c589_cs'
Jun 29 08:31:05 koala cardmgr[1363]: executing: 'modprobe serial_cs'
Jun 29 08:31:05 koala kernel: isapnp: Scanning for PnP cards...
Jun 29 08:31:05 koala kernel: isapnp: No Plug & Play device found
Jun 29 08:31:05 koala kernel: Serial driver version 5.05a (2001-03-20) with
MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
Jun 29 08:31:05 koala kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Jun 29 08:31:06 koala cardmgr[1363]: executing: './network start eth0'
Jun 29 08:31:06 koala kernel: eth0: 3Com 3c562, io 0x300, irq 3, hw_addr
00:60:97:F8:8B:52Jun 29 08:31:06 koala kernel:   8K FIFO split 5:3 Rx:Tx,
auto xcvr
Jun 29 08:31:06 koala kernel: ttyS01 at port 0x02f8 (irq = 3) is a 16550A
Jun 29 08:31:06 koala cardmgr[1363]: executing: './serial start ttyS1'
Jun 29 08:31:07 koala kernel: eth0: flipped to 10baseT
# lsmod
Module                  Size  Used by
serial_cs               4576   0  (unused)
serial                 43280   0  [serial_cs]
isa-pnp                27888   0  [serial]
3c589_cs                7760   1 
ds                      6560   2  [serial_cs 3c589_cs]
yenta_socket            8688   2 
pcmcia_core            39360   0  [serial_cs 3c589_cs ds yenta_socket]
3c59x                  23968   0 
rtc                     5376   0  (autoclean)
# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:60:97:F8:8B:52  
          inet addr:192.73.213.72  Bcast:192.73.213.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1537 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:587705 (573.9 Kb)  TX bytes:0 (0.0 b)
          Interrupt:3 Base address:0x300 

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:78 errors:0 dropped:0 overruns:0 frame:0 TX packets:78 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:4972 (4.8 Kb) TX bytes:4972 (4.8 Kb)

koala:~/knl/240# ping corel.com
PING corel.com (206.47.20.65): 56 data bytes
64 bytes from 206.47.20.65: icmp_seq=0 ttl=47 time=147.7 ms
64 bytes from 206.47.20.65: icmp_seq=1 ttl=47 time=145.9 ms
--- corel.com ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 145.9/146.8/147.7 ms

=============
Rebooting with 3Com PCI 3CCFE575BT Cyclone CardBus in the PCMCIA socket, dmesg reports:

Linux PCMCIA Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 00:11.0
PCI: The same IRQ used for device 00:11.1
PCI: Found IRQ 11 for device 00:11.1
PCI: The same IRQ used for device 00:11.0
Yenta IRQ list 0698, PCI irq11
Socket status: 30000006
Yenta IRQ list 0698, PCI irq11
Socket status: 30000020
cs: cb_alloc(bus 2): vendor 0x10b7, device 0x5157
got res[1c00:1c7f] for resource 0 of PCI device 10b7:5157 got res[10c00000:10c0007f] for resource 1 of PCI device 10b7:5157 got res[10c00080:10c000ff] for resource 2 of PCI device 10b7:5157 got res[10800000:1081ffff] for resource 6 of PCI device 10b7:5157
PCI: Enabling device 02:00.0 (0000 -> 0003)
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x250-0x257 0x260-0x267 0x330-0x337 0x378-0x37f 0x388-0x38f 0x3f8-0x3ff 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
3c59x.c:LK1.1.13 27 Jan 2001 Donald Becker and others.
http://www.scyld.com/network/vortex.html
See Documentation/networking/vortex.txt
eth0: 3Com PCI 3CCFE575BT Cyclone CardBus at 0x1c00, PCI: Setting latency timer of device 02:00.0 to 64
00:10:4b:f8:71:22, IRQ 11
product code 4e56 rev 07.1 date 01-17-99
eth0: CardBus functions mapped 10c00080->c4832080
8K byte-wide RAM 5:3 Rx:Tx split, MII interface.
MII transceiver found at address 0, status 782d.
Enabling bus-master transmits and whole-frame receives.
eth0: scatter/gather enabled. h/w checksums enabled

# lsmod
Module                  Size  Used by
3c59x                  23968   1 
ds                      6560   2 
yenta_socket            8688   2 
pcmcia_core            39360   0  [ds yenta_socket]
rtc                     5376   0  (autoclean)

There is only one beep from the card and:

ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:65 errors:0 dropped:0 overruns:0 frame:0 TX packets:65 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:4384 (4.2 Kb) TX bytes:4384 (4.2 Kb)

koala:~/knl/240# ifconfig eth0 up
koala:~/knl/240# Jun 29 08:50:51 koala kernel: eth0: using default media MII
koala:~/knl/240# ifconfig        
eth0      Link encap:Ethernet  HWaddr 00:10:4B:F8:71:22  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:13184 (12.8 Kb)  TX bytes:0 (0.0 b)
          Interrupt:11 Base address:0x1c00 

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:65 errors:0 dropped:0 overruns:0 frame:0 TX packets:65 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:4384 (4.2 Kb) TX bytes:4384 (4.2 Kb)

koala:~/knl/240# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
127.0.0.0       *               255.0.0.0       U     0      0        0 lo

Thus with this card, the eth0 is not being established. Any suggestions?

What is the significance of :
eth0: using default media MII

MarvS

#1 lore raw
Quoted 1 line · Marvin Stodolsky
Jun 29 08:31:04 koala cardmgr[1363]: Card Services release does not match

You've got some sort of configuration error, but I don't think it is a problem. Your messages all look good to me.

Quoted 1 line
koala:~/knl/240# ifconfig eth0 up

You need to configure this interface fully; this doesn't assign an IP address. You did read the README-2.4 file for PCMCIA, right? This card is now managed by the "hotplug" subsystem, and doesn't get its configuration the same way as 16-bit PCMCIA cards. You need to install the linux-hotplug scripts (which actually seem to have at least been able to load the right driver already). You might merely need to do "ifup eth0".

Quoted 2 lines

What is the significance of :
eth0: using default media MII

No significance, it means the card is defaulting to using its (only) 10/100baseT transceiver, which is a "MII" media-independent interface chip.

-- Dave

_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel