Re: [ACPI-sppt] ACPI but no PMCIA Wireless
"Carl L. Gilbert" <[email protected]> Mon, 22 Sep 2003 08:45:28 -0400
| Newsgroups | gmane.linux.acpi.support |
|---|---|
| Message-ID | <[email protected]> |
First do a 'locate pcmcia_core' the file pcmcia_core.o should be found
in your lib/modules folder for your kernel
/usr/share/man/man4/pcmcia_core.4.gz
/usr/src/linux-2.4.20-19.8/drivers/pcmcia/pcmcia_core.o
/usr/src/linux-2.4.20-20.8/drivers/pcmcia/pcmcia_core.o
/lib/modules/2.4.20-20.8/kernel/drivers/pcmcia/pcmcia_core.o
/lib/modules/2.4.20-20.8/pcmcia/pcmcia_core.o
/lib/modules/2.4.20-20.8dnoyeb/kernel/drivers/pcmcia/pcmcia_core.o
/lib/modules/2.4.20-20.8dnoyeb/pcmcia/pcmcia_core.o
/lib/modules/2.4.20-19.8dnoyeb/kernel/drivers/pcmcia/pcmcia_core.o
/lib/modules/2.4.20-19.8dnoyeb/pcmcia/pcmcia_core.o
/lib/modules/2.4.20-20.8dnoyeb2/kernel/drivers/pcmcia/pcmcia_core.o
/lib/modules/2.4.20-20.8dnoyeb2/pcmcia/pcmcia_core.o
If its there then you need to do this patch that I forgot about. Their
is a bug in the pcmcia file and if it finds the directory
/lib/modules/2.4.20-20.8dnoyeb2/kernel/drivers/pcmcia/pcmcia_core.o
Then it tries to do some faulty code.
edit your pcmcia file, and look for lines similar to below
emacs /etc/init.d/pcmcia
KD=/lib/modules/`uname -r`/kernel/drivers/pcmcia
if [ -d $PC ] ; then
echo -n " modules"
/sbin/insmod $PC/pcmcia_core.o $CORE_OPTS
/sbin/insmod $PC/$PCIC.o $PCIC_OPTS
/sbin/insmod $PC/ds.o
elif [ -d $KD ] ; then
/sbin/modprobe pcmcia_core
/sbin/modprobe $PCIC
/sbin/modprobe ds
else
echo $" module directory $PC not found."
break
fi
This code is from my desktop that is RH8. But my laptop is RH9 and I
think the first if-elif was messed up. Make sure yours looks exactly
like mine above. I will check at home to be sure when I get home.
The problem was that instead of
/sbin/insmod $PC/pcmcia_core.o $CORE_OPTS
there was
/sbin/modprobe pcmcia_core or something like that.
all I had to do what change modprobe to insmod and add the preceeding
$PC/ in front of pcmcia_core and in front of $PC/$PCIC.o and in front of
$PC/ds.o
alternatly you can delete the directory
/lib/modules/2.4.20-20.8dnoyeb2/kernel/drivers/pcmcia/
Will know fore sure when I get home...
CL
On Sun, 2003-09-21 at 23:57, Mark Allbritten wrote:
> when I do a "make menuconfig" everything under general > pcmcia is
> enabled.....there is an "M" on pcmcia and everything else "*". Is it
> located somewhere else??
>
> Mark
>
> 3, AthlonRob wrote:
> > On Sun, 2003-09-21 at 20:17, Mark Allbritten wrote:
> >
> > > Starting PCMCIA services: modulesmodprobe: Can't locate module pcmcia_core.o
> > > modprobe: Can't locate module yenta_socket.o
> > > modprobe: Can't locate module ds.o
> > > cardmgr.
> >
> > And here's your problem. In your kernel config, make sure you set up
> > pcmcia and cardmgr as modules.
> >
> > By the looks of things, they seem to be disabled (making it very
> > difficult for the kernel to use them).
> >
> > Rob
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > ACPI-support mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/acpi-support
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> ACPI-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/acpi-support
--
Thank you,
CL Gilbert
"Then said I, Wisdom [is] better than strength: nevertheless the poor
man's wisdom [is] despised, and his words are not heard." Ecclesiastes
9:16
GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D
GNU Privacy Guard http://www.gnupg.org (Encryption and Digital
Signatures)
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/bu7nVbJM14DSCi0RArGbAKCCHits4xQ0FC5l+3smWAvVmcrqhwCgqwts lyuOWa5+o7hVuLxCxXEyiec= =pbLe -----END PGP SIGNATURE-----