manatails/uefiseven

uefı seven: Unable to unlock VGA ROM memory at C0000

asususer91155555 opened this issue · 1 comments

hello, i am using asus x509da laptop. İ am trying to install win7 on my computer, and my bios is completely uefı class3. So i tryed uefı seven, but it giving this error and it cant do its job. How i can fix this issue? İf someone fixed this issue, please help because i want to install windows7 and test on this hardware. My laptop specifications: AMD ryzen 3 3250u radeon graphichs 2.6 ghz max 3.5ghz, ddr4 2400mhz ram, 256 gb ssd, amd radeon vega3 graphich card. Thanks again. UefiMain: UefiSeven 1.30
InitializeDisplay: Found a GOP display adapter
SwitchVideoMode: Set mode 2 with desired 1024x768 resolution.
PrintVideoInfo: Current mode:
PrintVideoInfo: HorizontalResolution = 1024
PrintVideoInfo: VerticalResolution = 768
PrintVideoInfo: PixelFormat = 1
PrintVideoInfo: PixelsPerScanLine = 1024
PrintVideoInfo: FrameBufferBase = E0000000
PrintVideoInfo: FrameBufferSize = 3145728
PrintVideoInfo: Available modes (MaxMode = 4):
PrintVideoInfo: Mode0: 1366x768
PrintVideoInfo: Mode1: 800x600
PrintVideoInfo: Mode2: 1024x768
PrintVideoInfo: Mode3: 640x480
IsInt10hHandlerDefined: Int10h IVT entry points at location (0000:0000) outside VGA ROM memory area (C0000..D0000), rejecting handler
EnsureMemoryLock: Failure unlocking memory at C0000 with MTRRs
EnsureMemoryLock: Unable to find a way to unlock memory at C0000
UefiMain: Unable to unlock VGA ROM memory at C0000, aborting
FileExists: Opened file '\EFI\MICROSOFT\BOOT\BOOTMGFW.original.efi' for reading
UefiMain: Found Windows Boot Manager at '\EFI\MICROSOFT\BOOT\BOOTMGFW.original.efi'
Launch: Loaded 'PciRoot(0x0)/Pci(0x1,0x3)/Pci(0x0,0x0)/NVMe(0x1,63-9A-58-49-8B-44-1B-00)/HD(1,GPT,86FDF8B7-1BAD-4D34-9B07-8E651DA14281,0x800,0x32000)/\EFI\MICROSOFT\BOOT\BOOTMGFW.original.efi'
Launch: Addresss behind FileImageHandle=B9BF4B18
CheckBootMgrGuid: Found 9DEA862C-5CDD-4E70-ACC1-F32B344D4795
Launch: File matches an EFI loader signature

acoul commented

Windows 7 on the pure UEFI may help

You can view which resources (memory and I/O ports) are assigned to PCI-E devices in your system using Linux command "lspci -vv | less"

here is a way to change your VGA_ROM_ADDRESS (have not tested this)

Edit: UefiSeven (in my experience) is "happier" with intel motherboard chipsets

on my GA-A320M-H board (CSM disabled), both graphics cards, a Radeon HD 8490 & a GeForce GTX 1050 fail to unlock memory

same cards on an Asrock J3355M board (CSM disabled), do unlock but are also stuck on the win logo dimming up & down. VNC Remote access is not possible, but pushing the power switch does shutdown the system normally. (force_fakevesa=1 did not help either)

to my surprise, on the Asrock J3355M board, Flashboot Pro, has the exact same behavior, symptoms to that of UefiSeven

the log from the failed UEFI class3 boot

UefiMain: UefiSeven 1.30
UefiMain: You are running in verbose mode, press Enter to continue
InitializeDisplay: Found a GOP display adapter
SwitchVideoMode: Set mode 3 with desired 1024x768 resolution.
PrintVideoInfo: Current mode:
PrintVideoInfo: HorizontalResolution = 1024
PrintVideoInfo: VerticalResolution = 768
PrintVideoInfo: PixelFormat = 1
PrintVideoInfo: PixelsPerScanLine = 1024
PrintVideoInfo: FrameBufferBase = 80000000
PrintVideoInfo: FrameBufferSize = 3145728
PrintVideoInfo: Available modes (MaxMode = 5):
PrintVideoInfo: Mode0: 1600x900
PrintVideoInfo: Mode1: 640x480
PrintVideoInfo: Mode2: 800x600
PrintVideoInfo: Mode3: 1024x768
PrintVideoInfo: Mode4: 1152x864
IsInt10hHandlerDefined: Int10h IVT entry points at location (0000:0000) outside VGA ROM memory area (C0000..D0000), rejecting handler
EnsureMemoryLock: Memory at C0000 already unlocked
UefiMain: VESA information filled in, Int10h handler address=C0200 (C000:0200)
EnsureMemoryLock: Failure locking memory at C0000 with EfiLegacyRegion2Protocol
EnsureMemoryLock: Failure locking memory at C0000 with MTRRs
EnsureMemoryLock: Unable to find a way to lock memory at C0000
UefiMain: Unable to lock VGA ROM memory at C0000 but this is not essential
UefiMain: Int10h IVT entry modified to point at C000:0200
IsInt10hHandlerDefined: Int10h IVT entry points at location within VGA ROM memory area (C000:0200)
IsInt10hHandlerDefined: First Int10h handler instruction at C000:0200 (3D) valid, accepting handler
UefiMain: Pre-boot Int10h sanity check success
FileExists: Opened file '\EFI\Boot\bootx64_uefiseven.original.efi' for reading
UefiMain: Found Windows Boot Manager at '\EFI\Boot\bootx64_uefiseven.original.efi'
Launch: Loaded 'PciRoot(0x0)/Pci(0x12,0x0)/Sata(0x0,0xFFFF,0x0)/HD(1,MBR,0x00002274,0x800,0x32000)/\EFI\Boot\bootx64_uefiseven.original.efi'
Launch: Addresss behind FileImageHandle=74E79E98
CheckBootMgrGuid: Found 9DEA862C-5CDD-4E70-ACC1-F32B344D4795
Launch: File matches an EFI loader signature
WaitForEnter: Press Enter to continue

enabling CSM & booting in UEFI without either UefiSeven or Flashboot Pro works fine on the Asrock J3355M

Finally, I was able to use UefiSeven on an Asus PRIME N100I-D D4-CSM board (CSM disabled). for some reason I was able to succeed this only with the help of refindPlus

in ALL motherboards, I flash the latest available bios

so after all, UefiSeven is NOT that bad. the basic thing, still missing, is adjusting the gop resolution by hand as an option in the .ini file

possibly poking around these lines, but the code is based on a quite old EDK II project