Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.4 Kernel on 2006.1 amd64 [solved]
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
bLUEbYTE84
Guru
Guru


Joined: 21 Jul 2006
Posts: 566
Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table

PostPosted: Fri Nov 10, 2006 10:03 am    Post subject: 2.4 Kernel on 2006.1 amd64 [solved] Reply with quote

note: This was originally in Other Thinggs Gentoo forum but I thought it's better suited here so I moved it here.
Hi,
I made a manual installation from the minimal installation CD with no-multilib profile on amd64. Currently this fresh system has 2.6.17-r8-gentoo kernel and I want to add my own custom 2.4.31 kernel, by unpacking it in /usr/src , compiling and adding to the boot loader. It will be my main kernel, this 2.6.17 will be only like a "failsafe" kernel. The linux symlink at /usr/src will also point to the 2.4.31 sources.

Are there any potential problems here? What about udev,devfs etc? Thanks in advance.


Last edited by bLUEbYTE84 on Fri Nov 10, 2006 5:07 pm; edited 1 time in total
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Fri Nov 10, 2006 11:24 am    Post subject: Reply with quote

Udev can only be used with kernel 2.6.xx.

You need to use devfs with kernel 2.4.xx.
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Fri Nov 10, 2006 2:56 pm    Post subject: Re: 2.4 Kernel on 2006.1 amd64 Reply with quote

bLUEbYTE84 wrote:
note: This was originally in Other Thinggs Gentoo forum but I thought it's better suited here so I moved it here.
Hi,
I made a manual installation from the minimal installation CD with no-multilib profile on amd64. Currently this fresh system has 2.6.17-r8-gentoo kernel and I want to add my own custom 2.4.31 kernel, by unpacking it in /usr/src , compiling and adding to the boot loader. It will be my main kernel, this 2.6.17 will be only like a "failsafe" kernel. The linux symlink at /usr/src will also point to the 2.4.31 sources.

Are there any potential problems here? What about udev,devfs etc? Thanks in advance.

why? Is this going to be a production machine?
Back to top
View user's profile Send private message
bLUEbYTE84
Guru
Guru


Joined: 21 Jul 2006
Posts: 566
Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table

PostPosted: Fri Nov 10, 2006 3:32 pm    Post subject: Reply with quote

Quote:

why? Is this going to be a production machine?

I hate it when people respond to such a question with another question and ask why.
Please, don't post if you have nothing constructive about my question. Thank you.
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Fri Nov 10, 2006 4:05 pm    Post subject: Reply with quote

bLUEbYTE84 wrote:
Quote:

why? Is this going to be a production machine?

I hate it when people respond to such a question with another question and ask why.
Please, don't post if you have nothing constructive about my question. Thank you.

well. you already have your answer. devfs is completely depreciated in 2.6.x, udev is unavailable in 2.4.x. That shouldn't pose a big problem.

thats the only real issue I can think of. well, not really but since you are refusing to give details about the use of the machine I cannot go into userland issues you might face.

if its a server w/o a gui. you should be fine being able to go between them, afaik the gentoo init process is (or at least was) smart enough to figure out you have devfs running and will skip starting udev when you are booting the 2.4 kernel. and will start it when you boot the 2.6 kernel.

keep in mind also that all modules you compile (are you using any? what are the uses for the machine?) will need to be recompiled between kernels (like always)...
Back to top
View user's profile Send private message
bLUEbYTE84
Guru
Guru


Joined: 21 Jul 2006
Posts: 566
Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table

PostPosted: Fri Nov 10, 2006 5:01 pm    Post subject: Reply with quote

The installation is extremely minimalistic - fbcon, sdl, alsa and a bunch of apps (emulators) that use those.
I did not refuse to give details, but I thought that I gave enough details. Sorry if I was harsh, but I'm sure you got my point (which, in this case, has nothing to do with you). I apologise.
Thanks for the information.

Normally I don't use modules, but there will be 2 modules, one for fbcon and one for via framebuffer (viafb). They need to be compiled as modules. I heard something like "modutils is for 2.4.x, and for 2.6.x module init tools is used". Is there any issue with module loading that I should be aware of?
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