-   Linux - Newbie (
-   -   Correct syntax to disable pcmcia? (

wickedbob 05-12-2004 08:58 AM

Correct syntax to disable pcmcia?

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:


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 04: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)

.-=~ iluvatar ~=-.

sKiBa 06-05-2004 06: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 06:41 PM.