StifflerStealth Retired Dev
Joined: 03 Jul 2002 Posts: 968
|
Posted: Fri Mar 03, 2006 1:38 am Post subject: Genkernel issue with GCC 4.1... |
|
|
Hi all,
I am trying to compile my kernel with GCC 4.1 and Genkernel. Before I redid my system, I saved my working 2.6.15-nitro3 kernel and initramfs, but those were compiled with gcc 3.4.x. I am trying to use genkernel 3.3.11. I had to modify the conf file to use udev version 85, because any version less than that would fail with GCC 4.1. The kernel and the initramfs successfully compile, but upon reboot I get this message: Quote: | >> Loading modules
>> Activating devfs
mount: Mounting devfs on /dev failed: No such device
/init: 235: devfsd: not found
>> Determining root device
!! Block device /dev/hda3 is not a valid root device...
!! The root block device isunspecified ornot deteced
Please specify a device to boot, or "shell" for a shell...
boot():: |
I use the SAME exact line in grub.conf for the gcc 3.4.x compiled kernel as I do with the gcc 4.1 compiled one, well, except for the name. The main difference is is that the gcc 3.4.x compiled initramfs says that it's activating udev, instead of devfs. I don't have devfsd installed, so no wonder it's not found. I have even tried to use the --no-devfs option, but that didn't work. It STILL tries to boot devfs. <_< I then tried to downgrade to version 3.3.10 of genkernel, but it just dies trying to compile the new udevs.
Is there any way to get this to work with the new udevs? Or is there a way to patch the old udev version 77 that comes with Genkernel to compile with GCC 4.1? Before you ask, I use genkernel because I like it, like some people prefer to do it manually, I prefer to do it this way. Just my preference.
By the way, if I comment out the initrd line and change the kernel line to delete the real_root and init stuff, then it boots just fine, so I know the kernel that I compiled is good. The error is somewhere in genkernel not liking gcc 4.1 or the newer udevs.
Thanks. _________________ Nothing to read in this sig. Move along. |
|