Many thanks Anthony,
I am running kernel 2.6.32-358.11.1.el6 with 2.1.6 on another system. But I'd also
want to rebuild 2.1.6 against the latest kernel on a pre-production cluster.
cheers
Gianfranco
On 30 Oct 2013, at 15:56, Anthony Alba wrote:
If you are happy with kernel 2.6.32-358.11.1.el6, for 2.1.6 you
don't
need to do anything, just
use what is available at
http://downloads.whamcloud.com/public/lustre/lustre-2.1.6/el6/.
If you want to rebuild 2.1.6 then
git clone
git://git.whamcloud.com/fs/lustre-release.git
cd lustre-release
git checkout v2_1_6
should get you 2.1.6 source.
- anthony
On Wed, Oct 30, 2013 at 10:34 PM, Gianfranco Sciacca
<gianfranco.sciacca(a)lhep.unibe.ch> wrote:
> Hi All,
>
> thanks, now I think I got all the details, as I would also need the
"optional" RPMs. Except the Lustre version (sorry, I'm new to git): how do I
check the source for 2.1.6 out, which is the one I really need to deploy?
>
> cheers
> Gianfranco
>
> On 29 Oct 2013, at 22:15, Cowe, Malcolm J wrote:
>
>> [RHEL] RPM uses the format <name>-<ver>-<rel> for file names.
RPM doesn't allow hyphens in the version or release fields as this is used to delimit
the version number from the release number. You can have as many hyphens as you like in
the file name, though :). So the build strips these characters from the EXTRAVERSION
variable to keep RPM on an even keel.
>>
>> Regards,
>>
>> Malcolm.
>>
>>> -----Original Message-----
>>> From: HPDD-discuss [mailto:hpdd-discuss-bounces@lists.01.org] On
>>> Behalf Of Gary Hagensen
>>> Sent: Wednesday, October 30, 2013 4:15 AM
>>> To: Gianfranco Sciacca
>>> Cc: hpdd-discuss(a)ml01.01.org
>>> Subject: Re: [HPDD-discuss] Issue patching kernel-2.6.32-358.18.1.el6
>>> (lustre 2.5.50)
>>>
>>>
>>> I don't understand why, but leading "-"s get removed. In fact
>>> sometimes more than one "-" gets removed. I had a string -xx-yy-zz
in
>>> EXTRAVERSION and it ended up xxyyzz. Maybe someone can explain
>>> why.
>>>
>>> Basically it seems that "-" are a bad idea in EXTRAVERSION.
>>>
>>> So you want your string to lead with a "." so you get
>>> kernel-2.6.32.358.18.1.el6_lustre.x86_64-1.
>>>
>>> so your EXTRVERSION string should be:
>>>
>>> EXTRAVERSION = .358.18.1.el6_lustre.x86_64
>>>
>>> Gary
>>>
>>> On 10/29/2013 09:15 AM, Gianfranco Sciacca wrote:
>>>> Hi All,
>>>>
>>>> I have built Lustre 2.5.50 RPMs against *kernel-2.6.32-358.18.1.el6*
>>>>
>>>> according to section 29.2 in
http://build.whamcloud.com/job/lustre-
>>> manual/lastSuccessfulBuild/artifact/lustre_manual.xhtml
>>>>
>>>> (First I time I do this) All seems to have gone well, except that the
>>> resulting kernel RPM is the following: kernel-
>>> 2.6.32358.18.1.el6_lustre.x86_64-1.x86_64.rpm
>>>> (no dash between 32 and 358, it should be 32-358. All the lustre RPMs
>>> have a correct version embedded in the name.
>>>>
>>>> During the step _*Patch the Kernel Source with the Lustre Code*_ I
>>> have edited the EXTRAVERSION value in the Makefile like this:
>>>>
>>>> |*[build@ce02 rpmbuild]$ cd ~/kernel/rpmbuild/BUILD/kernel-2.6.32-
>>> 358.18.1.el6/linux-2.6.32-358.18.1.el6.x86_64/*|
>>>>
>>>> Edit line 4 of the Makefile to look like this:
>>>>
>>>> *|[build@ce02 linux-2.6.32-358.18.1.el6.x86_64]$ grep EXTRAVERSION
>>> Makefile|grep 86|*|
>>>> EXTRAVERSION = -358.18.1.el6_lustre.x86_64|
>>>> |
>>>> |
>>>> |which I think is what the documentation says. Is this correct?|
>>>> |
>>>> |
>>>> |Many thanks for any help,|
>>>>
>>>> Gianfranco
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> HPDD-discuss mailing list
>>>> HPDD-discuss(a)lists.01.org
>>>>
https://lists.01.org/mailman/listinfo/hpdd-discuss
>>>>
>>> _______________________________________________
>>> HPDD-discuss mailing list
>>> HPDD-discuss(a)lists.01.org
>>>
https://lists.01.org/mailman/listinfo/hpdd-discuss
>
> _______________________________________________
> HPDD-discuss mailing list
> HPDD-discuss(a)lists.01.org
>
https://lists.01.org/mailman/listinfo/hpdd-discuss
_______________________________________________
HPDD-discuss mailing list
HPDD-discuss(a)lists.01.org
https://lists.01.org/mailman/listinfo/hpdd-discuss