<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>945</bug_id>
          
          <creation_ts>2011-03-31 20:49:14 +0000</creation_ts>
          <short_desc>kernel config validation task displays misleading warnings</short_desc>
          <delta_ts>2011-04-04 08:37:26 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Kernel</product>
          <component>kernel-configuration</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tom Zanussi">tom.zanussi</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>sgw</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13087</commentid>
    <comment_count>0</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2011-03-31 20:49:14 +0000</bug_when>
    <thetext>The kernel config validation warnings seem wrong in some cases, and in other cases, the warnings seem to point to the BSP itself having a problem, whereas in reality the problem is in the base configs and needs to be cleaned up there, and it would be better to point the user to the actual source if possible instead.

For example:

NOTE: package linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r17: task do_kernel_configcheck: Started
NOTE: validating kernel configuration
The following Kconfig files no longer exist in this tree:
      drivers/ieee1394/Kconfig
      drivers/media/video/zc0301/Kconfig

This BSP sets 1 invalid/obsolete kernel options.
These config options are not offered anywhere within this kernel.
The full list can be found in your workspace at:
/usr/local/src/yocto/sbtest/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r17/linux/meta/cfg/yocto/standard/common-pc-64/sugarbay/invalid.cfg

This BSP sets 24 kernel options that are possibly non-hardware related.
The full list can be found in your workspace at:
/usr/local/src/yocto/sbtest/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r17/linux/meta/cfg/yocto/standard/common-pc-64/sugarbay/specified_non_hdw.cfg

WARNING: There were 103 hardware options requested that do not
         have a corresponding value present in the final &quot;.config&quot; file.
         This probably means you aren&apos;t getting the config you wanted.
The full list can be found in your workspace at:
/usr/local/src/yocto/sbtest/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r17/linux/meta/cfg/yocto/standard/common-pc-64/sugarbay/mismatch.cfg

Waiting a second to make sure you get a chance to see this...




For the last message, the &apos;103 hardware options&apos; are all of the form:

Value requested for CONFIG_ACPI not in final &quot;.config&quot;
Requested value: &quot;&quot;
Actual value set: &quot;CONFIG_ACPI=y&quot;

which makes it seem as though CONFIG_ACPI was requested to be valueless rather than y/n/m, so any setting of these config options triggers a warning.


The &apos;24 kernel options that are possibly non-hardware related&apos; include such things as:

CONFIG_DRM_I915
CONFIG_DRM_I915_KMS
CONFIG_NETDEVICES
CONFIG_SND_HDA_INTEL

which are hardware-related.  For example, the I915 options come from the i915 feature, which is defined in i915.scc using &apos;kconf hardware&apos;, so should be identified as hardware-related.

The other messages relate to obsolete stuff in base branches, and not the BSP per se e.g.:

The following Kconfig files no longer exist in this tree:
      drivers/ieee1394/Kconfig
      drivers/media/video/zc0301/Kconfig

CONFIG_KGDB_8250

The ieee1394 and zc0301 Kfonfig files are referenced in kernel-cache/ktypes/wrs_base/hardware.kcf, and not in the BSP itself.  Similarly, the CONFIG_KGDB_8250 config item comes from kernel-cache/bsp/common-pc-64/common-pc-64.cfg; while the warning does indicate things that need to be removed for this kernel, it needs to be done in the base configs and not the BSP per se.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13088</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2011-03-31 21:26:29 +0000</bug_when>
    <thetext>We&apos;ve already got an item on the 1.1 schedule for all the cleanup. But we can keep
this around for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13114</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-04-04 08:37:26 +0000</bug_when>
    <thetext>http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=b2d4c658f56a501cb245c777ce2a8e112f199feb</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>