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(a)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.