LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 01-16-2005, 09:56 AM   #1
bad_andy
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1/Slackware 10.0
Posts: 154

Rep: Reputation: 30
Can someone help me with this kernel patch?


I'm trying to install lm-sensors for my 2.4.26 kernel. Not knowing that it had a bug, I installed i2c-2.9.0, only to find that when i run sensors-detect, I get a "no i2c modules detected." There's a patch called "i2c-2.9.0.1" (http://secure.netroedge.com/~lm78/download.html) that's supposed to solve the problem, but I have no clue what to do with this text.

If this patching thing is too complicated, I'd just as well uninstall i2c-2.9.0 and go with an older version, but I don't know how to do that either.

So I'm kinda stuck. Can anyone walk me through either patching this data or uninstalling i2c altogether so that I can get an earlier version?

Thanks.
 
Old 01-16-2005, 10:09 AM   #2
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
mv the patch to your /usr/src/linux or kernel you're patching. cd into your /usr/src/linux or kernel you're patching. Run patch -p1 < <nameofpatch>. mv your .config file to another directory. Then make mrproper. mv your .config back to /usr/src/linux or kernel you're patching. make oldconfig. Go into your kernel and make any necessary adjustments. Then make bzImage && make modules && make modules_install . Then copy your image to your /boot make your links and reboot. Good luck
 
Old 01-16-2005, 03:58 PM   #3
bad_andy
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1/Slackware 10.0
Posts: 154

Original Poster
Rep: Reputation: 30
Whoa...that went right over my head. What about uninstalling i2c-2.9.0 from my system? How do I go about doing that? I installed it from a tar.gz file.
 
Old 01-16-2005, 05:26 PM   #4
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
cd into the directory you installed it from and...

Code:
make uninstall
That's if it has an uninstall program, not all applications do. I'd recommend installing checkinstall
When you install a package with checkinstall you can remove it aftarwards with "removepkg" or "pkgtools", makes it alittle bit easier on yourself. That and "Linux 2.6 users do not need to get this i2c package, it's already part of the kernel tree." I'd update your kernel to 2.6.*. It has support for i2c built into the kernel.
 
  


Reply



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
Kernel Patch (Patch-2.6.13) ukez Linux - Hardware 4 08-30-2005 03:40 PM
Kernel-Patch Debian Logo 2.6.2 not correctly working for custom kernel 2.6.11 smp deepclutch Debian 3 06-27-2005 03:59 AM
Unable to patch 2.6.11.7 kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 06:33 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
YaST Online Update + AMD kernel patch = kernel panic THX1138 Linux - General 3 10-26-2003 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:11 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