LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Error: request_module:runaway loop modprobe binfMt -0000 on booting into new kernel (https://www.linuxquestions.org/questions/linux-newbie-8/error-request_module-runaway-loop-modprobe-binfmt-0000-on-booting-into-new-kernel-771237/)

ayeswarya 11-24-2009 09:43 AM

Error: request_module:runaway loop modprobe binfMt -0000 on booting into new kernel
 
Hi

As part of an assignment I have to make changes in the kernel code and compile and boot it. I was able to do this successfully till a day ago when I started encountering this error while booting into the new kernel. I tried compiling the kernel again and again making sure I havent made any mistakes. Also I tried to do all changes from the scratch in the linux2.6.27.39 code downloaded from kernel.org but it has not been of any help. Please let me know a solution for the problem. I am running a debian vm and my new kernel is added as a separate bootable kernel in the debian vm.

I have googles regarding the problem while i found lot of questions regarding this I havent found any answers Please do help :(

ammorais 11-25-2009 06:24 PM

Try to start from your current configuration. Copy the config file from the /boot directory

This is general instructions without an initrd image
You will have to select(not as modules) your current filesystems and sata/ata drivers in menuconfig, for this to work.

Do all this as root

Isntall packages that are needed:
Code:

apt-get install kernel-package ncurses-dev fakeroot wget bzip2
Download the kernel:
Code:

cd /usr/src
wget http://www.kernel.org/pub/linux/kern....27.39.tar.bz2
tar vjxf linux-2.6.27.39.tar.bz2
cd linux-2.6.27.39

Copy your current configuration:

If your /boot partition isn't mounted:
Code:

mount /boot
Copy:
Code:

make mrproper
cp /boot/config...[your current kernel version] .config

Customize:
Code:

make menuconfig
Build and Install
Code:

make && make modules_install
cp cp arch/(your arch)/boot/bzImage /boot/mykernel

Edit grub.conf
Code:

nano -w /boot/grub/menu.lst
Add:
Code:

title Debian Custom
root (hd0,0) # Set this to where your boot your partition is.
kernel /mykernel  # If you dont have a boot partition set this to /boot/myquernel

To build a kernel with initrd image you can fallow this intructions:
http://www.falkotimme.com/howtos/deb...el2.6_compile/


All times are GMT -5. The time now is 02:25 PM.