Port-amd64 archive

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

Re: UEFI ExitBootServices



Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:

> Adding debug messages in Xen, I know the hypervisor starts up, and I
> have somes traces up to the UEFI ExitBootServices call. It fails:
> Cannot exit boot services: ErrCode: 0x8000000000000002
> 
> Anyone has some hints about this? Why could this fail? 

That one is funny: the debug printf bewteen GetMemoryMap() and 
ExitBootServices() calls made the later fail. Removing all of them 
allowed me to pass that stage.

Xen Now boots with EFI boostrap bootx64.efi with my multiboot2
patches. I crash later when dom0 loads, but that is still a succes.


piixide0 at pci0 dev 1 function 1: Intel 82371SB IDE Interface (PIIX3) (rev. 0x)
panic: Failed to bind physical IRQ 14

fatal breakpoint trap in supervisor mode
trap type 1 code 0 rip 0xffffffff80205c05 cs 0xe030 rflags 0x246 cr2 0 ilevel 00
curlwp 0xffffffff80d69ba0 pid 0.1 lowest kstack 0xffffffff8111b2c0
Stopped in pid 0.1 (system) at  netbsd:breakpoint+0x5:  leave
breakpoint() at netbsd:breakpoint+0x5
vpanic() at netbsd:vpanic+0x140
snprintf() at netbsd:snprintf
unbind_pirq_from_evtch() at netbsd:unbind_pirq_from_evtch
xen_intr_map() at netbsd:xen_intr_map+0xd7
pciide_machdep_compat_intr_establish() at netbsd:pciide_machdep_compat_intr_establish+0x1f4
pciide_map_compat_intr() at netbsd:pciide_map_compat_intr+0x24
pciide_mapchan() at netbsd:pciide_mapchan+0x4f
piix_chip_map() at netbsd:piix_chip_map+0x3b1
pciide_common_attach() at netbsd:pciide_common_attach+0x99
piixide_attach() at netbsd:piixide_attach+0x3f
config_attach_loc() at netbsd:config_attach_loc+0x16e
config_found_sm_loc() at netbsd:config_found_sm_loc+0x48
pci_probe_device() at netbsd:pci_probe_device+0x522
pci_enumerate_bus() at netbsd:pci_enumerate_bus+0x198
pciattach() at netbsd:pciattach+0x198
config_attach_loc() at netbsd:config_attach_loc+0x16e
config_found_sm_loc() at netbsd:config_found_sm_loc+0x48
hypervisor_attach() at netbsd:hypervisor_attach+0x3e3
config_attach_loc() at netbsd:config_attach_loc+0x16e
config_found_sm_loc() at netbsd:config_found_sm_loc+0x48
mainbus_attach() at netbsd:mainbus_attach+0xbd
config_attach_loc() at netbsd:config_attach_loc+0x16e
cpu_configure() at netbsd:cpu_configure+0x2f
main() at netbsd:main+0x2a8



-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index