I have linux installed in vmware which is not connected to net and so I have to manually download the source.
---------- Post updated 02-03-12 at 01:03 PM ---------- Previous update was 02-02-12 at 08:56 PM ----------
Now I have open suse kernel kernel 3.1.0-1.2-desktop and its kernel source.
Again 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:
FYI I have compiled the kernel as follows:
Make mrprpoper
make menuconfig
Make
Make modules
Make modules_install
Make install
Am I missing something?
How to resolve this issue?
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 CENTOS
modinfo
MODINFO(8) modinfo MODINFO(8)NAME
modinfo - Show information about a Linux Kernel module
SYNOPSIS
modinfo [-0] [-F field] [-k kernel] [modulename|filename...]
modinfo -V
modinfo -h
DESCRIPTION
modinfo extracts information from the Linux Kernel modules given on the command line. If the module name is not a filename, then the
/lib/modules/version directory is searched, as is also done by modprobe(8) when loading kernel modules.
modinfo by default lists each attribute of the module in form fieldname : value, for easy reading. The filename is listed the same way
(although it's not really an attribute).
This version of modinfo can understand modules of any Linux Kernel architecture.
OPTIONS -V, --version
Print the modinfo version.
-F, --field
Only print this field value, one per line. This is most useful for scripts. Field names are case-insensitive. Common fields (which may
not be in every module) include author, description, license, parm, depends, and alias. There are often multiple parm, alias and
depends fields. The special field filename lists the filename of the module.
-b basedir, --basedir basedir
Root directory for modules, / by default.
-k kernel
Provide information about a kernel other than the running one. This is particularly useful for distributions needing to extract
information from a newly installed (but not yet running) set of kernel modules. For example, you wish to find which firmware files are
needed by various modules in a new kernel for which you must make an initrd/initramfs image prior to booting.
-0, --null
Use the ASCII zero character to separate field values, instead of a new line. This is useful for scripts, since a new line can
theoretically appear inside a field.
-a --author, -d --description, -l --license, -p --parameters, -n --filename
These are shortcuts for the --field flag's author, description, license, parm and filename arguments, to ease the transition from the
old modutils modinfo.
COPYRIGHT
This manual page originally Copyright 2003, Rusty Russell, IBM Corporation. Maintained by Jon Masters and others.
SEE ALSO modprobe(8)AUTHORS
Jon Masters <jcm@jonmasters.org>
Developer
Lucas De Marchi <lucas.demarchi@profusion.mobi>
Developer
kmod 07/02/2013 MODINFO(8)