[ltp] cardmgr not sensing cards

Manolis Stamatogiannakis linux-thinkpad@linux-thinkpad.org
Thu, 6 Feb 2003 21:57:58 +0200 (EET)


Hi,
I am (still) trying to make pcmcia work on a thinkpad T21.
I use kernel pcmcia support as a module. The pcmcia modules
(ds, yenta_socket, pcmcia_core) are loaded at boot time.

But after that, there are lots of problems.

First, when /etc/init.d/pcmcia tries to start cardmgr, I get
the following messages:
cardmgr[1050]: starting, version is 3.2.1
cardmgr[1050]: select(): Bad file descriptor
cardmgr[1050]: exiting

So cardmgr does not start automaticaly. After booting, when I run
/etc/init.d/pcmcia to start cardmgr, it does start, but I get some
messages too:

gatsatsoni root # /etc/init.d/pcmcia start
 * Starting pcmcia...
cardmgr[1768]: watching 2 sockets
cardmgr[1768]: could not adjust resource: IO ports 0xc00-0xcff: Device or resource busy
cardmgr[1768]: could not adjust resource: IO ports 0x800-0x8ff: Device or resource busy
cardmgr[1768]: could not adjust resource: IO ports 0x100-0x4ff: Device or resource busy
cardmgr[1768]: could not adjust resource: memory 0xc0000-0xfffff: Input/output error
cardmgr[1768]: could not adjust resource: memory 0x60000000-0x60ffffff: Input/output error
cardmgr[1768]: could not adjust resource: memory 0xa0000000-0xa0ffffff: Input/output error
cardmgr[1768]: could not adjust resource: IO ports 0xa00-0xaff: Device or resource busy  [ ok ]


But my card is not identified when I insert it. To have my card
identified, I have to do cardctl insert 0. Then the card (compaq wlan) is
identified, and the modules are loaded, and eth1 created.

But then again it cannot get an IP from dhcp, even though
my settings are ok. I get the following on /var/log/messages:
Feb  6 21:50:18 gatsatsoni /etc/hotplug/net.agent: invoke /etc/init.d/net.eth1 start
Feb  6 21:50:21 gatsatsoni kernel: NETDEV WATCHDOG: eth1: transmit timed out
Feb  6 21:50:21 gatsatsoni kernel: eth1: Tx timeout! Resetting card. ALLOCFID=01f7, TXCOMPLFID=0000, EVSTAT=8081
Feb  6 21:50:25 gatsatsoni kernel: NETDEV WATCHDOG: eth1: transmit timed out
Feb  6 21:50:25 gatsatsoni kernel: eth1: Tx timeout! Resetting card. ALLOCFID=01f7, TXCOMPLFID=01e3, EVSTAT=808b
Feb  6 21:50:33 gatsatsoni kernel: NETDEV WATCHDOG: eth1: transmit timed out
Feb  6 21:50:33 gatsatsoni kernel: eth1: Tx timeout! Resetting card. ALLOCFID=01f7, TXCOMPLFID=01e3, EVSTAT=808b
Feb  6 21:50:49 gatsatsoni kernel: NETDEV WATCHDOG: eth1: transmit timed out
Feb  6 21:50:49 gatsatsoni kernel: eth1: Tx timeout! Resetting card. ALLOCFID=01f7, TXCOMPLFID=01e3, EVSTAT=808b

Finally dhcpcd timeouts and nothing happens.

Any ideas? Where to start from?

Thanks in advance,
Manolis