Jump to content


Photo
- - - - -

2.6.29 kernel rpm?


  • Please log in to reply
6 replies to this topic

#1 Dial Tone

Dial Tone

    SUPR3M3 31337 Mack Daddy P1MP

  • Members
  • 429 posts

Posted 06 May 2009 - 05:41 PM

Ok, this one project I'm working on requires the AP mode support added in 2.6.29.

However my fedora install didn't come with this kernel.

I have two options: compiling from source, or installing it via an rpm

I haven't been able to find an rpm for that particular kernel release however, and I have no clue how to update my kernel from source. Any help is greatly appreciated.

#2 Ohm

Ohm

    I could have written a book with all of these posts

  • Members
  • 3,209 posts
  • Gender:Male
  • Location:Maine, USA

Posted 06 May 2009 - 05:43 PM

It sounds like you'll need to compile a kernel for yourself. What you'll need to do is extract the kernel source, put in the fedora .config, make your modifications and compile. Fedora might also have a way for you to make an RPM out of this and install it normally.

#3 Dial Tone

Dial Tone

    SUPR3M3 31337 Mack Daddy P1MP

  • Members
  • 429 posts

Posted 06 May 2009 - 05:59 PM

Do you know of a good tutorial?

Normally I've just gotten my packages from yum :/

I found this: http://www.howtoforg...pilation_fedora but everything gives errors (won't let me make the directory, says the package they say to get to build the rpm doesn't work, etc)

#4 Ohm

Ohm

    I could have written a book with all of these posts

  • Members
  • 3,209 posts
  • Gender:Male
  • Location:Maine, USA

Posted 06 May 2009 - 06:05 PM

I haven't compiled a kernel in a very long time, and I don't know how the modern package managers install them and generate files like menu.lst. So I have no specifics for you.

#5 lattera

lattera

    Underground Shizzleness

  • Members
  • 511 posts
  • Gender:Male

Posted 06 May 2009 - 07:30 PM

tar -jxf kernel-sources.tar.bz2
cd kernel-sources
make menuconfig
make
make modules
make modules_install
cp arch/i386/boot/bzImage /boot/kernel.date
nano -w /boot/grub/menu.lst

Replace "kernel-sources" with the file you downloaded. Also replace "kernel.date" with the filename you want to give the kernel in /boot.

#6 Dial Tone

Dial Tone

    SUPR3M3 31337 Mack Daddy P1MP

  • Members
  • 429 posts

Posted 07 May 2009 - 09:41 AM

tar -jxf kernel-sources.tar.bz2
cd kernel-sources
make menuconfig
make
make modules
make modules_install
cp arch/i386/boot/bzImage /boot/kernel.date
nano -w /boot/grub/menu.lst

Replace "kernel-sources" with the file you downloaded. Also replace "kernel.date" with the filename you want to give the kernel in /boot.


Thanks a lot!

#7 Ohm

Ohm

    I could have written a book with all of these posts

  • Members
  • 3,209 posts
  • Gender:Male
  • Location:Maine, USA

Posted 07 May 2009 - 05:12 PM

There's two problems with that. First, you didn't copy the Fedora .config in there. Fedora most likely relies on some custom configs in order for everything to work as expected. If you're really unlucky, they have their own set of patches. Second, some distros try to monopolize menu.lst. Next automatic update, you might find your custom kernel was removed from menu.lst, or their newest kernel added as the default. This is why you need to seek distro-specific advice.




BinRev is hosted by the great people at Lunarpages!