[Bug 1997247] Re: Got Segmentation fault when enable zipl -V on the guest.
liwbj@cn.ibm.com
1997247 at bugs.launchpad.net
Tue Nov 22 11:39:33 UTC 2022
Yeah, updated to 2.20.0-0ubuntu3.2. It works fine now.
Thank you very much, Frank.
add-apt-repository deb
https://ppa.launchpadcontent.net/fheimes/lp1974109+lp1959987+lp1990520+lp1990524+lp1996069+lp1996477/ubuntu
jammy main
root at a257ubtu20seon04:/etc# apt upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
.....
Preparing to unpack .../s390-tools_2.20.0-0ubuntu3.2_s390x.deb ...
Unpacking s390-tools (2.20.0-0ubuntu3.2) over (2.20.0-0ubuntu3.1) ...
Preparing to unpack .../s390-tools-signed_2.20.0-0ubuntu3.2_s390x.deb ...
Unpacking s390-tools-signed (2.20.0-0ubuntu3.2) over (2.20.0-0ubuntu3.1) ...
Setting up s390-tools-signed (2.20.0-0ubuntu3.2) ...
Setting up s390-tools (2.20.0-0ubuntu3.2) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for initramfs-tools (0.140ubuntu13) ...
update-initramfs: Generating /boot/initrd.img-5.15.0-53-generic
Using config file '/etc/zipl.conf'
Building bootmap in '/boot'
root at a257ubtu20seon04:~# zipl -V
Looking for components in '/lib/s390-tools'
Using config file '/etc/zipl.conf'
Target device information
Device..........................: fc:00
Partition.......................: fc:01
Device name.....................: vda
Device driver name..............: virtblk
Type............................: disk partition
Disk layout.....................: SCSI disk layout
Geometry - start................: 2048
File system block size..........: 4096
Physical block size.............: 512
Device size in physical blocks..: 41938944
Building bootmap in '/boot'
Building menu 'menu'
Adding #1: IPL section 'ubuntu'
initial ramdisk...: /boot/initrd.img
kernel image......: /boot/vmlinuz
kernel parmline...: 'root=/dev/disk/by-path/ccw-0.0.0000-part1'
component address:
heap area.......: 0x00002000-0x00005fff
stack area......: 0x0000f000-0x0000ffff
internal loader.: 0x0000a000-0x0000dfff
parameters......: 0x00009000-0x000091ff
kernel image....: 0x00010000-0x007c4fff
parmline........: 0x007c6000-0x007c61ff
initial ramdisk.: 0x007e0000-0x02147fff
environment blk.: 0x007d6000-0x007d6fff
Adding #3: IPL section 'secure' (default)
kernel image......: /boot/secure-linux
component address:
heap area.......: 0x00002000-0x00005fff
stack area......: 0x0000f000-0x0000ffff
internal loader.: 0x0000a000-0x0000dfff
parameters......: 0x00009000-0x000091ff
kernel image....: 0x00010000-0x02145fff
environment blk.: 0x02156000-0x02156fff
Environment block content:
Preparing boot device: vda (0000).
Detected SCSI PCBIOS disk layout.
Writing SCSI master boot record.
Syncing disks...
Done.
root at a257ubtu20seon04:~#
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to s390-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1997247
Title:
Got Segmentation fault when enable zipl -V on the guest.
Status in Ubuntu on IBM z Systems:
New
Status in s390-tools package in Ubuntu:
New
Bug description:
I am test ubuntu secure execution on Ubuntu22.04 s390x on DPM mode.
Host secure execution enablement is OK.
root at a257seubut:/home/ubuntu# cat /proc/cmdline
root=/dev/disk/by-id/dm-uuid-part1-mpath-20017380030bb1668 prot_virt=1
root at a257seubut:/home/ubuntu# dmesg | grep ultravisor
[ 0.119067] prot_virt: Reserving 130MB as ultravisor base storage
root at a257seubut:/home/ubuntu#
And I have create some Ubuntu guest on it.
But when I enable guest execution, I got this Segmentation fault error.
ubuntu at a257ubtu20seon04:~$ cat parmfile
root=/dev/disk/by-path/ccw-0.0.0000-part1 swiotlb=262144
ubuntu at a257ubtu20seon04:~$ cat /etc/zipl.conf
[defaultboot]
defaultmenu = menu
:menu
target = /boot
1 = ubuntu
3 = secure
default = 3
prompt = 1
timeout = 10
[secure]
target = /boot
image = /boot/secure-linux
[ubuntu]
target = /boot
image = /boot/vmlinuz
ramdisk = /boot/initrd.img
parameters = root=/dev/disk/by-path/ccw-0.0.0000-part1
ubuntu at a257ubtu20seon04:~$ sudo genprotimg -i /boot/vmlinuz -r /boot/initrd.img -p parmfile -k HKD-3932-02860A8.crt --no-verify -o /boot/secure-linux -V
WARNING: host-key document verification is disabled. Your workload is not secured.
kernel: 0x000000015000 ( 8085504 / 8081976 Bytes)
parmline: 0x0000007cb000 ( 4096 / 57 Bytes)
ramdisk: 0x0000007cc000 ( 26640384 / 26639555 Bytes)
stage3b: 0x000002134000 ( 8192 / 5716 Bytes)
stage3a: 0x000000010000 ( 20480 / 20480 Bytes)
ubuntu at a257ubtu20seon04:~$ sudo zipl -V
Looking for components in '/lib/s390-tools'
Using config file '/etc/zipl.conf'
[ 1326.923001] User process fault: interruption code 0010 ilc:3 in zipl[1000000+26000]
[ 1326.923012] Failing address: 0000000000000000 TEID: 0000000000000800
[ 1326.923014] Fault in primary space mode while using user ASCE.
[ 1326.923017] AS:0000000085de01c7 R3:0000000085260007 S:0000000000000020
Segmentation fault
ubuntu at a257ubtu20seon04:~$
ubuntu at a257seubut:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
ubuntu at a257seubut:~$
Could you help to take a look for this? If you need more info, please
let me know.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1997247/+subscriptions
More information about the foundations-bugs
mailing list