10 More Discussions You Might Find Interesting
1. IP Networking
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
2. Programming
Hi, I'm pretty new to kernel coding and I'm working on a device driver that works with an existing framework.
Basically my module will be loaded/unloaded multiple times and I'd like to create a register a class, driver, and create a /dev node on the first load only. The existing framework... (0 Replies)
Discussion started by: ThomasBrez
0 Replies
3. UNIX for Dummies Questions & Answers
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
4. UNIX for Dummies Questions & Answers
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
5. Ubuntu
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. Linux
Hi all,
I am working on USB data monitoring on Fedora Core 9. Kernel 2.6.25 has a built-in module (the one that isn't loadable, but compiles and links statically with the kernel during compilation) to snoop USB data. It is in <kernel_source_code>/drivers/usb/mon/.
I need to know if I can... (0 Replies)
Discussion started by: anitemp
0 Replies
7. UNIX for Dummies Questions & Answers
Hi Everyone,
I am relatively new to Linux. After about three months of trying to compile a driver for a ESDCAN card, I finally found a version and kernel that worked. I am running Slackware V12.0 with kernel version 2.6.24.5-smp. When I use insmod to insert the driver file (esdcan-pci331.ko),... (1 Reply)
Discussion started by: Brian-UOIT
1 Replies
8. 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 boot. But if we would like it to load at boot automatically, what would we do? (0 Replies)
Discussion started by: anupa
0 Replies
9. Programming
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
10. Shell Programming and Scripting
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
EICONCTRL(8) Linux System Administration EICONCTRL(8)
NAME
eiconctrl - configure Eicon active ISDN card
SYNOPSIS
eiconctrl [-d Driver-Id] action options ...
DESCRIPTION
eiconctrl is used to setup the Eicon ISDN device driver and for downloading the firmware into the ISDN card.
The use of eiconctrl makes sense, if you are using an active Eicon ISDN card only.
OPTIONS
-d Driver-Id
selects the S0/S2M interface named by Driver-Id. Driver-Ids are defined during driver initialisation. See README.eicon for a
description of the syntax to be used for modularised and monolithic driver versions. This option must be used to identify the
S0/S2M interface if more than one S0/S2M interface is existent. If a single card is used, it may be omitted. If using more than one
ISA-Bus-type card, support for the other cards is enabled with the add action of eiconctrl. PCI-Bus-type cards will be automatically
added during driver initialisation. Ids may not start with digits or small x, because these values are misinterpreted as numeric
parameters by insmod. For loading the module, always the newest modutils package should be used to avoid problems during load.
The following actions may be given to eiconctrl.
irq [interrupt]
sets the irq number to use (only ISA). If the interrupt value is omitted, the current setting will be printed.
load protocol [options]
Downloads the protocol- and dsp-code into the card and starts operation.
protocol
etsi Euro-ISDN E-DSS1 (default)
1tr6 German ISDN Protocol
.... other protocols are also possible
options
For options see eiconctrl without any parameters for ISA cards and eiconctrl divaload -h for PCI cards.
manage [read|exec <path>]
Starts Management-Interface.
xlog [cont|<filename>]
Retrieving XLOG entries of adapter. With option cont given, it will be on a continuous cycle. Using a driver release 1.77 or newer
you can specify a trace-file for the xlog interpreter.
isdnlog [on|off]
Switch trace-information for isdnlog on/off.
CARD SPECIFIC DEFINITIONS
COMMON to all BRI-ISA
When using BRI-PtP set -S1 -n -t0 options. Some (very rare) switches require the -S2 here.The offset, set by the on-boards jumpers
needs an additional '0' (f.e. Cards jumper setup is 0xd800 - means a membase of 0xd8000 ).
S SX SXn SCOM
when loading the card's module by insmod / modprobe, you need to specify Membase, IRQ and ID. Only the SCOM is also MCA-supported.
S2M When using PRI-PtP set -n -S2
QUADRO Loading this card as usual will automatically find and autoload the remaining three cards. Don't forget to set the Membase, IRQ and
ID string using insmod or modprobe. Remember to "eiconctrl load <card_n>" for all "four" cards manually with the desired protocol.
When setting the ID's last letter to an "a", the remaining ID's will be continued with "b, c, d" ; Otherwise the ID-string will add
a "_2 _3 _4" to the cards device-description.
COMMON to all BRI/PRI PCI
All cards are auto detected and autoloaded w/o any parameters at insmod/modprobe. Using more than one card in a system will require
the eiconctrl "-d" option to load the futher cards. (f.e eiconctrl -d eicon2) You can also use the -all option to get all boards
loaded at one time (divaload only). The ETSI protocol is default and is not needed to be set as parm. Otherwise add the desired pro-
tocol to specify. The protocolcodes are normally located at /usr/lib/isdn/eicon.
4BRI Loading this card will set the protocol to all "4 cards" same style. You cannot load diffrent codes. This is not a bug! The ID's are
set while loading - automatically.
PRI When using PRI-PtP set -n -S2
Use option -x to set NT mode.
EXAMPLE
eiconctrl load etsi
loads and starts S0 type adapter with protocol E-DSS1.
eiconctrl load etsi -t1 -s1 -n
loads and starts S0 type adapter with protocol E-DSS1 PtP.
eiconctrl load etsi -s2 -n
loads and starts S2M type adapter with protocol E-DSS1.
BUGS
No bugs so far but don't hesitate to contact us in case of obvious bug.
AUTHOR
(C) 2000 by Armin Schindler <mac@melware.de>
SEE ALSO
isdnctrl(8), isdnctrl(4), ttyI(4), isdn_cause(7), isdninfo(4).
eiconctrl-V2.3 2000/12/02 EICONCTRL(8)