qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Mike Stramba <mikestramba@gmail.com>
To: qemu-devel@nongnu.org
Subject: How to write a zIPL section in IPL2 record on a raw disk
Date: Tue, 11 Apr 2023 22:22:39 -0400	[thread overview]
Message-ID: <CAA5vqSbgTTeF-tiUtK7pCYkyQXJEV3WuZuXEK=4GjigPLf=X7A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 812 bytes --]

I have a CKD file, created with the Hercules dasdinit program.
It's a  (hercules) 3350 uncompressed file.
I've put a small "hello world" IPL program on it, and it works fine with
Hercules

When I try to run it with qemu-system-s390x I get :

LOADPARM=[        ]
Using virtio-blk.
Using guessed DASD geometry.
Using ECKD scheme (block size  4096), CDL
No zIPL section in IPL2 record.   <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
zIPL load failed.
Could not find a suitable boot device (none specified)
Failed to load OS from hard disk

The qemu script is :
qemu-system-s390x -m 16 -drive format=raw,file=test-ipl.3350.un,if=virtio
-nographic

I found this link re:  the zipl command.
https://www.ibm.com/docs/en/linux-on-systems?topic=u-modes-syntax-overview

Where is that command   and  / or its source ?

Mike

[-- Attachment #2: Type: text/html, Size: 1336 bytes --]

             reply	other threads:[~2023-04-12  2:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-12  2:22 Mike Stramba [this message]
2023-04-12  7:04 ` How to write a zIPL section in IPL2 record on a raw disk Thomas Huth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA5vqSbgTTeF-tiUtK7pCYkyQXJEV3WuZuXEK=4GjigPLf=X7A@mail.gmail.com' \
    --to=mikestramba@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).