jot-87
01-07-2005, 05:33 PM
Got an old laptop (PII 266MHz, 64MB RAM, 4GB HD) and I'm trying to get the network going (I have a PCMCIA "UNEX 10/100mbit FastEthernet", or "MD011C"). I tried getting it working on VectorLinux 4.0 but didn't manage, which I found strange since I (somehow) got it to work last time.
Help learning how to find/install the right drivers would be much appriciated, or finding a slimmable distro that autoconfigures it.
teeitup
01-07-2005, 07:02 PM
You need the PCMCIA-CS package.
Link to PCMCIA-CS package (http://pcmcia-cs.sourceforge.net/)
Supported Cards - from the documentation (http://pcmcia-cs.sourceforge.net/ftp/SUPPORTED.CARDS)
I see a UNEX card listed.
Good Luck,
jot-87
01-07-2005, 09:52 PM
I wonder if that isn't already included though, because during the install I selected the option to run the PCMCIA thingy.
I'll do some research on it, thanks for the tip.
ph34r
01-07-2005, 10:27 PM
Check to see if your card is supported, and if so what module to use, on the Hardware HOWTO - at www.tldp.org
teeitup
01-08-2005, 04:39 AM
Maybe the modules aren't being loaded at boot time.
What do you see from /sbin/lsmod?
Is there anything in dmesg ot /var/log/messages?
jot-87
01-09-2005, 12:38 PM
Update on the name: The card is called MexNIC MD010C, and the chipset is called RTL8139(A/B/C/8130)
Also found a readme file with a link: http://www.scyld.com/rtl8139.html
Readme file attached. It only contained drivers for Redhat 6.2 and 7.0.
Seems I can get hold of drivers that I can compile myself. The only problem with that is that I have no idea how to do it.
lsmod:
Module Size Used by Not tainted
apm 9308 1 (autoclean)
uhci 23952 0 (unused)
usbcore 56896 1 [uhci]
maestro 27624 0 (unused)
soundcore 3300 2 [maestro]
8139too 15080 0
mii 2240 0 [8139too]
crc32 2848 0 [8139too]
ds 6408 2
yenta_socket 10176 2
pcmcia_core 39040 0 [ds yenta_socket]
ide-scsi 9232 0
dmesg:
Linux version 2.4.22 (root@vec7) (gcc version 3.2.2) #2 Mon Aug 25 16:17:44 PDT 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000ebc00 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000004000000 (usable)
BIOS-e820: 00000000fffebc00 - 0000000100000000 (reserved)
64MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
On node 0 totalpages: 16384
zone(0): 4096 pages.
zone(1): 12288 pages.
zone(2): 0 pages.
DMI not present.
ACPI: Unable to locate RSDP
Kernel command line: BOOT_IMAGE=Linux ro root=302
Initializing CPU#0
Detected 266.674 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 532.48 BogoMIPS
Memory: 61580k/65536k available (1811k kernel code, 3568k reserved, 642k data, 124k init, 0k highmem)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After generic, caps: 0183f9ff 00000000 00000000 00000000
CPU: Common caps: 0183f9ff 00000000 00000000 00000000
CPU: Intel Pentium II (Deschutes) stepping 02
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20030813
PCI: PCI BIOS revision 2.10 entry at 0xfd9d3, last bus=1
PCI: Using configuration type 1
ACPI: System description tables not found
ACPI-0084: *** Error: acpi_load_tables: Could not get RSDP, AE_NOT_FOUND
ACPI-0134: *** Error: acpi_load_tables: Could not load tables: AE_NOT_FOUND
ACPI: Unable to load the System Description Tables
PCI: Probing PCI hardware
PCI: ACPI tables contain no PCI IRQ routing entries
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router PIIX [8086/7110] at 00:07.0
PCI: Found IRQ 11 for device 00:04.0
PCI: Sharing IRQ 11 with 01:00.0
PCI: Found IRQ 11 for device 00:04.1
Limiting direct PCI/PCI transfers.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
vesafb: framebuffer at 0xfd000000, mapped to 0xc480d000, size 1536k
vesafb: mode is 1024x768x8, linelength=1024, pages=4
vesafb: protected mode interface info at c000:4d5a
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
Detected PS/2 Mouse Port.
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS02 at 0x03e8 (irq = 4) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xfcd0-0xfcd7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xfcd8-0xfcdf, BIOS settings: hdc:pio, hdd:pio
hda: FUJITSU MHC2040AT, ATA DISK drive
blk: queue c03b25e0, I/O limit 4095Mb (mask 0xffffffff)
hdc: TOSHIBA CD-ROM XM-1802B, ATAPI CD/DVD-ROM drive
ide2: ports already in use, skipping probe
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
hda: 8007552 sectors (4100 MB), CHS=993/128/63, UDMA(33)
hdc: attached ide-cdrom driver.
hdc: ATAPI 24X CD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
8regs : 491.200 MB/sec
32regs : 237.600 MB/sec
pII_mmx : 597.200 MB/sec
p5_mmx : 617.600 MB/sec
raid5: using function: p5_mmx (617.600 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
LVM version 1.0.5+(22/07/2002)
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 124k freed
Adding Swap: 124956k swap-space (priority -1)
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Found IRQ 11 for device 00:04.0
PCI: Sharing IRQ 11 with 01:00.0
PCI: Found IRQ 11 for device 00:04.1
Yenta IRQ list 0698, PCI irq11
Socket status: 30000020
Yenta IRQ list 0698, PCI irq11
Socket status: 30000006
cs: cb_alloc(bus 2): vendor 0x10ec, device 0x8139
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 0x378-0x37f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
8139too Fast Ethernet driver 0.9.26
PCI: Setting latency timer of device 02:00.0 to 64
eth0: RealTek RTL8139 Fast Ethernet at 0xc49c6000, 00:10:60:5a:b2:0c, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
PCI: Found IRQ 5 for device 00:08.0
maestro: Configuring ESS Maestro 2 found at IO 0xF800 IRQ 5
maestro: subvendor id: 0x00851028
maestro: not attempting power management.
maestro: AC97 Codec detected: v: 0x41445303 caps: 0x400 pwr: 0xf
maestro: 1 channels configured.
maestro: version 0.15 time 17:27:06 Aug 25 2003
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 11 for device 00:07.2
uhci.c: USB UHCI at I/O 0xfce0, IRQ 11
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
uhci.c: fce0: host controller halted. very bad
usb-uhci.c: $Revision: 1.275 $ time 17:32:07 Aug 25 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
eth0: Setting half-duplex based on auto-negotiated partner ability 0000.
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
hdc: packet command error: status=0x51 { DriveReady SeekComplete Error }
hdc: packet command error: error=0x50
ATAPI device hdc:
Error: Illegal request -- (Sense key=0x05)
Invalid field in command packet -- (asc=0x24, ascq=0x00)
The failed "Start/Stop Unit" packet command was:
"1b 00 00 00 03 00 00 00 00 00 00 00 "
Error in command packet byte 4 bit 0
cdrom: open failed.
hdc: DMA interrupt recovery
hdc: lost interrupt
Interleaved files not (yet) supported.
File unit size != 0 for ISO file (36864).
hdc: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hdc: status error: error=0x00
hdc: drive not ready for command
Not sure how to use all this information.
Seems I'm getting somewhere at last. Further help would be great, I don't know what the best thing is to do next: learn to compile a module, or fix it some other way.
teeitup
01-09-2005, 08:01 PM
It looks like your card is working.
From the readme.txt...
the series of RTL8139(A/B/C/8130) chip
From your dmesg output...
PCI: Found IRQ 11 for device 00:04.0
PCI: Sharing IRQ 11 with 01:00.0
PCI: Found IRQ 11 for device 00:04.1
Yenta IRQ list 0698, PCI irq11
Socket status: 30000020
Yenta IRQ list 0698, PCI irq11
Socket status: 30000006
cs: cb_alloc(bus 2): vendor 0x10ec, device 0x8139
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 0x378-0x37f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
8139too Fast Ethernet driver 0.9.26
PCI: Setting latency timer of device 02:00.0 to 64
eth0: RealTek RTL8139 Fast Ethernet at 0xc49c6000, 00:10:60:5a:b2:0c, IRQ 11
eth0: Identified 8139 chip type 'RTL-8139C'
What's the output of ifconfig
Tell us more about your network. How are IP addresses handled? Static? DHCP?
jot-87
01-11-2005, 06:08 AM
The computer is configured to use DHCP, which is used on the network.
None of the three small light on the card light up.
The output from ifconfig displays info about "lo", but nothing about "eth0".