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): kernel-pcmcia-cs-3.1.31-11 How reproducible: always 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 /lib/modules/2.4.18-18.8/pcmcia/pcmcia_core.o 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
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)
Did you mean "never use _insmod_ ever"?