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


Groups > linux.debian.kernel > #81666

Bug#1061445: linux-image-6.7-cloud-amd64: Built CONFIG_VIRTIO_BLK into kernel

From Paul Menzel <pmenzel@molgen.mpg.de>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1061445: linux-image-6.7-cloud-amd64: Built CONFIG_VIRTIO_BLK into kernel
Date 2024-01-26 14:00 +0100
Message-ID <I0tYl-5Hu8-3@gated-at.bofh.it> (permalink)
References <HZPex-5iK8-1@gated-at.bofh.it> <HZRJn-5kko-5@gated-at.bofh.it> <HZPex-5iK8-1@gated-at.bofh.it> <HZRJn-5kko-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Dear Bastian,


Thank you for your reply.

Am 24.01.24 um 21:01 schrieb Bastian Blank:
> Control: tags -1 wontfix
> 
> On Wed, Jan 24, 2024 at 06:13:05PM +0100, Paul Menzel wrote:
>> Trying to quickly start a VM, it’d be great to not use an initrd image, and
>> also use the Virtio features, for example with the command below:
> 
> Please use virtiofs in this case.
> 
>>      qemu-system-x86_64 -M q35 -m 32G -enable-kvm -cpu host -smp cpus=32 -device virtio-rng-pci -net nic,model=virtio-net-pci -net user,hostfwd=tcp::22225-:22 -drive if=virtio,file=/scratch/local2/debian-linux-build.img -vga none -nographic
> 
> But you don't specify a kernel, so it boots fine using the initramfs
> within.  So this already boots quite fine.

Yes, it boots fine, but slow.

> I don't see what exactly you mean will be easier.

With

     @@ -2113,7 +2115,7 @@
      CONFIG_ATA_OVER_ETH=m
      CONFIG_XEN_BLKDEV_FRONTEND=m
      CONFIG_XEN_BLKDEV_BACKEND=m
     -CONFIG_VIRTIO_BLK=m
     +CONFIG_VIRTIO_BLK=y
      CONFIG_BLK_DEV_RBD=m
      CONFIG_BLK_DEV_UBLK=m
      CONFIG_BLKDEV_UBLK_LEGACY_OPCODES=y

and

     $ grep UUID /etc/default/grub
     # Uncomment if you don't want GRUB to pass "root=UUID=xxx" 
parameter to Linux
     GRUB_DISABLE_LINUX_UUID=true

I am now able to boot the VM image without an initrd, editing 
`/boot/grub/grub.cfg`, which saves a little time, as the initrd does not 
need to be loaded by GRUB and later dealt with (unpack/run) by the Linux 
kernel.


Kind regards,

Paul


PS: I know, there are more things to speed up the boot time, but this 
change is quite easy.

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1061445: linux-image-6.7-cloud-amd64: Built CONFIG_VIRTIO_BLK into kernel Paul Menzel <pmenzel@molgen.mpg.de> - 2024-01-24 18:30 +0100
  Processed: Re: Bug#1061445: linux-image-6.7-cloud-amd64: Built  CONFIG_VIRTIO_BLK into kernel "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-01-24 21:10 +0100
  Bug#1061445: linux-image-6.7-cloud-amd64: Built CONFIG_VIRTIO_BLK into kernel Bastian Blank <waldi@debian.org> - 2024-01-24 21:10 +0100
    Bug#1061445: linux-image-6.7-cloud-amd64: Built CONFIG_VIRTIO_BLK into kernel Paul Menzel <pmenzel@molgen.mpg.de> - 2024-01-26 14:00 +0100
  Bug#1061445: linux-image-6.7-cloud-amd64: Built CONFIG_VIRTIO_BLK into kernel Paul Menzel <pmenzel@molgen.mpg.de> - 2024-04-06 09:50 +0200
    Bug#1061445: linux-image-6.7-cloud-amd64: Built CONFIG_VIRTIO_BLK into kernel Paul Menzel <pmenzel@molgen.mpg.de> - 2024-04-06 09:52 +0200
    Bug#1061445: linux-image-6.7-cloud-amd64: Built CONFIG_VIRTIO_BLK into kernel Noah Meyerhans <noahm@debian.org> - 2024-04-18 02:10 +0200
  Bug#1061445: marked as done (linux-image-6.7-cloud-amd64: Built  CONFIG_VIRTIO_BLK into kernel) "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-04-06 09:51 +0200

csiph-web