FYI - I just checked that you can still load the "old style" PXE blob
that you have built.

ubuntu@s1lp5:~$ virsh start --console netboot
Domain netboot started
Connected to domain netboot
Escape character is ^]
done
  Using IPv4 address: 192.168.122.222
  Using TFTP server: 192.168.122.1
  Bootfile name: 'pxelinux.0'
  Receiving data:  5882 KBytes
  TFTP: Received pxelinux.0 (5882 KBytes)
Network loading done, starting kernel...

Uncompressing Linux... Ok, booting the kernel.
                                              [    0.374768] Linux version 
4.13.0-16-generic (buildd@z13-010) (gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu2)) 
#19-Ubuntu SMP Wed Oct 11 18:33:05 UTC 2017 (Ubuntu 4.13.0-16.19-generic 4.13.4)
[    0.374773] setup.289988: Linux is running under KVM in 64-bit mode
[    0.376495] setup.b050d0: The maximum memory size is 2048MB
[    0.376536] numa.196305: NUMA mode: plain
[    0.376608] cpu.33a262: 1 configured CPUs, 0 standby CPUs
[    0.376703] Write protected kernel read-only data: 11440k
[    0.394514] Zone ranges:
[    0.394516]   DMA      [mem 0x0000000000000000-0x000000007fffffff]
[    0.394517]   Normal   empty
[    0.394518] Movable zone start for each node
[    0.394519] Early memory node ranges
[    0.394519]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.394521] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.398963] random: fast init done
[    0.398994] percpu: Embedded 24 pages/cpu @000000007ff9d000 s60416 r8192 
d29696 u98304
[    0.399007] Built 1 zonelists in Node order, mobility grouping on.  Total 
pages: 516096
[    0.399008] Policy zone: DMA
[    0.399009] Kernel command line: root=/dev/ram0 ro
[    0.400269] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.462530] Memory: 2047492K/2097152K available (7692K kernel code, 1054K 
rwdata, 3744K rodata, 692K init, 784K bss, 49660K reserved, 0K cma-reserved)
[    0.462609] SLUB: HWalign=256, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.462611] ftrace: allocating 25487 entries in 100 pages
[    0.471683] Hierarchical RCU implementation.
[    0.471683]  RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.471684]  Tasks RCU enabled.
[    0.471685] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.473366] NR_IRQS: 3, nr_irqs: 3, preallocated irqs: 3
[    0.473397] clocksource: tod: mask: 0xffffffffffffffff max_cycles: 
0x3b0a9be803b0a9, max_idle_ns: 1805497147909793 ns
[    0.473477] console [ttyS1] enabled
[    0.473538] pid_max: default: 32768 minimum: 301
[    0.473562] Security Framework initialized
[    0.473563] Yama: becoming mindful.
[    0.473582] AppArmor: AppArmor initialized
[    0.474702] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.475255] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.475275] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.475293] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.475584] Hierarchical SRCU implementation.
[    0.475823] smp: Bringing up secondary CPUs ...
[    0.475824] smp: Brought up 1 node, 1 CPU
[    0.476080] devtmpfs: initialized
[    0.476173] evm: security.selinux
[    0.476174] evm: security.SMACK64
[    0.476175] evm: security.SMACK64EXEC
[    0.476175] evm: security.SMACK64TRANSMUTE
[    0.476176] evm: security.SMACK64MMAP
[    0.476176] evm: security.ima
[    0.476177] evm: security.capability
[    0.476209] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, 
max_idle_ns: 19112604462750000 ns
[    0.476215] futex hash table entries: 512 (order: 5, 131072 bytes)
[    0.476377] NET: Registered protocol family 16
[    0.476990] HugeTLB registered 1.00 MiB page size, pre-allocated 0 pages
[    0.477162] SCSI subsystem initialized
[    0.477306] NetLabel: Initializing
[    0.477307] NetLabel:  domain hash size = 128
[    0.477307] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.477315] NetLabel:  unlabeled traffic allowed by default
[    0.490667] VFS: Disk quotas dquot_6.6.0
[    0.490676] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.490759] AppArmor: AppArmor Filesystem Enabled
[    0.490852] NET: Registered protocol family 2
[    0.490962] TCP established hash table entries: 16384 (order: 5, 131072 
bytes)
[    0.491048] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.491188] TCP: Hash tables configured (established 16384 bind 16384)
[    0.491283] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.491305] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.491343] NET: Registered protocol family 1
[    0.491387] Unpacking initramfs...
[    0.516270] Freeing initrd memory: 1892K
[    0.516437] kvm-s390: SIE not available
[    0.516448] hypfs.7f5705: The hardware system does not support hypfs
[    0.516457] hypfs.7a79f0: Initialization of hypfs failed with rc=-61
[    0.516536] audit: initializing netlink subsys (disabled)
[    0.516607] Initialise system trusted keyrings
[    0.516612] Key type blacklist registered
[    0.516630] audit: type=2000 audit(1539875303.013:1): state=initialized 
audit_enabled=0 res=1
[    0.516634] workingset: timestamp_bits=42 max_order=19 bucket_order=0
[    0.517334] zbud: loaded
[    0.517583] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.517643] fuse init (API version 7.26)
[    0.518236] Key type asymmetric registered
[    0.518237] Asymmetric key parser 'x509' registered
[    0.518250] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
250)
[    0.518257] io scheduler noop registered
[    0.518258] io scheduler deadline registered
[    0.518271] io scheduler cfq registered (default)
[    0.518321] hvc_iucv.691dff: The z/VM IUCV HVC device driver cannot be used 
without z/VM
[    0.519193] loop: module loaded
[    0.519210] tun: Universal TUN/TAP device driver, 1.6
[    0.519239] device-mapper: uevent: version 1.0.3
[    0.519264] device-mapper: ioctl: 4.36.0-ioctl (2017-06-09) initialised: 
[email protected]
[    0.519278] cio.b5d5f6: Channel measurement facility initialized using 
format extended (mode autodetected)
[    0.519349] ap.3677f7: The hardware system does not support AP instructions
[    0.519433] NET: Registered protocol family 10
[    0.522757] Segment Routing with IPv6
[    0.522771] NET: Registered protocol family 17
[    0.522774] Key type dns_resolver registered
[    0.522828] registered taskstats version 1
[    0.522830] Loading compiled-in X.509 certificates
[    0.524683] Loaded X.509 cert 'Build time autogenerated kernel key: 
28bfe8d09be119f0c137070c5c6df534b671005f'
[    0.524689] zswap: loaded using pool lzo/zbud
[    0.525671] Key type big_key registered
[    0.525673] Key type trusted registered
[    0.526515] Key type encrypted registered
[    0.526516] AppArmor: AppArmor sha1 policy hashing enabled
[    0.526519] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[    0.526528] evm: HMAC attrs: 0x1
[    0.526728] Freeing unused kernel memory: 692K
[    0.526734] Write protected read-only-after-init data: 52k
waiting for pxe config from DHCP (max 600 sec)
udhcpc: started, v1.27.1
DHCP response deconfig: 
 interface: eth0
