<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>14411</bug_id>
          
          <creation_ts>2008-02-13 11:18:36 +0300</creation_ts>
          <short_desc>[FR] automatic kernel module check for symbol-related problems</short_desc>
          <delta_ts>2009-09-13 17:08:19 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rpm-build-kernel</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>ASSIGNED</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>14408</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Sergey Vlasov">vsu</assigned_to>
          <cc>boyarsh</cc>
    
    <cc>glebfm</cc>
    
    <cc>kernelbot</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>rider</cc>
    
    <cc>sbolshakov</cc>
    
    <cc>shrek</cc>
    
    <cc>sin</cc>
    
    <cc>vitty</cc>
    
    <cc>vsu</cc>
    
    <cc>vt</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>63080</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-02-13 11:18:36 +0300</bug_when>
    <thetext>rpm-build-kernel-0.11-alt1

After modules have been compiled, it would be nice to check if they can be
loaded into the corresponding kernel, whether they have no unknown symbols.
Before it happens in a working system.

Perhaps, module-init-tools are able to do such a check (not for the running
kernel), or it could be done in a hardware emulator.

This feature request was inspired by
https://bugzilla.altlinux.org/show_bug.cgi?id=14408 ,
https://bugzilla.altlinux.org/show_bug.cgi?id=14409 .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63086</commentid>
    <comment_count>1</comment_count>
    <who name="Sergey Vlasov">vsu</who>
    <bug_when>2008-02-13 13:30:51 +0300</bug_when>
    <thetext>The kernel build system already does some checks for undefined symbols;
unfortunately, even in 2.6.24 failures of these checks when building external
modules are just warnings.

However, the real problem with drm is not undefined symbols, but multiple
definitions of symbols (the drm module cannot be loaded due to the duplicate
idr_remove_all definition, and then all modules which depend on it fail with
unresolved symbols), and the uhci_hcd problem is due to races between concurrent
modprobe invocations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63092</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-02-13 13:57:23 +0300</bug_when>
    <thetext>(In reply to comment #1)

&gt; However, the real problem with drm is not undefined symbols, but multiple
&gt; definitions of symbols (the drm module cannot be loaded due to the duplicate
&gt; idr_remove_all definition,

I see. Added &quot;multiple definitions of symbols&quot; to the summary.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99004</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2009-09-13 17:08:19 +0400</bug_when>
    <thetext>Guess VM support is out of rpm-build-kernel scope.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>