Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 81194 - support of older kernels is broken in kernel-pcmcia-cs-3.1.31-11
support of older kernels is broken in kernel-pcmcia-cs-3.1.31-11
Product: Red Hat Linux
Classification: Retired
Component: kernel-pcmcia-cs (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2003-01-06 13:07 EST by Leonid Kanter
Modified: 2015-01-04 17:02 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-25 02:24:56 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Leonid Kanter 2003-01-06 13:07:37 EST
Description of problem:

Because usb hotplug is broken in phoebe, I tried to use older kernel with it
(2.4.18-18.8) and found that there is a bug in pcmcia start script

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.install phoebe on laptop, install kernel-2.4.18-18.8
2.configure pcmcia, run service pcmcia start
Actual results:

Starting PCMCIA services: modulesmodprobe: Can't locate module
modprobe: Can't locate module /lib/modules/2.4.18-18.8/pcmcia/yenta_socket.o
modprobe: Can't locate module /lib/modules/2.4.18-18.8/pcmcia/ds.o

Expected results:

must start silently

Additional info:

modprobe cannot be called with full module path, insmod must be used here. This
patch fixes problem and do not brake new kernel (2.4.20-2.2) support.

--- /etc/rc.d/init.d/pcmcia.orig        Sun Jan  5 20:26:24 2003
+++ /etc/rc.d/init.d/pcmcia     Sun Jan  5 20:26:53 2003
@@ -104,9 +104,9 @@
            KD=/lib/modules/`uname -r`/kernel/drivers/pcmcia
            if [ -d $PC ] ; then
                echo -n " modules"
-               /sbin/modprobe $PC/pcmcia_core.o $CORE_OPTS
-               /sbin/modprobe $PC/$PCIC.o $PCIC_OPTS
-               /sbin/modprobe $PC/ds.o
+               /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
Comment 1 Arjan van de Ven 2003-01-06 18:29:48 EST
thanks for the report!
I've changed it to keep using modprobe but without the directory
should work just as well (and the modutils maintainer asked me to make it never
use modprobe ever)
Comment 2 Leonid Kanter 2003-01-07 11:42:12 EST
Did you mean "never use _insmod_ ever"?

Note You need to log in before you can comment on or make changes to this bug.