Re: [ACPI-sppt] ACPI but no PMCIA Wireless
"Carl L. Gilbert" <[email protected]> Wed, 24 Sep 2003 10:51:31 -0400
| Newsgroups | gmane.linux.acpi.support |
|---|---|
| Message-ID | <[email protected]> |
slight clarification. I found the correction on redhat somewhere I think. the patch I made myself. But I think it was after I had already made some changes so the complete pure patch I do not have. If anyone has RH9, and has not modified their pcmcia file in init.d, please shoot me a copy so I can produce a real patch. thanks. CL p.s. anyone know how to get the pcmcia script file from the RH9 CD? or the rpm? On Wed, 2003-09-24 at 08:10, Carl L. Gilbert wrote: > Ahh, I thought I had recalled that I added $PC, but that was not the > only change. The other change was using modprobe vs. insmod. and I > think using the module name vs. the object filename. > > anyway, glad to hear it works. I found that patch somewhere on redhats > site. If you search for RH9 and pcmcia starting on google probably you > will eventually find the source. I wish I had made a complete patch or > a backup before I lost the modifications.. > > > CL > > > On Wed, 2003-09-24 at 01:24, Mark Allbritten wrote: > > Carl, > > I really appreciate your assistance. The $PC did not work, but once I > > looked at the code I just remarked out the entire first "if" statement > > and changed the elsif to if and every thing is working great!! > > > > P.S. Another little thing I have notice about running ACPI I know longer > > have the i8253 count is too high error either :) > > > > Thank You, > > Mark > > > > On Mon, 2003-09-22 at 08:45, Carl L. Gilbert wrote: > > > 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 > > > > > > > > ------------------------------------------------------- > > 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/ca9zVbJM14DSCi0RAk4zAKC4u8jn71XytWXF7vb9ZenrvB4HsQCffo5J A+5Ts2LkZ6bX8nec7eyXK+Q= =ka4H -----END PGP SIGNATURE-----