Linux Kernel

Status
Not open for further replies.

jigslinx

Broken In
Hi,
I am starting this thread for all new and guru of linux kernel.

I have a problem.
I have recompiled my kernel (Kernel 2.6.5-1.339) by using following commands

#make mrproper
#make xconfig

#make dep
make dep is no longer required
#make clean
#make bzImage

#make modules
#make modules_install

Then i copied the file bzImage and System.map to /boot directory and made appropriate changes in grub.conf. Then i restarted the PC and
booted the new kernel. But the booting procedure stops at
Freeing unused kernel memory : 231K freed.

When i created the initrd.img i get the following error
/dev/mapper/control : No such file or directory
Is device-mapper missing from the kernel?
Command failed.

But when i boot the new kernel i get the line
device-mapper : 4.1.0-ioctl (2003-12-10) initialised : dm@uk.sistina.com

During the kernel and modules build i got only some warnings. But the procedure went fine. What is wrong with my kernel? I have checked my software requirements(gcc version,make version etc). They are all satisfied.
 

pradeep_chauhan

Cyborg Agent
commands for kernel 2.6 are as follows

make menuconfig
make && make modules_install
cp System.map /boot/System.map-2.4.26-gentoo-r6
cp .config /boot/config-2.4.26-gentoo-r6 (for safe keeping)

enjoy
 

technomodel

Journeyman
recompile your kernel, this time spend a little bit of time in the kernel configuration, specially the device drivers.seems you skipped something there. if you dont understand an option, try help, or post here. theoretically you have followed the right steps, excepting that you dont need to create an initrd image unless you have a scsi disk.

@pradeep chauhan-
xconfig works fine. it uses the x-window for the configuration as opposed to the menu driven interface of menuconfig.
 
Status
Not open for further replies.
Top Bottom