Quantcast

[Mondo-devel] MondoRescue IBM Power

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mondo-devel] MondoRescue IBM Power

Esteban Monge
Hello:

He was happily compiling MondoRescue for Power... all packages compiled
OK, but when I tried to install mondo one depence fails... syslinux.

I these moment... I remembered that Power doesnt support syslinux... Is
syslinux used when you indicate that mondorescue must use Grub?

Can mindi boot in Power processors?

Thanks

--
Esteban Monge MarĂ­n
http://www.emonge.com
[hidden email]
[hidden email]
[hidden email]
Linux User: 478378 - Isaca COBIT - Cabinet Office ITIL Foundation -
CompTIA A+ - Nagios Enterprises Certified Professional

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Mondo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mondo-devel] MondoRescue IBM Power

Bruno Cornec-2
Hello,

Esteban Monge said on Mon, Feb 23, 2015 at 02:31:49PM -0600:
> He was happily compiling MondoRescue for Power... all packages compiled
> OK, but when I tried to install mondo one depence fails... syslinux.

The code is fairly portable per se ...

> I these moment... I remembered that Power doesnt support syslinux... Is
> syslinux used when you indicate that mondorescue must use Grub?

... but there are some limitations. And one of them is the Boot Loader
mechanism. Today some choices have been made. Typically syslinux is used
when booting on x86 USB, isolinux for x86 DVD/CDs and bootable tapes,
pxelinux for x86 network.
On ia64, as EFI was usef, we took elilo as a boot loader.

Currently I'm reviewing the code to add UEFI support. Which will be for
both ia64 and x86 which breaks some traditional associations.

Nobody did any work for Power, and as you can guess, I don't have easy
access to such HW platforms.

> Can mindi boot in Power processors?

Theoritically Yes. Now it needs some patches to be able to effectively
work on Power. Which Bootloader to use ? Which conf file to generate ?

Indeed most of the modifications will be in mindi. But today some
modifications will also be needed in mondo as well (e.g. at the end it
re-run lilo or grub-install depending on the local Boot Loader to
restore).

I welcome any patch you'd like me to add to the code tree to make Power
support better.

Best regards,
Bruno.
--
Open Source Profession, Linux Community Lead WW http://opensource.hp.com
EMEA EG Open Source Technology Strategist       http://hpintelco.net
FLOSS projects:     http://mondorescue.org     http://project-builder.org 
Musique ancienne? http://www.musique-ancienne.org http://www.medieval.org

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Mondo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mondo-devel] MondoRescue IBM Power

youcef
I'm trying to build Mondo rescue PRMs on IBM power running on RHEL V7.1  64bits,
I was able to to buil both rpm srource (buffer-1.19-4.rhel7.src.rpm, and mindi-3.0.2-1.rhel7.src.rpm), but for other PRMs (mondo-3.2.2-1.rhel7.src.rpm , perl-MondoRescue-3.2.2-1.rhel7.src.rpm, and perl-ProjectBuilder-0.14.1-1.rhel7.src.rpm) it failed  (Errors showing below), could someone help be to get these rpms build and installed.

#rpmbuild --rebuild mondo-3.2.2-1.rhel7.src.rpm
Installing mondo-3.2.2-1.rhel7.src.rpm
warning: mondo-3.2.2-1.rhel7.src.rpm: Header V4 DSA/SHA1 Signature, key ID 37db9883: NOKEY
warning: user pb does not exist - using root
warning: group pb does not exist - using root
warning: user pb does not exist - using root
warning: group pb does not exist - using root
error: Failed build dependencies:
        newt-devel >= 0.50 is needed by mondo-3.2.2-1.rhel7.ppc64
 




# rpmbuild --rebuild perl-MondoRescue-3.2.2-1.rhel7.src.rpm
Installing perl-MondoRescue-3.2.2-1.rhel7.src.rpm
warning: perl-MondoRescue-3.2.2-1.rhel7.src.rpm: Header V4 DSA/SHA1 Signature, key ID 37db9883: NOKEY
warning: user pb does not exist - using root
warning: group pb does not exist - using root
warning: user pb does not exist - using root
warning: group pb does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XKljkQ
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf MondoRescue-3.2.2
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/MondoRescue-3.2.2.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd MondoRescue-3.2.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Tnd9II
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd MondoRescue-3.2.2
+ /usr/bin/perl Makefile.PL destdir=/root/rpmbuild/BUILDROOT/perl-MondoRescue-3.2.2-1.rhel7.ppc64/ CONFDIR=/etc CACHEDIR=/var/cache TARGET=/usr
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 2.
BEGIN failed--compilation aborted at Makefile.PL line 2.
error: Bad exit status from /var/tmp/rpm-tmp.Tnd9II (%build)


RPM build errors:
    perl-MondoRescue-3.2.2-1.rhel7.src.rpm: Header V4 DSA/SHA1 Signature, key ID 37db9883: NOKEY
    user pb does not exist - using root
    group pb does not exist - using root
    user pb does not exist - using root
    group pb does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.Tnd9II (%build)
 
#




#  more /var/tmp/rpm-tmp.Tnd9II
#!/bin/sh

  RPM_SOURCE_DIR="/root/rpmbuild/SOURCES"
  RPM_BUILD_DIR="/root/rpmbuild/BUILD"
  RPM_OPT_FLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mcpu=power7 -mtune=power7"
  RPM_LD_FLAGS="-Wl,-z,relro "
  RPM_ARCH="ppc64"
  RPM_OS="linux"
  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_LD_FLAGS RPM_ARCH RPM_OS
  RPM_DOC_DIR="/usr/share/doc"
  export RPM_DOC_DIR
  RPM_PACKAGE_NAME="perl-MondoRescue"
  RPM_PACKAGE_VERSION="3.2.2"
  RPM_PACKAGE_RELEASE="1.rhel7"
  export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  LANG=C
  export LANG
  unset CDPATH DISPLAY ||:
  RPM_BUILD_ROOT="/root/rpmbuild/BUILDROOT/perl-MondoRescue-3.2.2-1.rhel7.ppc64"
  export RPM_BUILD_ROOT

  PKG_CONFIG_PATH="%{_PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig"
  export PKG_CONFIG_PATH

  set -x
  umask 022
  cd "/root/rpmbuild/BUILD"
cd 'MondoRescue-3.2.2'
/usr/bin/perl Makefile.PL destdir=${RPM_BUILD_ROOT}/  CONFDIR=/etc CACHEDIR=/var/cache TAR
GET=/usr
make -j16



exit 0

#


==========
# rpmbuild --rebuild perl-ProjectBuilder-0.14.1-1.rhel7.src.rpm
Installing perl-ProjectBuilder-0.14.1-1.rhel7.src.rpm
warning: perl-ProjectBuilder-0.14.1-1.rhel7.src.rpm: Header V4 DSA/SHA1 Signature, key ID 37db9883: NOKEY
warning: user pb does not exist - using root
warning: group pb does not exist - using root
warning: user pb does not exist - using root
warning: group pb does not exist - using root
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pPcT6k
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf ProjectBuilder-0.14.1
+ /usr/bin/gzip -dc /root/rpmbuild/SOURCES/ProjectBuilder-0.14.1.tar.gz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ProjectBuilder-0.14.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EgZ6xK
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd ProjectBuilder-0.14.1
+ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor destdir=/root/rpmbuild/BUILDROOT/perl-ProjectBuilder-0.14.1-1.rhel7.ppc64/ CONFDIR=/etc/pb MANDIR=/usr/share/man
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 5.
BEGIN failed--compilation aborted at Makefile.PL line 5.
error: Bad exit status from /var/tmp/rpm-tmp.EgZ6xK (%build)


RPM build errors:
    perl-ProjectBuilder-0.14.1-1.rhel7.src.rpm: Header V4 DSA/SHA1 Signature, key ID 37db9883: NOKEY
    user pb does not exist - using root
    group pb does not exist - using root
    user pb does not exist - using root
    group pb does not exist - using root
    Bad exit status from /var/tmp/rpm-tmp.EgZ6xK (%build)
#




# more /var/tmp/rpm-tmp.EgZ6xK
#!/bin/sh

  RPM_SOURCE_DIR="/root/rpmbuild/SOURCES"
  RPM_BUILD_DIR="/root/rpmbuild/BUILD"
  RPM_OPT_FLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mcpu=power7 -mtune=power7"
  RPM_LD_FLAGS="-Wl,-z,relro "
  RPM_ARCH="ppc64"
  RPM_OS="linux"
  export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_LD_FLAGS RPM_ARCH RPM_OS
  RPM_DOC_DIR="/usr/share/doc"
  export RPM_DOC_DIR
  RPM_PACKAGE_NAME="perl-ProjectBuilder"
  RPM_PACKAGE_VERSION="0.14.1"
  RPM_PACKAGE_RELEASE="1.rhel7"
  export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  LANG=C
  export LANG
  unset CDPATH DISPLAY ||:
  RPM_BUILD_ROOT="/root/rpmbuild/BUILDROOT/perl-ProjectBuilder-0.14.1-1.rhel7.ppc64"
  export RPM_BUILD_ROOT

  PKG_CONFIG_PATH="%{_PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig"
  export PKG_CONFIG_PATH

  set -x
  umask 022
  cd "/root/rpmbuild/BUILD"
cd 'ProjectBuilder-0.14.1'
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor destdir=${RPM_BUILD_ROOT}/  CONFDIR=/etc/pb M
ANDIR=/usr/share/man
make -j16



exit 0
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mondo-devel] MondoRescue IBM Power

Bruno Cornec-4
Hello,

youcef said on Wed, Sep 28, 2016 at 01:06:49PM -0700:
>I'm trying to build Mondo rescue PRMs on IBM power running on RHEL V7.1
>64bits,

I prefer to warn you it won't be an easy task. Not the building itself,
we should solve easily, but making it work due to diffs in bootloader e.g.
and arch.

>I was able to to buil both rpm srource (buffer-1.19-4.rhel7.src.rpm, and
>mindi-3.0.2-1.rhel7.src.rpm), but for other PRMs
>(mondo-3.2.2-1.rhel7.src.rpm , perl-MondoRescue-3.2.2-1.rhel7.src.rpm, and
>perl-ProjectBuilder-0.14.1-1.rhel7.src.rpm) it failed  (Errors showing
>below), could someone help be to get these rpms build and installed.
>
>#rpmbuild --rebuild mondo-3.2.2-1.rhel7.src.rpm
>        newt-devel >= 0.50 is needed by mondo-3.2.2-1.rhel7.ppc64

So you first need to have all dependencies installed. Here you need
newt-devel part of the distribution of EL7 (at least on x86). You may want
to look at our ftp server, as most of the missing package not part of the
distribution are provided as a src.rpm format (see below).

># rpmbuild --rebuild perl-MondoRescue-3.2.2-1.rhel7.src.rpm
>Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains:

So you miss a perl module this time. BTW it should be a dep, so a mistake
on my side as well !

Install perl-ExtUtils-MakeMaker with yum.

Bruno.
--
Open Source Profession, WW Linux Community Lead     http://www.hpintelco.net
HPE EMEA EG FLOSS Technology Strategist http://www.hpe.com/engage/opensource
FLOSS projects:    http://mondorescue.org         http://project-builder.org
Musique ancienne?   http://www.musique-ancienne.org  http://www.medieval.org

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Mondo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mondo-devel
Loading...