-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure creating qcow image on s390x: Support for zipl bootloader config not implemented #1173
Comments
The s390 target is currently in bad condition which is mostly because of the toolchain inside of the s390 distribution. There are several bugs people are working on but haven't released patches so far. This is the reason why the current s390 build tests are on hold. What you can do is the following: Check our integration tests from here: You see they are disabled because of the problems in the distribution. You can simply go and As of now I can only ask for patience because fixes in this direction are outside of kiwi. |
This problem has been fixed here: efeb727 |
we currently support zipl in combination with user space grub only. So your first setup was correct |
I think the image description from here:
together with the latest kiwi version is a good start. But as I said there are problems in other areas of the s390 distro at the moment. I will enable our build test so you can see it |
So from our build test you see:
Whatever it means... |
@schaefi Thanks for your prompt response. I will try the image description you provided. I'm more than happy test s390x specific fixes or provide debug to help move the process along. This tool would be a huge help to my team, as we have to build "base" raw/qcow images relatively frequently. Right now we build these images "manually" using |
I built latest kiwi version on my dev system:
Updated xml as suggested: <type image="vmx" primary="true" format="qcow2" filesystem="ext4" bootloader="grub2_s390x_emu" kernelcmdline="TERM=linux console=ttyS0" zipl_targettype="SCSI"/> It build gets a little further but ultimately fails with:
fwiw, here is the
|
Thanks for the info. The config kiwi creates looks very similar. I suspect the problem is somewhere else. Currently trying to get access to an s390 machine. There is not much I can do without one... |
JFYI: Oregon State University offers a program that allows access to a IBM Z system for build and test of open source projects. Here is the request form. Here is a link to another open source project (dumb-init) that successfully used the OSU program to create s390x builds. I'm more than happy to perform any s390x testing as well. |
The preparation to call zipl and the call itself were wrong. For whatever reason the kernel image the initrd are moved to another location prior to calling zipl. That move broke the system because no kernel/initrd existed at the expected place anymore. In addition the zipl call itself was issued from a the wrong directory. Also no config file was written as an after effect of the refactoring in Issue #1194. This Fixes #1173 and bsc#1156694
The preparation to call zipl and the call itself were wrong. For whatever reason the kernel image the initrd are moved to another location prior to calling zipl. That move broke the system because no kernel/initrd existed at the expected place anymore. In addition the zipl call itself was issued from a the wrong directory. Also no config file was written as an after effect of the refactoring in Issue #1194. This Fixes #1173 and bsc#1156694
I installed latest version:
The build command fails with the following:
Full debug output: kiwi.build.log |
This reads more like an environment problem. Our integration tests works for the target you are aiming for: I've never seen that error message from zipl to be honest. The call in our integration tests is basically the same and succeeds there. Maybe you are running a different version of zipl on your host, since it's the host zipl that gets called Regards, |
Problem description
I am new to this space, please bear with me. I am trying to create a SLES12.5 qcow2 image for s390x architecture. I could not locate any s390 examples in kiwi-descriptions, so I am working off the s390 template from the kiwi legacy repo. I've tried a few variations of the
<type>
element with no success.Currently, I have the following in config.xml:
Running
sudo kiwi-ng --type vmx system build --description sles12sp5/ --target-dir /tmp/jmuro/kiwi/
results in:Here is complete log: image-root.log
I also tried changing bootloader to
zipl
as follows:Running
sudo kiwi-ng --type vmx system build --description sles12sp5/ --target-dir /tmp/jmuro/kiwi/
results in:I am willing to contribute my example template if I can get it working.
OS and Software information
The text was updated successfully, but these errors were encountered: