LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Correct syntax to disable pcmcia? (https://www.linuxquestions.org/questions/linux-newbie-8/correct-syntax-to-disable-pcmcia-180640/)

wickedbob 05-12-2004 07:58 AM

Correct syntax to disable pcmcia?
 
Hi

I am trying to run SUSE LINUX for i386 Live-Eval (Version 9.1) but it hangs on loading pcmcia on startup. I have had a hunt around the net and found references to the commands:

nopcmcia
NOPCMCIA=yes
START_PCMCIA="no"

None of these disables the loading of pcmcia.
When i type in NOPCMCIA=yes at bootup, later on I get the following:

/etc/init.d/rc5.d/s03pcmcia: line 35: rc_failed: command not found
/etc/init.d/rc5.d/s03pcmcia: line 36: rc_status: command not found
/etc/init.d/rc5.d/s03pcmcia: line 37: rc_exit: command not found

Then SUSE tries to start pcmcia again.

Obviously, I am doing something wrong here and would appreciate someone pointing me in the right direction.

Thanks in advance.

iluvatar 05-13-2004 03:15 AM

I think the bootscript for starting pcmcia is corrupt, or SuSE changed something in the main runlevel control script. The pcmcia script seems to call the functions rc_failed, rc_status and rc_exit, wich should be defined in the /etc/init.d/functions file, but they aren't obviously. You should be able to enter runlevel 1 tho, in wich you may remove the symlink /etc/init.d/rc5.d/s03pcmcia (this will prevent pcmcia to startup on entering runlevel 5) or you may want to look into the /etc/init.d/functions file to look up the correct function names for rc_failed, rc_status and rc_exit, and enter them correctly into the /etc/init.d/pcmcia script (/etc/init.d/rc5.d/s03pcmcia is a symlink to /etc/init.d/pcmcia) I strongly recommend making a backup when messing around with the bootscripts!! If you decide to delete the symlink /etc/init.d/rc5.d/s03pcmcia, also delete the /etc/init.d/rc5.d/k<nr>pcmcia, this is the symlink to shutdown pcmcia when leaving runlevel 5, but as it won't be started it isn't nessecary to shutdown (and it will generate errors anyway)

greetings,
.-=~ iluvatar ~=-.

sKiBa 06-05-2004 05:15 AM

I am having this problem also, since nothing is installed, it runs straight off the cd there is nothing you can edit, only a chance to enter some commands on boot. Anyone else have this problem or did you get it fixed wickedbob?


All times are GMT -5. The time now is 03:43 AM.