Addtron EP-210 PCMCIA ethernet not up


Forum: Laptops
Topic: Addtron EP-210 PCMCIA ethernet not up
started by: dmb2

Posted by dmb2 on Sep. 26 2005,22:27
In my Toshiba 440CDX laptop, an Addtron EP-210 PCMCIA Ethernet card (NE2000 compatible) is not activated in DSL, but works fine in tomsrtbt.  I hope that someone will be able to interpret the info and error messages below and tell me how to get DSL to recognize and activate the card. Sorry this post turned out so long, but hope the info helps.

lsmod from tomsrtbt:

Module                  Size  Used by
pcnet_cs                9832   1
ds                      5904   2 [pcnet_cs]
i82365                 21088   2
pcmcia_core            43544   0 [pcnet_cs ds i82365]

Booting DSL fromhd=/dev/hda1 (no CDROM drive in this laptop) results in the following boot messages which do not appear in dmesg, so I wrote them down and then typed them:

cardmgr[76]: starting, version is 3.2.2
cardmgr[76]: socket 0: Anonymous Memory
cardmgr[76]: executing: 'modprobe memory_cs'
cardmgr[76]: + modprobe: Can't locate module memory_cs
cardmgr[76]: modprobe exited with status 255
cardmgr[76]: module /lib/modules/2.4.26/pcmcia/memory_cs.o not available
cardmgr[76]: get dev info on socket 0 failed: Resource temporarily unavailable

(I guess memory_cs results from mis-identifying card as anonymous memory?)

lsmod:

Module                  Size  Used by    Not tainted
apm                     9768   1 (autoclean)
cloop                   8740   2
ds                      6536   2
efs                     7436   0 (autoclean)
ext3                   64452   0 (autoclean)
hfs                    76960   0 (autoclean)
hid                    22372   0 (unused)
ide-cd                 28512   0
ide-scsi                8816   0
input                   3168   0 [mousedev hid]
jbd                    46516   0 (autoclean)  [ext3]
minix                  19848   0 (autoclean)
mousedev                3832   0 (unused)
nls_cp437               4348   1 (autoclean)
nls_iso8859-1           2844   2 (autoclean)
ntfs                   50944   0 (autoclean)
pcmcia_core            39840   0 [ds yenta_socket]
reiserfs              169616   0 (autoclean)
rtc                     7036   0 (autoclean)
serial                 52100   0 (autoclean)
soundcore               3428   0 (autoclean)
usbcore                57824   0 [hid]
xfs                   493220   0 (autoclean)
yenta_socket            9504   2

(yenta_socket is not needed?)

dmsesg:

