Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: No uefi install in VM
Martin Husemann <martin%duskware.de@localhost> wrote:
> This one had been created manually and worked with old efiboot.
> Instructions would be: boot 9.0 RC1 installer uefi image, let sysinst
> install onto hard disk.
I still cannot reproduce it. I installed a VM from
http://nycdn.netbsd.org/pub/NetBSD-daily/netbsd-9/latest/images/NetBSD-9.0_RC1-a
md64-uefi-install.img.gz
It does not suggests creating an EFI partition. I did it on my own and I
installed bootx64.efi from
ftp://ftp.fr.netbsd.org/pub/NetBSD-daily/HEAD/201912101800Z/amd64/binary/sets/ba
se.tar.xz
Here is the GPT:
start size index contents
0 1 PMBR
1 1 Pri GPT header
2 32 Pri GPT table
34 733117 1 GPT part - NetBSD FFSv1/FFSv2
Type: ffs
TypeID: 49f48d5a-b10e-11dc-b99b-0019d1879648
GUID: 17993ec6-023c-4655-a2f3-b45b1a0294a9
Size: 358 M
Label:
Attributes: biosboot
733151 20480 2 GPT part - NetBSD swap
Type: swap
TypeID: 49f48d32-b10e-11dc-b99b-0019d1879648
GUID: 7abf04af-2cff-450e-80c3-c8a54031b182
Size: 10240 K
Label:
Attributes: None
753631 65536 3 GPT part - EFI System
Type: efi
TypeID: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
GUID: 8069df91-05be-4eca-8638-38cf5069fe64
Size: 32768 K
Label: efi
Attributes: None
819167 32 Sec GPT table
819199 1 Sec GPT header
The things passes botostrap, I just had to do to boot prompt at type consdev
com0,115200 (I use qemul -nographic) then I just typed boot. The kernel loads
and starts.
It crashes later, though. But that does not seems related to bootstrap (NB: qemu
croped lines over 80 characters):
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 20,
[ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, ,
[ 1.0000000] 2018, 2019 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 res.
[ 1.0000000] NetBSD 9.0_RC1 (GENERIC) #0: Wed Dec 11 14:58:03 UTC 2019
[ 1.0000000] mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENEC
[ 1.0000000] total memory = 252 MB
[ 1.0000000] avail memory = 243 MB
[ 1.0000000] rnd: seeded with 256 bits
[ 1.0000000] running cgd selftest aes-xts-256 aes-xts-512 done
[ 1.0000030] efi: systbl at pa fbee018
[ 1.0000030] mainbus0 (root)
[ 1.0000030] ACPI: RSDP 0x000000000FBFA014 000024 (v02 BOCHS )
[ 1.0000030] ACPI: XSDT 0x000000000FBF90E8 000044 (v01 BOCHS BXPCFACP 000000)
[ 1.0000030] ACPI: FACP 0x000000000FBF6000 000074 (v01 BOCHS BXPCFACP 000000)
[ 1.0000030] ACPI: DSDT 0x000000000FBF7000 00140B (v01 BOCHS BXPCDSDT 000000)
[ 1.0000030] ACPI: FACS 0x000000000FBFD000 000040
[ 1.0000030] ACPI: APIC 0x000000000FBF5000 000078 (v01 BOCHS BXPCAPIC 000000)
[ 1.0000030] ACPI: HPET 0x000000000FBF4000 000038 (v01 BOCHS BXPCHPET 000000)
[ 1.0000030] ACPI: BGRT 0x000000000FBF3000 000038 (v01 INTEL EDK2 000000)
[ 1.0000030] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 1.0000030] ioapic0 at mainbus0 apid 0
[ 1.0000030] cpu0 at mainbus0 apid 0
[ 1.0000030] uvm_fault(0xffffffff81585520, 0xffff8b4b21201000, 2) -> e
[ 1.0000030] fatal page fault in supervisor mode
[ 1.0000030] trap type 6 code 0x3 rip 0xffffffff802098ad cs 0x8 rflags 0x246 8
[ 1.0000030] curlwp 0xffffffff8145ce20 pid 0.1 lowest kstack 0xffffffff818e420
db{0}> bt
pagezero() at netbsd:pagezero+0xd
cpu_svs_init() at netbsd:cpu_svs_init+0x30
cpu_attach() at netbsd:cpu_attach+0x1ac
config_attach_loc() at netbsd:config_attach_loc+0x199
config_found_sm_loc() at netbsd:config_found_sm_loc+0x48
mpacpi_config_cpu() at netbsd:mpacpi_config_cpu+0xb9
acpi_madt_walk() at netbsd:acpi_madt_walk+0x54
mpacpi_scan_apics() at netbsd:mpacpi_scan_apics+0x7c
mainbus_attach() at netbsd:mainbus_attach+0xd6
config_attach_loc() at netbsd:config_attach_loc+0x199
cpu_configure() at netbsd:cpu_configure+0x2b
main() at netbsd:main+0x2b8
Disabling ACPI with boot -2 does not fare better, it crashes at the same place
with a diffferent calling stacck:
pagezero() at netbsd:pagezero+0xd
cpu_svs_init() at netbsd:cpu_svs_init+0x30
cpu_attach() at netbsd:cpu_attach+0x1ac
config_attach_loc() at netbsd:config_attach_loc+0x199
config_found_sm_loc() at netbsd:config_found_sm_loc+0x48
mainbus_attach() at netbsd:mainbus_attach+0xc8
config_attach_loc() at netbsd:config_attach_loc+0x199
cpu_configure() at netbsd:cpu_configure+0x2b
main() at netbsd:main+0x2b8
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index