This site also holds all "-s390.diff" files; to speed-up the file retrieval, I jumped directly to http://www-124.ibm.com/developerworks/opensource/linux390/src/ and http://www-124.ibm.com/developerworks/opensource/linux390/alpha_src/.
I found all base packages with http://tuxfinder.com/ and the kernel sources at http://www.kernel.org.
Here I collected the package's list, direct links and some note; I suggest
to create a ~/store directory where download all the following:
|
|
|
binutils-2.10 | binutils-2.10-s390.diff
binutils-pic16.diff |
Patches may be applied in any order. |
gcc-2.95.2 | gcc-2.95.2.4-s390.diff
gcc-2.95.2.4-s390-2.diff gcc-2.95.2.4-s390-3.diff gcc-2.95.2.4-s390-4.diff |
Patches MUST be applied in the given order. |
glibc-2.1.3 | glibc-2.1.3.3-s390.diff | I had to add a '--nfp' parm to "configure" command in order to avoid compile time errors |
glibc-crypt-2.1.2 | - | I haven't found a more recent version |
glibc-linuxthreads-2.1.3 | glibc-linuxthreads-2.1.3.3-s390.diff | |
linux-2.2.15 | linux-2.2.15-s390.diff | |
After downloading all the pieces in the home directory, there we should
find:
binutils-2.10-s390.tar.gz
binutils-2.10.tar.gz
binutils-pic16.tar.gz
gcc-2.95.2.4-s390-2.tar.gz
gcc-2.95.2.4-s390-3.tar.gz
gcc-2.95.2.4-s390-4.tar.gz
gcc-2.95.2.4-s390.tar.gz
gcc-2.95.2.tar.gz
glibc-2.1.3.3-s390.tar.gz
glibc-2.1.3.tar.bz2
glibc-crypt-2.1.2.tar.gz
glibc-linuxthreads-2.1.3.3-s390.tar.gz
glibc-linuxthreads-2.1.3.tar.gz
linux-2.2.15-s390.diff.tar.gz
linux-2.2.15.tar.bz2
linux-2.2.15.xconfig.diff.gz
... besides all I forgot ...
To simplify the build process, I collected an _untested_ script here.
The script will ask for root password some times...
I tested and tested and tested and (at last!) i found a (pls shift+click)
.config making kernel which seems to
be able to run, at least under hercules.
You can find here
a script to patch and build a kernel.
Modules haven't been installed yet; to install them you must "mount -o
loop ..." the initrd file gunzipped, and make [...] INSTALL_MOD_PATH=<initrd
mount point>; see losetup manpage for some example, or look at here for the usual script...
where | what |
ftp://source.rfc822.org:/pub/mirror/s390-ibm-linux/Peter.Schulte-Stracke/vintage-0.7.tar.gz | Peter Schulte-Stracke patch |
modifications I made to get a bootable kernel. | My modifications... |
.config | my working .config |
here | sample script to build a kernel |
here | sample script to install modules into initrd. |
The files needed to ipl a linux under hercules are (please shift+click
on links to download the corresponding file):
where | what |
vintage.cnf | my Hercules config file |
vintage.image.0525 | my tape boot image |
vintage.parmline | my parmline (kernel boot parms); take care of dasd address... |
vintage.initrd | initial root filesystem (taken from marist) |
vintage.tdf | my tape layout definition |
Here there are some notes about vintage, hercules and my file's tree.
Now you can run hercules and try to ipl a "vintage" kernel.
Don't get depressed if, under hercules, it doesn't work at first shot;
perhaps it will run at second attempt or later...
Of course, you can store together the image+(customized)parmline+initrd
files on a tape and ipl vintage on a true S/390.
Good luck.
Please note: this is a draft document; all the scripts are to be tested;
there are no warranty, blah blah blah...
Please excuse me for my poor english; all corrections are welcome.
If you like, contact me
Last update: Thu Apr 25 00:58:12 CEST 2002