LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-03-2011, 05:21 AM   #1
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Rep: Reputation: 38
Cannot load md5.ko module


Hi
I am trying to mount a CIFS share, which keeps failing.
It seems to be related to the fact that the md5 module isn't loaded.
I have tried to load the module, but it keeps failing with
Quote:
FATAL: Error inserting md5 (/lib/modules/3.0-ARCH/kernel/crypto/md5.ko.gz): Unknown symbol in module, or unknown parameter (see dmesg)
dmesg says:
Quote:
md5: Unknown symbol md5_transform (err 0)
I have tried the following:
* reinstalling the kernel package (pacman -S linux), and rebooting
* running depmod then modprobe md5
* loading other modules, modprobe hmac (worked)

Does anyone have any ideas to fix this?
Thanks
 
Old 11-04-2011, 09:32 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185
Who is responsible for maintaining these packages? Clearly, the kernel module is not compatible with the kernel you have installed. Since you are using packages to maintain both, you should open a trouble-ticket with the package maintainers and wait for their assistance in resolving the problem.

Consider yourself lucky in that the kernel module loader detected the problem ... that there actually is a missing symbol. If you load a kernel module that's incompatible and don't realize it at the time, your system normally suffers instant death.

Last edited by sundialsvcs; 11-04-2011 at 09:33 AM.
 
Old 11-04-2011, 11:12 AM   #3
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Original Poster
Rep: Reputation: 38
Much as I like to believe that I was convinced it is something I did wrong...

I don't have an identical machine to play with, other than the affected one that is.

However, the same kernel package loads the md5 module just fine when installed on x86_64, and on my atom. I copied the module from the atom to the affected one and tried to load it again, with exactly the same result.

My humble opinion is that this means the issue is not in the package, but somewhere else.
 
Old 11-04-2011, 03:43 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,078
Blog Entries: 4

Rep: Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185Reputation: 3185
You can't "copy a module from" one system to another and merely expect it to work. Especially not if there is any possibility whatsoever that the two system-types are not exactly the same.

Remember what a kernel module is: a thing that, if accepted into the kernel of the target system, will in every way and in every sense become a part of that target system's innermost software parts. It must therefore be built for exactly that target system.

Please... the system is telling you what the problem is. Believe what it is telling you, not what you intuit the problem to be. "Don't out-think yourself."
 
Old 11-04-2011, 04:09 PM   #5
x_terminat_or_3
Member
 
Registered: Mar 2007
Location: Plymouth, UK
Distribution: Fedora Core, RHEL, Arch
Posts: 342

Original Poster
Rep: Reputation: 38
Thanks for your help.

I've since mounted the share on another server, bypassing the problem for now. At least until Arch releases a new kernel package.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache 2.2.3 Session tracking with mod_session produces load error on module load programlight Linux - Server 1 10-24-2011 05:48 PM
Compile and load kernel module automatically after boot? (Intel NIC module) touser Linux - Newbie 3 08-29-2009 09:45 PM
rtl8187 driver module load error (Invalid module format) j_75080 Linux - Networking 3 07-06-2009 10:37 PM
X won't load i810 module for 915GM video card "module requirement mismatch" yougene Slackware 10 03-18-2006 11:02 AM
Module Auto-Load: module.conf tricks? m_e_perry Linux - Newbie 3 10-07-2004 06:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration