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


Groups > linux.debian.kernel > #59864 > unrolled thread

Bug#886491: linux-image-4.9.0-5-amd64: Does not boot as Xen guest in HVM mode

Started byjgfrm <frm@gordijn.org>
First post2018-01-06 19:30 +0100
Last post2018-01-07 20:50 +0100
Articles 7 — 4 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#886491: linux-image-4.9.0-5-amd64: Does not boot as Xen guest in HVM mode jgfrm <frm@gordijn.org> - 2018-01-06 19:30 +0100
    Bug#886491: linux-image-4.9.0-5-amd64: Does not boot as Xen guest in HVM mode Hans van Kranenburg <hans@knorrie.org> - 2018-01-07 00:10 +0100
    Bug#886491: linux-image-4.9.0-5-amd64: Does not boot as Xen guest in HVM mode Hans van Kranenburg <hans@knorrie.org> - 2018-01-07 00:40 +0100
      Bug#886491: linux-image-4.9.0-5-amd64: Does not boot as Xen guest in HVM mode "frm" <frm@gordijn.org> - 2018-01-07 01:00 +0100
    Bug#886491: linux-image-4.9.0-5-amd64: Does not boot as Xen guest in HVM mode Michael Stone <mstone@debian.org> - 2018-01-07 18:50 +0100
      Bug#886491: linux-image-4.9.0-5-amd64: Does not boot as Xen guest in HVM mode Hans van Kranenburg <hans@knorrie.org> - 2018-01-07 20:00 +0100
        Bug#886491: linux-image-4.9.0-5-amd64: Does not boot as Xen guest in PVH mode Michael Stone <mstone@debian.org> - 2018-01-07 20:50 +0100

#59864 — Bug#886491: linux-image-4.9.0-5-amd64: Does not boot as Xen guest in HVM mode

Fromjgfrm <frm@gordijn.org>
Date2018-01-06 19:30 +0100
SubjectBug#886491: linux-image-4.9.0-5-amd64: Does not boot as Xen guest in HVM mode
Message-ID<v51oe-4T6-9@gated-at.bofh.it>
Package: linux-image-4.9.0-5-amd64
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
Upgrade of linux-image-4.9.0-3-amd64 to linux-image-4.9.0-5-amd64

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Disable hvm guest boot in hypervisor

   * What was the outcome of this action?
Guest boots in pv mode
   * What outcome did you expect instead?
Use hvm mode in guest config file, such that guest boots in hvm mode

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 8.10
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

[toc] | [next] | [standalone]


#59873

FromHans van Kranenburg <hans@knorrie.org>
Date2018-01-07 00:10 +0100
Message-ID<v55Lb-7PJ-5@gated-at.bofh.it>
In reply to#59864
Hi jgfrm,

