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 following are the logs:
I guess this is because of mismatching kernel versions.
Cannot I use kernel source 3.1.10-1.2-desktop on kernel 3.1.0-1.2-desktop?
Where can I get the kernel source for 3.1.0-1.2-desktop
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)
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)
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)
Hello everybody:
I have a trouble running an application which connects to an Oracle server, I got this message:
Dependent module /opt/oracle/product/10.2/lib/libclntsh.so could not be loaded.
The module has an invalid magic number.
Running ldd MyApp doesn't report missing symbols, I've... (1 Reply)
I have Apache v2.0.63 on Solaris 10 (x86 on VM). While starting the apache server, facing the following exception -
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
Googling says to add the entry LoadModule authz_host_module... (0 Replies)
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)
Hi Folks,
I have written a perl script that reads data from excel sheet(.xls) using Spreadsheet::ParseExcel module. But the problem is this module doesn't work for excel sheets with extension .xlsx.
I have gone through Spreadsheet::XLSX module with which we can read from .xlsx file directly.... (1 Reply)
Hello Folks,
Monitor took a crap on me so I bought a new flat screen. Im running Ubuntu 12 recieving an invalid format after the GUI login screen. How do I go about trying to change the resolution. FYI old monitor blew smoke so reconnecting it is not an option. From I understand their is no... (3 Replies)
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
LEARN ABOUT REDHAT
modinfo
MODINFO(8) Linux Module Support MODINFO(8)NAME
modinfo - display information about a kernel module
SYNOPSIS
modinfo [ options ] <module_file>
DESCRIPTION
The modinfo utility examines the object file module_file associated with a kernel module and displays any information that it can glean.
OPTIONS
-a, --author
Display the module's author.
-d, --description
Display the module's description.
-fformat_string, --format format_string
Let the user specify an arbitrary format string which can extract values from the ELF section in module_file which contains the mod-
ule information. Replacements consist of a percent sign followed by a tag name in curly braces. A tagname of %{filename} is always
supported, even if the module has no modinfo section. %{kernel_version} shows the version of the kernel the module was compiled
for. %{using_checksums} expands to 1 is the module has versioned symbols and to 0 or <none> otherwise.
A tagname of %{parm} is special: the format string line is repeated for each known module parameter (which may be zero times) and
%{parm} is then replaced by descriptions of module parameters (one parameter on each repeated line).
Alternatively, %a, %d, %l, %n and %p can be used instead of %{author}, %{description}, %{filename}, %{license} and %{parm}, respec-
tively.
-h, --help
Display a summary of options and immediately exit.
-l, --license
Display the module's license.
-n, --filename
Display the module's filename.
-p, --parameters
Display the typed parameters that a module may support.
-V, --version
Display the version of modinfo.
If no options are supplied, the default is filename, description, author, license and parameters.
SEE ALSO insmod(8), modprobe(8), depmod(8), rmmod(8), lsmod(8), ksyms(8), modules(2)Linux March 19, 2002 MODINFO(8)