Kernel panic on new kernel compilation
I compiled linux kernel : linux-18.104.22.168
with gcc version 4.1.0.....compilation went through with some warnings.
Base Kernel: 2.6.20-1.2316.fc5smp
One of the warning is :
init/main.c:82:2: warning: #warning gcc-4.1.0 is known to miscompile the kernel. A different compiler version is recommended.
But when I reboot the system and boot with the new kernel, I get Kernel panic with
messages "could not find /dev/root" and some chroot messages
Do I need to downgrade the GCC to some 3.x version? If so, what is the procedure for it?
Can you please help, as to how should i proceed.
Thanks and Regards,