PCMCIA troubles

Dagmar d'Surreal no.spam at allowed.here
Wed Jan 8 21:35:50 PST 2003

On Wed, 2003-01-08 at 10:36, Aleksandr Guidrevitch wrote:
> Hello, All
> I have Xircom CBEM56G CardBus Ethernet 10/100 + Modem 56 pcmcia card.
> I've installed pcmcia-cs package on a Dell CPTs laptop running (almost) 
> fresh LFS 4.0. When I run `/etc/rc.d/init.d/pcmcia start` (retyping from 
> the laptop, since it has no internet connectivity):
> -------------------------------------
> #/etc/rc.d/init.d/pcmcia start
> Starting PCMCIA services: Linux Kernel Card Services 3.1.22
>    options: [pci] [cardbus] [pm]
> PCI: Found IRQ 11 for device 00:03.0
> PCI: Sharing IRQ 11 with 00:03.1
> PCI: Sharing IRQ 11 with 00:07.2
> PCI: Found IRQ 11 for device 00:03.1
> PCI: Sharing IRQ 11 with 00:03.0
> PCI: Sharing IRQ 11 with 00:07.2
> Yenta IRQ list 0690, PCI irq11
> Socket status: 30000020
> Yenta IRQ list 0690, PCI irq11
> Socket status: 30000006
> cs: cb_alloc(bus 2): vendor 0x115d, device 0x0003
> PCI:Enabling device 02:00.0 (0000 -> 0003)
> PCI:Enabling device 02:00.1 (0000 -> 0003)
> ttyS04 at port 0x4080 (irq = 11) is a 16550A

Looks like it's found a modem to me.  Symlink /dev/ttyS04 as /dev/modem
and throw minicom or something at it.

> cardmgr[149]: watching 2 sockets
> cs: IO port probe 0x0c00-0x0cff: clean.
> cs: IO port probe 0x0800-0x08ff: clean.
> cs: IO port probe 0x0c00-0x0cff: excluding 0x300-0x307 0x378-0x37f 
> 0x4d0-0x4d7
> cs: IO port probe 0x0a00-0x0aff: clean.
> done.
> -------------------------------------
> #cat /var/lib/pcmcia/stab
> Socket 0: CardBus hotplug device
> Socket 1: empty
> -------------------------------------

That file is actually somewhat useless for diagnosing stuff, but it at
least somewhat indicates things are working.

> But no ethernet/modem interfaces are brought up :((, so ifconfig only 
> shows loopback interface.

Actually this is normal.  Until the interface has been initialized with
an IP address, it's not going to appear in the output of
`/sbin/ifconfig` at all, and in some cases specifying the interface
explicitly like `/sbin/ifconfig eth0` is pretty meaningless as well. 
Perhaps you forgot to edit /etc/pcmcia/network.opts?  (hint hint)

If none of this works, upgrade pcmcia-cs to either 3.1.34 or 3.2.3 (my
own notebook just died recently, so I haven't tested the 3.2.x series)
and then post updated syslog output.

> I've already looked through google/lfs archives, but haven't found a 
> solution :(
> I'm a newbie to linux and to LFS (I've installed it with nALFS),
> PS. the kernel is compiled with config stolen from my RH7.3.

Heh.  Not a bad idea.  :)

BTW, you should consider updating pcmcia-cs to 3.1.34 (the latest 3.1.x
version) or 3.2.3 (the latest 3.2.x version).  I've gotten Linux going
on about 30 different types of notebooks and usually any problems I had
would disappear with an upgrade to the latest pcmcia-cs package.  

You might also want to consider _not_ enabling the yenta module in the
kernel if it gives you fits.  On some older chipsets it still kills the
machine.  (You seem to be doing just fine with it tho.  :) )

Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list