From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8D932C76196 for ; Wed, 12 Apr 2023 02:23:24 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pmQ8P-0006aW-My; Tue, 11 Apr 2023 22:22:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmQ8O-0006aK-88 for qemu-devel@nongnu.org; Tue, 11 Apr 2023 22:22:56 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pmQ8L-00060L-Qf for qemu-devel@nongnu.org; Tue, 11 Apr 2023 22:22:55 -0400 Received: by mail-pl1-x634.google.com with SMTP id q2so14770239pll.7 for ; Tue, 11 Apr 2023 19:22:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681266171; x=1683858171; h=to:subject:message-id:date:from:reply-to:mime-version:from:to:cc :subject:date:message-id:reply-to; bh=3K+9IvXB2mtIuJBZPHda5ikU2/0WyEgAuc2+hzc/yC8=; b=K+w976FVjz9rGvn/qQt7mk7bGJeSTeIi0nhmzR3i2GdHe9SmYGOmlJpqh2DPUdmNN/ l24mn5qp9McoaGYxDtbYESDts87mU8eY6mgZx9e/esPRsmtONYjv0A5k1e5iwOaou1dm /2C1iLZUKSXslfCzToagBABNpVCMe03vIZnZ4d6+pctYNH3yGs/R+/Z3h1/NGQyXhOiE 3wdLyDVTyF9IIul/UeSjnRMbRDqHmV1U17CMgacBcTdr5kPD8g8YddoNTJKGouP8yU5s k5gU58ZRCTyMDorTqLD0iHJOzDIiIHxZHrAM3IjAKKzC19cnidUO0YEFLvBZADNDMff+ VAHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681266171; x=1683858171; h=to:subject:message-id:date:from:reply-to:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3K+9IvXB2mtIuJBZPHda5ikU2/0WyEgAuc2+hzc/yC8=; b=R0kRETMiNwvfz4016UDCgkCbgUwV5UKhkC6xFQxAFqI6bXcgQAjT6WODB8PqfHU+ad 11Pzbvfn3OH9gbWs4r+9nzOTDvJzYBhVBtq30J7rC4BkidTllhVlpeXYZi7H+IhC+LRT bumVlDdM6Xkw76CiQUgJwKa1HoDWCjwcKYr8avqa7uEAGfTFKJwEKb2nrJndJqt/feEi nJHULYiLMtURvRuWUDQzn6HEZD2uXGrVzKRmTnFshE3/Ts9/xM0dDCYsmL/jmCjyUE8h oJm3fyt+Uei/r8RlznfJX8hlPLsmAEex0OvmMYsBSZGmh5XVTwGRMS+PnN0+9UAskmwd dtQQ== X-Gm-Message-State: AAQBX9dXbv+yzKcKIX2BhVG8bGC+puUahMU9xoF0Is/G0t3PlzLvQNk8 Gh8iSpYr6IaHJaAgb6GPhf4+JdLwyJ17Y4GLwE3TcQR3ZgKFaQ== X-Google-Smtp-Source: AKy350aeEmtQHZ8I2qFQeXVCdziGd+nj0uz8uv+jVvFlnRhTN1fLPVDuWeB6KnKyGr2et8vRA9spOpi7DjAK73nWfuk= X-Received: by 2002:a17:90a:c2:b0:240:c13d:1325 with SMTP id v2-20020a17090a00c200b00240c13d1325mr178685pjd.5.1681266170965; Tue, 11 Apr 2023 19:22:50 -0700 (PDT) MIME-Version: 1.0 From: Mike Stramba Date: Tue, 11 Apr 2023 22:22:39 -0400 Message-ID: Subject: How to write a zIPL section in IPL2 record on a raw disk To: qemu-devel@nongnu.org Content-Type: multipart/alternative; boundary="000000000000e4bcd205f91a48f2" Received-SPF: pass client-ip=2607:f8b0:4864:20::634; envelope-from=mikestramba@gmail.com; helo=mail-pl1-x634.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: mikestramba@gmail.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org --000000000000e4bcd205f91a48f2 Content-Type: text/plain; charset="UTF-8" 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 --000000000000e4bcd205f91a48f2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have a CKD file, created with the Hercules dasdinit prog= ram.
It's a=C2=A0 (hercules) 3350 uncompressed=C2=A0file.
=
I've put a small "hello world" IPL program on it, and it= works fine with Hercules

When I try to run it= with=C2=A0qemu-system-s390x I get :

LOADPARM=3D[ = =C2=A0 =C2=A0 =C2=A0 =C2=A0]
Using virtio-blk.
Using guessed DASD geo= metry.
Using ECKD scheme (block size =C2=A04096), CDL
No zIPL section= in IPL2 record.=C2=A0 =C2=A0<<<<<<<<<<<&l= t;<<<<<<<<<<<<<<<<<<&= lt;<<<<<<<<<<<
zIPL load failed.
Cou= ld not find a suitable boot device (none specified)
Failed to load OS fr= om hard disk

The qemu script is :
qe= mu-system-s390x -m 16 -drive format=3Draw,file=3Dtest-ipl.3350.un,if=3Dvirt= io -nographic

I found this link re:=C2=A0 the = zipl command.

Wh= ere is that command=C2=A0 =C2=A0and=C2=A0 / or its source ?

<= /div>
Mike


--000000000000e4bcd205f91a48f2--