DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Recently I decided to upgrade from kernel 2.6.13 to 2.6.15. I simply the copied the config-2.6.13 to /usr/src/linux-source-2.6.15 as .config and then ran make xconfig. After make kernel changes, when I saved the file and exited from xconfig I got the following warning messages:
Code:
debian:/usr/src/linux-source-2.6.15# cp /boot/config-2.6.13 .config
debian:/usr/src/linux-source-2.6.15# make xconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/split-include
HOSTCC scripts/basic/docproc
CHECK qt
HOSTCC scripts/kconfig/conf.o
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.* /#define \1 (\*\1_p)/'
HOSTCC scripts/kconfig/kconfig_load.o
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/mconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
/usr/bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
HOSTCXX scripts/kconfig/qconf.o
HOSTLD scripts/kconfig/qconf
scripts/kconfig/qconf arch/i386/Kconfig
#
# using defaults found in .config
#
.config:148:warning: trying to assign nonexistent symbol HAVE_DEC_LOCK
.config:170:warning: trying to assign nonexistent symbol ACPI_BOOT
.config:171:warning: trying to assign nonexistent symbol ACPI_INTERPRETER
.config:188:warning: trying to assign nonexistent symbol ACPI_BUS
.config:191:warning: trying to assign nonexistent symbol ACPI_PCI
.config:265:warning: trying to assign nonexistent symbol PCI_NAMES
.config:358:warning: trying to assign nonexistent symbol IP_TCPDIAG
.config:359:warning: trying to assign nonexistent symbol IP_TCPDIAG_IPV6
.config:583:warning: trying to assign nonexistent symbol NET_QOS
.config:977:warning: trying to assign nonexistent symbol MEGARAID_NEWGEN
.config:1038:warning: trying to assign nonexistent symbol SCSI_QLOGIC_1280_1040
.config:1293:warning: trying to assign nonexistent symbol 2BUFF_MODE
.config:1745:warning: trying to assign nonexistent symbol I2C_SENSOR
.config:1895:warning: trying to assign nonexistent symbol FB_SOFT_CURSOR
.config:1981:warning: trying to assign nonexistent symbol SND_GENERIC_PM
.config:2279:warning: trying to assign nonexistent symbol USB_GENESYS
.config:2280:warning: trying to assign nonexistent symbol USB_NET1080
.config:2281:warning: trying to assign nonexistent symbol USB_PL2301
.config:2282:warning: trying to assign nonexistent symbol USB_KC2190
.config:2289:warning: trying to assign nonexistent symbol USB_ZAURUS
.config:2290:warning: trying to assign nonexistent symbol USB_CDCETHER
.config:2295:warning: trying to assign nonexistent symbol USB_AX8817X
.config:2469:warning: trying to assign nonexistent symbol DEVPTS_FS_XATTR
.config:2470:warning: trying to assign nonexistent symbol DEVPTS_FS_SECURITY
.config:2472:warning: trying to assign nonexistent symbol TMPFS_XATTR
.config:2473:warning: trying to assign nonexistent symbol TMPFS_SECURITY
debian:/usr/src/linux-source-2.6.15#
Are these warnings normal? Also I have read that if we are copying a different version of .config file then we have to run make oldconfig. But then on the contrary many people have suggested that I don;t need to run make oldconfig. make xconfig takes care of it.
Anyone?
Last edited by kushalkoolwal; 02-21-2006 at 06:07 PM.
It's just trying to tell you that your 2.6.13 .config file doesn't address the changes present in your new 2.6.15 kernel. It probably went with whatever the defaults are for those configurations... look them over and see if those are ones you may need, or want. The biggest difference (to me, anyways) going from a 2.6.13 to a 2.6.15 kernel is built in Intel Pro Wireless support.
ok. Does that mean that I don;t need to worry about those warnings. Actually I thought that the new kernel(which is being compiled) won;t have all those options which appeared in the warnings.
I would run make oldconfig just because it is the right thing to do.
Even I thought so. Co-incidentally I had a similar long thread on this forum itself related to this issue. And I had a mixed opinion whether to use oldconfig or not?
If you have time, take a look at this. I really get confused when it comes to this issue.
Well according to that thread menuconfig/xconfig should see that you are using an old config and run oldconfig for you. Either you are not saving you config after running it or it is not doing that. Either way, there is no harm in running make oldconfig and IMHO its the right thing to do.
Consider this.
New kernel has a new option, it defaults to compile as a module. This module has a dependency on some feature which you have removed/disabled. Will the make modules generate the module anyway even though it shouldn't? I can't answer that, but if it does can you imagine the headache of tracking down the unresolved symbols? Especially when it is so easy to run make oldconfig.
Now considering this is a Debian forum and make-kpkg is "The Debian Way" to compile a kernel, which will run make oldconfig for you, this is a moot point.
Well according to that thread menuconfig/xconfig should see that you are using an old config and run oldconfig for you. Either you are not saving you config after running it or it is not doing that. Either way, there is no harm in running make oldconfig and IMHO its the right thing to do.
Consider this.
New kernel has a new option, it defaults to compile as a module. This module has a dependency on some feature which you have removed/disabled. Will the make modules generate the module anyway even though it shouldn't? I can't answer that, but if it does can you imagine the headache of tracking down the unresolved symbols? Especially when it is so easy to run make oldconfig.
Now considering this is a Debian forum and make-kpkg is "The Debian Way" to compile a kernel, which will run make oldconfig for you, this is a moot point.
Ok so for once and all these are the steps that one needs to follow in upgrading kernel(from 2.6.13 to 2.6.15).
Code:
#make clean
#cp /boot/config-2.6.13 /usr/src/linux-source-2.6.15/.config
#make oldconfig(answer the questions about new options, although it is tedious to answer so many new options, I literally get tired of answering the options)
#make xconfig (Configure the way you want)
save the file as .config(just to be sure)
#make-kpkg clean
#fakeroot make-kpkg --appened-to-version=-<date> kernel_image
and so on.....
Ok so for once and all these are the steps that one needs to follow in upgrading kernel(from 2.6.13 to 2.6.15).
Code:
#make clean
#cp /boot/config-2.6.13 /usr/src/linux-source-2.6.15/.config
#make oldconfig(answer the questions about new options, although it is tedious to answer so many new options, I literally get tired of answering the options)
#make xconfig (Configure the way you want)
save the file as .config(just to be sure)
#make-kpkg clean
#fakeroot make-kpkg --appened-to-version=-<date> kernel_image
and so on.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.