Re: Modprobe error
From: Robert Storey (y2kbug_at_ms25.hinet.net)
Date: Tue, 5 Apr 2005 07:57:39 +0800 To: email@example.com
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.
On Mon, 4 Apr 2005 03:02:28 -0700 (PDT)
RituRaj <firstname.lastname@example.org> 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
> 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
> 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?
-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact email@example.com