udhcpc: sending discover
udhcpc: sending select for 192.168.122.222
udhcpc: lease of 192.168.122.222 obtained, lease time 3600
DHCP response bound: 
 interface: eth0 192.168.122.222 255.255.255.0
 router: 192.168.122.1
 domain:  192.168.122.1
 tftp: 192.168.122.1
fetching config pxelinux.cfg/e2aee7f3-cc42-43e9-823f-c1973040984b from 
192.168.122.1
tftp: server error: (1) file 
/srv/tftp/pxelinux.cfg/e2aee7f3-cc42-43e9-823f-c1973040984b not found
fetching config pxelinux.cfg/01-52-54-00-1e-b5-2a from 192.168.122.1
tftp: server error: (1) file /srv/tftp/pxelinux.cfg/01-52-54-00-1e-b5-2a not 
found
fetching config pxelinux.cfg/C0A87ADE from 192.168.122.1
tftp: server error: (1) file /srv/tftp/pxelinux.cfg/C0A87ADE not found
fetching config pxelinux.cfg/C0A87AD from 192.168.122.1
tftp: server error: (1) file /srv/tftp/pxelinux.cfg/C0A87AD not found
fetching config pxelinux.cfg/C0A87A from 192.168.122.1
tftp: server error: (1) file /srv/tftp/pxelinux.cfg/C0A87A not found
fetching config pxelinux.cfg/C0A87 from 192.168.122.1
tftp: server error: (1) file /srv/tftp/pxelinux.cfg/C0A87 not found
fetching config pxelinux.cfg/C0A8 from 192.168.122.1
tftp: server error: (1) file /srv/tftp/pxelinux.cfg/C0A8 not found
fetching config pxelinux.cfg/C0A from 192.168.122.1
tftp: server error: (1) file /srv/tftp/pxelinux.cfg/C0A not found
fetching config pxelinux.cfg/C0 from 192.168.122.1
tftp: server error: (1) file /srv/tftp/pxelinux.cfg/C0 not found
fetching config pxelinux.cfg/C from 192.168.122.1
tftp: server error: (1) file /srv/tftp/pxelinux.cfg/C not found
fetching config pxelinux.cfg/default from 192.168.122.1
pxelinux.cfg/default 100% |*******************************|   113   0:00:00 ETA
fetch kernel vmlinuz-4.15.0-33-generic from 192.168.122.1
vmlinuz-4.15.0-33-ge 100% |*******************************|  4292k  0:00:00 ETA
fetch initrd initrd.img-4.15.0-33-generic from 192.168.122.1
[    1.979919] random: crng init done
initrd.img-4.15.0-33 100% |*******************************| 16763k  0:00:00 ETA
Kexec load: kexec -l /tmp/kernel --initrd=/tmp/initrd --append="root=/dev/vda1"
[    0.422512] Linux version 4.15.0-33-generic (buildd@bos02-s390x-010) (gcc 
version 7.3.0 (Ubuntu 7.3.0-16ubuntu3)) #36-Ubuntu SMP Wed Aug 15 13:42:17 UTC 
2018 (Ubuntu 4.15.0-33.36-generic 4.15.18)


This is the old blob I used.
It could not do all the new code can, but that means we didn't break the old 
ABI.

In the old part the PXE logic was baked into that blob.
The new style can be seen below where (if not given a blob or it fails to load) 
the rom will follow the PXE/Syslinx spec and use a config if it finds one.

ubuntu@s1lp5:~$ virsh start --console netboot
Domain netboot started
Connected to domain netboot
Escape character is ^]
done
  Using IPv4 address: 192.168.122.222
  Using TFTP server: 192.168.122.1
  Bootfile name: 'pxelinux.0'
  Receiving data:  0 KBytes
  TFTP error: file not found: pxelinux.0
Trying pxelinux.cfg files...
  Receiving data:  0 KBytes
  TFTP: Received pxelinux.cfg/default (113 bytes)
Loading pxelinux.cfg entry 'ubuntu'
  Receiving data:  4292 KBytes
  TFTP: Received vmlinuz-4.15.0-33-generic (4292 KBytes)
  Receiving data:  16763 KBytes
  TFTP: Received initrd.img-4.15.0-33-generic (16763 KBytes)
Network loading done, starting kernel...

[    0.427124] Linux version 4.15.0-33-generic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1790901

Title:
  How to use s390x pxelinux style network booting from qemu 3.0 in
  bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1790901/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to