It appears that the 2.1.6 kernel found at
http://downloads.whamcloud.com/public/lustre/lustre-2.1.6/el6/server/SRPMS/ is patched.
That explains the errors I was seeing below.
However, the 2.5.1 kernel at
http://downloads.whamcloud.com/public/lustre/lustre-2.5.1/el6/server/SRPMS/ is not
patched.
-Roger
From: HPDD-discuss [mailto:hpdd-discuss-bounces@lists.01.org] On Behalf Of Roger Spellman
Sent: Friday, June 20, 2014 2:32 PM
To: hpdd-discuss(a)ml01.01.org
Subject: [HPDD-discuss] Partly Patched Kernel?
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