On 01/06/2018 06:41 PM, jgfrm wrote:
> Package: linux-image-4.9.0-5-amd64
> Severity: important
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where appropriate ***
> 
>    * What led up to the situation?
> Upgrade of linux-image-4.9.0-3-amd64 to linux-image-4.9.0-5-amd64
> 
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
> Disable hvm guest boot in hypervisor
> 
>    * What was the outcome of this action?
> Guest boots in pv mode
>    * What outcome did you expect instead?
> Use hvm mode in guest config file, such that guest boots in hvm mode
> 
> *** End of the template - remove these template lines ***
> 
> 
> -- System Information:
> Debian Release: 8.10
>   APT prefers oldstable
>   APT policy: (500, 'oldstable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 

The first step here is to collect more information. Things that are or
are not working with Xen setups can be difficult to track down, since it
can be related to any combination of anything like hardware, hypervisor,
dom0, domU etc...

From your description I guess that changing domU from
linux-image-4.9.0-3-amd64 to linux-image-4.9.0-5-amd64 while all other
things remain the same caused the issue. Is that right?

----

I see you're using Debian Release: 8.10, which might imply Xen 4.4 and
the jessie kernel for the dom0.

As seen from the dom0, can you please reply with `uname -a`, `xen info`
and `lspci -v` output.

Since the domU is running linux-image-4.9.0-5-amd64 that can only mean
it's the kernel update just done, which is version 4.9.65-3+deb9u2

When reporting kernel versions, note that the package name and the
actual version can be different. So please always include the real
package version, like 4.9.65-3 or whatever in case of
linux-image-4.9.0-4-amd64.

Anything you could do yourself to narrow down the issue would help.

With enough information, someone else might be able to reproduce the
same situation and confirm the issue.

Hans van Kranenburg

[toc] | [prev] | [next] | [standalone]


#59874

FromHans van Kranenburg <hans@knorrie.org>
Date2018-01-07 00:40 +0100
Message-ID<v56ee-81l-7@gated-at.bofh.it>
In reply to#59864
Hi,

Please reply-all and not only to me.

On 01/07/2018 12:07 AM, frm wrote:
>> The first step here is to collect more information. Things that are or are not
>> working with Xen setups can be difficult to track down, since it can be related
>> to any combination of anything like hardware, hypervisor, dom0, domU etc...
>>
>> From your description I guess that changing domU from
>> linux-image-4.9.0-3-amd64 to linux-image-4.9.0-5-amd64 while all other
>> things remain the same caused the issue. Is that right?
> Yes. If I revert back to 4.9.0-3-amd64 at the guest, I can boot in hvm mode.

Ok, great.

>> I see you're using Debian Release: 8.10, which might imply Xen 4.4 and the
>> jessie kernel for the dom0.
>>
>> As seen from the dom0, can you please reply with `uname -a`, `xen info` and
>> `lspci -v` output.
> uname -a
> Linux nuc1 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux

So that's a stretch kernel package for the dom0.

How did you end up reporting this from a Jessie system?

> xen info
> host                   : nuc1
> release                : 4.9.0-3-amd64
> version                : #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19)
> machine                : x86_64
> nr_cpus                : 4
> max_cpu_id             : 3
> nr_nodes               : 1
> cores_per_socket       : 2
> threads_per_core       : 2
> cpu_mhz                : 1895
> hw_caps                : b7ebfbff:77faf3bf:2c100800:00000021:00000001:000027ab:00000000:00000100
> virt_caps              : hvm hvm_directio
> total_memory           : 16309
> free_memory            : 366
> sharing_freed_memory   : 0
> sharing_used_memory    : 0
> outstanding_claims     : 0
> free_cpus              : 0
> xen_major              : 4
> xen_minor              : 8
> xen_extra              : .1
> xen_version            : 4.8.1
> xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
> xen_scheduler          : credit
> xen_pagesize           : 4096
> platform_params        : virt_start=0xffff800000000000
> xen_changeset          :
> xen_commandline        : loglvl=all noreboot dom0_mem=3328M max=3328M dom0_max_vcpus=4 dom0_vcpus_pin gnttab_max_frames=256
> cc_compiler            : gcc (Debian 6.3.0-18) 6.3.0 20170516
> cc_compile_by          : ian.jackson
> cc_compile_domain      : eu.citrix.com
> cc_compile_date        : Thu Sep  7 18:24:26 UTC 2017
> build_id               : bc5b60fc44b11ff01ffbaea6cbc8cf9d
> xend_config_format     : 4

Ok, xen 4.8

> lspci -v
> 00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
>         Subsystem: Intel Corporation Haswell-ULT DRAM Controller
>         Flags: bus master, fast devsel, latency 0
>         Capabilities: [e0] Vendor Specific Information: Len=0c <?>
> 
> 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
>         Subsystem: Intel Corporation Haswell-ULT Integrated Graphics Controller
>         Flags: bus master, fast devsel, latency 0, IRQ 77
>         Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
>         Memory at e0000000 (64-bit, prefetchable) [size=256M]
>         I/O ports at f000 [size=64]
>         [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
>         Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
>         Capabilities: [d0] Power Management version 2
>         Capabilities: [a4] PCI Advanced Features
>         Kernel driver in use: i915
>         Kernel modules: i915
> 
> 00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)
>         Subsystem: Intel Corporation Haswell-ULT HD Audio Controller
>         Flags: bus master, fast devsel, latency 0, IRQ 78
>         Memory at f7c34000 (64-bit, non-prefetchable) [size=16K]
>         Capabilities: [50] Power Management version 2
>         Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
>         Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
>         Kernel driver in use: snd_hda_intel
>         Kernel modules: snd_hda_intel
> 
> 00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04) (prog-if 30 [XHCI])
>         Subsystem: Intel Corporation 8 Series USB xHCI HC
>         Flags: medium devsel, IRQ 73
>         Memory at f7c20000 (64-bit, non-prefetchable) [size=64K]
>         Capabilities: [70] Power Management version 2
>         Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
>         Kernel driver in use: xhci_hcd
>         Kernel modules: xhci_pci
> 
> 00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
>         Subsystem: Intel Corporation 8 Series HECI
>         Flags: bus master, fast devsel, latency 0, IRQ 75
>         Memory at f7c3e000 (64-bit, non-prefetchable) [size=32]
>         Capabilities: [50] Power Management version 3
>         Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
>         Kernel driver in use: mei_me
>         Kernel modules: mei_me
> 
> 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-V (rev 04)
>         Subsystem: Intel Corporation Ethernet Connection I218-V
>         Flags: bus master, fast devsel, latency 0, IRQ 72
>         Memory at f7c00000 (32-bit, non-prefetchable) [size=128K]
>         Memory at f7c3c000 (32-bit, non-prefetchable) [size=4K]
>         I/O ports at f080 [size=32]
>         Capabilities: [c8] Power Management version 2
>         Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
>         Capabilities: [e0] PCI Advanced Features
>         Kernel driver in use: e1000e
>         Kernel modules: e1000e
> 
> 00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
>         Subsystem: Intel Corporation 8 Series HD Audio Controller
>         Flags: bus master, fast devsel, latency 0, IRQ 76
>         Memory at f7c30000 (64-bit, non-prefetchable) [size=16K]
>         Capabilities: [50] Power Management version 3
>         Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
>         Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
>         Capabilities: [100] Virtual Channel
>         Kernel driver in use: snd_hda_intel
>         Kernel modules: snd_hda_intel
> 
> 00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04) (prog-if 20 [EHCI])
>         Subsystem: Intel Corporation 8 Series USB EHCI
>         Flags: medium devsel, IRQ 23
>         Memory at f7c3b000 (32-bit, non-prefetchable) [size=1K]
>         Capabilities: [50] Power Management version 3
>         Capabilities: [58] Debug port: BAR=1 offset=00a0
>         Capabilities: [98] PCI Advanced Features
>         Kernel driver in use: ehci-pci
>         Kernel modules: ehci_pci
> 
> 00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
>         Subsystem: Intel Corporation 8 Series LPC Controller
>         Flags: bus master, medium devsel, latency 0
>         Capabilities: [e0] Vendor Specific Information: Len=0c <?>
>         Kernel driver in use: lpc_ich
>         Kernel modules: lpc_ich
> 
> 00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
>         Subsystem: Intel Corporation 8 Series SATA Controller 1 [AHCI mode]
>         Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 74
>         I/O ports at f0d0 [size=8]
>         I/O ports at f0c0 [size=4]
>         I/O ports at f0b0 [size=8]
>         I/O ports at f0a0 [size=4]
>         I/O ports at f060 [size=32]
>         Memory at f7c3a000 (32-bit, non-prefetchable) [size=2K]
>         Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
>         Capabilities: [70] Power Management version 3
>         Capabilities: [a8] SATA HBA v1.0
>         Kernel driver in use: ahci
>         Kernel modules: ahci
> 
> 00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
>         Subsystem: Intel Corporation 8 Series SMBus Controller
>         Flags: medium devsel, IRQ 18
>         Memory at f7c39000 (64-bit, non-prefetchable) [size=256]
>         I/O ports at f040 [size=32]
>         Kernel driver in use: i801_smbus
>         Kernel modules: i2c_i801
> 
>>
>> Since the domU is running linux-image-4.9.0-5-amd64 that can only mean it's
>> the kernel update just done, which is version 4.9.65-3+deb9u2
> It is running but only in pv mode, not in hvm mode
> (commenting out pvh=1 in the guest config file).
> 
>> When reporting kernel versions, note that the package name and the actual
>> version can be different. So please always include the real package version,
>> like 4.9.65-3 or whatever in case of linux-image-4.9.0-4-amd64.
>>
>> Anything you could do yourself to narrow down the issue would help.
>>
> What happens is that pygrub succeeds in processing menu.lst at domU.
> It seems not to load the kernel however (but if I do boot in pv mode it does).
> I get somehow the impression that the xen drivers for hvm are not loaded.
> But I cannot check that.
> If there is some logging I can turn on, I am happy to do so.

Ok, thanks for the additional information. I included the debian bug
email address again and did not remove any of your reply, so it's visible.

Sadly, I have no ready to go answer now, but at least this adds more
info to get forward.

Hans

[toc] | [prev] | [next] | [standalone]


#59875

From"frm" <frm@gordijn.org>
Date2018-01-07 01:00 +0100
Message-ID<v56xz-8c7-3@gated-at.bofh.it>
In reply to#59874

> -----Oorspronkelijk bericht-----
> Van: Hans van Kranenburg [mailto:hans@knorrie.org]
> Verzonden: zondag 7 januari 2018 00:27
> Aan: frm <frm@gordijn.org>; 886491@bugs.debian.org
> Onderwerp: Re: Bug#886491: linux-image-4.9.0-5-amd64: Does not boot as
> Xen guest in HVM mode
> 
> Hi,
> 
> Please reply-all and not only to me.
> 
> On 01/07/2018 12:07 AM, frm wrote:
> >> The first step here is to collect more information. Things that are
> >> or are not working with Xen setups can be difficult to track down,
> >> since it can be related to any combination of anything like hardware,
> hypervisor, dom0, domU etc...
> >>
> >> From your description I guess that changing domU from
> >> linux-image-4.9.0-3-amd64 to linux-image-4.9.0-5-amd64 while all
> >> other things remain the same caused the issue. Is that right?
> > Yes. If I revert back to 4.9.0-3-amd64 at the guest, I can boot in hvm mode.
> 
> Ok, great.
> 
> >> I see you're using Debian Release: 8.10, which might imply Xen 4.4
> >> and the jessie kernel for the dom0.
> >>
> >> As seen from the dom0, can you please reply with `uname -a`, `xen
> >> info` and `lspci -v` output.
> > uname -a
> > Linux nuc1 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19)
> > x86_64 GNU/Linux
> 
> So that's a stretch kernel package for the dom0.
> 
> How did you end up reporting this from a Jessie system?
I am on stretch

> 
> > xen info
> > host                   : nuc1
> > release                : 4.9.0-3-amd64
> > version                : #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19)
> > machine                : x86_64
> > nr_cpus                : 4
> > max_cpu_id             : 3
> > nr_nodes               : 1
> > cores_per_socket       : 2
> > threads_per_core       : 2
> > cpu_mhz                : 1895
> > hw_caps                :
> b7ebfbff:77faf3bf:2c100800:00000021:00000001:000027ab:00000000:00000100
> > virt_caps              : hvm hvm_directio
> > total_memory           : 16309
> > free_memory            : 366
> > sharing_freed_memory   : 0
> > sharing_used_memory    : 0
> > outstanding_claims     : 0
> > free_cpus              : 0
> > xen_major              : 4
> > xen_minor              : 8
> > xen_extra              : .1
> > xen_version            : 4.8.1
> > xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-
> 3.0-x86_32p hvm-3.0-x86_64
> > xen_scheduler          : credit
> > xen_pagesize           : 4096
> > platform_params        : virt_start=0xffff800000000000
> > xen_changeset          :
> > xen_commandline        : loglvl=all noreboot dom0_mem=3328M
> max=3328M dom0_max_vcpus=4 dom0_vcpus_pin gnttab_max_frames=256
> > cc_compiler            : gcc (Debian 6.3.0-18) 6.3.0 20170516
> > cc_compile_by          : ian.jackson
> > cc_compile_domain      : eu.citrix.com
> > cc_compile_date        : Thu Sep  7 18:24:26 UTC 2017
> > build_id               : bc5b60fc44b11ff01ffbaea6cbc8cf9d
> > xend_config_format     : 4
> 
> Ok, xen 4.8
> 
> > lspci -v
> > 00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev
> 09)
> >         Subsystem: Intel Corporation Haswell-ULT DRAM Controller
> >         Flags: bus master, fast devsel, latency 0
> >         Capabilities: [e0] Vendor Specific Information: Len=0c <?>
> >
> > 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT
> Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
> >         Subsystem: Intel Corporation Haswell-ULT Integrated Graphics
> Controller
> >         Flags: bus master, fast devsel, latency 0, IRQ 77
> >         Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
> >         Memory at e0000000 (64-bit, prefetchable) [size=256M]
> >         I/O ports at f000 [size=64]
> >         [virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
> >         Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
> >         Capabilities: [d0] Power Management version 2
> >         Capabilities: [a4] PCI Advanced Features
> >         Kernel driver in use: i915
> >         Kernel modules: i915
> >
> > 00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller
> (rev 09)
> >         Subsystem: Intel Corporation Haswell-ULT HD Audio Controller
> >         Flags: bus master, fast devsel, latency 0, IRQ 78
> >         Memory at f7c34000 (64-bit, non-prefetchable) [size=16K]
> >         Capabilities: [50] Power Management version 2
> >         Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit-
> >         Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
> >         Kernel driver in use: snd_hda_intel
> >         Kernel modules: snd_hda_intel
> >
> > 00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
> (prog-if 30 [XHCI])
> >         Subsystem: Intel Corporation 8 Series USB xHCI HC
> >         Flags: medium devsel, IRQ 73
> >         Memory at f7c20000 (64-bit, non-prefetchable) [size=64K]
> >         Capabilities: [70] Power Management version 2
> >         Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
> >         Kernel driver in use: xhci_hcd
> >         Kernel modules: xhci_pci
> >
> > 00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev
> 04)
> >         Subsystem: Intel Corporation 8 Series HECI
> >         Flags: bus master, fast devsel, latency 0, IRQ 75
> >         Memory at f7c3e000 (64-bit, non-prefetchable) [size=32]
> >         Capabilities: [50] Power Management version 3
> >         Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
> >         Kernel driver in use: mei_me
> >         Kernel modules: mei_me
> >
> > 00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I218-V
> (rev 04)
> >         Subsystem: Intel Corporation Ethernet Connection I218-V
> >         Flags: bus master, fast devsel, latency 0, IRQ 72
> >         Memory at f7c00000 (32-bit, non-prefetchable) [size=128K]
> >         Memory at f7c3c000 (32-bit, non-prefetchable) [size=4K]
> >         I/O ports at f080 [size=32]
> >         Capabilities: [c8] Power Management version 2
> >         Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
> >         Capabilities: [e0] PCI Advanced Features
> >         Kernel driver in use: e1000e
> >         Kernel modules: e1000e
> >
> > 00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev
> 04)
> >         Subsystem: Intel Corporation 8 Series HD Audio Controller
> >         Flags: bus master, fast devsel, latency 0, IRQ 76
> >         Memory at f7c30000 (64-bit, non-prefetchable) [size=16K]
> >         Capabilities: [50] Power Management version 3
> >         Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
> >         Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
> >         Capabilities: [100] Virtual Channel
> >         Kernel driver in use: snd_hda_intel
> >         Kernel modules: snd_hda_intel
> >
> > 00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
> (prog-if 20 [EHCI])
> >         Subsystem: Intel Corporation 8 Series USB EHCI
> >         Flags: medium devsel, IRQ 23
> >         Memory at f7c3b000 (32-bit, non-prefetchable) [size=1K]
> >         Capabilities: [50] Power Management version 3
> >         Capabilities: [58] Debug port: BAR=1 offset=00a0
> >         Capabilities: [98] PCI Advanced Features
> >         Kernel driver in use: ehci-pci
> >         Kernel modules: ehci_pci
> >
> > 00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
> >         Subsystem: Intel Corporation 8 Series LPC Controller
> >         Flags: bus master, medium devsel, latency 0
> >         Capabilities: [e0] Vendor Specific Information: Len=0c <?>
> >         Kernel driver in use: lpc_ich
> >         Kernel modules: lpc_ich
> >
> > 00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI
> mode] (rev 04) (prog-if 01 [AHCI 1.0])
> >         Subsystem: Intel Corporation 8 Series SATA Controller 1 [AHCI mode]
> >         Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 74
> >         I/O ports at f0d0 [size=8]
> >         I/O ports at f0c0 [size=4]
> >         I/O ports at f0b0 [size=8]
> >         I/O ports at f0a0 [size=4]
> >         I/O ports at f060 [size=32]
> >         Memory at f7c3a000 (32-bit, non-prefetchable) [size=2K]
> >         Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
> >         Capabilities: [70] Power Management version 3
> >         Capabilities: [a8] SATA HBA v1.0
> >         Kernel driver in use: ahci
> >         Kernel modules: ahci
> >
> > 00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
> >         Subsystem: Intel Corporation 8 Series SMBus Controller
> >         Flags: medium devsel, IRQ 18
> >         Memory at f7c39000 (64-bit, non-prefetchable) [size=256]
> >         I/O ports at f040 [size=32]
> >         Kernel driver in use: i801_smbus
> >         Kernel modules: i2c_i801
> >
> >>
> >> Since the domU is running linux-image-4.9.0-5-amd64 that can only
> >> mean it's the kernel update just done, which is version
> >> 4.9.65-3+deb9u2
> > It is running but only in pv mode, not in hvm mode (commenting out
> > pvh=1 in the guest config file).
> >
> >> When reporting kernel versions, note that the package name and the
> >> actual version can be different. So please always include the real
> >> package version, like 4.9.65-3 or whatever in case of linux-image-4.9.0-4-
> amd64.
> >>
> >> Anything you could do yourself to narrow down the issue would help.
> >>
> > What happens is that pygrub succeeds in processing menu.lst at domU.
> > It seems not to load the kernel however (but if I do boot in pv mode it
> does).
> > I get somehow the impression that the xen drivers for hvm are not loaded.
> > But I cannot check that.
> > If there is some logging I can turn on, I am happy to do so.
> 
> Ok, thanks for the additional information. I included the debian bug email
> address again and did not remove any of your reply, so it's visible.
> 
> Sadly, I have no ready to go answer now, but at least this adds more info to
> get forward.
> 
> Hans

[toc] | [prev] | [next] | [standalone]


#59886

FromMichael Stone <mstone@debian.org>
Date2018-01-07 18:50 +0100
Message-ID<v5nf3-2p6-1@gated-at.bofh.it>
In reply to#59864
retitle 886491 linux-image-4.9.0-5-amd64: Does not boot as Xen guest in PVH mode
thanks

HVM and PVH are two different modes. The fix suggested in this bug 
report (commenting out pvh=1 in the conf file) points to the problem 
being the latter. I can confirm that PVH guests fail to boot using 
4.9.0-5 and a conf file that boots fine with -3. 

Mike Stone

[toc] | [prev] | [next] | [standalone]


#59888

FromHans van Kranenburg <hans@knorrie.org>
Date2018-01-07 20:00 +0100
Message-ID<v5okN-398-1@gated-at.bofh.it>
In reply to#59886
On 01/07/2018 06:42 PM, Michael Stone wrote:
> retitle 886491 linux-image-4.9.0-5-amd64: Does not boot as Xen guest in
> PVH mode
> thanks
> 
> HVM and PVH are two different modes. The fix suggested in this bug
> report (commenting out pvh=1 in the conf file) points to the problem
> being the latter. I can confirm that PVH guests fail to boot using
> 4.9.0-5 and a conf file that boots fine with -3.