Linux version 2.4.26 (root@Knoppix) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Sa Apr 17 19:33:42 CEST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000002020000 (usable)
BIOS-e820: 00000000fffe0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
32MB LOWMEM available.
On node 0 totalpages: 8224
zone(0): 4096 pages.
zone(1): 4128 pages.
zone(2): 0 pages.
DMI not present.
ACPI: Unable to locate RSDP
Kernel command line: ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=minirt24.gz nomce quiet BOOT_IMAGE=knoppix BOOT_IMAGE=linux24 fromhd=/dev/hda1 vga=normal nousb noapic
No local APIC present or hardware disabled
Initializing CPU#0
Detected 132.634 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 264.60 BogoMIPS
Memory: 29392k/32896k available (1371k kernel code, 3116k reserved, 561k data, 140k 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: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
Intel Pentium with F0 0F bug - workaround enabled.
CPU:     After generic, caps: 008001bf 00000000 00000000 00000000
CPU:             Common caps: 008001bf 00000000 00000000 00000000
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: none
CPU:     After generic, caps: 008001bf 00000000 00000000 00000000
CPU:             Common caps: 008001bf 00000000 00000000 00000000
CPU0: Intel Pentium MMX stepping 03
per-CPU timeslice cutoff: 160.11 usecs.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
ACPI: Subsystem revision 20040326
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xfdcf1, last bus=21
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: ACPI tables contain no PCI IRQ routing entries
PCI: Probing PCI hardware (bus 00)
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
pty: 256 Unix98 ptys configured
Floppy drive(s): fd0 is 1.44M
FDC 0 is an 8272A
RAMDISK driver initialized: 16 RAM disks of 100000K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: TOSHIBA MK1301MAV, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
hda: 2654280 sectors (1359 MB) w/128KiB Cache, CHS=658/64/63
Partition check:
hda: hda1 hda2 < hda5 hda6 >
ide: late registration of driver.
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
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 183k freed
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Unable to identify CD-ROM format.
VFS: Can't find ext2 filesystem on dev ide0(3,1).
cloop: Initializing cloop v2.01
cloop: loaded (max 8 devices)
cloop: /cdrom/KNOPPIX/KNOPPIX: 1863 blocks, 65536 bytes/block, largest block is 65552 bytes.
ISO 9660 Extensions: RRIP_1991A
Freeing unused kernel memory: 140k freed
Real Time Clock Driver v1.10f
Linux Kernel Card Services 3.1.22
 options:  [pci] [cardbus] [pm]
PCI: Enabling device 00:02.0 (0004 -> 0006)
PCI: Enabling device 00:02.1 (0004 -> 0006)
Yenta ISA IRQ mask 0x0000, PCI irq 11
Socket status: 30000010
Yenta ISA IRQ mask 0x0000, PCI irq 11
Socket status: 30000006
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x220-0x22f 0x2f8-0x2ff 0x330-0x337 0x370-0x37f 0x388-0x38f 0x3f8-0x3ff 0x480-0x48f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.
cs: memory probe 0xa0000000-0xa0ffffff: clean.
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
Journalled Block Device driver loaded
VFS: Can't find ext3 filesystem on dev ide0(3,6).
VFS: Can't find ext2 filesystem on dev ide0(3,6).
Unable to identify CD-ROM format.
sh-2021: reiserfs_read_super: can not find reiserfs on ide0(3,6)
FAT: bogus logical sector size 10
VFS: Can't find a valid FAT filesystem on dev 03:06.
SGI XFS with realtime, no debug enabled
SGI XFS Quota Management subsystem
XFS: bad magic number
XFS: SB validate failed
NTFS driver v1.1.22 [Flags: R/W MODULE]
VFS: Can't find a Minix or Minix V2 filesystem on device 03:06.
VFS: Can't find a HFS filesystem on dev 03:06.
EFS: 1.0a - < http://aeschi.ch.eu.org/efs/ >
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
FAT: bogus logical sector size 10
VFS: Can't find a valid FAT filesystem on dev 03:06.
apm: BIOS version 1.2 Flags 0x02 (Driver version 1.16)
__

Next I tried booting with nopcmcia, then modprobe pcmcia_core, then lsmod:

Module                  Size  Used by    Not tainted
apm                     9768   1 (autoclean)
cloop                   8740   2
efs                     7436   0 (autoclean)
ext3                   64452   0 (autoclean)
hfs                    76960   0 (autoclean)
hid                    22372   0 (unused)
ide-cd                 28512   0
ide-scsi                8816   0
input                   3168   0 [mousedev hid]
jbd                    46516   0 (autoclean)  [ext3]
minix                  19848   0 (autoclean)
mousedev                3832   0 (unused)
nls_cp437               4348   1 (autoclean)
nls_iso8859-1           2844   2 (autoclean)
ntfs                   50944   0 (autoclean)
pcmcia_core            39840   0
reiserfs              169616   0 (autoclean)
rtc                     7036   0 (autoclean)
serial                 52100   0 (autoclean)
soundcore               3428   0 (autoclean)
usb-ohci               18120   0 (unused)
usbcore                57824   1 [hid usb-ohci]
xfs                   493220   0 (autoclean)

DSL gave errors when modprobe i82365 or ds or pcnet_cs:

root@box:~# modprobe i82365
/lib/modules/2.4.26/kernel/drivers/pcmcia/i82365.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
     You may find more information in syslog or the output from dmesg
/lib/modules/2.4.26/kernel/drivers/pcmcia/i82365.o: insmod /lib/modules/2.4.26/kernel/drivers/pcmcia/i82365.o failed
/lib/modules/2.4.26/kernel/drivers/pcmcia/i82365.o: insmod i82365 failed

root@box:~# modprobe ds
/lib/modules/2.4.26/kernel/drivers/pcmcia/ds.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
     You may find more information in syslog or the output from dmesg
/lib/modules/2.4.26/kernel/drivers/pcmcia/ds.o: insmod /lib/modules/2.4.26/kernel/drivers/pcmcia/ds.o failed
/lib/modules/2.4.26/kernel/drivers/pcmcia/ds.o: insmod ds failed

root@box:~# modprobe pcnet_cs
/lib/modules/2.4.26/kernel/drivers/pcmcia/ds.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
     You may find more information in syslog or the output from dmesg
/lib/modules/2.4.26/kernel/drivers/pcmcia/ds.o: insmod /lib/modules/2.4.26/kernel/drivers/pcmcia/ds.o failed
/lib/modules/2.4.26/kernel/drivers/pcmcia/ds.o: insmod pcnet_cs failed

Here are DSL errors when I tried insmod pcnet_cs

root@box:~# insmod /lib/modules/2.4.26/kernel/drivers/net/pcmcia/pcnet_cs.o
/lib/modules/2.4.26/kernel/drivers/net/pcmcia/pcnet_cs.o: unresolved symbol ei_open
/lib/modules/2.4.26/kernel/drivers/net/pcmcia/pcnet_cs.o: unresolved symbol ethdev_init
/lib/modules/2.4.26/kernel/drivers/net/pcmcia/pcnet_cs.o: unresolved symbol register_pccard_driver
/lib/modules/2.4.26/kernel/drivers/net/pcmcia/pcnet_cs.o: unresolved symbol unregister_pccard_driver
/lib/modules/2.4.26/kernel/drivers/net/pcmcia/pcnet_cs.o: unresolved symbol ei_interrupt
/lib/modules/2.4.26/kernel/drivers/net/pcmcia/pcnet_cs.o: unresolved symbol NS8390_init
/lib/modules/2.4.26/kernel/drivers/net/pcmcia/pcnet_cs.o: unresolved symbol ei_close

Last few lines of dmesg:

Linux Kernel Card Services 3.1.22
 options:  [pci] [cardbus] [pm]
ds: no socket drivers loaded!
ds: no socket drivers loaded!
Intel ISA PCIC probe: not found.
Intel ISA PCIC probe: not found.
ds: no socket drivers loaded!
ds: no socket drivers loaded!

Well, I'm stuck at this point, newbie in this area of GNU/Linux. Scanned PCMCIA Howto but didn't see a solution to this problem.  Thanks in advance for any help.

Dave

Posted by cbagger01 on Sep. 27 2005,05:09
You should be able to start services by booting with nopcmcia and then type:

sudo su
modprobe pcmcia_core

Then you need to modprobe these:

modprobe yenta_socket
modprobe i82365
modprobe tcic

At least one of them should succeed.  Then type:

modprobe ds
cardmgr

Then wait a few seconds for the card manager to load.

If OK this far, you can try to load your network driver. Maybe

modprobe ne2k

or

modprobe ne2000


I am not sure.  Try doing an "lsmod" from within Tomsrtbt and see if you can find the driver name.

Posted by AwPhuch on Sep. 27 2005,16:41
Perhaps this will help...its not the exact model..so picking thru and messing around might help you

< http://www.geocities.com/SiliconValley/Lakes/2628/t430cds.html#PCCRD >
or
< http://web.archive.org/web....ttp >

starting from

< http://tuxmobil.org/toshiba.html >

Hope that helps!

Brian
AwPhuch

Posted by dmb2 on Sep. 28 2005,15:39
Thank you cbagger01! The commands shown below succeeded, i.e. no error messages. I will try to go online via ethernet when I get the laptop home from the cottage. If I don't post again in a week or so, it works fine.

For the record, this is the command sequence for my Addtron EP-210 PCMCIA card in Toshiba 440CDX:

# boot with nopcmcia;  as root,
modprobe pcmcia_core
modprobe yenta_socket
modprobe ds
cardmgr
# wait - note sounds
# modprobe pcnet_cs

I have put them in script form so I only need to run the script and type the last line (without the #).

Thank you AwPhuch for the links, especially the one to Linux on 440CDX. A site that referred to it showed it as "archived" so I thought it was gone.

Thanks again.
Dave

Posted by AwPhuch on Sep. 28 2005,22:31
Not gone..just old!

However it might be a boost for DSL and linux in general if you posted up a link there for how you got yours going!

:;):

Brian
AwPhuch

Posted by dmb2 on Oct. 01 2005,15:14
Problem is solved. I discovered a Toshiba BIOS setting: "PC Card Controller Mode" which has to be set to PCIC (it was set to Cardbus when I found it).

DSL ethernet now activates normally.

It is tricky getting into the Toshiba BIOS. Tap the esc key just after power on, before the memory check. It may take a few tries to succeed. Then 2 lines of text appear. Press F1. The card mode setting is on the lower right hand side of the first screen.

My todo list now includes getting a note about DSL on Toshiba 440CDX onto my webpage, and submitting a link to tuxmobil.

Sorry for leading us down the wrong path, but I did learn something about linux modules.  Thanks for your help and patience.
Dave

Posted by dmb2 on Oct. 11 2005,15:38
Here is the URL for my notes about DSL on a Toshiba Satellite Pro 440CDX Laptop with Addtron EP-210 PCMCIA Ethernet card:

< http://ca.geocities.com/ab876cd/ >

The above URL has been submitted to

< http://tuxmobil.org/toshiba.html >    and

< http://www.linux-laptop.net/ >

HTH    
 Dave

Posted by AwPhuch on Oct. 11 2005,16:37
Most excellent post man!!

Can you provide any more details such as IRQ/interrupts of your soundcards and drivers used and stuff like that

They have quite a few sites that list things like these and these will help others if they werent installing DSL

Way to go though man!!

Excellent, Excellent, Excellent

Brian
AwPhuch

Posted by dmb2 on Oct. 18 2005,01:20
Thanks Brian for your encouragement and suggestions. I have added the results of lsmod, lspci -v, cat /proc/interrupts, cat /proc/ioports, dmesg to the webpage at < http://ca.geocities.com/ab876cd/ >

Dave

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.