summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/boot/1921468
blob: a7dad8fbc3d8f21bbff4665dace7bcb5aec86e7e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[UBUNTU 20.04] KVM guest fails to find zipl boot menu index

---Problem Description---
A KVM guest fails to find the zipl boot menu index if the "zIPL" magic value is listed at the end of a disk block. 
 
---System Hang---
System sits in disabled wait, last console display
LOADPARM=[        ]
Using virtio-blk.
Using ECKD scheme (block size  4096), CDL
VOLSER=[0X0067]
 
 
---Steps to Reproduce---
1. Install Distro KVM guest from ISO on a DASD, e.g. using virt-install, my invocation was 
$ virt-install --name secguest2 --memory 2048 --disk path=/dev/disk/by-path/ccw-0.0.af6a --cdrom /var/lib/libvirt/images/xxxxxx.iso

2. Select DHCP networking and ASCII console, and accept all defaults of the installer

3. Let the installer reboot after the installation completes

It is possible to recover by editing the domain XML with an explicit loadparm to select a boot menu entry. E.g. I changed the disk definition to
   <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='native'/>
      <source dev='/dev/disk/by-path/ccw-0.0.af6a'/>
      <target dev='vda' bus='virtio'/>
      <boot order='1' loadparm='1'/>
      <address type='ccw' cssid='0xfe' ssid='0x0' devno='0xaf6a'/>
    </disk>

The patches are now upstream:
5f97ba0c74cc ("pc-bios/s390-ccw: fix off-by-one error")
468184ec9024 ("pc-bios/s390-ccw: break loop if a null block number is reached")

Current versions of qemu within Ubuntu

focal (20.04LTS) 1:4.2-3ubuntu6 [ports]: arm64 armhf ppc64el s390x
focal-updates (metapackages): 1:4.2-3ubuntu6.14: amd64 arm64 armhf ppc64el s390x

groovy (20.10) (metapackages): 1:5.0-5ubuntu9 [ports]: arm64 armhf ppc64el s390x
groovy-updates (metapackages): 1:5.0-5ubuntu9.6: amd64 arm64 armhf ppc64el s390x

hirsute (metapackages): 1:5.2+dfsg-9ubuntu1: amd64 arm64 armhf ppc64el s390x 


git-commits will apply seamlessley for the requested levels if not already integrated