I don't understand this line:

>> It is running but only in pv mode, not in hvm mode
>> (commenting out pvh=1 in the guest config file).

Yes, pv, pvh and hvm are all different things, but I don't understand
what reporter is actually doing. What scenario does commenting something
out cause?

And as far as I know using PVH is not supported with a Xen before 4.10?

Hans

[toc] | [prev] | [next] | [standalone]


#59891 — Bug#886491: linux-image-4.9.0-5-amd64: Does not boot as Xen guest in PVH mode

FromMichael Stone <mstone@debian.org>
Date2018-01-07 20:50 +0100
SubjectBug#886491: linux-image-4.9.0-5-amd64: Does not boot as Xen guest in PVH mode
Message-ID<v5p7b-3IM-5@gated-at.bofh.it>
In reply to#59888
On Sun, Jan 07, 2018 at 07:49:15PM +0100, Hans van Kranenburg wrote:
>On 01/07/2018 06:42 PM, Michael Stone wrote:
>> retitle 886491 linux-image-4.9.0-5-amd64: Does not boot as Xen guest in
>> PVH mode
>> thanks
>>
>> HVM and PVH are two different modes. The fix suggested in this bug
>> report (commenting out pvh=1 in the conf file) points to the problem
>> being the latter. I can confirm that PVH guests fail to boot using
>> 4.9.0-5 and a conf file that boots fine with -3.
>
>I don't understand this line:
>
>>> It is running but only in pv mode, not in hvm mode
>>> (commenting out pvh=1 in the guest config file).
>
>Yes, pv, pvh and hvm are all different things, but I don't understand
>what reporter is actually doing. What scenario does commenting something
>out cause?
>
>And as far as I know using PVH is not supported with a Xen before 4.10?

The default is pvh=0, so if you comment out pvh=1 it drops to pv mode. 
xen changed the pvh implementation between 4.8 & 4.9, and made it fully 
supported in 4.10. The problem is that a configuration that worked in 
stretch suddenly stops working when installing a security update. I'm 
not sure that's reasonably fixable given the changes that have been made 
in the xen pvh mode in both the xen and linux kernel code, but maybe it 
would be possible to put in a debconf warning along the lines of "if you 
install this kernel and reboot the machine won't come back up unless you 
reconfigure the xen guest mode" so people would know that they need to 
reconfigure things.

Mike Stone

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web