Yenta, Xircom and resources

Jan Kasprzak (kas@informatics.muni.cz)
Thu, 29 Jun 2000 12:06:59 +0200


Hello,

it seems there is some problem with Linux kernel running
on my Compaq Armada M700 with Xircom RBEM-56 ethernet/modem card.
LEDs on the cards go off). Removing the card from the cardbus socket
and inserting it again usually results in the resource allocation
error (messages below). About once of 10 insertions the card starts
working again.

It _may_ also be a hardware problem (such as overheating). But in The
Other Operating System(tm) it works flawlessly. Another observation is that
when the laptop is connected to the docking station, it works as well.

Here is the relevant part of /var/log/messages
(2.4.0-test1-ac<something>, but in -test2 it looks similar). It looks
that the cardmgr (or someone else) decides that the bus/socket is
no longer available, and shuts the socket down (the cb_disable(),
cb_release() etc messages).

Any ideas on what's going on here? Thanks,

-Yenya

Jun 29 10:13:13 localhost cardmgr[416]: initializing socket 0
Jun 29 10:13:13 localhost cardmgr[416]: socket 0: Xircom CardBus 10/100 Ethernet + 56K Modem
Jun 29 10:13:13 localhost kernel: cs: cb_alloc(bus 2): vendor 0x115d, device 0x0003
Jun 29 10:13:13 localhost kernel: PCI: Enabling device 02:00.0 (0000 -> 0003)
Jun 29 10:13:13 localhost kernel: PCI: Enabling device 02:00.1 (0000 -> 0003)
Jun 29 10:13:13 localhost cardmgr[416]: module /lib/modules/2.4.0-test1-ac18/pcmcia/cb_enabler.o not available
Jun 29 10:13:13 localhost cardmgr[416]: executing: 'insmod /lib/modules/2.4.0-test1-ac18/pcmcia/tulip_cb.o'
Jun 29 10:13:14 localhost kernel: tulip_attach(02:00.0)
Jun 29 10:13:14 localhost kernel: PCI: Setting latency timer of device 02:00.0 to 64
Jun 29 10:13:14 localhost kernel: xircom_tulip_cb.c:v0.91 4/14/99 becker@cesdis.gsfc.nasa.gov (modified by danilo@cs.uni-magdeburg.de for XIRCOM CBE, fixed by Doug Ledford)
Jun 29 10:13:14 localhost kernel: eth0: Xircom Cardbus Adapter (DEC 21143 compatible mode) rev 3 at 0x2800, 00:10:A4:E8:89:CB, IRQ 11.
Jun 29 10:13:14 localhost kernel: eth0: MII transceiver #0 config 3100 status 7809 advertising 01e1.
Jun 29 10:13:14 localhost cardmgr[416]: executing: 'insmod /lib/modules/2.4.0-test1-ac18/pcmcia/serial_cb.o'
Jun 29 10:13:14 localhost kernel: cs: cb_enable(bus 2)
Jun 29 10:13:14 localhost kernel: serial_attach(bus 2, fn 1)
Jun 29 10:13:14 localhost kernel: ttyS04 at port 0x2880 (irq = 11) is a 16550A
Jun 29 10:13:14 localhost cardmgr[416]: executing: './network start tulip_cb'
Jun 29 10:13:14 localhost cardmgr[416]: + dhcpcd: no process killed
Jun 29 10:13:18 localhost kernel: tty04 unloaded
Jun 29 10:13:18 localhost kernel: cs: cb_disable(bus 2)
Jun 29 10:13:18 localhost kernel: cs: cb_release(bus 2)
Jun 29 10:13:18 localhost kernel: tulip_detach(eth0)
Jun 29 10:13:18 localhost kernel: cs: cb_free(bus 2)
Jun 29 10:13:21 localhost cardmgr[416]: + SIOCSIFADDR: No such device
Jun 29 10:13:21 localhost cardmgr[416]: + eth0: unknown interface: No such device
Jun 29 10:13:21 localhost cardmgr[416]: + eth0: unknown interface: No such device
Jun 29 10:13:22 localhost cardmgr[416]: + Delaying eth0 initialization.
Jun 29 10:13:22 localhost cardmgr[416]: start cmd exited with status 1
Jun 29 10:13:22 localhost cardmgr[416]: executing: './serial start tulip_cb'
Jun 29 10:13:22 localhost cardmgr[416]: shutting down socket 0
Jun 29 10:13:22 localhost cardmgr[416]: executing: './network stop tulip_cb'
Jun 29 10:13:22 localhost cardmgr[416]: executing: './serial stop tulip_cb'
Jun 29 10:13:22 localhost cardmgr[416]: executing: 'rmmod tulip_cb'
Jun 29 10:13:22 localhost cardmgr[416]: executing: 'rmmod serial_cb'
Jun 29 10:13:22 localhost cardmgr[416]: executing: 'rmmod cb_enabler'
Jun 29 10:13:22 localhost cardmgr[416]: + rmmod: module cb_enabler is not loaded
Jun 29 10:13:22 localhost cardmgr[416]: rmmod exited with status 1
Jun 29 10:13:30 localhost kernel: cs: cb_alloc(bus 2): vendor 0x115d, device 0x0003
Jun 29 10:13:30 localhost kernel: PCI: I/O Region 02:00.0/0 too large (16388 bytes)
Jun 29 10:13:30 localhost kernel: PCI: Failed to allocate resource 0 for PCI device 115d:ffff
Jun 29 10:13:30 localhost kernel: PCI: I/O Region 02:00.0/-1 too large (16388 bytes)
Jun 29 10:13:30 localhost kernel: PCI: Failed to allocate resource 1 for PCI device 115d:ffff
Jun 29 10:13:30 localhost kernel: PCI: I/O Region 02:00.0/-2 too large (16388 bytes)
Jun 29 10:13:30 localhost kernel: PCI: Failed to allocate resource 2 for PCI device 115d:ffff
Jun 29 10:13:30 localhost kernel: PCI: I/O Region 02:00.0/-3 too large (16388 bytes)
Jun 29 10:13:30 localhost kernel: PCI: Failed to allocate resource 3 for PCI device 115d:ffff
Jun 29 10:13:30 localhost kernel: PCI: I/O Region 02:00.0/-4 too large (16388 bytes)
Jun 29 10:13:30 localhost kernel: PCI: Failed to allocate resource 4 for PCI device 115d:ffff
Jun 29 10:13:30 localhost kernel: PCI: I/O Region 02:00.0/-5 too large (16388 bytes)
Jun 29 10:13:30 localhost kernel: PCI: Failed to allocate resource 5 for PCI device 115d:ffff
Jun 29 10:13:30 localhost cardmgr[416]: initializing socket 0
Jun 29 10:13:30 localhost kernel: PCI: Error while updating region 02:00.0/6 (10400001 != ffffbfff)
Jun 29 10:13:30 localhost cardmgr[416]: unsupported card in socket 0

-- 
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz>       http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz   0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\             Czech Linux Homepage:  http://www.linux.cz/              ///
/// Vite jak Microsoft vyrabi nezavirovana CD? ... ... ... Pouziva UNIX! \\\
//     http://support.microsoft.com/support/kb/articles/Q80/5/20.ASP      \\

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/