problem with PCMCIA "IBM 10/100 EtherJet CardBus"

Support section for FREESCO v0.4.x 3rd Party Packages

problem with PCMCIA "IBM 10/100 EtherJet CardBus"

Postby dreamer » Fri Jan 06, 2012 5:11 pm

I installed the pcmcia-3.1.34-lightning package on a fresh default 0.4.3. HD install.
I have not changed any of de config files, just to see what happens.

The card is supported by the package has far as I can see.
-- cardctl ident
Socket 0:
product info: "IBM", "10/100 EtherJet CardBus", "IBMC-10/100", "1.04"
manfid: 0x00a4, 0x0113
function: 6 (network)
PCI id: 0x115d, 0x0003
Socket 1:
no product info available

When I insert the card I get the following error in the info log

cardmgr[883]: socket 0: IBM 10/100 EtherJet CardBus
cardmgr[883]: executing: 'insmod /lib/modules/2.0.40/pcmcia/cb_enabler.o'
cardmgr[883]: executing: 'insmod /lib/modules/2.0.40/pcmcia/tulip_cb.o'
cardmgr[883]: + insmod: unresolved symbol le16_to_cpu
cardmgr[883]: + insmod: unresolved symbol le32_to_cpu
cardmgr[883]: + insmod: unresolved symbol cpu_to_le32
cardmgr[883]: insmod exited with status 1
cardmgr[883]: executing: 'modprobe tulip_cb'
cardmgr[883]: modprobe exited with status 2
cardmgr[883]: get dev info on socket 0 failed: Try again

The system is a Thinkpad T21.

-- dmesg
Memory: sized by int13 0e801h
Console: 16 point font, 400 scans
Console: colour VGA+ 80x25, 1 virtual console (max 63)
pcibios: BIOS32 Service structure at 0x000f71a0
pcibios: BIOS32 Service entry at 0xfd820
pcibios: PCI BIOS 2.10 entry at 0xfd94f
Probing PCI hardware.
Calibrating delay loop.. ok - 645.53 BogoMIPS
Memory: 514716k/524224k available (652k kernel code, 384k reserved, 7476k data, 0k badram)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: IGMP, ICMP, UDP, TCP
Linux IP multicast router 0.07.
Checking 386/387 coupling... fpu using exception 16.
Checking 'hlt'... Ok.
Linux version 2.0.40 (Lewis@Official-FREESCO-kernel) (gcc version 2.7.2.3) #94 Thu Aug 28 19:12:18 PDT 2008
Starting kswapd v 1.4.2.2
Serial driver version 4.13p1 with no serial options enabled
lp0 at 0x03bc, (polling)
Real Time Clock Driver v1.09
Ramdisk driver initialized : 16 ramdisks of 16384K size
loop: registered device at major 7
hda: IBM-DJSA-210, 9590MB w/384kB Cache, CHS=1299/240/63
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
Ethernet Bridge 002 for NET3.035 (Linux 2.0)
PPP: version 2.3.11 (demand dialing)
TCP compression code copyright 1989 Regents of the University of California
PPP line discipline registered.
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
Partition check:
hda: hda1
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Linux PCMCIA Card Services 3.1.34
kernel build: 2.0.40 unknown
options: [pci] [cardbus]
PCI routing table version 1.0 at 0xfdee0
Intel ISA/PCI/CardBus PCIC probe:
TI 1450 rev 03 PCI-to-CardBus at slot 00:02, mem 0x50000000
host opts [0]: [ring] [serial pci & irq] [pci irq 10] [lat 64/176] [bus 2/4]
host opts [1]: [ring] [serial pci & irq] [pci irq 10] [lat 64/176] [bus 5/7]
ISA irqs (scanned) = 3,4,5,7,9,15 PCI status changes
cs: cb_alloc(bus 2): vendor 0x115d, device 0x0003
ROM image dump:
image 0: 0x000000-0xffffffff, signature PCIR
pci-scan.c:v1.12 7/30/2003 Donald Becker <becker@scyld.com> http://www.scyld.com/linux/drivers.html
3c59x.c:v0.99Zc 12/15/2003 Donald Becker, becker@scyld.com
http://www.scyld.com/network/vortex.html
eth0: 3Com 3c1556B mini-PCI at 0x1800, 00:00:86:49:76:54, IRQ 11
MII transceiver at 0, status 786d.
eepro100.c:v1.28a 12/05/2003 Donald Becker <becker@scyld.com>
http://www.scyld.com/network/eepro100.html
RTL8169 Gigabit Ethernet driver 2.0f loaded

I hope someone can help.

Thanks
This message has been put together from recycled bits.

"Hope is a waking dream." - - Aristotle.
User avatar
dreamer
Newbie
 
Posts: 17
Joined: Wed Jul 07, 2004 3:11 am
Location: The Netherlands

