Results 1 to 7 of 7
I am new to linux kernel configuration. I was trying to configure and compile a new kernel 2.4.20. I followed the steps to reconfigure the kernel and the new kernel ...
- 12-21-2006 #1Just Joined!
- Join Date
- Dec 2006
- Posts
- 7
Problem in in booting up new recompiled kernel 2.4
I am new to linux kernel configuration. I was trying to configure and compile a new kernel 2.4.20. I followed the steps to reconfigure the kernel and the new kernel got compiled successfully. At boot time I could see my new kernel . All went right except when it comes to log in page. My keyboard and mouse were not responding. I could see the cursor blinking at the username space, but nothing was happening when I was giving input through keyboard or mouse.
I am writing the steps that I did to configure and compile the new kernel 2.4.20.
I am having Red Hat 9 kernel 2.4.20.
1)make clean.
2)make mrproper.
3)make menuconfig.( Made no changes but saved the setting as new configuration).
4)make dep.
5)Changed EXTRAVERSION
6)make bzImage.
7)make modules.
make modules_install
9)make install.
I saw the grub.conf was showing my new kernel.
there were modules related to my new kernel at /lib/modules directory.
I am not getting where I am wrong. Please help me regarding above problem.
Thanks
- 12-21-2006 #2Just Joined!
- Join Date
- Mar 2006
- Posts
- 2
I am new to this, but have you autoloaded any modules? Maybe you haven't autoloaded a module necessary for keyboard support at startup.
- 12-22-2006 #3It usually deletes the .config file but I believe it makes a backup2)make mrproper.
If the configuration file is gone, you should select at least some options3)make menuconfigPut your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 12-22-2006 #4Just Joined!
- Join Date
- Dec 2006
- Posts
- 7
After doing make mrproper , I did
[/usr/src/linux2.4#]cp /boot/config-2.4.20-8smp ./.config
[/usr/src/linux2.4#] make menuconfig
then I did make dep;make bzImage;make modules;make modules_install
when I did ' make install ', I am getting an error:" All of your loopback devices are in use " in mkinitrd.
I am not getting where I am wrong.
Thanks
- 12-23-2006 #5
You can also install the kernel manually copying it from /usr/src/linux/arch/<your-arch>/boot/bzImage to somewhere in /boot and then update the bootloader
Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 12-26-2006 #6Just Joined!
- Join Date
- Dec 2006
- Posts
- 7
I am not able to make "initial ram disk image" due to the error that I am getting when I do mkinitrd.
The error was:"All of your loopback devices are in use". Please help me to resolve this problem.
- 12-27-2006 #7Just Joined!
- Join Date
- Dec 2006
- Posts
- 7
Now I got the solution to my problem.The Error that I was getting was due to lack of disk space for while making initial RAM disk image. I removed the useless initrd images, bzImages of previous recompilations , modules of unused kernel versions , etc which I felt are of no use. Then again I recompiled the kernel and everything went on smoothly.
Thanks a lot for the precious help


Reply With Quote
