Hi,

I tried all the possible ways to resolve the build creation problem that I am facing. I am following the steps provided in this wiki link by Intel - Link. The main difference is that this document was created for centos 6.4 version. In the step - "Build the new kernel as an RPM.", when I am doing 'make rpm' to build the rpm package of the kernel, the build is failing. 

Has anyone tried to install Lustre 2.7 on CentOS 6.6 by following the steps given in Intel wiki link that I mentioned above?? If yes, please let me know.

P.S: I tried with EPEL version 5 as mentioned in documentation and also with the latest 6 version.
Also, I changed the kernel version to match my kernel while downloading the kernel source. I am not sure what is going wrong here. :(

Regards,
Akhilesh.

=========Last few lines of 'make rpm'==============

CC [M]  drivers/isdn/mISDN/dsp_pipeline.o
  CC [M]  net/wireless/wext-sme.o
  CC [M]  drivers/md/persistent-data/dm-space-map-common.o
  CC [M]  drivers/isdn/mISDN/dsp_hwec.o
  CC [M]  drivers/md/persistent-data/dm-space-map-disk.o
  CC [M]  net/wireless/genetlink-compat.o
  LD [M]  drivers/isdn/mISDN/mISDN_core.o
  LD [M]  drivers/isdn/mISDN/mISDN_dsp.o
  LD      drivers/md/md-mod.o
  LD [M]  drivers/isdn/mISDN/l1oip.o
  LD      drivers/isdn/built-in.o
  CC [M]  drivers/md/persistent-data/dm-space-map-metadata.o
  CC [M]  net/wireless/lib80211.o
  LD [M]  drivers/md/raid456.o
  LD      drivers/md/built-in.o
  CC [M]  drivers/md/persistent-data/dm-transaction-manager.o
  CC [M]  net/wireless/lib80211_crypt_wep.o
  CC [M]  drivers/md/persistent-data/dm-btree.o
  CC [M]  net/wireless/lib80211_crypt_ccmp.o
  CC [M]  net/wireless/lib80211_crypt_tkip.o
  CC [M]  drivers/md/persistent-data/dm-btree-remove.o
  LD      net/wireless/built-in.o
  LD [M]  net/wireless/cfg80211.o
  CC [M]  drivers/md/persistent-data/dm-btree-spine.o
  LD      net/built-in.o
  LD [M]  drivers/md/persistent-data/dm-persistent-data.o
  make[2]: *** [drivers] Error 2
  make[2]: *** Waiting for unfinished jobs....
  error: Bad exit status from /var/tmp/rpm-tmp.IJLJy7 (%build)

RPM build errors:
       Bad exit status from /var/tmp/rpm-tmp.IJLJy7 (%build)
    make[1]: *** [rpm] Error 1
    make: *** [rpm] Error 2
   [build@centvm2 linux-2.6.32-504.1.3.el6.x86_64]$
==================================================


On Wed, Apr 15, 2015 at 1:23 AM, Akhilesh Gadde <akhilesh.gadde@stonybrook.edu> wrote:

Thanks to Patrick for providing me a way to get this work. It worked and the build was created.

Now, I am struck with another problem when building the new kernel as RPM. :(

# make rpm (problem when build is being created in this step)

 LD [M]  drivers/isdn/hisax/hisax_st5481.o

  LD      drivers/isdn/built-in.o

make[2]: *** [drivers] Error 2

error: Bad exit status from /var/tmp/rpm-tmp.lWkmKN (%build)

RPM build errors:

    Bad exit status from /var/tmp/rpm-tmp.lWkmKN (%build)

make[1]: *** [rpm] Error 1

make: *** [rpm] Error 2

I googled and someone mentioned to add "%define __debug_package %{nil}" to beginning of kernel.spec file.

Any idea why this is happening. I am clueless. Tried 5 times atleast now. Same error everytime. :(

On Apr 14, 2015 1:55 AM, "Akhilesh Gadde" <akhilesh.gadde@stonybrook.edu> wrote:
Hi,

I am trying to build and install Lustre on CenOS 6.6. I am following the steps detailed in Intel wiki - https://wiki.hpdd.intel.com/pages/viewpage.action?pageId=8126821

My kernel:
[centos@centvm1 ~]$ uname -a
Linux centvm1 2.6.32-504.1.3.el6.x86_64 #1 SMP Tue Nov 11 17:57:25 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

I used EPEL 5 as mentioned in step 3 and to install the kernel source, I modified the build number (from the one given in wiki page) to my current build.
When I'm trying to prepare the kernel source using rpmbuild, it is always getting struck and not getting completed. Last few messages:
###
###     rngd -r /dev/hwrandom
###
### If one isn't available, the pseudo-random number generator can be used:
###
###     rngd -r /dev/urandom
###
+ gpg --homedir . --batch --gen-key /home/build/kernel/rpmbuild/SOURCES/genkey
gpg: WARNING: unsafe permissions on homedir `.'
gpg: keyring `./secring.gpg' created
gpg: keyring `./pubring.gpg' created
gpg: WARNING: some OpenPGP programs can't handle a DSA key with this digest size
<<<<<<<<<<<<<<struck at this point>>>>>>>>>>>>>>>>

Has anyone ever faced this issue while installing Lustre on CentOS 6.6??

Regards,
Akhilesh Gadde.