LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-08-2004, 05:02 PM   #1
wenberg
Member
 
Registered: Jan 2004
Location: Minnesota, USA
Distribution: Slackware 10, Debian Sarge
Posts: 91

Rep: Reputation: 15
Patching 2.6.1 kernel to 2.6.2


I've been running 2.6.1 on Slackware 9.1 for a few weeks, and now 2.6.2 is out, I'd like to be able to learn to patch 2.6.1 without compiling from scratch. I've downloaded patch-2.6.2.gz and gunzipped it. I get this file called patch-2.6.2 ... and now I don't know what to do with it. It didn't come with any docs at all.
 
Old 02-08-2004, 05:08 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
after you uncompress it to /usr/src/linux (or wherever the root of the kernel source direcotry is) just type :
patch -p1 < patch-2.6.2
 
Old 02-08-2004, 05:16 PM   #3
wenberg
Member
 
Registered: Jan 2004
Location: Minnesota, USA
Distribution: Slackware 10, Debian Sarge
Posts: 91

Original Poster
Rep: Reputation: 15
I'm assuming I'd have to recompile after patching? Or is there away to upgrade to the new kernel without recompiling?
 
Old 02-08-2004, 05:26 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
well yes you'll have to make the new kernel image ...
 
Old 02-08-2004, 05:33 PM   #5
wenberg
Member
 
Registered: Jan 2004
Location: Minnesota, USA
Distribution: Slackware 10, Debian Sarge
Posts: 91

Original Poster
Rep: Reputation: 15
Thanks much. I've come a long way from first installing Linux just weeks ago, my first kernel recompile a week later, and now a patch. A big thanks to everyone on the forums.
 
Old 02-08-2004, 05:56 PM   #6
wenberg
Member
 
Registered: Jan 2004
Location: Minnesota, USA
Distribution: Slackware 10, Debian Sarge
Posts: 91

Original Poster
Rep: Reputation: 15
I just got 2.6.2 running. It's working fine ... but I get a single error ...

Quote:
Feb 8 17:51:00 wenberg modprobe: FATAL: Could not load /lib/modules/2.6.2/modules.dep: No such file or directory
Is there something I could do prevent that? or at least not have it seen during boot?
 
Old 02-09-2004, 09:44 AM   #7
BrianNJ
Member
 
Registered: Jul 2003
Distribution: Gentoo 2004.0
Posts: 157

Rep: Reputation: 30
Quote:
Could not load /lib/modules/2.6.2/modules.dep: No such file or directory
i'm getting this too... anyone have a solution? or know how i can create that file ?

i'm tempted to make a sym link to 2.6.1/modules.dep
 
  


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 patching.. new.thing Linux - Hardware 3 07-13-2005 06:36 AM
Patching a 2.6 kernel with a 2.4 kernel keyboard driver..possible? dxx Linux - Laptop and Netbook 3 11-18-2004 04:18 AM
Patching the kernel grazie Fedora 4 11-09-2004 03:29 PM
Patching the Kernel LinuxBlackBox Linux - Software 2 06-16-2004 06:54 AM
Kernel Patching? wr3ck3d Linux - General 4 04-13-2003 03:17 PM

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

All times are GMT -5. The time now is 03:35 PM.

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