LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-02-2010, 04:57 PM   #1
vcats
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Rep: Reputation: 0
Problem with module i2c-core in Slackware 12.0


I've been trying to install module em28xx in a Slackware 12.0 installation that has been operating for several years. This is the em28xx that is part of the Slackware 12.0 distribution itself (kernel 2.6.21.5).

Unfortunately, although em28xx is fine, modprobe has a problem with dependent module i2c-core, which is generating an "Invalid module format" message. The system is using the generic Slackware 12.0 kernel, not the huge kernel.

Any suggestions on how to fix this problem so that em28xx will function correctly? Thanks!
 
Old 04-02-2010, 05:06 PM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
Check to see that you aren't mixing up the smp modules with a non-smp kernel or the other way around.
 
Old 04-02-2010, 05:39 PM   #3
vcats
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mRgOBLIN View Post
Check to see that you aren't mixing up the smp modules with a non-smp kernel or the other way around.
Thanks for your reply.

Modprobe says it is trying to insert /lib/modules/2.6.21.5/kernel/drivers/i2c/i2c-core.ko. Is that what it should be doing?

If there is a confusion with something else, what might that something else be?
 
Old 04-02-2010, 05:49 PM   #4
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
Yes that is correct for a non-smp kernel.

Ok I just checked on a 12.0 system and yes you are correct it errors out when inserting that module.

I'd expect you might need to rebuild the kernel modules to fix this.

Last edited by mRgOBLIN; 04-02-2010 at 05:50 PM.
 
Old 04-02-2010, 05:58 PM   #5
vcats
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mRgOBLIN View Post
Yes that is correct for a non-smp kernel.

Ok I just checked on a 12.0 system and yes you are correct it errors out when inserting that module.

I'd expect you might need to rebuild the kernel modules to fix this.
Thanks for taking the time to verify this problem.

I believe I have some source code for the i2c-core module as part of the Slackware 12.0 distribution. Recompile that or ... ?

Thanks again.
 
Old 04-02-2010, 06:49 PM   #6
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
Well yes you could do that but personally I'd rebuild all the modules (probably the kernel too). Be aware that there was a nasty local root exploit for that kernel version.
There should be a patch in the patches directory to address this.

Here is the security advisory for the exploit I referred to.
http://www.slackware.com/security/vi...ecurity.562341
 
1 members found this post helpful.
Old 04-03-2010, 05:36 AM   #7
vcats
LQ Newbie
 
Registered: Apr 2010
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mRgOBLIN View Post
Well yes you could do that but personally I'd rebuild all the modules (probably the kernel too). Be aware that there was a nasty local root exploit for that kernel version.
There should be a patch in the patches directory to address this.

Here is the security advisory for the exploit I referred to.
http://www.slackware.com/security/vi...ecurity.562341
Well, considering that it took three months to get Slackware 12.0 up and running, I'd like for the moment to do the minimum to get em28xx operational. I don't want to risk bringing down this otherwise functional standalone system for an extended period. I'm not quite clear what a "root exploit" is: a security issue with root access?

Should I be looking at slackware.com for a patch to i2c-core or is it necessary to do more than that?

Thanks again.
 
Old 04-04-2010, 06:55 PM   #8
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 227Reputation: 227Reputation: 227
Quote:
Originally Posted by vcats View Post
I'm not quite clear what a "root exploit" is: a security issue with root access?
It is something that would allow a local user (or process) to gain unauthorised root access. Basically a nasty software bug.

Quote:
Originally Posted by vcats View Post
Should I be looking at slackware.com for a patch to i2c-core or is it necessary to do more than that?

Thanks again.
No I'd expect that just rebuilding the kernel and modules (maybe just the modules) would fix this issue.
 
  


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
slackware 12.1 - i2c warning/errs? jape Slackware 12 05-06-2008 07:20 AM
Problems loading module i2c azkarashare Linux - Hardware 1 03-30-2008 07:04 AM
Problem installing module in Fedora Core 2 (2.6 kernel vs 2.4 problem?) Arodef Linux - Kernel 3 11-30-2007 02:55 PM
Could not load i2c-core! phsythax Linux - Kernel 1 02-18-2007 10:11 AM
cannot load capture card module zr36067 i2c fault? meinnit Linux - Hardware 0 02-15-2007 05:09 PM


All times are GMT -5. The time now is 08:55 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration