List Info

Thread: RedHat kernel packages




RedHat kernel packages
user name
2006-09-19 11:26:51
Hello,

Do patches of Lustre for the RedHat kernel source packages
exists? 

I would like to use the RedHat rpmbuild command the
following way:
1. Download RedHat kernel sources and rpm install to
/usr/src/redhat/SOURCES
2. Download Luster kernel patches and place them also in
/usr/src/redhat/SOURCES
3. patch .config files in /usr/src/redhat/SOURCES 
4. patch /usr/src/redhat/SPECS/kernel-2.6.spec
5. run rpmbuild -qa kernel-2.6.spec

This will generate also the devel packages for the RedHat
kernel, which
are important, if you want to automatically compile other
modules
against the installed kernel.

I tried the above procedure manually but run into some
problems with
applying the qsnet patch of lustre.

Many thanks,
Jan Taubert 

Biomathematics and Bioinformatics Division
Rothamsted Research, UK  

_______________________________________________
Lustre-devel mailing list
Lustre-develclusterfs.com
https://mail.clusterfs.com/mailman/listinfo/lustre-devel


RedHat kernel packages
user name
2006-09-19 16:56:54
Hi Jan -

CFS will begin to make srpms available.  We in fact don't
really know why we
don't do this.  Probably this will happen with the next
release or the one
thereafter.

To build your drivers though, the -source rpms are probably
more convenient,
and these are on the web.

- Peter -
 

> -----Original Message-----
> From: lustre-devel-bouncesclusterfs.com 
> [mailto:lustre-devel-bouncesclusterfs.com] On Behalf Of
jan 
> taubert (RRes-Roth)
> Sent: Tuesday, September 19, 2006 5:27 AM
> To: lustre-develclusterfs.com
> Subject: [Lustre-devel] RedHat kernel packages
> 
> Hello,
> 
> Do patches of Lustre for the RedHat kernel source
packages exists? 
> 
> I would like to use the RedHat rpmbuild command the
following way:
> 1. Download RedHat kernel sources and rpm install to 
> /usr/src/redhat/SOURCES 2. Download Luster kernel
patches and 
> place them also in /usr/src/redhat/SOURCES 3. patch
.config 
> files in /usr/src/redhat/SOURCES 4. patch 
> /usr/src/redhat/SPECS/kernel-2.6.spec
> 5. run rpmbuild -qa kernel-2.6.spec
> 
> This will generate also the devel packages for the
RedHat 
> kernel, which are important, if you want to
automatically 
> compile other modules against the installed kernel.
> 
> I tried the above procedure manually but run into some 
> problems with applying the qsnet patch of lustre.
> 
> Many thanks,
> Jan Taubert 
> 
> Biomathematics and Bioinformatics Division Rothamsted
Research, UK  
> 
> _______________________________________________
> Lustre-devel mailing list
> Lustre-develclusterfs.com
> https://mail.clusterfs.com/mailman/listinfo/lustre-devel


_______________________________________________
Lustre-devel mailing list
Lustre-develclusterfs.com
https://mail.clusterfs.com/mailman/listinfo/lustre-devel


RedHat kernel packages
user name
2006-09-19 21:13:59
I had to spin my own rpms, but would surely prefer to use
the provided ones if 
I could figure out how to build the infiniband stack against
them.

Attached you'll find the spec file I'm using.  It only
contains the most 
neccessary changed from the RedHat one (well, CentOS
actually)  it is for 
2.6.9-34 and lustre 1.4.6.4.

All you need to use it is to install (not rebuild) the
original 
kernel-2.6.9-34.EL.src.rpm, move the lustre-XXX.tar.gz into
SOURCES and do 
rpmbuild -ba /path/to/the/attached/spec/file

The changes amounts to less than 20 lines, it seems to work
pretty well, it is 
using the kernel configs from the lustre tarball instead of
the ones in the 
kernel.  If you want to build for x86_64 you will need to do
a slight mod in 
the copying of the kernel configs, I only build for i686 and
ia64 so I 
haven't bothered to set up anything else.


Hope you find it useful,
r.


-- 

  The Computer Center, University of Tromsų, N-9037 TROMSŲ,
Norway.
	      phone:+47 77 64 41 07, fax:+47 77 64 41 00
     Roy Dragseth, High Performance Computing System
Administrator
	 Direct call: +47 77 64 62 56. email: roydcc.uit.no
_______________________________________________
Lustre-devel mailing list
Lustre-develclusterfs.com
https://mail.clusterfs.com/mailman/listinfo/lustre-devel

RedHat kernel packages
user name
2006-09-20 08:52:28
Thank you Roy.

I tried the same way, well it is only a quick hack but it
seems to be working.
The attached file contains settings for the
kernel-2.6.9-42.0.2.EL.src.rpm together with
lustre-1.4.7.tar.gz .
The installation procedure is as follows:

0. rpm -ihv kernel-2.6.9-42.0.2.EL.src.rpm, should unpack
all redhat kernel patches, configs and linux-2.6.9.tar.bz2
to /usr/src/redhat/SOURCES and create a kernel-2.6.spec in
/usr/src/redhat/SPECS

1. place copy.sh into
lustre-1.4.7/lustre/kernel_patches/patches and run, copies
all lustre patches for x86_64 to /usr/src/redhat/SOURCES

2. replace /usr/src/redhat/SPECS/kernel-2.6.spec with the
modified version (lustre patches are included as patched
20001-20028, the deployment of Patch20018:
qsnet-rhel4-2.6.patch is disabled, because this generated an
error on my system)

3. replace
/usr/src/redhat/SOURCES/kernel-2.6.9-x86_64.config
kernel-2.6.9-x86_64-largesmp.config
kernel-2.6.9-x86_64-smp.config with the modifed versions,
which are the original luster kernel configs with infiniband
support enabled

4. run rpmbuild -qa /usr/src/redhat/SPECS/kernel-2.6.spec

This will give you the following rpms:
kernel-2.6.9-42.0.2.EL.x86_64.rpm           
kernel-largesmp-2.6.9-42.0.2.EL.x86_64.rpm       
kernel-smp-devel-2.6.9-42.0.2.EL.x86_64.rpm
kernel-debuginfo-2.6.9-42.0.2.EL.x86_64.rpm 
kernel-largesmp-devel-2.6.9-42.0.2.EL.x86_64.rpm
kernel-devel-2.6.9-42.0.2.EL.x86_64.rpm     
kernel-smp-2.6.9-42.0.2.EL.x86_64.rpm

To configure lustre-1.4.7 create a link ln -s
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9
/usr/src/linux and run lustre-1.4.7 ./configure and make
rpms. This generates the following rpms:
lustre-1.4.7-2.6.9_42.0.2.ELlargesmp_200609191116.x86_64.rpm
          
lustre-modules-1.4.7-2.6.9_42.0.2.ELlargesmp_200609191116.x8
6_64.rpm
lustre-debuginfo-1.4.7-2.6.9_42.0.2.ELlargesmp_200609191116.
x86_64.rpm 
lustre-source-1.4.7-2.6.9_42.0.2.ELlargesmp_200609191116.x86
_64.rpm

This is still suboptimal, because I wanted to have all rpms
for lustre and not only the largesmp ones. But nevertheless
the largesmp ones seem to be working when install together
with the largsmp kernel packages. The smp and largesmp
kernel configs are the same, so it's only a naming problem.

Sorry for this is only a quick hack,
Jan

Biomathematics and Bioinformatics Division
Rothamsted Research, UK  

-----Original Message-----
From: lustre-devel-bouncesclusterfs.com
[mailto:lustre-devel-bouncesclusterfs.com] On Behalf Of
Roy Dragseth
Sent: 19 September 2006 22:14
To: lustre-develclusterfs.com
Subject: Re: [Lustre-devel] RedHat kernel packages


I had to spin my own rpms, but would surely prefer to use
the provided ones if 
I could figure out how to build the infiniband stack against
them.

Attached you'll find the spec file I'm using.  It only
contains the most 
neccessary changed from the RedHat one (well, CentOS
actually)  it is for 
2.6.9-34 and lustre 1.4.6.4.

All you need to use it is to install (not rebuild) the
original 
kernel-2.6.9-34.EL.src.rpm, move the lustre-XXX.tar.gz into
SOURCES and do 
rpmbuild -ba /path/to/the/attached/spec/file

The changes amounts to less than 20 lines, it seems to work
pretty well, it is 
using the kernel configs from the lustre tarball instead of
the ones in the 
kernel.  If you want to build for x86_64 you will need to do
a slight mod in 
the copying of the kernel configs, I only build for i686 and
ia64 so I 
haven't bothered to set up anything else.


Hope you find it useful,
r.


-- 

  The Computer Center, University of Tromsų, N-9037 TROMSŲ,
Norway.
	      phone:+47 77 64 41 07, fax:+47 77 64 41 00
     Roy Dragseth, High Performance Computing System
Administrator
	 Direct call: +47 77 64 62 56. email: roydcc.uit.no
_______________________________________________
Lustre-devel mailing list
Lustre-develclusterfs.com
https://mail.clusterfs.com/mailman/listinfo/lustre-devel

RedHat kernel packages
user name
2006-09-20 08:52:28
Thank you Roy.

I tried the same way, well it is only a quick hack but it
seems to be working.
The attached file contains settings for the
kernel-2.6.9-42.0.2.EL.src.rpm together with
lustre-1.4.7.tar.gz .
The installation procedure is as follows:

0. rpm -ihv kernel-2.6.9-42.0.2.EL.src.rpm, should unpack
all redhat kernel patches, configs and linux-2.6.9.tar.bz2
to /usr/src/redhat/SOURCES and create a kernel-2.6.spec in
/usr/src/redhat/SPECS

1. place copy.sh into
lustre-1.4.7/lustre/kernel_patches/patches and run, copies
all lustre patches for x86_64 to /usr/src/redhat/SOURCES

2. replace /usr/src/redhat/SPECS/kernel-2.6.spec with the
modified version (lustre patches are included as patched
20001-20028, the deployment of Patch20018:
qsnet-rhel4-2.6.patch is disabled, because this generated an
error on my system)

3. replace
/usr/src/redhat/SOURCES/kernel-2.6.9-x86_64.config
kernel-2.6.9-x86_64-largesmp.config
kernel-2.6.9-x86_64-smp.config with the modifed versions,
which are the original luster kernel configs with infiniband
support enabled

4. run rpmbuild -qa /usr/src/redhat/SPECS/kernel-2.6.spec

This will give you the following rpms:
kernel-2.6.9-42.0.2.EL.x86_64.rpm           
kernel-largesmp-2.6.9-42.0.2.EL.x86_64.rpm       
kernel-smp-devel-2.6.9-42.0.2.EL.x86_64.rpm
kernel-debuginfo-2.6.9-42.0.2.EL.x86_64.rpm 
kernel-largesmp-devel-2.6.9-42.0.2.EL.x86_64.rpm
kernel-devel-2.6.9-42.0.2.EL.x86_64.rpm     
kernel-smp-2.6.9-42.0.2.EL.x86_64.rpm

To configure lustre-1.4.7 create a link ln -s
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9
/usr/src/linux and run lustre-1.4.7 ./configure and make
rpms. This generates the following rpms:
lustre-1.4.7-2.6.9_42.0.2.ELlargesmp_200609191116.x86_64.rpm
          
lustre-modules-1.4.7-2.6.9_42.0.2.ELlargesmp_200609191116.x8
6_64.rpm
lustre-debuginfo-1.4.7-2.6.9_42.0.2.ELlargesmp_200609191116.
x86_64.rpm 
lustre-source-1.4.7-2.6.9_42.0.2.ELlargesmp_200609191116.x86
_64.rpm

This is still suboptimal, because I wanted to have all rpms
for lustre and not only the largesmp ones. But nevertheless
the largesmp ones seem to be working when install together
with the largsmp kernel packages. The smp and largesmp
kernel configs are the same, so it's only a naming problem.

Sorry for this is only a quick hack,
Jan

Biomathematics and Bioinformatics Division
Rothamsted Research, UK  

-----Original Message-----
From: lustre-devel-bouncesclusterfs.com
[mailto:lustre-devel-bouncesclusterfs.com] On Behalf Of
Roy Dragseth
Sent: 19 September 2006 22:14
To: lustre-develclusterfs.com
Subject: Re: [Lustre-devel] RedHat kernel packages


I had to spin my own rpms, but would surely prefer to use
the provided ones if 
I could figure out how to build the infiniband stack against
them.

Attached you'll find the spec file I'm using.  It only
contains the most 
neccessary changed from the RedHat one (well, CentOS
actually)  it is for 
2.6.9-34 and lustre 1.4.6.4.

All you need to use it is to install (not rebuild) the
original 
kernel-2.6.9-34.EL.src.rpm, move the lustre-XXX.tar.gz into
SOURCES and do 
rpmbuild -ba /path/to/the/attached/spec/file

The changes amounts to less than 20 lines, it seems to work
pretty well, it is 
using the kernel configs from the lustre tarball instead of
the ones in the 
kernel.  If you want to build for x86_64 you will need to do
a slight mod in 
the copying of the kernel configs, I only build for i686 and
ia64 so I 
haven't bothered to set up anything else.


Hope you find it useful,
r.


-- 

  The Computer Center, University of Tromsų, N-9037 TROMSŲ,
Norway.
	      phone:+47 77 64 41 07, fax:+47 77 64 41 00
     Roy Dragseth, High Performance Computing System
Administrator
	 Direct call: +47 77 64 62 56. email: roydcc.uit.no
_______________________________________________
Lustre-devel mailing list
Lustre-develclusterfs.com
https://mail.clusterfs.com/mailman/listinfo/lustre-devel

RedHat kernel packages
user name
2006-09-20 08:52:28
Thank you Roy.

I tried the same way, well it is only a quick hack but it
seems to be working.
The attached file contains settings for the
kernel-2.6.9-42.0.2.EL.src.rpm together with
lustre-1.4.7.tar.gz .
The installation procedure is as follows:

0. rpm -ihv kernel-2.6.9-42.0.2.EL.src.rpm, should unpack
all redhat kernel patches, configs and linux-2.6.9.tar.bz2
to /usr/src/redhat/SOURCES and create a kernel-2.6.spec in
/usr/src/redhat/SPECS

1. place copy.sh into
lustre-1.4.7/lustre/kernel_patches/patches and run, copies
all lustre patches for x86_64 to /usr/src/redhat/SOURCES

2. replace /usr/src/redhat/SPECS/kernel-2.6.spec with the
modified version (lustre patches are included as patched
20001-20028, the deployment of Patch20018:
qsnet-rhel4-2.6.patch is disabled, because this generated an
error on my system)

3. replace
/usr/src/redhat/SOURCES/kernel-2.6.9-x86_64.config
kernel-2.6.9-x86_64-largesmp.config
kernel-2.6.9-x86_64-smp.config with the modifed versions,
which are the original luster kernel configs with infiniband
support enabled

4. run rpmbuild -qa /usr/src/redhat/SPECS/kernel-2.6.spec

This will give you the following rpms:
kernel-2.6.9-42.0.2.EL.x86_64.rpm           
kernel-largesmp-2.6.9-42.0.2.EL.x86_64.rpm       
kernel-smp-devel-2.6.9-42.0.2.EL.x86_64.rpm
kernel-debuginfo-2.6.9-42.0.2.EL.x86_64.rpm 
kernel-largesmp-devel-2.6.9-42.0.2.EL.x86_64.rpm
kernel-devel-2.6.9-42.0.2.EL.x86_64.rpm     
kernel-smp-2.6.9-42.0.2.EL.x86_64.rpm

To configure lustre-1.4.7 create a link ln -s
/usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9
/usr/src/linux and run lustre-1.4.7 ./configure and make
rpms. This generates the following rpms:
lustre-1.4.7-2.6.9_42.0.2.ELlargesmp_200609191116.x86_64.rpm
          
lustre-modules-1.4.7-2.6.9_42.0.2.ELlargesmp_200609191116.x8
6_64.rpm
lustre-debuginfo-1.4.7-2.6.9_42.0.2.ELlargesmp_200609191116.
x86_64.rpm 
lustre-source-1.4.7-2.6.9_42.0.2.ELlargesmp_200609191116.x86
_64.rpm

This is still suboptimal, because I wanted to have all rpms
for lustre and not only the largesmp ones. But nevertheless
the largesmp ones seem to be working when install together
with the largsmp kernel packages. The smp and largesmp
kernel configs are the same, so it's only a naming problem.

Sorry for this is only a quick hack,
Jan

Biomathematics and Bioinformatics Division
Rothamsted Research, UK  

-----Original Message-----
From: lustre-devel-bouncesclusterfs.com
[mailto:lustre-devel-bouncesclusterfs.com] On Behalf Of
Roy Dragseth
Sent: 19 September 2006 22:14
To: lustre-develclusterfs.com
Subject: Re: [Lustre-devel] RedHat kernel packages


I had to spin my own rpms, but would surely prefer to use
the provided ones if 
I could figure out how to build the infiniband stack against
them.

Attached you'll find the spec file I'm using.  It only
contains the most 
neccessary changed from the RedHat one (well, CentOS
actually)  it is for 
2.6.9-34 and lustre 1.4.6.4.

All you need to use it is to install (not rebuild) the
original 
kernel-2.6.9-34.EL.src.rpm, move the lustre-XXX.tar.gz into
SOURCES and do 
rpmbuild -ba /path/to/the/attached/spec/file

The changes amounts to less than 20 lines, it seems to work
pretty well, it is 
using the kernel configs from the lustre tarball instead of
the ones in the 
kernel.  If you want to build for x86_64 you will need to do
a slight mod in 
the copying of the kernel configs, I only build for i686 and
ia64 so I 
haven't bothered to set up anything else.


Hope you find it useful,
r.


-- 

  The Computer Center, University of Tromsų, N-9037 TROMSŲ,
Norway.
	      phone:+47 77 64 41 07, fax:+47 77 64 41 00
     Roy Dragseth, High Performance Computing System
Administrator
	 Direct call: +47 77 64 62 56. email: roydcc.uit.no
_______________________________________________
Lustre-devel mailing list
Lustre-develclusterfs.com
https://mail.clusterfs.com/mailman/listinfo/lustre-devel

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )