From Fedora Project Wiki
No edit summary
Line 46: Line 46:
* README
* README
** Very brief howto get everything up and running, either for running preinstalled hercules images or how to do a complete install yourself
** Very brief howto get everything up and running, either for running preinstalled hercules images or how to do a complete install yourself
* fedora-14-s390x.img
* fedora-14-s390x.img.bz2
** Hercules Fedora 14 s390x DASD image
** Hercules Fedora 14 s390x DASD image bzip2 compressed
* f11-s390x.img
* f11-s390x.img
** Hercules Fedora 11 s390x DASD image
** Hercules Fedora 11 s390x DASD image
Line 60: Line 60:
* generic.prm
* generic.prm
** Kernel command line parameter file, needed for installation
** Kernel command line parameter file, needed for installation
== Supported hardware ==
* [http://www-03.ibm.com/systems/z/?cm_re=masthead-_-products-_-sys-zseries IBM system Z] models z9 or newer
* [http://www.hercules-390.org/ Hercules] emulator version 3.07 or SVN revision >= 6605


== Tips ==
== Tips ==


= Please make sure to build into the correct target, don't mix dist-f14 and dist-f14-updates =
== Notes for application developers and package maintainers ==
* some hardware that's usual on other platforms is missing, like
** USB
** FireWire
** InfiniBand


To test a build for your specific package for s390x do this:
* memory ordering is [http://en.wikipedia.org/wiki/Big_Endian big-endian]


After running <code>fedora-packager-setup (from the fedora-packager rpm)</code>
== Please make sure to build into the correct target, don't mix dist-f14 and dist-f14-updates ==


<code>koji -c ~/.koji/s390-config build --scratch dist-f14 yourpkg.src.rpm</code>
To test a build for your specific package for s390x do this:
 
or
 
<code>koji -s http://s390.koji.fedoraproject.org/kojihub --weburl=http://s390.koji.fedoraproject.org/koji \ --pkgurl=http://s390.koji.fedoraproject.org/packages build --scratch --arch-override s390x dist-f14 yourpkg.src.rpm</code>
 
 
To build a package which should end up in the F-14 tree, the package needs to be tagged in CVS and then be built from CVS:
 
<code>
cd <your CVS checkout directory>/<package-name>/devel</code>
 
<code>koji build dist-f14 'cvs://cvs.fedoraproject.org/cvs/pkgs?rpms/<package-name>/devel#<CVS-TAG>'</code>
 
Example:


<code>koji  build  dist-f14 'cvs://cvs.fedoraproject.org/cvs/pkgs?rpms/vim/devel#vim-7_2_148-1_fc14'</code>
After running <code>fedora-packager-setup</code> from the <code>fedora-packager</code> rpm


<code>s390-koji build --scratch dist-f14 yourpkg.src.rpm</code>


It is much easier to build into the dist-f14 target from your F-14 CVS checkout:
To build a package which should end up in the F-14 tree, the package needs to be commited in dist-git and then be built with:


<code>SECONDARY_CONFIG=" -c ~/.koji/s390-config " make build</code>
<code>s390-koji build dist-f14 "$(fedpkg giturl)"</code>


== Tracker Bugs ==
== Tracker Bugs ==

Revision as of 08:14, 30 September 2010

Fedora s390x

  • IRC: #fedora-s390x on irc.freenode.net
  • Mailing List: s390x
  • Regular IRC meetings: TBD

Targets

  • short term goals:
  • reach out to known interested parties in community
  • reaching out (through contacts) to IBM community (.de)
  • have several "interested parties" that will help once we are building packages/trees
  • start F-14 composes
  • identify the resources used for composes
  • get to the point where F-14 is bootable and installable with pungi images

Accomplished

  • set up externally/publically available koji instance
  • s390x koji instance
  • Mass rebuild of all Rawhide packages, ~1000 failures
  • Build statistics updated weekly

People

History

FUDcon 2008 was an excellent event. During the conference, a session on secondary arches was presented and there was an excellent effort made to reach out to new arches.

After several months of bootstrapping as of June 2009 we've reached a state where we have most packages built from current Fedora rawhide CVS. There are still around ~500 failures, most of which are related to java and ocaml dependencies (ocaml is not available on s390x).

News of September 2010: We're now getting really close to Rawhide and we have a working install tree available thats basically based on current Fedora 14. Previously we only provided a hercules images as well as a tarball from a root FS as installs weren't possible. We still provide those, but now you can do your own installs again, too!

For those interested in trying it out you access everything needed from here:

http://secondary.fedoraproject.org/pub/alt/spins/S390/

You will find several files there:

  • README
    • Very brief howto get everything up and running, either for running preinstalled hercules images or how to do a complete install yourself
  • fedora-14-s390x.img.bz2
    • Hercules Fedora 14 s390x DASD image bzip2 compressed
  • f11-s390x.img
    • Hercules Fedora 11 s390x DASD image
  • f11-s390x.tar.bz2
    • tarball of the whole tree. Can be unpacked on a real machine (confirmed it works!)
  • anaconda-ks.cfg
    • Sample kickstart file that installs a very basic system on a dasd image. WARNING! Wipes out the whole partition table, so use with care
  • hercules.cnf
    • hercules emulator config file
  • hercules.init
    • Small script to start up hercules with some iptables rules for NAT (might require you to modify your personal rules in order to work properly)
  • generic.prm
    • Kernel command line parameter file, needed for installation

Supported hardware

Tips

Notes for application developers and package maintainers

  • some hardware that's usual on other platforms is missing, like
    • USB
    • FireWire
    • InfiniBand

Please make sure to build into the correct target, don't mix dist-f14 and dist-f14-updates

To test a build for your specific package for s390x do this:

After running fedora-packager-setup from the fedora-packager rpm

s390-koji build --scratch dist-f14 yourpkg.src.rpm

To build a package which should end up in the F-14 tree, the package needs to be commited in dist-git and then be built with:

s390-koji build dist-f14 "$(fedpkg giturl)"

Tracker Bugs

If excluding s390/s390x architectures you need to make the bug block F-ExcludeArch-s390x

to see whats currently blocking visit Bugzilla

If a bug is specific to s390/s390x architectures make the bug blocking ZedoraTracker

to see not yet resolved issues visit Bugzilla

Packages under review

List of s390 specific packages currently under review in Fedora

none

Packages to be submitted:

none