LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 03-16-2004, 11:05 AM   #1
sew2athotmail
LQ Newbie
 
Registered: Aug 2001
Posts: 6

Rep: Reputation: 0
pcmcia problems


PCMCIA does not start on bootup. Receiving cannot find pcmcia_core.o, yenta_socket.o and ds.o. However after logging in and running modprobe pcmcia_core modprobe yenta_socket and modprobe ds then executing service pcmcia start. Pcmcia load but the card is not recognized and initialized. Starting Redhat-config-network and closing, then reinserting the pcmcia network card allows it to get detected and initialized. Any ideas?
 
Old 03-28-2004, 02:33 AM   #2
amicic
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
I've had a similar problem and just solved it my way...

modprobe normally uses just the name of the modules without the full path and .o extension. Seems like the .o was provided.

If you look into boot scripts (/etc/rc.d/init.d/pcmcia) there is logic like this:

if [ -d /lib/modules/preferred ] ; then
PC=/lib/modules/preferred/pcmcia
else
PC=/lib/modules/`uname -r`/pcmcia
fi
KD=/lib/modules/`uname -r`/kernel/drivers/pcmcia
if [ -d $PC ] ; then
echo -n " modules"
/sbin/modprobe pcmcia_core.o $CORE_OPTS
/sbin/modprobe $PCIC.o $PCIC_OPTS
/sbin/modprobe 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

So, if you have a /lib/modules/`uname -r`/pcmcia dir, modprobe will load modules with .o extension. The dir just contains the links to real modules, so it is somewhat safe to remove it (I just renamed it to pcmcia.orig so the script does not see it).

Aleks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pcmcia problems shashank Linux - Software 2 05-29-2005 08:19 PM
PCMCIA Problems tekn0phile Linux - Laptop and Netbook 0 10-19-2003 04:01 PM
PCMCIA problems DJC6535 Linux - Hardware 1 06-22-2003 02:56 PM
pcmcia problems CrazyLinux Linux - Hardware 2 01-03-2003 07:56 AM
pcmcia problems mrtwice Linux - Hardware 3 09-08-2002 07:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration