Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 27-09-2004, 01:40 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: May 2004
Posts: 16
Default Linux Kernel


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.
__________________
CompBEe
jigslinx is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 27-09-2004, 07:16 PM   #2 (permalink)
Wise Old Owl
 
Join Date: Aug 2004
Location: New Delhi
Posts: 1,150
Default

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
__________________
**** happens
pradeep_chauhan is offline  
Old 29-09-2004, 01:07 AM   #3 (permalink)
Broken In
 
Join Date: Dec 2003
Location: kolkata
Posts: 123
Default

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.
technomodel is offline  
Old 01-10-2004, 03:23 PM   #4 (permalink)
Right Off the Assembly Line
 
Join Date: May 2004
Posts: 16
Default

Hi,
Thanks for advise. But even though i install the kernel from RPM package the same error occurs.
__________________
CompBEe
jigslinx is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Charan
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 02:48 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2