[tulip] Strange Connectivity Problem with Linksys PCMPC200 v1
Savio Lau
saviol@sfu.ca
Sat Aug 31 15:37:14 2002
--------------000307080500020006020101
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
I am somewhat of a Linux newbie so please bear with me here.
I am running Redhat 7.3 on my laptop and I have a strange problem with
the Linksys Cardbus PC Card PCMPC200 v1 that I have.
It uses a DEC 21142/21143 ethernet chipset. The card is verified to
work under Windows 2000 and Windows 98
The system is running kernel 2.4.18-3 with pcmcia-cs version 3.1.22
The card gets detected by the system and the tulip driver gets
initialized at irq 9 (which is correct - this is confirmed by cat
/proc/pci). Typing 'ifconfig' also shows the right routing parameters
and the correct IP - I checked this with my desktop machine's ifconfig
entries. In terms of i/o ports, it's a bit strange. 'ifconfig' lists
the base address at 0x4000 whereas cat /proc/pci gives me i/o at 0x4800.
From what I have read this may or may not be the problem - I have no
idea how to resolve this regardless.
Other info: All pings from the laptop to any machine (in my network and
outside) returns as "Destination Unreachable". In 'dmesg' it is listed as:
"NETDEV WATCHDOG: eth0: transmit timed out"
Pinging from other machines to the card would make the ACT light blink
but 'ifconfig' show that it has zero RX activity.
Also, 'ifdown' does not seem to bring down the card (link light remains
on regardless). In addition, inserting and ejecting the card only gives
me 1 beep instead of the customary 2 that every How-To says I should hear.
So, in other words, the card is alive but is somehow deaf.
Here are the files that may help with diagnosing the problem:
From '/proc/net/dev'
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed
multicast|bytes packets errs drop fifo colls carrier compressed
lo: 1904 21 0 0 0 0 0 0
1904 21 0 0 0 0 0 0
eth0: 0 0 0 0 0 0 0 0
0 0 10 0 0 0 0 0
From 'cardctl config'
Socket 0:
not configured
Socket 1:
Vcc 3.3V Vpp1 3.3V Vpp2 3.3V
interface type is "cardbus"
irq 9 [exclusive] [level]
function 0:
From 'cardctl ident'
Socket 0:
no product info available
Socket 1:
product info: "Linksys", "EtherFast 10/100 CardBus PC Card(PCMPC200)",
"V1.0", ""
manfid: 0x0149, 0x0231
function: 6 (network)
From 'lspci'
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
(AGP disabled) (rev 03)
00:02.0 VGA compatible controller: Silicon Motion, Inc. SM910 (rev b5)
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:09.0 Communication controller: PCTel Inc HSP MicroModem 56 (rev 01)
00:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 02)
00:0a.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 02)
05:00.0 Ethernet controller: Digital Equipment Corporation DECchip
21142/43 (rev 41)
From '/proc/pci' (I only included relevent parts b/c this is long) Note
the I/O at 0x4800
Bus 0, device 10, function 0:
CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 2).
IRQ 9.
Master Capable. Latency=168. Min Gnt=128.Max Lat=5.
Non-prefetchable 32 bit memory at 0x10000000 [0x10000fff].
Bus 0, device 10, function 1:
CardBus bridge: Ricoh Co Ltd RL5c476 II (#2) (rev 2).
IRQ 9.
Master Capable. Latency=168. Max Lat=5.
Non-prefetchable 32 bit memory at 0x10001000 [0x10001fff].
Bus 5, device 0, function 0:
Ethernet controller: PCI device 1011:0019 (rev 65).
IRQ 9.
Master Capable. Latency=64. Min Gnt=20.Max Lat=40.
I/O at 0x4800 [0x487f].
Non-prefetchable 32 bit memory at 0x11000000 [0x110003ff].
From '/proc/interrupts/
CPU0
0: 719395 XT-PIC timer
1: 3667 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 1 XT-PIC MS Sound System
8: 1 XT-PIC rtc
9: 9 XT-PIC Ricoh Co Ltd RL5c476 II, Ricoh Co Ltd
RL5c476 II (#2), eth0
11: 0 XT-PIC usb-uhci
12: 164 XT-PIC PS/2 Mouse
14: 7477 XT-PIC ide0
15: 19 XT-PIC ide1
NMI: 0
ERR: 1
From '/proc/ioports/ (I only included relevent parts) Note the Cardbus
is at 0x4000 and 0x4400 and my card is at 0x4800
0cf8-0cff : PCI conf1
2180-219f : Intel Corp. 82371AB PIIX4 ACPI
4000-40ff : PCI CardBus #01
4400-44ff : PCI CardBus #01
4800-48ff : PCI CardBus #05
4800-487f : PCI device 1011:0019
4800-487f : tulip
4c00-4cff : PCI CardBus #05
8000-803f : Intel Corp. 82371AB PIIX4 ACPI
fc90-fc9f : Intel Corp. 82371AB PIIX4 IDE
fc90-fc97 : ide0
fc98-fc9f : ide1
fca0-fcbf : Intel Corp. 82371AB PIIX4 USB
From 'dmesg' - Here's the tail part of it - I did a 'pcmcia restart'
just to show how the card was configued
cs: cb_free(bus 5)
unloading Kernel Card Services
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 9 for device 00:0a.0
PCI: Sharing IRQ 9 with 00:02.0
PCI: Found IRQ 9 for device 00:0a.1
Yenta IRQ list 0498, PCI irq9
Socket status: 30000046
Yenta IRQ list 0098, PCI irq9
Socket status: 30000860
cs: cb_alloc(bus 5): vendor 0x1011, device 0x0019
PCI: Enabling device 05:00.0 (0000 -> 0003)
PCI: Setting latency timer of device 05:00.0 to 64
tulip1: EEPROM default media type Autosense.
tulip1: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.
tulip1: MII transceiver #0 config 3000 status 7809 advertising 01e1.
eth0: Digital DS21143 Tulip rev 65 at 0xc6ce4000, 00:E0:98:74:40:3D, IRQ 9.
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x220-0x22f
0x250-0x257 0x388-0x38f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
eth0: Setting full-duplex based on MII#0 link partner capability of 45e1.
and finally From 'ifconfig'
eth0 Link encap:Ethernet HWaddr 00:E0:98:74:40:3D
inet addr:192.168.1.105 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:12 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:9 Base address:0x4000
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:21 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1904 (1.8 Kb) TX bytes:1904 (1.8 Kb)
This is all the information I can think of to provide - I was about to
try the newest pcmcia-cs package but the problem is that due to HD space
limitation I do did not have enough room to include the kernel sources.
So I want to get this resolved in other methods before I start deleting
packages.
Thanks for all the help anybody can give in advance.
Savio
--
Savio Lau
--------------000307080500020006020101
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<html>
<head>
</head>
<body>
I am somewhat of a Linux newbie so please bear with me here.<br>
<br>
I am running Redhat 7.3 on my laptop and I have a strange problem with the
Linksys Cardbus PC Card PCMPC200 v1 that I have.<br>
It uses a DEC 21142/21143 ethernet chipset. The card is verified to work
under Windows 2000 and Windows 98<br>
<br>
The system is running kernel 2.4.18-3 with pcmcia-cs version 3.1.22<br>
<br>
The card gets detected by the system and the tulip driver gets initialized
at irq 9 (which is correct - this is confirmed by cat /proc/pci). Typing
'ifconfig' also shows the right routing parameters and the correct IP - I
checked this with my desktop machine's ifconfig entries. In terms of i/o
ports, it's a bit strange. 'ifconfig' lists the base address at 0x4000 whereas
cat /proc/pci gives me i/o at 0x4800. From what I have read this may or
may not be the problem - I have no idea how to resolve this regardless.<br>
<br>
Other info: All pings from the laptop to any machine (in my network and outside)
returns as "Destination Unreachable". In 'dmesg' it is listed as:<br>
"NETDEV WATCHDOG: eth0: transmit timed out"<br>
<br>
Pinging from other machines to the card would make the ACT light blink but
'ifconfig' show that it has zero RX activity.<br>
Also, 'ifdown' does not seem to bring down the card (link light remains on
regardless). In addition, inserting and ejecting the card only gives me
1 beep instead of the customary 2 that every How-To says I should hear.<br>
<br>
So, in other words, the card is alive but is somehow deaf.<br>
<br>
Here are the files that may help with diagnosing the problem:<br>
<br>
>From '/proc/net/dev'<br>
<small><tt>Inter-| Receive
| Transmit<br>
face |bytes packets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed<br>
lo: 1904 21 0 0 0 0 0 0 1904
21 0 0 0 0 0 0<br>
eth0: 0 0 0 0 0 0 0 0
0 0 10 0 0 0 0 0</tt></small><br>
<br>
>From 'cardctl config'<br>
Socket 0:<br>
not configured<br>
Socket 1:<br>
Vcc 3.3V Vpp1 3.3V Vpp2 3.3V<br>
interface type is "cardbus"<br>
irq 9 [exclusive] [level]<br>
function 0:<br>
<br>
>From 'cardctl ident'<br>
Socket 0:<br>
no product info available<br>
Socket 1:<br>
product info: "Linksys", "EtherFast 10/100 CardBus PC Card(PCMPC200)",
"V1.0", ""<br>
manfid: 0x0149, 0x0231<br>
function: 6 (network)<br>
<br>
>From 'lspci'<br>
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge
(AGP disabled) (rev 03)<br>
00:02.0 VGA compatible controller: Silicon Motion, Inc. SM910 (rev b5)<br>
00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)<br>
00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)<br>
00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)<br>
00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)<br>
00:09.0 Communication controller: PCTel Inc HSP MicroModem 56 (rev 01)<br>
00:0a.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 02)<br>
00:0a.1 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 02)<br>
05:00.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43
(rev 41)<br>
<br>
>From '/proc/pci' (I only included relevent parts b/c this is long) Note the
I/O at 0x4800<br>
Bus 0, device 10, function 0:<br>
CardBus bridge: Ricoh Co Ltd RL5c476 II (rev 2).<br>
IRQ 9.<br>
Master Capable. Latency=168. Min Gnt=128.Max Lat=5.<br>
Non-prefetchable 32 bit memory at 0x10000000 [0x10000fff].<br>
Bus 0, device 10, function 1:<br>
CardBus bridge: Ricoh Co Ltd RL5c476 II (#2) (rev 2).<br>
IRQ 9.<br>
Master Capable. Latency=168. Max Lat=5.<br>
Non-prefetchable 32 bit memory at 0x10001000 [0x10001fff].<br>
Bus 5, device 0, function 0:<br>
Ethernet controller: PCI device 1011:0019 (rev 65).<br>
IRQ 9.<br>
Master Capable. Latency=64. Min Gnt=20.Max Lat=40.<br>
I/O at 0x4800 [0x487f].<br>
Non-prefetchable 32 bit memory at 0x11000000 [0x110003ff].<br>
<br>
<br>
>From '/proc/interrupts/<br>
CPU0 <br>
0: 719395 XT-PIC timer<br>
1: 3667 XT-PIC keyboard<br>
2: 0 XT-PIC cascade<br>
5: 1 XT-PIC MS Sound System<br>
8: 1 XT-PIC rtc<br>
9: 9 XT-PIC Ricoh Co Ltd RL5c476 II, Ricoh Co Ltd RL5c476
II (#2), eth0<br>
11: 0 XT-PIC usb-uhci<br>
12: 164 XT-PIC PS/2 Mouse<br>
14: 7477 XT-PIC ide0<br>
15: 19 XT-PIC ide1<br>
NMI: 0 <br>
ERR: 1<br>
<br>
>From '/proc/ioports/ (I only included relevent parts) Note the Cardbus is
at 0x4000 and 0x4400 and my card is at 0x4800<br>
0cf8-0cff : PCI conf1<br>
2180-219f : Intel Corp. 82371AB PIIX4 ACPI<br>
4000-40ff : PCI CardBus #01<br>
4400-44ff : PCI CardBus #01<br>
4800-48ff : PCI CardBus #05<br>
4800-487f : PCI device 1011:0019<br>
4800-487f : tulip<br>
4c00-4cff : PCI CardBus #05<br>
8000-803f : Intel Corp. 82371AB PIIX4 ACPI<br>
fc90-fc9f : Intel Corp. 82371AB PIIX4 IDE<br>
fc90-fc97 : ide0<br>
fc98-fc9f : ide1<br>
fca0-fcbf : Intel Corp. 82371AB PIIX4 USB<br>
<br>
>From 'dmesg' - Here's the tail part of it - I did a 'pcmcia restart' just
to show how the card was configued<br>
cs: cb_free(bus 5)<br>
unloading Kernel Card Services<br>
Linux Kernel Card Services 3.1.22<br>
options: [pci] [cardbus] [pm]<br>
PCI: Found IRQ 9 for device 00:0a.0<br>
PCI: Sharing IRQ 9 with 00:02.0<br>
PCI: Found IRQ 9 for device 00:0a.1<br>
Yenta IRQ list 0498, PCI irq9<br>
Socket status: 30000046<br>
Yenta IRQ list 0098, PCI irq9<br>
Socket status: 30000860<br>
cs: cb_alloc(bus 5): vendor 0x1011, device 0x0019<br>
PCI: Enabling device 05:00.0 (0000 -> 0003)<br>
PCI: Setting latency timer of device 05:00.0 to 64<br>
tulip1: EEPROM default media type Autosense.<br>
tulip1: Index #0 - Media MII (#11) described by a 21142 MII PHY (3) block.<br>
tulip1: MII transceiver #0 config 3000 status 7809 advertising 01e1.<br>
eth0: Digital DS21143 Tulip rev 65 at 0xc6ce4000, 00:E0:98:74:40:3D, IRQ
9.<br>
cs: IO port probe 0x0c00-0x0cff: clean.<br>
cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x220-0x22f 0x250-0x257
0x388-0x38f 0x4d0-0x4d7<br>
cs: IO port probe 0x0a00-0x0aff: clean.<br>
eth0: Setting full-duplex based on MII#0 link partner capability of 45e1.<br>
<br>
and finally From 'ifconfig'<br>
eth0 Link encap:Ethernet HWaddr 00:E0:98:74:40:3D <br>
inet addr:192.168.1.105 Bcast:192.168.1.255 Mask:255.255.255.0<br>
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br>
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:0 errors:12 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:100 <br>
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)<br>
Interrupt:9 Base address:0x4000 <br>
<br>
lo Link encap:Local Loopback <br>
inet addr:127.0.0.1 Mask:255.0.0.0<br>
UP LOOPBACK RUNNING MTU:16436 Metric:1<br>
RX packets:21 errors:0 dropped:0 overruns:0 frame:0<br>
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0<br>
collisions:0 txqueuelen:0 <br>
RX bytes:1904 (1.8 Kb) TX bytes:1904 (1.8 Kb)<br>
<br>
This is all the information I can think of to provide - I was about to try
the newest pcmcia-cs package but the problem is that due to HD space limitation
I do did not have enough room to include the kernel sources. So I want to
get this resolved in other methods before I start deleting packages.<br>
<br>
Thanks for all the help anybody can give in advance.<br>
<br>
Savio<br>
<pre class="moz-signature" cols="$mailwrapcol">--
Savio Lau </pre>
</body>
</html>
--------------000307080500020006020101--