Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-779

RHEL6.0 base kernel build new kernel as RPM fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • None
    • Lustre 2.1.0
    • None
    • Red Hat Enterprise Linux 6.0 x64, kernel version 2.6.32-71 (base)
    • 3
    • 6539

    Description

      I followed the instructions on this website: http://wiki.whamcloud.com/pages/viewpage.action?pageId=8126905
      The only difference is that I had to get the source on a windows host and then ftp it to a linux host.

      git clone git://git.whamcloud.com/fs/lustre-release.git
      cd lustre-release
      git checkout --track -b b2_1 origin/b2_1

      I tried without the last step as well.

      I followed the instructions verbatim. When I got to the "Build the new kernel as an RPM" step, I issued the six make commands listed there, and building the rpm failed, with the following message:

      arch/x86/kernel/tboot.c:136:43: error: macro "pte_alloc_map" requires 4 arguments, but only 3 given
      arch/x86/kernel/tboot.c: In function 'map_tboot_page':
      arch/x86/kernel/tboot.c:136: error: 'pte_alloc_map' undeclared (first use in this function)
      arch/x86/kernel/tboot.c:136: error: (Each undeclared identifier is reported only once
      arch/x86/kernel/tboot.c:136: error: for each function it appears in.)
      make[4]: *** [arch/x86/kernel/tboot.o] Error 1
      make[3]: *** [arch/x86/kernel] Error 2
      make[2]: *** [arch/x86] Error 2
      make[2]: *** Waiting for unfinished jobs....

      I've attached the complete build output to this report.

      Attachments

        1. LOG
          13 kB
          Sean Stewart

        Activity

          People

            rhenwood Richard Henwood (Inactive)
            stewarts Sean Stewart (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: