[ltp] T21 pcmcia hell

Greg Herlein linux-thinkpad@linux-thinkpad.org
Mon, 13 Jan 2003 14:14:03 -0800 (PST)


You know, I had really wierd problems where I could not seem to
get any PCMCIA card detected... and I discovered that I had
accidentally compiled PCMCIA support into the kernel instead of
setting it as a module.  Make sure "PCMCIA/CardBus support" is
set to compile for module... 

Greg

On Mon, 13 Jan 2003, Dan Sawyer wrote:

> I am sorry to jump in the middle:
> 
> I am using a locally compiled 2.4.20 kernel with pcmcia support on in 
> the kernel as well as wlan support turned on. I also have the pcmcia-cs 
> rpm installed. I require pcmcia-cs for a linksys card and it all works.
> 
> I am not sure about the rpm deps for pcmcia and if you have a reason to 
> recompile pcmcia-cs. If you can run with the rpm features this may be a 
> way out.
> 
> Dan
> 
> Manolis Stamatogiannakis wrote:
> 
> >On Mon, 13 Jan 2003, Tino Keitel wrote:
> >
> >  
> >
> >>IIRC ds.o is the PCMCIA support contained in the pcmcia-cs package,
> >>whereas the kernel PCMCIA support is done by a module called yenta.o.
> >>It looks like you pcmcia installation wants to use its own ds.o but you
> >>use kernel PCMCIA.
> >>
> >>    
> >>
> >
> >Hmmmm...
> >I did what pcmcia-cs package instructs me to do:
> > -disable pcmcia support in kernel
> > -enable wlan
> > -disable wlan drivers under network devices
> >
> >I recompilled & installed the kernel & reinstalled pcmcia-cs package.
> >
> >Now when I start pcmcia (/etc/init.d/pcmcia start) I get:
> >/lib/modules/2.4.19-gentoo-r10/pcmcia/ds.o: init_module: Operation not
> >permitted. Hint: insmod errors can be caused by incorrect module
> >parameters, including invalid IO or IRQ.
> >
> >And then:
> >/lib/modules/2.4.19-gentoo-r10/pcmcia/ds.o: insmod ds failed
> >
> >dmesg reports:
> >Linux PCMCIA Card Services 3.2.1
> > kernel build: 2.4.19-gentoo-r10 #4 Mon Jan 13 ...
> > options: [pci] [cardbus] [apm]
> >ds: no socket drivers loaded!
> >
> >What am I doing wrong?
> >
> >On my kernel config file, CONFIG_PCMCIA is not set, CONFIG_HOTPLUG is set,
> >and on Wireless Lan block of definitions only CONFIG_NET_RADIO and
> >CONFIG_NET_WIRELESS are set.
> >
> >Thanks in advance,
> >Manolis
> >
> >
> >  
> >
> >>Regards,
> >>Tino
> >>
> >>--
> >>tino.keitel@innominate.com
> >>dipl.-inf.                        Innominate Security Technologies AG
> >>software engineer                                   networking people
> >>tel: +49.30.6392-3308                      http://www.innominate.com/
> >>--
> >>The linux-thinkpad mailing list home page is at:
> >>http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
> >>
> >>    
> >>
> 
>