[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bester installation image missing virtio net Modulen



On 26/04/2021 09:21, Philipp Kern wrote:
On 2021-04-26 08:35, Benjamin Zimmermann wrote:
About a year ago, Viktor Mihajovski pointed out, that the virtio net modules (and deoendencies) are missing, this is still the case.

For an installation to work via virt-install, you have to manually add failover.ko, net_failover.ko and virtio_net.ko (debian-10.9.0-s390x-netinst.iso) and set the right console (ttysclp0).

How do you do the latter? console=ttysclp0? But presumably that's not valid everywhere. Are you seeing the steal_ctty failure otherwise? In what environment?

Yes.

$ sudo virt-install [...] --extra-args 'console=ttysclp0 [...]

I do see the 'steal_ctty failure' otherwise.

Environment is a z14 LPAR with Fedora 33:

$ virt-install --version

3.2.0

$ qemu-system-s390x --version

QEMU emulator version 5.1.0 (qemu-5.1.0-9.fc33)

Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers

$ uname -a

Linux zl01s001 5.10.19-200.fc33.s390x #1 SMP Fri Feb 26 16:05:49 UTC 2021 s390x s390x s390x GNU/Linux


These seem like really easy additions to make things work again (adding them to the image).

I already did that for the next release (https://salsa.debian.org/kernel-team/linux/-/merge_requests/262). Feel free to propose something similar for stable.

I'll put my workaround on of those wellknown portals during the day, for anyone who is interested.

Given that ~no-one works on Debian s390x, people will need to step up and fix things in Debian.

Kind regards and thanks
Philipp Kern

For the sake of completeness, her my (little bit censored) working command line:

$ sudo virt-install --name foobar --ram 1536 --vcpus 2 --disk /dev/disk/by-path/ccw-0.0.XXXX --network network=some-intranet,portgroup=vlan-XXX --location /mnt/tmp/debian-10.9.0-s390x-netinst.iso --initrd-inject /mnt/tmp/debian-virtio-net-4.19.0-16-raw.tar.gz --extra-args 'console=ttysclp0 preseed/early_command="gunzip -c debian-virtio-net-4.19.0-16-raw.tar.gz | tar -x; insmod failover.ko; insmod net_failover.ko; insmod virtio_net.ko"'

With that, it is an installation as usual and works like a charm.


Best,

Ben.


Reply to: