Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #906619

Bug#903122: debian-installer-9-netboot-amd64: Please add char/virtio_console module (paravirtualized serial) to netinst

From Cyril Brulebois <kibi@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel, linux.debian.maint.boot
Subject Bug#903122: debian-installer-9-netboot-amd64: Please add char/virtio_console module (paravirtualized serial) to netinst
Date 2018-07-08 06:40 +0200
Message-ID <w99El-Dl-1@gated-at.bofh.it> (permalink)
References <w8yls-3qt-3@gated-at.bofh.it> <w8yls-3qt-3@gated-at.bofh.it>
Organization Debian

Cross-posted to 3 groups.

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Vincent,

Vincent Caron <vincent@zerodeux.net> (2018-07-06):
> Package: debian-installer-9-netboot-amd64
> Severity: wishlist
> Tags: d-i
> 
> Dear Maintainer,
> 
> while automating Debian image creations thru netinst + KVM, I stumbled
> upon a limitation from the emulated UARTs (if one sends back from the
> guest to the host large logs, it might overrun the UART buffer which
> complains with kernel messages about overused IRQ).
> 
> While turning to paravirtualized serial, I realized that the
> char/virtio_console kernel module is missing in the netinst's initrd,
> and this driver is required very early. Obviously I still use the UART
> emulation for kernel messages since it's the only _very early_ output
> medium, thus emulated UART and paravirtualized serials should be used
> together.

You mention netinst a few times, but you seem to be talking about
netboot really. netinst is an ISO image with a bunch of packages, enough
to configure everything needed to pull the rest of the system from a
network mirror; netboot is kernel+initrd for PXE boots and similar
minimalistic approaches.

> If this module makes it to netinst's initrd, one would use those kvm
> args:
> 
> -chardev file,path=virtiocon0.log,id=virtiocon0
> -device virtio-serial
> -device virtconsole,chardev=virtiocon0
> 
> ... and in the guest a /dev/hvc0 would appear. Anything the guest would
> write to /dev/hv0 would en up in the host's vitriocon0.log file.

So it seems we're talking about kernel/drivers/char/virtio_console.ko
that could be added to either the serial-modules udeb or the
virtio-modules one. Kernel maintainers, what do you think?

This might be worth backporting to stretch too. I can send patches when
you've selected the udeb we should be adding this module to.


Cheers,
-- 
Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#903122: debian-installer-9-netboot-amd64: Please add char/virtio_console module (paravirtualized serial) to netinst Vincent Caron <vincent@zerodeux.net> - 2018-07-06 14:50 +0200
  Bug#903122: debian-installer-9-netboot-amd64: Please add char/virtio_console module (paravirtualized serial) to netinst Cyril Brulebois <kibi@debian.org> - 2018-07-08 06:40 +0200
    Bug#903122: debian-installer-9-netboot-amd64: Please add char/virtio_console module (paravirtualized serial) to netinst Ben Hutchings <ben@decadent.org.uk> - 2018-07-09 21:00 +0200
      Bug#903122: debian-installer-9-netboot-amd64: Please add char/virtio_console module (paravirtualized serial) to netinst Cyril Brulebois <kibi@debian.org> - 2018-07-10 02:40 +0200
        Bug#903122: debian-installer-9-netboot-amd64: Please add char/virtio_console module (paravirtualized serial) to netinst Ben Hutchings <ben@decadent.org.uk> - 2018-07-10 05:30 +0200

csiph-web