root
2019-Jan-19 08:32 UTC
[Pkg-xen-devel] Bug#919758: xen-hypervisor-4.8-amd64: Wrong examples provided in GRUB config file
Package: src:xen Version: 4.8.5+shim4.10.2+xsa282-1+deb9u11 Severity: minor Dear Maintainer, the GRUB configuration file /etc/defaults/grub.d/xen.cfg contains incorrect examples: 1. Bad syntax for dom0 memory allocation settings: https://xenbits.xen.org/docs/unstable/misc/xen-command-line.html#list Bad syntax (max value is ignored this way): dom0_mem=<size>[M]:max=<size>[M] Correct syntax: dom0_mem=<size>[M],max:<size>[M] 2. Bad syntax for earlyprintk usage: https://github.com/torvalds/linux/blob/master/Documentation/admin-guide/kernel-parameters.txt Bad syntax: earlyprintk=xenboot Correct syntax: earlyprintk=xen Please correct the examples to avoid confusion for users new to Xen (like myself). Thanks, Gergely -- System Information: Debian Release: 9.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-8-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=UTF-8 (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory ANSI_X3.4-1968), LANGUAGE=en_US:en (charmap=locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) xen-hypervisor-4.8-amd64 depends on no packages. Versions of packages xen-hypervisor-4.8-amd64 recommends: ii xen-utils-4.8 4.8.5+shim4.10.2+xsa282-1+deb9u11 xen-hypervisor-4.8-amd64 suggests no packages. -- Configuration Files: /etc/default/grub.d/xen.cfg changed: XEN_OVERRIDE_GRUB_DEFAULT=1 echo "Including Xen overrides from /etc/default/grub.d/xen.cfg" GRUB_CMDLINE_XEN="dom0_mem=2048M,max:2048M dom0_max_vcpus=1 dom0_vcpus_pin console=vga" GRUB_CMDLINE_LINUX_XEN_REPLACE="$GRUB_CMDLINE_LINUX earlyprintk=xen console=hvc0" if [ "$XEN_OVERRIDE_GRUB_DEFAULT" = "" ]; then echo "WARNING: GRUB_DEFAULT changed to boot into Xen by default!" echo " Edit /etc/default/grub.d/xen.cfg to avoid this warning." XEN_OVERRIDE_GRUB_DEFAULT=1 fi if [ "$XEN_OVERRIDE_GRUB_DEFAULT" = "1" ]; then GRUB_DEFAULT="Debian GNU/Linux, with Xen hypervisor" fi
Hans van Kranenburg
2019-Jan-19 23:51 UTC
[Pkg-xen-devel] Bug#919758: Bug#919758: xen-hypervisor-4.8-amd64: Wrong examples provided in GRUB config file
Hi Gergely, On 1/19/19 9:32 AM, root wrote:> Package: src:xen > Version: 4.8.5+shim4.10.2+xsa282-1+deb9u11 > Severity: minor > > Dear Maintainer, > > the GRUB configuration file /etc/defaults/grub.d/xen.cfg contains incorrect examples: > > 1. Bad syntax for dom0 memory allocation settings: > > https://xenbits.xen.org/docs/unstable/misc/xen-command-line.html#list > > Bad syntax (max value is ignored this way): dom0_mem=<size>[M]:max=<size>[M] > Correct syntax: dom0_mem=<size>[M],max:<size>[M] > > 2. Bad syntax for earlyprintk usage: > > https://github.com/torvalds/linux/blob/master/Documentation/admin-guide/kernel-parameters.txt > > Bad syntax: earlyprintk=xenboot > Correct syntax: earlyprintk=xen > > Please correct the examples to avoid confusion for users new to Xen (like myself). > > [...]Thanks for the report. You are completely right. I took some time today to update the examples in this file a bit. Here's the result: https://salsa.debian.org/xen-team/debian-xen/commit/d461dc6fbe180c564de4f514a4fe7266f02a8fea Hans
Debian Bug Tracking System
2019-Feb-22 16:39 UTC
[Pkg-xen-devel] Bug#919758: marked as done (xen-hypervisor-4.8-amd64: Wrong examples provided in GRUB config file)
Your message dated Fri, 22 Feb 2019 16:37:31 +0000 with message-id <E1gxDpL-000AIy-PK at fasolo.debian.org> and subject line Bug#919758: fixed in xen 4.11.1+26-g87f51bf366-2 has caused the Debian Bug report #919758, regarding xen-hypervisor-4.8-amd64: Wrong examples provided in GRUB config file to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 919758: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919758 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: root <mail.gery at gmail.com> Subject: xen-hypervisor-4.8-amd64: Wrong examples provided in GRUB config file Date: Sat, 19 Jan 2019 09:32:05 +0100 Size: 5819 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20190222/31912105/attachment-0002.mht> -------------- next part -------------- An embedded message was scrubbed... From: Ian Jackson <ijackson at chiark.greenend.org.uk> Subject: Bug#919758: fixed in xen 4.11.1+26-g87f51bf366-2 Date: Fri, 22 Feb 2019 16:37:31 +0000 Size: 19112 URL: <http://alioth-lists.debian.net/pipermail/pkg-xen-devel/attachments/20190222/31912105/attachment-0003.mht>