Results 1 to 10 of 11
Downloaded the stable kernel 2.6.36.4 from kernel.org/ (Current Kernel:2.6.18-92.el5)
However i have extracted the source code .
ran
make mrproper
copied the old configuration file and selected it by using ...
- 06-07-2011 #1Just Joined!
- Join Date
- Mar 2011
- Posts
- 17
Error while compiling the kernel
Downloaded the stable kernel 2.6.36.4 from kernel.org/ (Current Kernel:2.6.18-92.el5)
However i have extracted the source code .
ran
make mrproper
copied the old configuration file and selected it by using make menuconfig .
However after selecting it and clicking ok i m getting following error.
I m not sure why this error messages poped up.Code:.config:656:warning: symbol value 'm' invalid for IP_DCCP_CCID3 .config:657:warning: symbol value 'm' invalid for IP_DCCP_TFRC_LIB #config:1353:warning: symbol value 'm' invalid for FIXED_PHY # configuration written to .config 'm' invalid for IWL4965 #config:1619:warning: symbol value 'm' invalid for ISDN .config:2721:warning: symbol value 'm' invalid for RTC_INTF_SYSFS .config:2722:warning: symbol value 'm' invalid for RTC_INTF_PROC *** End of Linux kernel configuration. invalid for RTC_INTF_DEV *** Execute 'make' to build the kernel or try 'make help'._LOCKING_DLM
Shall i ignore them and do something about it?
- 06-07-2011 #2
I think the problem is stemming from the fact that you used a .config file from 2.6.18 to 2.6.36, that's too big of a jump for using an old .config file. You might have better luck just starting the kernel build from scratch.
From the Gentoo howtos:
10. Advanced: Using your old kernel .config to configure a new one
It is sometimes possible to save time by re-using the configuration file from your old kernel when configuring the new one. Note that this is generally unsafe -- too many changes between every kernel release for this to be a reliable upgrade path.
The only situation where this is appropriate is when upgrading from one Gentoo kernel revision to another. For example, the changes made between gentoo-sources-2.6.9-r1 and gentoo-sources-2.6.9-r2 will be very small, so it is usually OK to use the following method. However, it is not appropriate to use it in the example used throughout this document: upgrading from 2.6.8 to 2.6.9. Too many changes between the official releases, and the method described below does not display enough context to the user, often resulting in the user running into problems because they disabled options that they really didn't want to.I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 06-07-2011 #3Just Joined!
- Join Date
- Mar 2011
- Posts
- 17
- 06-07-2011 #4
The old fashioned way is the best way. Just browse the menuconfig options and remove things you don't need and add the things you do. I like to do it in several sessions so I don't get too careless.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 06-07-2011 #5Just Joined!
- Join Date
- Mar 2011
- Posts
- 17
I thought the old fashioned and safest way is to first build it using old kernel config file in this way you are atleast sure that you will be able to retain the old configuration later if the build is successful then go for adding new feature of new kernel.
Correct me if i m wrong.
- 06-07-2011 #6Linux Guru
- Join Date
- May 2011
- Posts
- 1,843
i always had probs using make mrproper...
here's what I always do, which works for me:
hthCode:wget -O /tmp/linux-2.6.whatev.tar.gz http://kernel.org/kernel-2.6.whatev.tar.gz tar -C /usr/src/kernels/ -zxf /tmp/linux-2.6.whatev.tar.gz mkdir -p /usr/src/kernels/build-2.6.whatev cp /boot/config-`uname -r` /usr/src/kernels/build-2.6.whatev/.config cd /usr/src/kernels/linux-2.6.whatev make O=../build-2.6.whatev/ oldconfig make O=../build-2.6.whatev/ menuconfig make O=../build-2.6.whatev/ -j5 make O=../build-2.6.whatev/ modules_install install
- 06-08-2011 #7Just Joined!
- Join Date
- Mar 2011
- Posts
- 17
Did exactly you have mentioned above but after doing oldconfig it asks 1000's of questions.
I choose to stay with default by pressing enter everytime.
One more time i hit with an error will post the output screen shot.
lh4.googleusercontent.com/-28JhiUsq8Lo/Te8VMNLAQ2I/AAAAAAAAAN4/Gev8wXsXc8w/s640/ExactKernelError2.jpg
I m running the linux machine with Sun virtual box will this make any difference compiling the kernel as the error says it is unable to find filesystem /dev/root.
- 06-08-2011 #8
The reason it is asking you 1000's of questions is because it failed and it completely started from the beginning.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
- 06-08-2011 #9Just Joined!
- Join Date
- Mar 2011
- Posts
- 17
- 06-08-2011 #10
I think the only way is to do like I said and start from the beginning. If you really in a hurry, just select the options that you need and leave all the rest.
I do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.


Reply With Quote
