Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
downgrade 2.6 -> 2.4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jakeluck
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2003
Posts: 84

PostPosted: Mon Apr 24, 2006 10:11 pm    Post subject: downgrade 2.6 -> 2.4 Reply with quote

Hi,

This is the reverse of what most people asks for. I am running last month's x86 tree with 2.6.15-gentoo-r1 with udev.
I need to do some regression testing for a piece of software and would like to downgrade to the 2.4.21. My questions are:

1) do i need to go back to devfs or would udev work with 2.4

2) http://packages.gentoo.org/search/?sstring=vanilla-sources
and /usr/portage/sys-kernel/vanilla-sources/vanilla-sources-2.4.21.ebuild
shows that 2.4.21 is only availabe for the IBM s390, would it be safe
to mod and install that on x86?

3) would i need to replace linux-headers with the older version?
(curiously, linux-headers-2.4.21 and linux-headers-2.4.21-r1 do exist for x86)

4) anything else that I should watch out for?

thanks for the insight!

jake
Back to top
View user's profile Send private message
itsmegawtf
Apprentice
Apprentice


Joined: 01 Oct 2005
Posts: 150

PostPosted: Tue May 02, 2006 10:12 am    Post subject: Reply with quote

1. yes, you need.
2. it will work (I had such experience)
3. I think - yes (they must exist)
4. read migrating (kernels) and do vice versa :)
Back to top
View user's profile Send private message
bollucks
l33t
l33t


Joined: 27 Oct 2004
Posts: 606

PostPosted: Tue May 02, 2006 11:27 am    Post subject: Reply with quote

Don't reinitiate devfs, just use a static dev tree
Back to top
View user's profile Send private message
jakeluck
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2003
Posts: 84

PostPosted: Tue May 02, 2006 2:35 pm    Post subject: Reply with quote

i got both the vanilla 2.4.28 ebuild as well as the plain 2.4.21 kernel.org tar to work.
via
Code:
genkernel --menuconfig --no-clean --no-bootsplash all

sofar cron seems to be the only thing that needed fixing. Also the genked+emged
2.4 kernels didn't like the bootflags
Code:
root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3

however, the following works like a charm.

Code:
title=vanilla-sources 2.4.21
root (hd0,0)
kernel /kernel-genkernel-x86-2.4.21 vga=0x318 video=vesa root=/dev/hda3
initrd /initrd-genkernel-x86-2.4.21


thanks for the tips,
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum