Re: Modprobe error

From: Robert Storey (y2kbug_at_ms25.hinet.net)
Date: 04/05/05

  • Next message: Alvin Oga: "Re: How to stop SSH doing reverse lookup?"
    Date: Tue, 5 Apr 2005 07:57:39 +0800
    To: debian-user@lists.debian.org
    
    

    Dear RituRaj,

    Modprobe won't load the driver if the device isn't present. And yes, it will report the error. Important: you should only type "modprobe ips" rather than "modprobe ips.o". Since I'm using a 2.6 kernel, my error message is different from yours, but similar:

       root@sonic:~# modprobe ips
       FATAL: Error inserting ips (/lib/modules/2.6.10-kanotix-8/kernel/drivers/scsi/ips.ko): No such device

    As a footnote, you might want to know that on 2.6.x kernel, the modules have been renamed to end with *.ko rather than *.o, though again this makes no different since you don't use the extension with the modprobe command.

    cheers,
    Robert

    On Mon, 4 Apr 2005 03:02:28 -0700 (PDT)
    RituRaj <ritu_turu@yahoo.com> wrote:

    > I have compiled a customised 2.4.29 kernel. I am able
    > to boot into the new kernel. For some reason i want to
    > do a modprobe on ips.o But it is not working.
    >
    > modprobe ips
    > /lib/modules/2.4.29-grsec-custom1/kernel/drivers/scsi/ips.o:
    > init_module: No such device
    > Hint: insmod errors can be caused by incorrect module
    > parameters, including invalid IO or IRQ parameters.
    > You may find more information in syslog or the
    > output from dmesg
    > /lib/modules/2.4.29-grsec-custom1/kernel/drivers/scsi/ips.o:
    > insmod
    > /lib/modules/2.4.29-grsec-custom1/kernel/drivers/scsi/ips.o
    > failed
    > /lib/modules/2.4.29-grsec-custom1/kernel/drivers/scsi/ips.o:
    > insmod ips failed
    >
    >
    > I am testing this on a test machine which does not
    > have the SmartArray IBM adapter(for which ips.o is the
    > driver). So my question is does the modprobe/insmod
    > give error while loading a driver if it doesnt find
    > the required device id? or is it something else?
    >
    > Regards;
    > Rituraj

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Alvin Oga: "Re: How to stop SSH doing reverse lookup?"

    Relevant Pages

    • [SLE] Re: dlink 520+ wireless card problems
      ... modprobe -v says the driver is loaded, ... > does insmod. ... > wlan0 interface. ...
      (SuSE)
    • Prism2 driver
      ... After installing 2.6.4 kernel, the driver for 2.4.18 kernel does not get ... modprobe: Can't locate module prism2_cs ... and, from insmod: ...
      (Debian-User)
    • [PATCH] More MODULE_ALIAS work, and documentation updates.
      ... If you do NOT select "Matsushita/Panasonic CDROM driver support" during the ... +"make config" of your kernel, you can build the "loadable module" sbpcd.ko. ... +You can specify interface address and type with the "modprobe" command like: ...
      (Linux-Kernel)
    • RTLinux and USB Camera capture
      ... Linux video driver appears to be not loaded. ... You could load it as root with command: ... USB host driver appears not to be loaded. ... modprobe: Can't locate module usb-uhci ...
      (comp.os.linux.embedded)
    • Re: [opensuse] New 10.3 install, cant get wireless to work
      ... The driver ... dynamically uploads firmware code to allow it to work. ... Modprobe loads a kernel module into the running kernel, ...
      (SuSE)