View previous topic :: View next topic |
Author |
Message |
bLUEbYTE84 Guru


Joined: 21 Jul 2006 Posts: 566 Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table
|
Posted: Fri Nov 10, 2006 10:03 am Post subject: 2.4 Kernel on 2006.1 amd64 [solved] |
|
|
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 |
|
 |
Keruskerfuerst Advocate


Joined: 01 Feb 2006 Posts: 2289 Location: near Augsburg, Germany
|
Posted: Fri Nov 10, 2006 11:24 am Post subject: |
|
|
Udev can only be used with kernel 2.6.xx.
You need to use devfs with kernel 2.4.xx. |
|
Back to top |
|
 |
jonnevers Veteran


Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Fri Nov 10, 2006 2:56 pm Post subject: Re: 2.4 Kernel on 2006.1 amd64 |
|
|
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 |
|
 |
bLUEbYTE84 Guru


Joined: 21 Jul 2006 Posts: 566 Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table
|
Posted: Fri Nov 10, 2006 3:32 pm Post subject: |
|
|
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 |
|
 |
jonnevers Veteran


Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Fri Nov 10, 2006 4:05 pm Post subject: |
|
|
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 |
|
 |
bLUEbYTE84 Guru


Joined: 21 Jul 2006 Posts: 566 Location: universe.tar.gz, src/earth.h, struct homo_sapiens_table
|
Posted: Fri Nov 10, 2006 5:01 pm Post subject: |
|
|
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 |
|
 |
|