NetBSD-Bugs archive

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

Re: port-amd64/55543: PVHVM fails to attach hypervisor bus on Amazon EC2 t2.micro



The following reply was made to PR port-amd64/55543; it has been noted by GNATS.

From: Jared McNeill <jmcneill%invisible.ca@localhost>
To: Manuel Bouyer <bouyer%antioche.eu.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost, port-amd64-maintainer%netbsd.org@localhost, 
    gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: port-amd64/55543: PVHVM fails to attach hypervisor bus on Amazon
 EC2 t2.micro
Date: Sat, 5 Sep 2020 17:23:21 -0300 (ADT)

 On Sat, 5 Sep 2020, Manuel Bouyer wrote:
 
 > OK, this is the cause of the problem.
 > Please try the attached patch. It works on Xen 4.13 if I force it to take
 > the fallback branch, but I'm not sure ci_acpiid is the right index to use
 > here (linux uses smp_processor_id() but I couldn't find where this number comes
 > from).
 
 Hangs at boot, and there are some extra errors now around cpu0 attach:
 
 [   1.0000000] pool redzone disabled for 'pdppl'
 [   1.0000000] pool redzone disabled for 'pvpage'
 [   1.0000000] pool redzone disabled for 'kmem-04096'
 [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
 [   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
 [   1.0000000]     2018, 2019, 2020 The NetBSD Foundation, Inc.  All rights reserved.
 [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
 [   1.0000000]     The Regents of the University of California.  All rights reserved.
 
 [   1.0000000] NetBSD 9.99.72 (GENERIC) #1: Sat Sep  5 16:07:57 ADT 2020
 [   1.0000000]  jmcneill%starscream.invisible.ca@localhost:/home/jmcneill/netbsd/cvs-src/sys/arch/amd64/compile/obj/GENERIC
 [   1.0000000] total memory = 1023 MB
 [   1.0000000] avail memory = 966 MB
 [   1.0000000] pool redzone disabled for 'buf4k'
 [   1.0000000] pool redzone disabled for 'buf64k'
 [   1.0000000] entropy: no seed from bootloader
 [   1.0000030] mainbus0 (root)
 [   1.0000030] Identified Guest XEN in HVM mode.
 [   1.0000030] ACPI: RSDP 0x00000000000EA020 000024 (v02 Xen   )
 [   1.0000030] ACPI: XSDT 0x00000000FC00E2A0 000054 (v01 Xen    HVM      00000000 HVML 00000000)
 [   1.0000030] ACPI: FACP 0x00000000FC00DF60 0000F4 (v04 Xen    HVM      00000000 HVML 00000000)
 [   1.0000030] ACPI: DSDT 0x00000000FC0021C0 00BD19 (v02 Xen    HVM      00000000 INTL 20090123)
 [   1.0000030] ACPI: FACS 0x00000000FC002180 000040
 [   1.0000030] ACPI: APIC 0x00000000FC00E060 0000D8 (v02 Xen    HVM      00000000 HVML 00000000)
 [   1.0000030] ACPI: HPET 0x00000000FC00E1B0 000038 (v01 Xen    HVM      00000000 HVML 00000000)
 [   1.0000030] ACPI: WAET 0x00000000FC00E1F0 000028 (v01 Xen    HVM      00000000 HVML 00000000)
 [   1.0000030] ACPI: SSDT 0x00000000FC00E220 000031 (v02 Xen    HVM      00000000 INTL 20090123)
 [   1.0000030] ACPI: SSDT 0x00000000FC00E260 000033 (v02 Xen    HVM      00000000 INTL 20090123)
 [   1.0000030] ACPI: 3 ACPI AML tables successfully acquired and loaded
 [   1.0000030] ioapic0 at mainbus0 apid 1
 [   1.0000030] cpu0 at mainbus0 apid 0
 [   1.0000030] cpu0: Intel(R) Xeon(R) CPU E5-2676 v3 @ 2.40GHz, id 0x306f2
 [   1.0000030] cpu0: node 0, package 0, core 0, smt 0
 [   1.0000030] cpu0: HVM vid 0 cpuid 0 acpid 0/0
 [   1.0000030] cpu0: failed to set event upcall vector: -38
 [   1.0000030] cpu0: falling back to global vector
 [   1.0000030] hypervisor0 at mainbus0: Xen version 4.2.amazon
 [   1.0000030] xenbus0 at hypervisor0: Xen Virtual Bus Interface
 [   1.0000030] acpi0 at mainbus0: Intel ACPICA 20200717
 [   1.0000030] acpi0: fixed power button present
 [   1.0000030] acpi0: fixed sleep button present
 [   1.0072718] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
 [   1.0130312] MEM0 (PNP0C02) at acpi0 not configured
 [   1.0130312] SYSR (PNP0C02) at acpi0 not configured
 [   1.0130312] attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
 [   1.0130312] pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
 [   1.0130312] spkr0 at pcppi1: PC Speaker
 [   1.0130312] wsbell at spkr0 not configured
 [   1.0130312] midi0 at pcppi1: PC speaker
 [   1.0130312] sysbeep0 at pcppi1
 [   1.0130312] pckbc1 at acpi0 (PS2M, PNP0F13) (aux port): irq 12
 [   1.0130312] pckbc2 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
 [   1.0130312] FDC0 (PNP0700) at acpi0 not configured
 [   1.0130312] UAR1 (PNP0501) at acpi0 not configured
 [   1.0130312] HP0 (PNP0C02) at acpi0 not configured
 [   1.0130312] ACPI: Enabled 2 GPEs in block 00 to 0F
 [   1.0130312] attimer1: attached to pcppi1
 [   1.0130312] pckbd0 at pckbc2 (kbd slot)
 [   1.0130312] pckbc2: using irq 1 for kbd slot
 [   1.0130312] wskbd0 at pckbd0 mux 1
 [   1.0130312] pms0 at pckbc2 (aux slot)
 [   1.0130312] pckbc2: using irq 12 for aux slot
 [   1.0130312] wsmouse0 at pms0 mux 0
 [   1.0130312] pci0 at mainbus0 bus 0: configuration mode 1
 [   1.0130312] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
 [   1.0130312] pcib0 at pci0 dev 1 function 0: Intel 82371SB (PIIX3) PCI-ISA Bridge (rev. 0x00)
 [   1.0130312] piixide0 at pci0 dev 1 function 1: Intel 82371SB IDE Interface (PIIX3) (rev. 0x00)
 [   1.0130312] piixide0: primary channel interrupting at ioapic0 pin 14
 [   1.0130312] atabus0 at piixide0 channel 0
 [   1.0130312] piixide0: secondary channel interrupting at ioapic0 pin 15
 [   1.0130312] atabus1 at piixide0 channel 1
 [   1.0130312] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x01)
 [   1.0130312] piixpm0: 24-bit timer
 [   1.0130312] piixpm0: SMBus disabled
 [   1.0130312] vga0 at pci0 dev 2 function 0: Cirrus Logic CL-GD5446 (rev. 0x00)
 [   1.0130312] wsdisplay0 at vga0 kbdmux 1
 [   1.0130312] drm at vga0 not configured
 [   1.0130312] XenSource, Inc. Xen Platform Device (undefined, subclass 0x80, revision 0x01) at pci0 dev 3 function 0 not configured
 [   1.0130312] isa0 at pcib0
 [   1.0130312] com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 [   1.0130312] com0: console
 [   1.0130312] fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
 [   1.0130312] fdc0: can't set up ISA DMA map
 [   1.0130312] acpicpu0 at cpu0: ACPI CPU
 


Home | Main Index | Thread Index | Old Index