LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 11-08-2004, 11:55 AM   #1
grazie
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
Patching the kernel


I want to patch the 2.6.5 kernel to fix a usb problem for my DSL modem. Done lots of searches and read the README under /usr/src/linux...., but it's not completely clear to me yet. Most of the references I found seem out of date, as the step 'make dep' Linux reports as redundant. Built the bzImage OK, but there's no corresponding System.map. Used 'make oldconfig' to configue so not entirely sure whether I need to 'make modules' or not?

Also, running out of space on the / partition already (trying the above 'make modules' fails due to lack of space anyway). Set up a 5G partition as recommended for /, plus 2G for /home and installed the workstation config. Tried using Add/Remove Applications to free space, but that usually generates errors. Maybe 'yum remove app' would be better? Anyone recommend the best way to increase the size of the / partition or maybe add another partition to move /var to for example? The space available on the disk is not adjacent to the / partition.
 
Old 11-08-2004, 06:02 PM   #2
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
2.6 kernel install:

as root:
Code:
make menuconfig
make && make modules_install && make install
(exactly as shown)

HTH,

Samsara
 
Old 11-08-2004, 06:04 PM   #3
Samsara
Member
 
Registered: May 2003
Distribution: Ubuntu, Mac OS X Tiger
Posts: 481

Rep: Reputation: 32
I usually remove apps using

rpm -e some_app-version.i386.rpm
(if you've got the i386 distribution)

HTH,

Samsara
 
Old 11-09-2004, 02:30 PM   #4
grazie
LQ Newbie
 
Registered: Nov 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for reply Samsara. I can follow what you're telling me, but I don't want to do 'make menuconfig' as I'm not sure how to respond to all the queries. So what I did as root was
Code:
make oldconfig
make bzImage
at which point I should have a System.map file? But I don't see one anywhere. Also, do I have to
Code:
make modules_install
as I don't believe I selected anything to be built as a modules? I did try
Code:
make modules
in case there were modules that needed to be rebuilt, but that didn't complete due lack of space. Finally, I'd rather do the install manually I've got two working versions of the kernel and I'm concerned the install command will get the versions mixed up.
 
Old 11-09-2004, 03:29 PM   #5
wiraone
Member
 
Registered: Nov 2003
Location: Diawang-awangan
Distribution: Ubuntu Hoary!
Posts: 319

Rep: Reputation: 30
Don't think you need to do make bzImage and make modules with the new kernel .. I usually do the following when recompiling a new kernel ..

$ make oldconfig
$ make menuconfig (if needed)
$ make
$ make modules_install
$ make install

Grub will be automagically configured too ..

Last edited by wiraone; 11-09-2004 at 03:30 PM.
 
  


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 the kernel rickthemick Linux - General 1 11-24-2004 04:18 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 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 > Fedora

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