<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>174188</bug_id>
          
          <creation_ts>2007-04-11 18:18 0000</creation_ts>
          <short_desc>copy System.map into minimal kernel package tarball</short_desc>
          <delta_ts>2007-09-01 21:22:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Hosted Projects</product>
          <component>genkernel</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>agaffney@gentoo.org</reporter>
          <assigned_to>genkernel@gentoo.org</assigned_to>
          <cc>amckinle@andrew.cmu.edu</cc>
    
    <cc>dertobi123@gentoo.org</cc>
    
    <cc>kumba@gentoo.org</cc>
    
    <cc>rek2@binaryfreedom.info</cc>
    
    <cc>tais.hansen@osd.dk</cc>

      

      
          <long_desc isprivate="0">
            <who>agaffney@gentoo.org</who>
            <bug_when>2007-04-11 18:18:49 0000</bug_when>
            <thetext>Patch attached.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agaffney@gentoo.org</who>
            <bug_when>2007-04-11 18:19:31 0000</bug_when>
            <thetext>Created an attachment (id=115985)
patch

This copies the System.map for the compiled kernel into the directory that gets tar&apos;d up for the minimal kernel package.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-04-12 11:43:31 0000</bug_when>
            <thetext>Added to SVN</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-04-12 19:35:10 0000</bug_when>
            <thetext>Fixed in 3.4.8</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agaffney@gentoo.org</who>
            <bug_when>2007-04-13 23:50:42 0000</bug_when>
            <thetext>Created an attachment (id=116211)
new patch

This patch should work in all circumstances. It combines the patch I emailed you (which was successfully tested) with the logic from code higher in the function that extracts the kernel/config from the kerncache tarball if you&apos;re using kerncache. I double-checked that the System.map-* file it&apos;s looking for in the tarball *does* exist in my local kerncache.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agaffney@gentoo.org</who>
            <bug_when>2007-04-13 23:50:59 0000</bug_when>
            <thetext>Reopening for the new patch.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agaffney@gentoo.org</who>
            <bug_when>2007-04-16 13:43:05 0000</bug_when>
            <thetext>This patch has been successfully tested on bender (sparc dev box) with catalyst.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-05-21 00:33:20 0000</bug_when>
            <thetext>Cool.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>luca.casagrande@gmail.com</who>
            <bug_when>2007-06-01 11:09:58 0000</bug_when>
            <thetext>I got this error while using genkernel 3.4.8 with kernel 2.6.20-r8:

This is the error:
*       &gt;&gt; Copying to bincache...
*         &gt;&gt; Appending evms2 cpio data...
*               EVMS2: Adding support...
*         &gt;&gt; Appending insmod cpio data...
*         &gt;&gt; Appending modules cpio data...
* Creating minimal kernel package
* Gentoo Linux Genkernel; Version 3.4.8^[[0m
* Running with options: --callback=emerge -q -kb media-libs/alsa-lib media-sound/alsa-utils net-dialup/globespan-adsl net-dialup/slmodem net-wireless/hostap-utils net-wireless/ipw3945 net-wireless/madwifi-ng-tools net-wireless/rt2500 sys-apps/pcmciautils sys-fs/cryptsetup-lu$

* ERROR: Could not copy System.map for the kernel package!

Using latest catalyst with those settings:
boot/kernel/gentoo/use: pcmcia usb oss atm</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agaffney@gentoo.org</who>
            <bug_when>2007-06-01 12:33:14 0000</bug_when>
            <thetext>That&apos;s what the 2nd patch in this bug fixes.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-06-21 19:41:58 0000</bug_when>
            <thetext>Well, I&apos;d InSVN this again, but you didn&apos;t remove it the first time when you reopened the bug.  ;]

So... umm... InSVN... again...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tais.hansen@osd.dk</who>
            <bug_when>2007-08-08 09:42:56 0000</bug_when>
            <thetext>I&apos;m also getting a similar error as comment #8 describes:

* Gentoo Linux Genkernel; Version 3.4.8
* Linux Kernel 2.6.21-gentoo-r4 for x86...
* Creating minimal kernel package
cp: cannot stat `/var/tmp/genkernel/System.map-2.6.21-gentoo-r4&apos;: No such file or directory
* ERROR: Could not copy System.map for the kernel package!
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agaffney@gentoo.org</who>
            <bug_when>2007-08-08 11:44:51 0000</bug_when>
            <thetext>Why do people continue to report that it doesn&apos;t work after it&apos;s already been said in the bug that the issue is fixed and just waiting a new genkernel version to be released?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tais.hansen@osd.dk</who>
            <bug_when>2007-08-08 12:25:31 0000</bug_when>
            <thetext>I&apos;m sorry. I read through the history and it was not clear to me that it was still waiting on a new version of genkernel four months after the revised patch was added. I assumed the patch might have been forgotten since 3.4.8 was recently marked stable in portage stating it was used to build the livecds although it still breaks building here.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>rek2@binaryfreedom.info</who>
            <bug_when>2007-08-13 00:42:34 0000</bug_when>
            <thetext>hmm I am still getting this error..
is this fix? I see this patches are from April..</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-08-22 19:54:06 0000</bug_when>
            <thetext>Please test genkernel 3.4.9_prer1 or better.  This should be fixed now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>amckinle@andrew.cmu.edu</who>
            <bug_when>2007-09-01 21:22:18 0000</bug_when>
            <thetext>*** Bug 191006 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>115985</attachid>
            <date>2007-04-11 18:19 0000</date>
            <desc>patch</desc>
            <filename>genkernel.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IGdlbl9wYWNrYWdlLnNoCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGdlbl9wYWNrYWdlLnNoCShyZXZp
c2lvbiA1MDUpCisrKyBnZW5fcGFja2FnZS5zaAkod29ya2luZyBjb3B5KQpAQCAtMzMsNiArMzMs
OCBAQAogCQkgICAgWyAiJHtCVUlMRF9JTklUUkR9IiAtbmUgMCBdICYmIHsgY3AgIiR7VE1QRElS
fS9pbml0cmQtJHtLVn0iICIke1RFTVB9L21pbmtlcm5wYWNrYWdlL2luaXRyZC0ke0FSQ0h9LSR7
S1Z9IiB8fCBnZW5fZGllICdDb3VsZCBub3QgY29weSB0aGUgaW5pdHJkIGZvciB0aGUga2VybmVs
IHBhY2thZ2UhJzsgfQogCSAgICBmaQogCWZpCisKKwljcCAiJHtUTVBESVJ9L1N5c3RlbS5tYXAt
JHtLVn0iICIke1RFTVB9L21pbmtlcm5wYWNrYWdlL1N5c3RlbS5tYXAtJHtBUkNIfS0ke0tWfSIg
fHwgZ2VuX2RpZSAnQ291bGQgbm90IGNvcHkgU3lzdGVtLm1hcCBmb3IgdGhlIGtlcm5lbCBwYWNr
YWdlISc7CiAJCiAJY2QgIiR7VEVNUH0vbWlua2VybnBhY2thZ2UiIAogCS9iaW4vdGFyIC1qY3Bm
ICR7TUlOS0VSTlBBQ0tBR0V9ICogfHwgZ2VuX2RpZSAnQ291bGQgbm90IGNvbXByZXNzIHRoZSBr
ZXJuZWwgcGFja2FnZSEnCg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>116211</attachid>
            <date>2007-04-13 23:50 0000</date>
            <desc>new patch</desc>
            <filename>genkernel.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IGdlbl9wYWNrYWdlLnNoCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGdlbl9wYWNrYWdlLnNoCShyZXZp
c2lvbiA1MDgpCisrKyBnZW5fcGFja2FnZS5zaAkod29ya2luZyBjb3B5KQpAQCAtMzQsNyArMzQs
MTIgQEAKIAkgICAgZmkKIAlmaQogCi0JY3AgIiR7VE1QRElSfS9TeXN0ZW0ubWFwLSR7S1Z9IiAi
JHtURU1QfS9taW5rZXJucGFja2FnZS9TeXN0ZW0ubWFwLSR7QVJDSH0tJHtLVn0iIHx8IGdlbl9k
aWUgJ0NvdWxkIG5vdCBjb3B5IFN5c3RlbS5tYXAgZm9yIHRoZSBrZXJuZWwgcGFja2FnZSEnOwor
CWlmIFsgIiR7Q01EX0tFUk5DQUNIRX0iICE9ICIiIF0KKwl0aGVuCisJICAgIC9iaW4vdGFyIC14
aiAtQyAke1RFTVB9L21pbmtlcm5wYWNrYWdlIC1mICR7Q01EX0tFUk5DQUNIRX0gU3lzdGVtLm1h
cC0ke0FSQ0h9LSR7S1Z9CisJZWxzZQorCQljcCAiJHtLRVJORUxfRElSfS9TeXN0ZW0ubWFwIiAi
JHtURU1QfS9taW5rZXJucGFja2FnZS9TeXN0ZW0ubWFwLSR7QVJDSH0tJHtLVn0iIHx8IGdlbl9k
aWUgJ0NvdWxkIG5vdCBjb3B5IFN5c3RlbS5tYXAgZm9yIHRoZSBrZXJuZWwgcGFja2FnZSEnOwor
CWZpCiAJCiAJY2QgIiR7VEVNUH0vbWlua2VybnBhY2thZ2UiIAogCS9iaW4vdGFyIC1qY3BmICR7
TUlOS0VSTlBBQ0tBR0V9ICogfHwgZ2VuX2RpZSAnQ291bGQgbm90IGNvbXByZXNzIHRoZSBrZXJu
ZWwgcGFja2FnZSEnCg==
</data>        

          </attachment>
    </bug>

</bugzilla>