Mailing List Archive

PCMCIA doesn't work properly
After having compiled a 2.4.26 **working** kernel tailored for my needs
(from gentoo-sources), I re-compiled the same kernel with full support
to pcmcia cards ** disabling any pcmcia module ** in order to have the
modules prepared by compiling the package pcmcia-cs. This according to
what I read in the installation instructions.

Unfortunately, after firing /etc/init.d/pcmcia if I insert a wireless
450 Cisco card my gentoo simply load the module memory_cs (take into
account that the same pcmcia card is immediatedly detected and the
airo_cs module is loaded when booting from the livecd CD the gentoo
kernel with the options "dopcmcia"!!).

Here you are the /var/log/messages
***************************
Linux PCMCIA Card Services 3.2.5
kernel build: 2.4.26-vic05 #1 lun ott 18 23:05:24 GMT 2004
options: [pci] [cardbus] [apm]
Intel ISA/PCI/CardBus PCIC probe:
TI 1410 rev 02 PCI-to-CardBus at slot 02:06, mem 0x80100000
host opts [0]: [pci + serial irq] [pci irq 11] [lat 66/176] [bus 3/3]
ISA irqs (scanned) = 3,4,7 PCI status changes
cardmgr[2440]: watching 1 socket
cardmgr[2440]: starting, version is 3.2.5
cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa07fffff
cardmgr[2441]: socket 0: Anonymous Memory
cardmgr[2441]: executing: 'modprobe sram_mtd'
cardmgr[2441]: Common memory region at 0x1802200: Generic or SRAM
cardmgr[2441]: Common memory region at 0x1002200: Generic or SRAM
cardmgr[2441]: Common memory region at 0x1000000: Generic or SRAM
cardmgr[2441]: Common memory region at 0x0: Generic or SRAM
sram_mtd: common at 0x1802200, 9 kb, 100 ns
cardmgr[2441]: executing: 'modprobe memory_cs'
memory_cs: mem0: common 9 kb 8 mb 8704 bytes 16 mb
cardmgr[2441]: executing: './memory start mem0'
**************************
Here you are lsmod:

**************************
#lsmod

Module Size Used by Not tainted
memory_cs 9792 0 (unused)
sram_mtd 3592 0 (unused)
ds 7188 1 [memory_cs sram_mtd]
i82365 44816 1
pcmcia_core 43648 0 [memory_cs sram_mtd ds i82365]
sg 31772 0 (autoclean) (unused)
st 27960 0 (autoclean) (unused)
sr_mod 14808 0 (autoclean) (unused)
sd_mod 12204 0 (autoclean) (unused)
scsi_mod 90404 4 (autoclean) [sg st sr_mod sd_mod]
radeon 101408 1
agpgart 34464 3 (autoclean)
i810_audio 24316 0
soundcore 4164 2 [i810_audio]
ac97_codec 12852 0 [i810_audio]
usb-ohci 18856 0 (unused)
ehci-hcd 17964 0 (unused)
usbcore 61260 1 [usb-ohci ehci-hcd]
**************************************************
And after removing modules memory_cs & sram_mtd and

#insmod airo_cs
Using /lib/modules/2.4.26-vic05/pcmcia/airo_cs.o
/lib/modules/2.4.26-vic05/pcmcia/airo_cs.o: /lib/modules/2.4.26-vic05/pcmcia/airo_cs.o:
unresolved symbol stop_airo_card_R2gig_83da5f44
/lib/modules/2.4.26-vic05/pcmcia/airo_cs.o: /lib/modules/2.4.26-vic05/pcmcia/airo_cs.o:
unresolved symbol init_airo_card_R2gig_16395880
/lib/modules/2.4.26-vic05/pcmcia/airo_cs.o: /lib/modules/2.4.26-vic05/pcmcia/airo_cs.o:
unresolved symbol reset_airo_card_R2gig_c81e2990
/lib/modules/2.4.26-vic05/pcmcia/airo_cs.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. The module may be trying to access
GPLONLY symbols but the problem is more likely to be a coding or
user error. Contact the module supplier for assistance, only they
can help you.


Besides, "cardctl ident" works but in absolutely unable to detect the
card which is mounted.



Could someone help me make pcmcia card work at last?

Vittorio


--
gentoo-user@gentoo.org mailing list
Re: PCMCIA doesn't work properly [ In reply to ]
Hello,

On Tue, 19 Oct 2004 13:57:10 +0000
Vittorio <v.demartino2@virgilio.it> wrote:

> After having compiled a 2.4.26 **working** kernel tailored for my
> needs (from gentoo-sources), I re-compiled the same kernel with full
> support to pcmcia cards ** disabling any pcmcia module ** in order to
> have the modules prepared by compiling the package pcmcia-cs. This
> according to what I read in the installation instructions.
> [...]
> Could someone help me make pcmcia card work at last?

Well. I actually had never read the docs you mention. But i'd suggest to
compile a kernel with pcmcia support and support for your wireless
device. At least that worked for me.

Anyway, what happens if you don't insmod airo_cs but just modprobe it?
The dependencies should be automatically resolved. Did you compile with
KMOD (kernel's automatic module loading)?

HTH,

Hans-Werner

--
gentoo-user@gentoo.org mailing list