Re: problem with PCMCIA "IBM 10/100 EtherJet CardBus"

Postby Lightning » Sat Jan 07, 2012 1:47 am

Try installing one of the 040 kernels onto the system and see what happens. Probably one of the 686 vipc cd kernels would be a good choice to start with. There has been some kernel source changes in later 04x kernels that may be causing a problem.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12079
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: problem with PCMCIA "IBM 10/100 EtherJet CardBus"

Postby dreamer » Mon Jan 09, 2012 2:25 pm

I tried all the 0.4.x kernels, some work some don't.
They give all the same result.
I even installed 0.3.8 same result. :(

Did some searching on the web and it has some thing to do with big endian and little endian.
http://readlist.com/lists/vger.kernel.org/linux-kernel/9/46026.html

Then I thought lets do crazy with this 0.3.8 and try what driver would work.
Well the fethcb_cb driver gave the most response.

-- dmesg
Linux PCMCIA Card Services 3.1.34
kernel build: 2.0.39 #48 Tue Dec 11 17:08:31 PST 2007
options: [pci] [cardbus]
PCI routing table version 1.0 at 0xfdee0
Intel ISA/PCI/CardBus PCIC probe:
TI 1450 rev 03 PCI-to-CardBus at slot 00:02, mem 0x50000000
host opts [0]: [ring] [serial pci & irq] [pci irq 10] [lat 64/176] [bus 2/4]
host opts [1]: [ring] [serial pci & irq] [pci irq 10] [lat 64/176] [bus 5/7]
ISA irqs (scanned) = 3,4,5,7,9,15 PCI status changes
pci-scan.c:v1.12 7/30/2003 Donald Becker <becker@scyld.com> http://www.scyld.com/linux/drivers.html
3c59x.c:v0.99Zc 12/15/2003 Donald Becker, becker@scyld.com
http://www.scyld.com/network/vortex.html
The PCI BIOS has not enabled the device at 0/24! Updating PCI command 0013->0017.
eth0: 3Com 3c1556B mini-PCI at 0x1800, 00:00:86:49:76:54, IRQ 11
eth0: CardBus functions mapped e8101000->2002b000.
8K buffer 5:3 Rx:Tx split, Autonegotiate interface.
MII transceiver found at address 0, status 786d.
Using bus-master transmits and whole-frame receives.
rtl8139.c:v1.24 11/13/2003 Donald Becker, becker@scyld.com.
http://www.scyld.com/network/rtl8139.html
RTL8169 Gigabit Ethernet driver 1.0 loaded
3c59x.c:v0.99H 11/17/98 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/vortex.html
ne.c: No PCI cards found. Use "io=0xNNN" value(s) for ISA cards.
ne2k-pci.c:v0.99L 2/7/98 D. Becker/P. Gortmaker http://cesdis.gsfc.nasa.gov/linux/drivers/ne2k-pci.html
smc-ultra.c: Presently autoprobing (not recommended) for a single card.
smc-ultra.c: No SMC Ultra card found (i/o = 0x0).
cs: cb_alloc(bus 2): vendor 0x115d, device 0x0003
ROM image dump:
image 0: 0x000000-0xffffffff, signature PCIR
rtl8139.c:v1.08 6/25/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html
cs: cb_config(bus 2)
cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x370-0x377 0x4d0-0x4d7
cs: IO port probe 0x0178-0x036f: clean.
cs: IO port probe 0x0378-0x04cf: clean.
cs: IO port probe 0x04d8-0x04ff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
fn 0 bar 1: io 0x200-0x27f
fn 0 bar 2: mem 0x6000d000-0x6000d7ff
fn 0 bar 3: mem 0x6000c000-0x6000c7ff
fn 0 rom: mem 0x60008000-0x6000bfff
irq 10
cs: cb_enable(bus 2)
bridge io map 0 (flags 0x21): 0x200-0x27f
bridge mem map 0 (flags 0x1): 0x60008000-0x6000dfff
rtl8139_attach(bus 2, function 0)
rtl8139.c:v1.08 6/25/99 Donald Becker http://cesdis.gsfc.nasa.gov/linux/drivers/rtl8139.html
eth1: <NULL> at 0x200, IRQ 10, 00:00:00:00:00:00.
eth1: No MII transceivers found! Assuming SYM transceiver.

I'll keep on trying to get the thing working.
This message has been put together from recycled bits.

"Hope is a waking dream." - - Aristotle.
User avatar
dreamer
Newbie
 
Posts: 17
Joined: Wed Jul 07, 2004 3:11 am
Location: The Netherlands

Re: problem with PCMCIA "IBM 10/100 EtherJet CardBus"

Postby Lightning » Mon Jan 09, 2012 9:42 pm

I found in the tulip_cb driver where there were two undefined references to variables and corrected them. So I re-compiled the tulip_cb driver for the 04x series. Just copy the new driver over the old one and see what it does.

http://lewys-spot.dyndns.org/test/tulip_cb.o

As for any issues in the 03x series I am uncertain. I can say that in 037 and 038 there were quite a number of kernel changes that might effect things with regards to drivers.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12079
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: problem with PCMCIA "IBM 10/100 EtherJet CardBus"

Postby dreamer » Tue Jan 10, 2012 3:24 pm

Made a fresh 0.4.3 HD install with the new module, inserted the card and it's recognised and is shown as network interface eth1.

Lightning thanks for the new module, what should we do without you and your knowledge.

-- infolog
cardmgr[883]: socket 0: IBM 10/100 EtherJet CardBus
cardmgr[883]: executing: 'insmod /lib/modules/2.0.40/pcmcia/cb_enabler.o'
cardmgr[883]: executing: 'insmod /lib/modules/2.0.40/pcmcia/tulip_cb.o'
cardmgr[883]: executing: './network start eth1'

--dmesg
Linux PCMCIA Card Services 3.1.34
kernel build: 2.0.40 unknown
options: [pci] [cardbus]
PCI routing table version 1.0 at 0xfdee0
Intel ISA/PCI/CardBus PCIC probe:
TI 1450 rev 03 PCI-to-CardBus at slot 00:02, mem 0x50000000
host opts [0]: [ring] [serial pci & irq] [pci irq 10] [lat 64/176] [bus 2/4]
host opts [1]: [ring] [serial pci & irq] [pci irq 10] [lat 64/176] [bus 5/7]
ISA irqs (scanned) = 3,4,5,7,9,15 PCI status changes
pci-scan.c:v1.12 7/30/2003 Donald Becker <becker@scyld.com> http://www.scyld.com/linux/drivers.html
3c59x.c:v0.99Zc 12/15/2003 Donald Becker, becker@scyld.com
http://www.scyld.com/network/vortex.html
The PCI BIOS has not enabled the device at 0/24! Updating PCI command 0013->0017.
eth0: 3Com 3c1556B mini-PCI at 0x1800, 00:00:86:49:76:54, IRQ 11
MII transceiver at 0, status 786d.
eepro100.c:v1.28a 12/05/2003 Donald Becker <becker@scyld.com>
http://www.scyld.com/network/eepro100.html
RTL8169 Gigabit Ethernet driver 2.0f loaded
cs: cb_alloc(bus 2): vendor 0x115d, device 0x0003
ROM image dump:
image 0: 0x000000-0xffffffff, signature PCIR
cs: cb_config(bus 2)
cs: IO port probe 0x0100-0x04ff: excluding 0x170-0x177 0x370-0x377 0x4d0-0x4d7
cs: IO port probe 0x0178-0x036f: clean.
cs: IO port probe 0x0378-0x04cf: clean.
cs: IO port probe 0x04d8-0x04ff: clean.
cs: IO port probe 0x0800-0x08ff: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
cs: IO port probe 0x0c00-0x0cff: excluding 0xcf8-0xcff
fn 0 bar 1: io 0x200-0x27f
fn 0 bar 2: mem 0x6000d000-0x6000d7ff
fn 0 bar 3: mem 0x6000c000-0x6000c7ff
fn 0 rom: mem 0x60008000-0x6000bfff
irq 10
cs: cb_enable(bus 2)
bridge io map 0 (flags 0x21): 0x200-0x27f
bridge mem map 0 (flags 0x1): 0x60008000-0x6000dfff
tulip_attach(device 02:00.0)
tulip.c:v0.91g-ppc 7/16/99 becker@scyld.com (modified by danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford)
eth1: Xircom Cardbus Adapter (DEC 21143 compatible mode) rev 3 at 0x200, 00:10:A4:76:81:4C, IRQ 10.
eth1: MII transceiver #0 config 3100 status 7809 advertising 01e1.
This message has been put together from recycled bits.

"Hope is a waking dream." - - Aristotle.
User avatar
dreamer
Newbie
 
Posts: 17
Joined: Wed Jul 07, 2004 3:11 am
Location: The Netherlands

Re: problem with PCMCIA "IBM 10/100 EtherJet CardBus"

Postby Lightning » Wed Jan 11, 2012 8:22 pm

I am very glad to hear the new driver works. I just updated the pcmcia package with that driver included and it should be mirrored through the FREESCOsoft mirrors within a week. Currently it is just on my site http://lewys-spot.dyndns.org/packages/0 ... n-package/

Lightning thanks for the new module, what should we do without you and your knowledge.
I appreciate the compliment and it is a LOT easier to help when enough information is given. So I want to make certain to say thanks for the detailed information.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12079
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA


Return to 3rd Party Package Support for FREESCO v0.4.x

Who is online

Users browsing this forum: No registered users and 2 guests

cron