Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HP X2 210 tablet (UEFI) hang
2016-02-05, 18:08
Post: #14
RE: HP X2 210 tablet (UEFI) hang
(2016-02-05 17:27)SebastianRoth Wrote:  
(2016-02-05 13:37)mcb30 Wrote:  That length is several orders of magnitude too large to be plausible.

Could that be a conversion/overflow issue caused by the conversion function (used pretty much what you posted)? Or do you think this is really what the pci handle returned?

Booting this kernel in qemu/OVMF (where it does not freeze) I see much smaller numbers for size/length: 9200 and 2d000. Does that sound plausible?

I suspect that the EFI_PCI_IO_PROTOCOL provided by the firmware contains garbage values for RomSize and RomImage. Possible the firmware is failing to zero these fields for a device that does not actually have an expansion ROM BAR.

You could add code in iPXE's interface/efi/efi_wrap.c at the end of HandleProtocol() to dump out the contents of the returned EFI_PCI_IO_PROTOCOL structure. For example (again, untested):

Code:
if ( ( efirc == 0 ) &&
     ( memcmp ( protocol, &efi_pci_io_protocol_guid, sizeof ( *protocol ) ) == 0 ) ) {
  DBGC_HD ( colour, *interface, sizeof ( EFI_PCI_IO_PROTOCOL ) );
}

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP X2 210 tablet (UEFI) hang - mcb30 - 2016-02-05 18:08



User(s) browsing this thread: 2 Guest(s)