[opensuse-factory] Reviving openSUSE on Z Systems (S390X)
![](https://seccdn.libravatar.org/avatar/ddf577d5615157e18758c3528feadaaa.jpg?s=120&d=mm&r=g)
Hi IBM mainframe enthusiasts! It is done! Build is working and triggering tests: https://build.opensuse.org/project/show/openSUSE:Factory:zSystems A lot of packages still need love, but installer works. Tests are now adapted and passing: https://openqa.opensuse.org/group_overview/34 https://openqa.opensuse.org/tests/1171171 There is only one bug that needs to be worked around for the installation. See https://bugzilla.suse.com/show_bug.cgi?id=1156047 TLDR -> Add to linuxrc: "hardened_usercopy=off" We have ISO! http://download.opensuse.org/ports/zsystems/tumbleweed/iso/ We have repo! http://download.opensuse.org/ports/zsystems/tumbleweed/repo/oss/ Enjoy! Thanks Mike and Berthold for your help. Kind Regards, Sergio
![](https://seccdn.libravatar.org/avatar/6d198f8c8f1c94ccef873cebcf4f5dfa.jpg?s=120&d=mm&r=g)
Hi Sergio, Desperately wish I could own on. Does it run under Hercules? Regards Sid. On 12/02/2020 07:53, Sergio wrote:
Hi IBM mainframe enthusiasts!
It is done!
Build is working and triggering tests: https://build.opensuse.org/project/show/openSUSE:Factory:zSystems A lot of packages still need love, but installer works.
Tests are now adapted and passing: https://openqa.opensuse.org/group_overview/34 https://openqa.opensuse.org/tests/1171171 There is only one bug that needs to be worked around for the installation. See https://bugzilla.suse.com/show_bug.cgi?id=1156047 TLDR -> Add to linuxrc: "hardened_usercopy=off"
We have ISO! http://download.opensuse.org/ports/zsystems/tumbleweed/iso/
We have repo! http://download.opensuse.org/ports/zsystems/tumbleweed/repo/oss/
Enjoy!
Thanks Mike and Berthold for your help.
Kind Regards, Sergio
-- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7891b1b1a5767f4b9ac1cc0723cebdac.jpg?s=120&d=mm&r=g)
Sid Boyce wrote:
Hi Sergio, Desperately wish I could own on.
Does it run under Hercules?
Last I tried, yes, but that was back in 2001/2002. I've used it on both Hercules and real iron. -- Per Jessen, Zürich (7.2°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/6299e62261af6bf8135ff9290b0da7da.jpg?s=120&d=mm&r=g)
On Wed, 12 Feb 2020 20:06:51 +0100, Per Jessen <per@computer.org> wrote:
Sid Boyce wrote:
Hi Sergio, Desperately wish I could own on.
Does it run under Hercules?
Last I tried, yes, but that was back in 2001/2002. I've used it on both Hercules and real iron.
I still have this: +-----------------------------------------------+ | zdolinux : a pre-packaged SLES 11 SP2 (s390x) | |-----------------------------------------------| | Requirements : - Any Linux Distribution | | - Hercules | | | | UserID's : root (password: special) | | test (password: test) | | | | IP : 192.168.4.2 | | | +-----------------------------------------------+ running on Hercules, which I use to check my CPAN distributions against. I'd love to see a walk-through on how to get those new .iso's working on Hercules! The rest of the README is: --8<--- Startup ============================================ $ sudo startup.sh wait for the login prompt. It takes a while After startup ====================================== $ ssh root@192.168.4.2 Check if default route is added: # route add default gw 192.168.4.3 ctc0 # work work work Shutdown ============================================ # shutdown -r now or Command ==> exit -->8--- I would love to try this new dist, but I am by no means a hercules regular, and I lost the installation instructions of the build I still use (if there were any at all when I installed it) My files are from 10 Oct 2012 / 2013 2233425920 Apr 5 2013 zdolinux-v1r02.iso 2225020928 Apr 5 2013 zdolinux-v1r03.iso 2599981056 Apr 3 2013 zdolinux-v1r0.iso --8<--- startup.sh #!/bin/bash # # zdolinux startup script. # # Make sure hercules.cfg points to correct cckd files DASDDIR=`pwd` sed "s:ZDOHOME:$DASDDIR:g" template.cfg > hercules.cfg # Start hercules # hercules.rc file will automate the boot procedure # Enable routing NET=192.168.4.0/24 iptables -t nat -A POSTROUTING -o eth0 -s $NET -j MASQUERADE iptables -A FORWARD -s $NET -j ACCEPT iptables -A FORWARD -d $NET -j ACCEPT echo 1 > /proc/sys/net/ipv4/ip_forward echo 1 > /proc/sys/net/ipv4/conf/all/proxy_arp # usage: hercules [-f config-filename] [-d] [-b logo-filename] \ # [-p dyn-load-dir] [[-l dynmod-to-load]...] [> logfile] sudo hercules -f hercules.cfg -->8--- --8<--- template.cfg #------------------------------------------------------------------------------ # CPU Configuration #------------------------------------------------------------------------------ CPUSERIAL 002623 # CPU serial number CPUMODEL 2064 # CPU model number MODEL EMULATOR # STSI returned model PLANT ZZ # STSI returned plant MANUFACTURER HRC # STSI returned manufacturer LPARNAME HERCULES # DIAG 204 returned lparname CPUVERID FD # CPU Version Identification CNSLPORT 5000 # HTTP PORT FOR CONSOLE MAINSIZE 1024 # Main storage size in megabytes XPNDSIZE 0 # Expanded storage size in megabytes NUMCPU 3 # Number of CPUs ENGINES CP,IL,IL # One GP and two IFLs ARCHMODE ESAME # Architecture mode S/370, ESA/390 or z/Arch ALRF DISABLE # ASN-and-LX-Reuse facility ECPSVM 20 # VM Assist : NO or Level (20 recommended) #------------------------------------------------------------------------------ # OS Tailoring #------------------------------------------------------------------------------ LOADPARM 0150.... # IPL parameter OSTAILOR LINUX # OS tailoring SYSEPOCH 1900 # Base year for initial TOD clock #------------------------------------------------------------------------------ # Devices #------------------------------------------------------------------------------ # .-----------------------Device number # | .-----------------Device type # | | .---------File name and parameters # | | | # V V V # ---- ---- -------------------- 0009 3215-C / noprompt 001F 3270 # Our disk # Adding the CU-3990-3 might fix any Command Rejected errors (Sense=CMDREJ) # See http://lists.fedoraproject.org/pipermail/s390x/2009-June.txt 0140 3390 ZDOHOME/ROOT.cckd 0141 3390 ZDOHOME/HOME.cckd 0150 3390 ZDOHOME/SWAP.cckd # The Network 0E20,0E21 3088 CTCI /dev/net/tun 1500 192.168.4.2 192.168.4.3 255.255.255.0 -->8--- --8<--- hercules.rc # hercules automated operator # hao tgt HHCCP041I # SYSCONS ACTIVE hao cmd .1 # START BOOT (no wait 10 seconds) # # Start the system # ipl 140 -->8--- -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.31 porting perl5 on HP-UX, AIX, and Linux https://useplaintext.email https://tux.nl http://www.test-smoke.org http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
![](https://seccdn.libravatar.org/avatar/7891b1b1a5767f4b9ac1cc0723cebdac.jpg?s=120&d=mm&r=g)
H.Merijn Brand wrote:
I'd love to see a walk-through on how to get those new .iso's working on Hercules!
I'd love to help, but it's been too long since I have played with hercules and s390. -- Per Jessen, Zürich (6.3°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
H.Merijn Brand
-
Per Jessen
-
Sergio
-
Sid Boyce