Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132789 - linux-2.6.16-gentoo-r6: Kconfig broken
Summary: linux-2.6.16-gentoo-r6: Kconfig broken
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-09 07:06 UTC by Toralf Förster
Modified: 2006-05-10 00:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2006-05-09 07:06:20 UTC
Hhm, kernel developer Diego Calleja Garc
Comment 1 Toralf Förster gentoo-dev 2006-05-09 07:06:20 UTC
Hhm, kernel developer Diego Calleja García  means, the following issue could be Gentoo specific, so I filed this bug here (original bug report can be found here http://bugzilla.kernel.org/show_bug.cgi?id=6458).

Emerging the current sources and doing a "make menuconfig" and leaving the menu immediately with saying "yes" to save the config gives me these messages at the command line:

n22 /usr/src # cd linux
n22 /usr/src/linux # make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.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
  HOSTLD  scripts/kconfig/mconf
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/lxdialog.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTCC  scripts/kconfig/lxdialog/msgbox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
  HOSTCC  scripts/kconfig/lxdialog/util.o
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  HOSTLD  scripts/kconfig/lxdialog/lxdialog
scripts/kconfig/mconf arch/i386/Kconfig
#
# using defaults found in arch/i386/defconfig
#
arch/i386/defconfig:13:warning: trying to assign nonexistent symbol CLEAN_COMPILE
arch/i386/defconfig:121:warning: trying to assign nonexistent symbol HAVE_DEC_LOCK
arch/i386/defconfig:171:warning: trying to assign nonexistent symbol PCI_USE_VECTOR
arch/i386/defconfig:173:warning: trying to assign nonexistent symbol PCI_NAMES
arch/i386/defconfig:216:warning: trying to assign nonexistent symbol PARPORT_PC_CML1
arch/i386/defconfig:220:warning: trying to assign nonexistent symbol PARPORT_OTHER
arch/i386/defconfig:247:warning: trying to assign nonexistent symbol BLK_DEV_CARMEL
arch/i386/defconfig:268:warning: trying to assign nonexistent symbol IDE_TASKFILE_IO
arch/i386/defconfig:287:warning: trying to assign nonexistent symbol BLK_DEV_ADMA
arch/i386/defconfig:360:warning: trying to assign nonexistent symbol SCSI_MEGARAID
arch/i386/defconfig:371:warning: trying to assign nonexistent symbol SCSI_CPQFCTS
arch/i386/defconfig:392:warning: trying to assign nonexistent symbol SCSI_QLOGIC_ISP
arch/i386/defconfig:395:warning: trying to assign nonexistent symbol SCSI_QLA2XXX
arch/i386/defconfig:401:warning: trying to assign nonexistent symbol SCSI_QLA6322
arch/i386/defconfig:455:warning: trying to assign nonexistent symbol IEEE1394_CMP
arch/i386/defconfig:472:warning: trying to assign nonexistent symbol NETLINK_DEV
arch/i386/defconfig:506:warning: trying to assign nonexistent symbol IP_NF_MATCH_LIMIT
arch/i386/defconfig:508:warning: trying to assign nonexistent symbol IP_NF_MATCH_MAC
arch/i386/defconfig:509:warning: trying to assign nonexistent symbol IP_NF_MATCH_PKTTYPE
arch/i386/defconfig:510:warning: trying to assign nonexistent symbol IP_NF_MATCH_MARK
arch/i386/defconfig:517:warning: trying to assign nonexistent symbol IP_NF_MATCH_LENGTH
arch/i386/defconfig:519:warning: trying to assign nonexistent symbol IP_NF_MATCH_TCPMSS
arch/i386/defconfig:520:warning: trying to assign nonexistent symbol IP_NF_MATCH_HELPER
arch/i386/defconfig:521:warning: trying to assign nonexistent symbol IP_NF_MATCH_STATE
arch/i386/defconfig:522:warning: trying to assign nonexistent symbol IP_NF_MATCH_CONNTRACK
arch/i386/defconfig:537:warning: trying to assign nonexistent symbol IP_NF_TARGET_MARK
arch/i386/defconfig:538:warning: trying to assign nonexistent symbol IP_NF_TARGET_CLASSIFY
arch/i386/defconfig:545:warning: trying to assign nonexistent symbol IP_NF_TARGET_NOTRACK
arch/i386/defconfig:564:warning: trying to assign nonexistent symbol NET_FASTROUTE
arch/i386/defconfig:565:warning: trying to assign nonexistent symbol NET_HW_FLOWCONTROL
arch/i386/defconfig:717:warning: trying to assign nonexistent symbol SOUND_GAMEPORT
arch/i386/defconfig:773:warning: trying to assign nonexistent symbol QIC02_TAPE
arch/i386/defconfig:809:warning: trying to assign nonexistent symbol DRM_GAMMA
arch/i386/defconfig:985:warning: trying to assign nonexistent symbol USB_BLUETOOTH_TTY
arch/i386/defconfig:995:warning: trying to assign nonexistent symbol USB_STORAGE_HP8200e
arch/i386/defconfig:1021:warning: trying to assign nonexistent symbol USB_HPUSBSCSI
arch/i386/defconfig:1056:warning: trying to assign nonexistent symbol USB_TIGL
arch/i386/defconfig:1114:warning: trying to assign nonexistent symbol DEVFS_FS
arch/i386/defconfig:1115:warning: trying to assign nonexistent symbol DEVPTS_FS_XATTR
arch/i386/defconfig:1243:warning: trying to assign nonexistent symbol X86_STD_RESOURCES
arch/i386/defconfig:1244:warning: trying to assign nonexistent symbol PC


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.

Beside that I can reproduceable to select the following config options using "make menuconfig":

n22 /usr/src/linux # make menuconfig
scripts/kconfig/mconf arch/i386/Kconfig
#
# using defaults found in .config
#


*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.


n22 /usr/src/linux # grep -e 'MPU' -e 'FM801' .config
CONFIG_SND_MPU401_UART=y
CONFIG_SND_MPU401=y
CONFIG_SND_FM801=y
CONFIG_SND_FM801_TEA575X=m
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2006-05-09 07:42:39 UTC
Please explain in detail how you initially configured your 2.6.16-r6 kernel, e.g. did you do this:

emerge =gentoo-sources-2.6.16-r6
cd /usr/src/linux-2.6.16-gentoo-r6
make menuconfig
  and at this point configure the kernel *from scratch*

or did you do something like:

emerge =gentoo-sources-2.6.16-r6
cd /usr/src/linux-2.6.16-gentoo-r6
cp ../my-old-kernel/.config .
make menuconfig
  and at this point view/change configuration options
Comment 3 Toralf Förster gentoo-dev 2006-05-09 08:00:50 UTC
First I made a "make mrproper && make menuconfig") and run into this issue, after that I decided to move the old sources under /usr/src to *.old, emerged the gentoo-sources again and did immediately a "make menuconfig" _without_ copying any old .config file back into the working dir.

At both ways I observed the same behaviour. I am not sure whether I have observed the config errors for previuos releases of the 2.6.16-gentoo sources too, but now it's reproducible at my system :-(

I use a stable Gentoo system, here are the usual infos:

n22 $> emerge info
Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r6 i686)
=================================================================
System uname: 2.6.16-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://194.117.143.69 http://85.25.128.62 http://194.117.143.70"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apache2 arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt css cups curl dri dvd emboss encode exif expat fam ffmpeg font-server foomaticdb fortran gd gdbm gif glut gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 isdnlog jai java javascript jimi joystick jpeg junit kde lcms libg++ libwww live logrotate mad mbox mhash mikmod mmx mmxext mng motif mp3 mpeg mysql ncurses nls nptl nsplugin ogg opengl oss pam pcre pdflib perl php png pppd python qt quicktime readline real reflection rtc samba sdl session slp snmp spell spl sse sse2 ssl subversion tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis win32codecs xine xml xml2 xorg xv xvid zlib video_cards_ati input_devices_keyboard input_devices_mouse linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-05-09 08:26:57 UTC
Okay, I see this too, but only on an x86 box, not an amd64 box (duh, the warnings are from i386/defconfig).  The warnings do not cause the menuconfig to fail.  This can easily be seen by doing:
make mrproper && make defconfig > /dev/null
Comment 5 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-05-09 08:33:14 UTC
Okay, this same thing happens on stock 2.6.16, so it's not a gentoo problem.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2006-05-09 08:42:22 UTC
This bug isn't about the warnings, its about the fact that you can produce an uncompilable kernel through menuconfig (see the upstream bug)
Comment 7 Daniel Drake (RETIRED) gentoo-dev 2006-05-09 08:43:49 UTC
Toralf, please detail the path that you take around menuconfig to create this uncompilable setup.
Comment 8 Daniel Gryniewicz (RETIRED) gentoo-dev 2006-05-09 09:14:43 UTC
Sorry, I didn't follow the original link. It's *still* not a gentoo bug, as I was able to reproduce with stock 2.6.16.  I get this:

[12:09:56 nox] linux-2.6.16# grep FM801 .config
CONFIG_SND_FM801=y
CONFIG_SND_FM801_TEA575X=m

  LD      .tmp_vmlinux1
sound/built-in.o: In function `snd_fm801_free':
fm801.c:(.text+0x3b1f7): undefined reference to `snd_tea575x_exit'
sound/built-in.o: In function `snd_fm801_create':
fm801.c:(.text+0x3b407): undefined reference to `snd_tea575x_init'
make: *** [.tmp_vmlinux1] Error 1


I'll comment on the upstream bug.
Comment 9 Daniel Drake (RETIRED) gentoo-dev 2006-05-09 12:53:09 UTC
Thanks, we'll let them fix it :)
Comment 10 Toralf Förster gentoo-dev 2006-05-10 00:29:28 UTC
>This bug isn't about the warnings, its about the fact that you can produce an uncompilable kernel through menuconfig (see the upstream bug)
Correct

>Toralf, please detail the path that you take around menuconfig to create this uncompilable setup.

1. unpack kernel sources
2. (optional) make mrproper
3. make menuconfig
  a) "Device Drivers" -> "Sound" -> "ALSA" -> "Generic Devices" -> MPU401 = y
  b) "Device Drivers" -> "Sound" -> "ALSA" -> "PCI devices" -> "FM801" = y
  c) "Device Drivers" -> "Sound" -> "ALSA" -> "PCI devices" -> "TEA5757 Tuner" = m