Roger,

I can't explain the state of that source RPM, but I can say you can successfully follow the build process you linked in your previous message if you use a source RPM from CentOS/Redhat.

Those RPMs are here:
http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/

Specifically 2.6.32-358.11.1 is here:
http://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/kernel-2.6.32-358.11.1.el6.src.rpm

I haven't checked if that's the most current kernel supported by 2.1 or not, but all of the CentOS 6 kernel source RPMs are available there.

- Patrick

On 06/20/2014 01:31 PM, Roger Spellman wrote:

I have downloaded the source RPMs from http://downloads.whamcloud.com/public/lustre/lustre-2.1.6/el6/server/SRPMS/

 

My  understanding is that this kernel is not yet patched.  Is this correct?

 

To patch this,

 

I have set up the following links:

 

#  ls -ld patches/ series

drwxr-xr-x 2 tsadmin tsadmin 4096 Jun 22  2013 patches/

lrwxrwxrwx 1 root    root      77 Jun 20 18:25 series -> /root/lustre-2.1.6/lustre-2.1.6/lustre/kernel_patches/series/2.6-rhel6.series

 

And I ran the following command:

 

# quilt push -av 2>&1 | tee quilt.log

 

And, it gets the following error:

 

Applying patch patches/lustre_version.patch

The next patch would create the file include/linux/lustre_version.h,

which already exists!  Applying it anyway.

patching file include/linux/lustre_version.h

Hunk #1 FAILED at 1.

1 out of 1 hunk FAILED -- rejects in file include/linux/lustre_version.h

Restoring include/linux/lustre_version.h

Patch patches/lustre_version.patch can be reverse-applied

Restoring include/linux/lustre_version.h

 

This is really strange.  It means that the source RPM on the Whamcloud web site already includes lustre_version.h, which makes it look like it is already patched.  But, it does not have the other patches !

 

Can someone please explain this?

 

-Roger

 



_______________________________________________
HPDD-discuss mailing list
HPDD-discuss@lists.01.org
https://lists.01.org/mailman/listinfo/hpdd-discuss