modprobe: cannot locate xxxx

modprobe: cannot locate xxxx

Post by Darren Daviso » Thu, 15 Mar 2001 21:58:23



hi,

after having rebuilt a kernel, I'm trying to load the modules required for
an ISDN card.  The module is correctly compiled when I do 'make modules' and
moved to the /lib/modules... folder when I do 'make modules_install', but
modprobe refuses to find it.

There seem to be comments in various forums about changing modules.conf or
other files, but neither these or the relevant man pages are clear.

Can anyone please explain this to me?

Many thanks,

--
Darren Davison

 
 
 

modprobe: cannot locate xxxx

Post by Andre John Ma » Fri, 16 Mar 2001 22:04:05


Are they in /lib/module directory that correponds to the kernel name?

Andre


> hi,

> after having rebuilt a kernel, I'm trying to load the modules required for
> an ISDN card.  The module is correctly compiled when I do 'make modules' and
> moved to the /lib/modules... folder when I do 'make modules_install', but
> modprobe refuses to find it.

> There seem to be comments in various forums about changing modules.conf or
> other files, but neither these or the relevant man pages are clear.

> Can anyone please explain this to me?

> Many thanks,

> --
> Darren Davison


 
 
 

modprobe: cannot locate xxxx

Post by Darren Daviso » Fri, 16 Mar 2001 22:17:42


yes, the full path to the module in question is..

/lib/modules/2.4.1/kernel/drivers/isdn/hisax/hisax.o

The old kernel (2.2.14-3) still has a directory under /lib/modules too, and
a sym link file called '/lib/modules/current' was pointing at this folder.
I changed the sym link to point at 2.4.1 but that didn't help.

# modprobe hisax
modprobe: Can't locate module hisax

# modprobe hisax.o
modprobe: Can't locate module hisax.o

If I try to load it with insmod, and point it directly at the full path to
the hisax.o file, then it sees it (although insmod complains of some unknown
symbol and doesn't load it.)

Regards,
DD



> Are they in /lib/module directory that correponds to the kernel name?

> Andre


> > hi,

> > after having rebuilt a kernel, I'm trying to load the modules required
for
> > an ISDN card.  The module is correctly compiled when I do 'make modules'
and
> > moved to the /lib/modules... folder when I do 'make modules_install',
but
> > modprobe refuses to find it.

> > There seem to be comments in various forums about changing modules.conf
or
> > other files, but neither these or the relevant man pages are clear.

> > Can anyone please explain this to me?

> > Many thanks,

> > --
> > Darren Davison

 
 
 

modprobe: cannot locate xxxx

Post by Stephane Bourdeau » Fri, 16 Mar 2001 22:35:46


Hello Darren,

I'm not sure this will help, but I remember I had a very hard time setting
up my ISDN modem as well.
Here is the documentation I put together at the time.  I hope you will find
it useful.

**How to Intsall and Configure the USR Sportster TA ISDN Modem :
 - Hardware settings are :
  io=0x268, irq=7, type=16

- Install gisdnconf utility and run it as root from /usr/bin/

 - Configure Hardware and ISP

 - Install isdn4kutils RPM

 - "vi /etc/resolv.conf"
  nameserver <dnsaddress>

 - "vi /etc/ppp/pap-secrets" (and chap-secrets)
  client = username
  server = *

 - "vi /etc/isdn/init-isdn"
  #!/bin/sh

  /sbin/modprobe slhc
  /sbin/modprobe isdn
  /sbin/modprobe hisax type=16 protocol=2 io=0x268 irq=7

  # /sbin/isdnctrl readconf /etc/isdn/isdn1b.conf
  /sbin/isdnctrl addif ippp0
  /sbin/isdnctrl eaz ippp0 8068
  /sbin/isdnctrl addphone ippp0 out 08453530121
  /sbin/isdnctrl secure ippp0 on
  /sbin/isdnctrl dialmode ippp0 auto
  /sbin/isdnctrl dialmax ippp0 1
  /sbin/isdnctrl huptimeout ippp0 180
  /sbin/isdnctrl ihup ippp0 on
  /sbin/isdnctrl chargehup ippp0 off
  /sbin/isdnctrl l2_prot ippp0 hdlc
  /sbin/isdnctrl l3_prot ippp0 trans
  /sbin/isdnctrl encap ippp0 syncppp
  /sbin/isdnctrl sdelay ippp0 10
  /sbin/isdnctrl pppbind ippp0 0

  /sbin/ifconfig ippp0 default

  # /sbin/ipppd file /etc/isdn/ioptions1B
  # /sbin/ipppd /dev/ippp0 defaultroute user <ISP login username>
  /sbin/ipppd

  /sbin/route add default /dev/ippp0

 - "chmod 755 /etc/isdn/init-isdn"

 - "vi /etc/rc.d/rc.local"
  add "/etc/isdn/init-isdn" at the end

 - "vi /etc/conf.modules"
  add "alias isdn hisax
  options hisax type=16 protocol=2 io=0x268 irq=7"

 - "vi /etc/rc.d/init.d/isdn"
  #!/bin/bash
  case "$1" in
    start)
     echo -n "Starting isdn configuration: "
   /sbin/modprobe slhc
   /sbin/modprobe isdn
   echo -n isdn
   echo
   touch /var/lock/subsys/isdn
   ;;
    stop)
     echo -n "Stopping isdn configuration"
   /sbin/rmmod -s hisax
   /sbin/rmmod -s isdn
   /sbin/rmmod -s slhc

   rm -f /var/lock/subsys/isdn
   echo -n isdn
   echo
   ;;
    restart)
     $0 stop
   $0 start
   ;;
    status)
     cat /proc/devices | grep -q "\(isdn\)"
   if [ $? = 0 ]; then
    lsmod | grep -q "\(shlc\|isdn\|hisax\)"
    echo "isdn card detected"
   else
    echo "isdn card not configured"
   fi
   ;;
    *)
     echo "usage: isdn {start|stop|status|restart}
   exit 1
  esac

  exit 0

 - "chmod 755 /etc/rc.d/init.d/isdn"

 - "ln -s /etc/rc.d/init.d/isdn /etc/rc.d/rc0.d/K17isdn
    ln -s /etc/rc.d/init.d/isdn /etc/rc.d/rc1.d/K17isdn
    ln -s /etc/rc.d/init.d/isdn /etc/rc.d/rc2.d/K17isdn
    ln -s /etc/rc.d/init.d/isdn /etc/rc.d/rc3.d/S87isdn
    ln -s /etc/rc.d/init.d/isdn /etc/rc.d/rc5.d/S87isdn
    ln -s /etc/rc.d/init.d/isdn /etc/rc.d/rc6.d/K17isdn"

 - "chmod 755 /sbin/isdnctrl
    chmod 666 /dev/isdninfo
    chmod 666 /dev/isdnctrl*"

 - "vi /bin/connect"
  case "$1" in
   start)
   /sbin/isdnctrl dial ippp0
   ;;
   stop)
   /sbin/isdnctrl hangup ippp0
   ;;
   *)
   echo "Usage: $0 {start|stop}"
   exit 1
  esac
  exit 0

 - "chmod 755 /bin/connect"

 - To connect : "connnect start"

 - To disconnect : "connect stop"

 - To verify that the connection is ok : "cat /var/log/messages"

Cheers,

Stephane B.

 
 
 

1. please help - modprobe cannot locate modules

I recently upgraded the kernel my Slackware installation to 2.4.1 from
2.2.16.  However, none of the modules are able to load.  For example,
/lib/modules/2.4.1/kernel/drivers/net/tulip/tulip.o exits, when I enter
"modprobe -a /lib/modules/2.4.1/kernel/drivers/net/tulip/tulip.o" I receive
the error message "modprobe: Can't locate module tulip.o".  All of the
modules which I selected while configuring the kernel appear in their proper
directories.  Despite compiling my kernel by entering "make dep clean
modules modules_install bzImage", my /lib/modules/2.4.1/modules.dep file is
empty (perhaps it should be...?).  However, I tried adding the line
"path=/lib/modules/2.4.1/kernel/drivers/" to my /etc/modules.conf file and I
received 100s of error messages during startup involving incorrect paths,
files, etc, but the modules would load.

If anyone could please shed some light on this problem, I would be vastly
appreciative as I have exhausted my small cache of knowledge and what I have
been able to gather from docs and howtos.

Thanks in advance,
David Renie

2. How to create an account for FTP anonymous?

3. Modprobe cannot locate net-pf-4 ?

4. dynamic loading bug

5. modprobe cannot locate a module during bootup

6. 2.4.19-ac4 compilation error on Dell Dimension 4500 with RedHat 7.3

7. modprobe: cannot locate module char-major-10-xxx

8. Apache - How To Tell What Modules and Versions You're Running?

9. modprobe: modprobe: Can't locate module ppp-compress-21

10. How do I use grep $xxxx in a script where $xxxx is a multi word string?

11. modprobe: can't locate module net-pf-4/5

12. **NEWBEE** modprobe: can't locate module lo after new kernel?

13. modprobe: can't locate module parport_lowlevel