Red Hat Bugzilla – Bug 160707
pcmcia-init script corrections
Last modified: 2007-11-30 17:11:07 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Description of problem:
When you do Â´service pcmcia restartÂ´ you get "unable to map card memory" because pcmcia related modules are in use and cannot be removed. Some corrections has to be made to the pcmcia init-script.
o "cardctl eject" has to be placed to before killing cardmgr to get
pcmcia divice inactive.
o Extra "sleep 1" or something has to be palced after "cardctl eject" to get
enough time for "cardctl eject". If there is no sleep the killing of
cardmgr not always succeeded, sometimes yes.
o There is no such module "ds" any more, "ds" is named "pcmcia" now.
o Use 'modprobe -r' instead of rmmod.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.service pcmcia resart
Actual Results: cs: unable to map card memory!
Expected Results: Clean pcmcia modules unloading and then fresh re-loading.
*** This bug has been marked as a duplicate of 150446 ***