Sponsored Content
Top Forums UNIX for Dummies Questions & Answers insmod error - no such device Post 302244157 by otheus on Tuesday 7th of October 2008 10:30:05 AM
Old 10-07-2008
Instead of insmod, use "modprobe", which will load any dependencies, and possibly correct and identify any IRQ settings as required. If that fails, then either (1) the card is dead (does it work for another platform??) or (2) the driver does not work (does it work with another card??) or (3) you need to manually specify options with insmod/modprobe, options which are dependent on the driver itself.

For (3), look in the source code for the possible argument strings (getstrparam() I think). You might have to, for instance, specify which IRQ and/or bus to use. To get such info, run /sbin/lspci -bv to find your device and its IRQ lines. (IRQ stand for "Interrupt Requests").
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sh : URGENT synchronisation insmod in script

Hello, By now in linux 2.4, I have a sh script wich start 2 modules as follow : /sbin/insmod module1.o /sbin/insmod module2.o I added an application in user space named "user_app" which communicate with module1 with a /proc. I now tape the commands myself during code execution on a... (1 Reply)
Discussion started by: crip01
1 Replies

2. IP Networking

insmod: a module named e1000 already exists

Hi I'm trying to change the configuration of the adapter, especially values revelant with Tx and Rx. Following appropiate manual i tried insmod command , but as a result i've got: insmod: a module named e1000 already exists Does anyone know the solution? (0 Replies)
Discussion started by: admart
0 Replies

3. Programming

Much time in insmod of huge kernel module

I'm using Linux-2.6.14. My application is having one kernel module of large size(approx 8MB), insmoding of that kernel module is taking pretty much time(approx 8Mins). Is there a way to reduce the insmod time? I tried even by modprobe also. (0 Replies)
Discussion started by: ptprabu
0 Replies

4. UNIX for Dummies Questions & Answers

If we need to add a .ko file to your kernel. What we do is use insmod every time you

If we need to add a .ko file to your kernel. What we do is use insmod every time you boot. But if we would like it to load at boot automatically, what would we do? (0 Replies)
Discussion started by: anupa
0 Replies

5. Ubuntu

Stack overflow i guess while insmod

I have built kernel 2.6.35 on my Ubuntu system with some specific requirement. I also built some app defined module with the same kernel. I booted up the built version and I find it did not work properly as there is some gui and other modules missing problem. But the system booted up and I did... (0 Replies)
Discussion started by: sunilsukumar4u
0 Replies

6. Red Hat

insmod Error inserting `/lib/raid456.ko` -1 File Exist

hi every one , Wondering if any of you experienced this During "Centos5.6" Boot .. ! 1)NOT USING MMCONFIG 2)insmod Error inserting `/lib/raid456.ko` -1 File Exist Dell PowerEdge T110 with 4sata Controllers with Centos2.6.18-238.9.1.el5xen installed . /boot on /dev/md0 / on ... (18 Replies)
Discussion started by: Saed
18 Replies

7. UNIX for Dummies Questions & Answers

insmod: Invalid module format error

I have open suse kernel kernel 3.1.0-1.2-desktop on which I used kernel source 3.1.10-1.2 downloaded from kernel.org. The module gets built. While loading a kernel module I am getting Invalid module format error with description "first_driver: no symbol version for module_layout" The... (5 Replies)
Discussion started by: rupeshkp728
5 Replies

8. UNIX for Dummies Questions & Answers

insmod error: disagrees about version of symbol module_layout

When I try to insert a simple kernel module I get the following error > insmod: error inserting 'test.ko': -1 Invalid module format > in dmesg I see: disagrees about version of symbol module_layout I have following kernel which I downloaded using apt-get: uname -r 2.6.32-24-generic ... (0 Replies)
Discussion started by: rupeshkp728
0 Replies

9. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

10. IP Networking

Insmod custom module fails with message : disagrees about version of symbol ...

Hello : I want to make a netfilter conntrack module for myself. So I copy all the source code about netfilter conntrack from kernel source tree to my external directory. It can be insmod after compiled. Then I add some members to the struct nf_conn, and it 's compiled successfully. However, it... (1 Reply)
Discussion started by: 915086731
1 Replies
PCII(4) 						   BSD Kernel Interfaces Manual 						   PCII(4)

NAME
pcii -- National Instruments PCIIA GPIB controller driver SYNOPSIS
device pcii In /boot/device.hints: hint.pcii.0.at="isa" hint.pcii.0.port="0x2e1" hint.pcii.0.irq="7" hint.pcii.0.drq="1" DESCRIPTION
The pcii driver provides support for driving an IEEE-488 bus, also called IEC-625 (or just "IEC bus"), or HP-IB (Hewlett Packard Instrument Bus), or GPIB (General Purpose Instrument Bus). The driver supports National Instruments PCIIA cards (sometimes also referred to as PC2A) and compatibles. These cards use a NEC uPD7210 controller IC as the main interface between the host computer and the instrument bus. IO memory space layout The PCIIA cards use a very specific IO memory space allocation layout. The address bits A0 through A9 (which have traditionally been the only address bits evaluated on IBM PC XT extension cards) are hardwired to address 0x2e1. Bits A10 through A12 are used by the uPD7210 reg- ister select lines. This makes the individual 7210 registers being 0x400 bytes apart in the ISA bus address space. Address bits A13 and A14 are compared to a DIP switch setting on the card, allowing for up to 4 different cards being installed (at base addresses 0x2e1, 0x22e1, 0x42e1, and 0x62e1, respectively). A15 has been used to select an optional on-board time-of-day clock chip (MM58167A) on the original PCIIA rather than the uPD7210 (which is not implemented on later boards and clones). Finally, the IO addresses 0x2f0 ... 0x2f7 are used for a special interrupt handling feature (re-enable interrupts so the IRQ can be shared), where actually only address 0x2f0 plus the actual IRQ level is required for each card. Some clones do not appear to require this special IRQ handling, and are thus likely to not support the shared IRQ feature. Only the base address of the card needs to be specified in the ISA device hints; the driver takes care to derive all other IO addresses needed during the probe phase. Supported cards The following cards are known to be supported: o B&C Microsystems PC488A-0 o National Instruments GPIB-PCII/PCIIA (in PCIIa mode) o Axiom AX5488 SEE ALSO
gpib(3), gpib(4), device.hints(5) HISTORY
The pcii driver was written by Poul-Henning Kamp, and first appeared in FreeBSD 5.4. AUTHORS
This manual page was written by Jorg Wunsch. BSD
January 24, 2010 BSD
All times are GMT -4. The time now is 04:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy