RE: [Linux-cluster] GFS on RedHat ES 3.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For building purposes, install the packages kernel, kernel-source, kernel-smp, kernel-hugemem.  Then do the --target i686 command. (After you have finished building, you can remove all the kernels except the one you need to boot).

Also, if you want to build this on the 2.4.21-15.0.3.EL kernel, you can download a modified source file from me that builds against that kernel (it builds against 15.EL, 15.0.2.EL and 15.0.3.EL).  I built the i686 rpms, which you can download from me and try if you want (see the link below).

The src.rpm file should build on any kernel where the name is 2.4.21-15.EL, 2.4.21-15.0.2.EL, or 2.4.21-15.0.3.EL. (must have kernel, kernel-source, kernel-smp, kernel-hugemem installed to build).

My RPMS were built on a WBEL machine, but it shouldn't make any difference.   They will only install on a 2.4.21-15.0.3.EL kernel...

GFS Downloads

Johnny Hughes
HughesJR.com


On Tue, 2004-07-06 at 02:48, Richard Mayhew wrote:
hi
I tried this some time ago and ended up with this..
 

Installing GFS-6.0.0-1.2.src.rpm
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.81824
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ echo ping
ping
+ cd /usr/src/redhat/BUILD
+ rm -rf GFS-6.0.0
+ /bin/mkdir -p GFS-6.0.0
+ cd GFS-6.0.0
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/gfs-build.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo pong
pong
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.81824
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd GFS-6.0.0
+ LANG=C
+ export LANG
+ unset DISPLAY
++ pwd
+ BUILD_TOPDIR=/usr/src/redhat/BUILD/GFS-6.0.0
+ BuildSistina i686 hugemem
+ cpu_type=i686
+ flavor=hugemem
+ kernel_src=/lib/modules/2.4.21-15.ELhugemem/build
+ '[' -d /lib/modules/2.4.21-15.ELhugemem/build/. ']'
+ echo 'Kernel not found.'
Kernel not found.
+ ls /lib/modules/2.4.21-15.EL /lib/modules/2.4.21-4.EL
/lib/modules/2.4.21-9.0.3.EL
/lib/modules/2.4.21-15.EL:
build   misc         modules.generic_string  modules.isapnpmap
modules.pcimap      modules.usbmap
kernel  modules.dep  modules.ieee1394map     modules.parportmap
modules.pnpbiosmap

/lib/modules/2.4.21-4.EL:
updates

/lib/modules/2.4.21-9.0.3.EL:
misc
+ exit 1
error: Bad exit status from /var/tmp/rpm-tmp.81824 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.81824 (%build)


Any ideas?
________________________________

From: Johnny Hughes [mailto:mailing-lists@xxxxxxxxxxxx] 
Sent: 06 July 2004 04:59 AM
To: linux-cluster@xxxxxxxxxx
Subject: Re: [Linux-cluster] GFS on RedHat ES 3.0


Richard,
Try this:

rpmbuild --rebuild --target i686 GFS-6.0.0-1.2.src.rpm


Johnny Hughes
HughesJR.com <http://www.hughesjr.com>  	


-----Original Message-----
From: "Richard Mayhew" <rmayhew mweb com>
To: "Discussion of clustering software components including GFS"
<linux-cluster redhat com>
Subject: RE: [Linux-cluster] GFS on RedHat ES 3.0
Date: Mon, 5 Jul 2004 11:50:44 +0200

>Hi 
>Thanks for the quick response.
>
>I am running on Dell 1750's (Dual P4 2.4Ghz, 2GB Ram) using a EMC CX600
>SAN.
>
>I grabbed the 3 RPMS from
>ftp://ftp.redhat.com/pub/redhat/linux/enterprise/3/en/RHGFS/i386/SRPMS/
<ftp://ftp.redhat.com/pub/redhat/linux/enterprise/3/en/RHGFS/i386/SRPMS/
> 
>Should I be downloading them for another source? Is there support yet
>for the latest ES 3.0 kernel?
>
>After rebuilding these RPMS' I only end up with the following.
>
>
>GFS-6.0.0-1.2.i386.rpm
>GFS-6.0.0-1.2.src.rpm
>GFS-debuginfo-6.0.0-1.2.i386.rpm
>GFS-devel-6.0.0-1.2.i386.rpm
>GFS-modules-6.0.0-1.2.i386.rpm
>perl-Net-Telnet-3.03-2.noarch.rpm
>perl-Net-Telnet-3.03-2.src.rpm
>rh-gfs-en-6.0-4.noarch.rpm
>rh-gfs-en-6.0-4.src.rpm
>
>This was done with a rpmbuild --rebuild GFS-6.0.0-1.2.src.rpm

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux