Installation pb
Vincent Guirardel <[email protected]> Sat, 01 Nov 2003 01:24:04 +0100
| Newsgroups | gmane.linux.drivers.realtek.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi everybody,
I have some trouble installing my PCMCIA (Cardbus) network card
on my laptop.
Here is my setup: kernel 2.4.18, Mandrake 8.1.
I downloaded netdrivers-3.5 from scyld.com.
the command `make' did work
(but I had to manually add a library path namely
-I/usr/lib/gcc-lib/i586-mandrake-linux-gnu/egcs-2.91.66/include so that
the compiler could find stdarg.h ...)
make install gave an error:
Unresolved symbols in cb_shim.o
Therefore, I tried to manually load the needed modules:
modprobe rtl8139
This works fine. It loads pci-scan as needed.
Then I try to configure my network card:
ifconfig eth0 192.168.1.2 netmask 255.255.255.0 up
This works fine too: eth0 shows up in the ifconfig output.
Now if I ping another machine (ping 192.168.1.1) from my laptop,
the system freezes.
By the way, if I ping the laptop network card from another computer
(before it freezes), then I get ``destination host unreachable''.
In case it helps, here are the relevant part of the output of lspci -v
and the output of rtl8139-diag:
________________________________________________
lspci -v
00:0a.0 CardBus bridge: Texas Instruments PCI1211
Subsystem: Compaq Computer Corporation: Unknown device b103
Flags: bus master, medium devsel, latency 168, IRQ 10
Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
Memory window 0: 10400000-107ff000 (prefetchable)
Memory window 1: 10800000-10bff000
I/O window 0: 00004000-000040ff
I/O window 1: 00004400-000044ff
16-bit legacy interface ports at 0001
___________________________________________________
rtl8139-diag :
rtl8139-diag.c:v2.11 4/22/2003 Donald Becker ([email protected])
http://www.scyld.com/diag/index.html
Index #1: Found a RealTek RTL8139 adapter at 0x4000.
RealTek chip registers at 0x4000
0x000: 53a10800 0000f8f7 04000000 00000000 00002000 00002000 00002000
00002000
0x020: fffefffc fffffffc fffffffc fffffffc ffffdffc 01000000 0000fff0
00000000
0x040: 74000000 00000040 feae8b62 00000000 004d1000 00000000 0089ed08
00100000
0x060: 1000000f 01e1782d 0000000f 00000000 00000005 000f77c0 b0f243b9
7a36d743.Realtek station address 00:08:a1:53:f7:f8, chip type 'rtl8139C'.
Receiver configuration: Reception disabled
Rx FIFO threshold 16 bytes, maximum burst 16 bytes, 8KB ring
Transmitter disabled with normal settings, maximum burst 16 bytes.
Tx entry #0 status 00002000 incomplete, 0 bytes.
Tx entry #1 status 00002000 incomplete, 0 bytes.
Tx entry #2 status 00002000 incomplete, 0 bytes.
Tx entry #3 status 00002000 incomplete, 0 bytes.
Flow control: Tx disabled Rx disabled.
The chip configuration is 0x10 0x4d, MII full-duplex mode.
No interrupt sources are pending.
Decoded EEPROM contents:
PCI IDs -- Vendor 0x10ec, Device 0x8139.
PCI Subsystem IDs -- Vendor 0x1371, Device 0x5041.
PCI timer settings -- minimum grant 16, maximum latency 32.
General purpose pins -- direction 0xed value 0x12.
Station Address 00:08:A1:53:F7:F8.
Configuration register 0/1 -- 0x4d / 0xc2.
EEPROM active region checksum is 09a5.
The RTL8139 does not use a MII transceiver.
It does have internal MII-compatible registers:
Basic mode control register 0x1000.
Basic mode status register 0x782d.
Autonegotiation Advertisement 0x01e1.
Link Partner Ability register 0x000f.
Autonegotiation expansion 0x0000.
Disconnects 0x0000.
False carrier sense counter 0x0000.
NWay test register 0x0005.
Receive frame error count 0x0000.
_______________________________________________________
Many Thanks,
Vincent