NetBSD-Bugs archive

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

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



>Number:         55543
>Category:       port-amd64
>Synopsis:       PVHVM fails to attach hypervisor bus on Amazon EC2 t2.micro
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 05 14:00:01 +0000 2020
>Originator:     Jared McNeill
>Release:        9.99.69
>Organization:
>Environment:
NetBSD 9.99.69 (GENERIC) #0: Mon Aug  3 20:55:35 ADT 2020
>Description:
Booting NetBSD -current on an Amazon EC2 t2.micro instance fails to attach hypervisor at mainbus, which results in no network interface being found.

dimes below:


[   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.69 (GENERIC) #0: Mon Aug  3 20:55:35 ADT 2020
[   1.0000000]  jmcneill@session:/home/jmcneill/netbsd/git-src/sys/arch/amd64/compile/obj/GENERIC
[   1.0000000] total memory = 1023 MB
[   1.0000000] avail memory = 964 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.
Xen HVM: Unable to obtain xencons page address
[   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] acpi0 at mainbus0: Intel ACPICA 20200717
[   1.0000030] acpi0: fixed power button present
[   1.0000030] acpi0: fixed sleep button present
[   1.0058697] hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
[   1.0108751] MEM0 (PNP0C02) at acpi0 not configured
[   1.0108751] SYSR (PNP0C02) at acpi0 not configured
[   1.0108751] attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
[   1.0108751] pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
[   1.0108751] spkr0 at pcppi1: PC Speaker
[   1.0108751] wsbell at spkr0 not configured
[   1.0108751] midi0 at pcppi1: PC speaker
[   1.0108751] sysbeep0 at pcppi1
[   1.0108751] pckbc1 at acpi0 (PS2M, PNP0F13) (aux port): irq 12
[   1.0108751] pckbc2 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
[   1.0108751] FDC0 (PNP0700) at acpi0 not configured
[   1.0108751] UAR1 (PNP0501) at acpi0 not configured
[   1.0108751] HP0 (PNP0C02) at acpi0 not configured
[   1.0108751] ACPI: Enabled 2 GPEs in block 00 to 0F
[   1.0108751] attimer1: attached to pcppi1
[   1.0108751] pckbd0 at pckbc2 (kbd slot)
[   1.0108751] pckbc2: using irq 1 for kbd slot
[   1.0108751] wskbd0 at pckbd0 mux 1
[   1.0108751] pms0 at pckbc2 (aux slot)
[   1.0108751] pckbc2: using irq 12 for aux slot
[   1.0108751] wsmouse0 at pms0 mux 0
[   1.0108751] pci0 at mainbus0 bus 0: configuration mode 1
[   1.0108751] pchb0 at pci0 dev 0 function 0: Intel 82441FX (PMC) PCI and Memory Controller (rev. 0x02)
[   1.0108751] pcib0 at pci0 dev 1 function 0: Intel 82371SB (PIIX3) PCI-ISA Bridge (rev. 0x00)
[   1.0108751] piixide0 at pci0 dev 1 function 1: Intel 82371SB IDE Interface (PIIX3) (rev. 0x00)
[   1.0108751] piixide0: primary channel interrupting at ioapic0 pin 14
[   1.0108751] atabus0 at piixide0 channel 0
[   1.0108751] piixide0: secondary channel interrupting at ioapic0 pin 15
[   1.0108751] atabus1 at piixide0 channel 1
[   1.0108751] piixpm0 at pci0 dev 1 function 3: Intel 82371AB (PIIX4) Power Management Controller (rev. 0x01)
[   1.0108751] piixpm0: 24-bit timer
[   1.0108751] piixpm0: SMBus disabled
[   1.0108751] vga0 at pci0 dev 2 function 0: Cirrus Logic CL-GD5446 (rev. 0x00)
[   1.0108751] wsdisplay0 at vga0 kbdmux 1
[   1.0108751] drm at vga0 not configured
[   1.0108751] XenSource, Inc. Xen Platform Device (undefined, subclass 0x80, revision 0x01) at pci0 dev 3 function 0 not configured
[   1.0108751] isa0 at pcib0
[   1.0108751] com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
[   1.0108751] com0: console
[   1.0108751] fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
[   1.0108751] fdc0: can't set up ISA DMA map
[   1.0108751] acpicpu0 at cpu0: ACPI CPU
[   4.1597077] wd0 at atabus0 drive 0
[   4.1597077] wd0: <QEMU HARDDISK>
[   4.1597077] wd0: 10240 MB, 20805 cyl, 16 head, 63 sec, 512 bytes/sect x 20971520 sectors
[   4.1732884] wd0: 17065984 trailing sectors not covered by disklabel
[   4.1796564] wd0: 17065984 trailing sectors not covered by disklabel
[   4.1796564] wd0: 17065984 trailing sectors not covered by disklabel
[   4.1908736] wd0: 17065984 trailing sectors not covered by disklabel
[   4.1908736] wd0: 17065984 trailing sectors not covered by disklabel
[   4.1998434] WARNING: 1 error while detecting hardware; check system log.
[   4.1998434] boot device: wd0
[   4.1998434] root on wd0a dumps on wd0b
[   4.1998434] wd0: 17065984 trailing sectors not covered by disklabel
[   4.2099778] root file system type: ffs
[   4.2099778] kern.module.path=/stand/amd64/9.99.69/modules
[   4.2099778] clock: unknown CMOS layout

>How-To-Repeat:
On NetBSD -current:

1) build.sh release
2) build.sh live-image
3) install sysutils/bsdec2-image-upload from pkgsrc
4) create a keyfile.txt with the following contents:
ACCESS_KEY_ID=your_access_key_id
ACCESS_KEY_SECRET=your_access_key_secret
5) gunzip the live image in obj/releasedir/images
6) mount the image with vnconfig and add 'consdev com0' to the default boot command in boot.cfg to be able to capture serial output
7) bsdec2-image-upload --srvio --ena NetBSD-9.99.69-amd64-live.img "NetBSD 9.99.69 amd64 live image" "NetBSD/amd64 9.99.69 - $(date)" us-east-1 your-s3-bucket-name keyfile.txt
>Fix:



Home | Main Index | Thread Index | Old Index