Sponsored Content
Top Forums UNIX for Dummies Questions & Answers insmod error: disagrees about version of symbol module_layout Post 302656089 by rupeshkp728 on Thursday 14th of June 2012 08:34:21 AM
Old 06-14-2012
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


lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid


What might be the issue and how to resolve it?
 

10 More Discussions You Might Find Interesting

1. AIX

Error - Symbol Resolution Failed

Hi All, I am trying to run sqlplus on my AIX 5L box but following errors are thrown: $ sqlplus exec(): 0509-036 Cannot load program sqlplus because of the following errors: 0509-130 Symbol resolution failed for /usr/lib/libc.a because: 0509-136 Symbol kaio_rdwr64 (number 0)... (5 Replies)
Discussion started by: run_time_error
5 Replies

2. Programming

symbol referencing error

Undefined first referenced symbol in file std::basic_ostream<char, std::char_traits<char> >::operator<<(int)/var/tmp//ccTR std::cerr /var/tmp//ccTRcjui.o std::cout /var/tmp//ccTRcjui.o... (1 Reply)
Discussion started by: suhasini
1 Replies

3. UNIX for Advanced & Expert Users

C++ Compiling error.. Symbol Reference

Undefined first referenced symbol in file std::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator(unsigned int) const/var/tmp//cc9ACJBX.o std::basic_istream<char, std::char_traits<char> >& std::operator>><char,... (3 Replies)
Discussion started by: bjena
3 Replies

4. Programming

Symbol referencing error

Hey everyone, I can't figure out this symbol referencing error after looking at it for the longest time, and I figured some fresh eyes might be able to point something out I am overlooking. Undefined first referenced symbol in... (1 Reply)
Discussion started by: fromatz
1 Replies

5. UNIX for Dummies Questions & Answers

insmod error - no such device

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

6. HP-UX

error 1000: Unexpected symbol

Hi All, I have a code which is used for conversion from binary to ASCII. This code works absolutely fine on Linux and Solaris And the same is giving many errors and warnings on HPUX. The machine on which i am compliing is "HP-UX kautilya B.11.11 U 9000/800 876920620 unlimited-user license" ... (10 Replies)
Discussion started by: junaid.nehvi
10 Replies

7. Solaris

/usr/lib/passwdutil.so.1: symbol __nsl_fgetspent_r: referenced symbol not found

deleteing post (0 Replies)
Discussion started by: dshakey
0 Replies

8. 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

9. 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

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
lsb_release(1)						      General Commands Manual						    lsb_release(1)

NAME
lsb_release - print distribution-specific information SYNOPSIS
lsb_release [options] DESCRIPTION
The lsb_release command provides certain LSB (Linux Standard Base) and distribution-specific information. If no options are given, the -v option is assumed. OPTIONS
The program follows the usual GNU command line syntax, with long options starting with two dashes (`--'). A summary of options are included below. -v, --version Show the version of the LSB against which your current installation is compliant. The version is expressed as a colon separated list of LSB module descriptions. -i, --id Display the distributor's ID. -d, --description Display a description of the currently installed distribution. -r, --release Display the release number of the currently installed distribution. -c, --codename Display the code name of the currently installed distribution. -a, --all Display all of the above information. -s, --short Use the short output format for any information displayed. This format omits the leading header(s). -h, --help Show summary of options. NOTES
This is a reimplementation of the lsb_release command provided by the Free Standards Group. Any bugs are solely the responsibility of the author below. Detection of systems using a mix of packages from various distributions or releases is something of a black art; the current heuristic tends to assume that the installation is of the earliest distribution which is still being used by apt but that heuristic is subject to error. SEE ALSO
lsb(8) AUTHOR
Chris Lawrence <lawrencc@debian.org>. lsb_release(1)
All times are GMT -4. The time now is 05:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy