Opened 14 years ago
Closed 9 years ago
#8604 closed defect (fixed)
128 MB display adapter causes EFI crash
Reported by: | Jarrod Petz | Owned by: | |
---|---|---|---|
Component: | EFI | Version: | VirtualBox 4.0.8 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description (last modified by )
Hi,
Please forgive me if this is in the wrong area.
When making a new virtual machine in 4.0.4. If I set the display memory to 128MB and have EFI enabled it causes a crash on starting the VM. I suspect it has to do with EFI software as if I turn EFI off and go back to a traditional BIOS then everything is fine. Also if I reduce the display memory to 64MB it is also fine.
Attachments (6)
Change History (31)
by , 14 years ago
comment:1 by , 14 years ago
Component: | host support → EFI |
---|
comment:2 by , 14 years ago
Sorry for delaying. Could you please describe a bit when does it happen? Does it happens on pure EFI boot, let's say without any attachments, are you able to see EFI shell with 128Mb.
comment:3 by , 14 years ago
Actually I wasn't able to reproduce the issue, and probably I've mistaken but It looks like you're trying to boot the FreeBSD 9 (according to the attached log). From what I've found about FreeBSD boot on mac it should be some sort of mixed environment, as I understand loader.efi is required from http://blogs.freebsdish.org/rpaulo/2008/08/31/freebsd-ia32-efi-boot-loader/, right? So that why I've asked first series of the questions, to understand on what stage of the boot efi asserts internally.
comment:4 by , 14 years ago
Same issue here. I can see an assert in the log:
00:00:03.517 !!Assertion Failed!! 00:00:03.517 Expression: <NULL> 00:00:03.517 Location : D:\tinderbox\win-4.0\src\VBox\Devices\EFI\DevEFI.cpp(372) efiIOPortWrite 00:00:03.517 Unexpected trap during early EFI bootstrap!!
follow-up: 7 comment:5 by , 14 years ago
Could you please download VBoxDD.dll and place DSO instead of installed one. Please run your vm with following environment variables, then:
set VBOX_LOG=dev_efi.e.l2 set VBOX_LOG_DEST=file=c:\efi.log
and please attach the resulted log to the defect.
comment:6 by , 14 years ago
Hi Hachiman,
Thanks for reviewing my report. I'll do what I can to help. I just updated VirtualBox to 4.0.6 and still see this error. As ivanz states the error occurs before you get the Oracle VBox splash screen and also therefore before the EFI shell. I have followed your instructions.
- Replace DLL temporarily
- Set environment variables
But still got no log file. Turns out windows stupid file protection had me. If I run VBox with elevated admin privs I get a log file. I will upload the 64MB woking log and again the 128MB log from a failed startup.
I have also attached my vbox config file for the VM perhaps that will help you replicate the issue.
Regards Jarrod
comment:7 by , 14 years ago
Replying to Hachiman:
Could you please download VBoxDD.dll and place DSO instead of installed one. Please run your vm with following environment variables, then:
set VBOX_LOG=dev_efi.e.l2 set VBOX_LOG_DEST=file=c:\efi.logand please attach the resulted log to the defect.
I did that (and ran VBox from cmd to make sure the ENV VARs apply), but the VM won't start due to: VERR_PDM_DEVICE_NAME_CLASH
comment:8 by , 14 years ago
To be more specific:
00:00:01.509 VMSetError: D:\tinderbox\win-4.0\src\VBox\VMM\VMMR3\VM.cpp(354) VMR3Create; rc=VERR_PDM_DEVICE_NAME_CLASH 00:00:01.509 VMSetError: Unknown error creating VM 00:00:01.510 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={515e8e8d-f932-4d8e-9f32-79a52aead882} aComponent={Console} aText={Unknown error creating VM (VERR_PDM_DEVICE_NAME_CLASH)}, preserve=false 00:00:01.522 Power up failed (vrc=VERR_PDM_DEVICE_NAME_CLASH, rc=E_FAIL (0X80004005))
follow-up: 11 comment:9 by , 14 years ago
Thanks, Jarrod and Ivan for feedbacks. I've noticed that your vm requires more then 1Gb, that might be an issue as well. So just to be sure could you try config with RAM <= 1Gb? For this test no need the be lunched with modified DSO and no log need to be attached, just note if RAM size value influences in your cases anyhow.
comment:10 by , 14 years ago
Version: | VirtualBox 4.0.4 → VirtualBox 4.0.6 |
---|
follow-ups: 12 13 comment:11 by , 14 years ago
Replying to Hachiman:
Thanks, Jarrod and Ivan for feedbacks. I've noticed that your vm requires more then 1Gb, that might be an issue as well. So just to be sure could you try config with RAM <= 1Gb? For this test no need the be lunched with modified DSO and no log need to be attached, just note if RAM size value influences in your cases anyhow.
You are right. With the RAM set to 512mb VBox doesn't crash.
comment:12 by , 14 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Replying to ivanz:
Replying to Hachiman:
Thanks, Jarrod and Ivan for feedbacks. I've noticed that your vm requires more then 1Gb, that might be an issue as well. So just to be sure could you try config with RAM <= 1Gb? For this test no need the be lunched with modified DSO and no log need to be attached, just note if RAM size value influences in your cases anyhow.
You are right. With the RAM set to 512mb VBox doesn't crash.
Thanks for testing looks like duplicate of 8826, which hopefully fixed. And it will available in 4.0.8. I'll mark it as duplicate for now, but feel free to reopen in case it if the issue will persists in 4.0.8 ofc.
comment:13 by , 14 years ago
Replying to ivanz:
Replying to Hachiman:
Thanks, Jarrod and Ivan for feedbacks. I've noticed that your vm requires more then 1Gb, that might be an issue as well. So just to be sure could you try config with RAM <= 1Gb? For this test no need the be lunched with modified DSO and no log need to be attached, just note if RAM size value influences in your cases anyhow.
You are right. With the RAM set to 512mb VBox doesn't crash.
Confirmed also. I can start the VM without a crash if I set the memory to 512MB.
Question, is 4.0.8 ofc or a development binary(windows) with this fix available for download? If so can you provide a link?
comment:15 by , 14 years ago
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
Replying to Hachiman:
please try with 4.0.8
Unfortunately it still crashes with 4.0.8:
00:00:03.522 EFI Panic: Unexpected trap!! 00:00:03.522 00:00:03.522 !!Assertion Failed!! 00:00:03.522 Expression: <NULL> 00:00:03.522 Location : D:\tinderbox\win-4.0\src\VBox\Devices\EFI\DevEFI.cpp(372) efiIOPortWrite 00:00:03.522 Unexpected trap during early EFI bootstrap!!
follow-up: 18 comment:16 by , 14 years ago
If you give me a build of the logging-enabled .dll for 4.0.8 I can get you a log.
comment:17 by , 14 years ago
Version: | VirtualBox 4.0.6 → VirtualBox 4.0.8 |
---|
follow-up: 19 comment:18 by , 14 years ago
Replying to ivanz:
If you give me a build of the logging-enabled .dll for 4.0.8 I can get you a log.
please try VBoxDD.dll and send me log via mail [vasily _dot_ levchenko _at_ oracle _dot_ com].
follow-up: 20 comment:19 by , 14 years ago
Replying to Hachiman:
Replying to ivanz:
If you give me a build of the logging-enabled .dll for 4.0.8 I can get you a log.
please try VBoxDD.dll and send me log via mail [vasily _dot_ levchenko _at_ oracle _dot_ com].
the VM won't start with that .dll, because of VERR_PDM_DEVICE_NAME_CLASH . How to workaround that?
follow-up: 21 comment:20 by , 14 years ago
Replying to ivanz:
Replying to Hachiman:
Replying to ivanz:
If you give me a build of the logging-enabled .dll for 4.0.8 I can get you a log.
please try VBoxDD.dll and send me log via mail [vasily _dot_ levchenko _at_ oracle _dot_ com].
the VM won't start with that .dll, because of VERR_PDM_DEVICE_NAME_CLASH . How to workaround that?
Please make sure that original VBoxDD.dll isn't in path or current folder.
follow-up: 22 comment:21 by , 14 years ago
Replying to Hachiman:
Replying to ivanz:
Replying to Hachiman:
Replying to ivanz:
If you give me a build of the logging-enabled .dll for 4.0.8 I can get you a log.
please try VBoxDD.dll and send me log via mail [vasily _dot_ levchenko _at_ oracle _dot_ com].
the VM won't start with that .dll, because of VERR_PDM_DEVICE_NAME_CLASH . How to workaround that?
Please make sure that original VBoxDD.dll isn't in path or current folder.
It's not, because I moved it to my desktop and put yours in place in C:\Program Files\Oracle\VirtualBox
follow-up: 24 comment:22 by , 14 years ago
Replying to ivanz:
Replying to Hachiman:
Replying to ivanz:
Replying to Hachiman:
Replying to ivanz:
If you give me a build of the logging-enabled .dll for 4.0.8 I can get you a log.
please try VBoxDD.dll and send me log via mail [vasily _dot_ levchenko _at_ oracle _dot_ com].
the VM won't start with that .dll, because of VERR_PDM_DEVICE_NAME_CLASH . How to workaround that?
Please make sure that original VBoxDD.dll isn't in path or current folder.
It's not, because I moved it to my desktop and put yours in place in C:\Program Files\Oracle\VirtualBox
Could you please send me your log file with this DSO?
comment:23 by , 14 years ago
Hi Guys,
Thanks again for the interest in my report. I uninstalled VBox and installed VMWare Workstation yesterday so I could do some work on FreeBSD VMs. I thought 4.0.8 would take some time to get my hands on. I guess I was wrong.
So I have loaded up 4.0.8 and run up a new VM with the settings that caused the crash last time. Unfortunatly the error looks the same in the logs(as below).
efi: EFI Assertion failed! File=/home/vbox/tinderbox/efi-4.0/edk2/PcAtChipsetPkg/PciHostBridgeDxe/PciHostBridge.c line=0x0000000000000171 EFI Panic: Unexpected trap!! Unexpected trap during early EFI bootstrap!!
I have attached three logs in my ZIP this time.
- Successful boot to EFI shell with 64MB video memory set.
- Failed startup with 128MB video memory.
- Successful boot to EFI shell with base memory set to 1GB instead of 4GB.
comment:24 by , 14 years ago
Replying to Hachiman:
Replying to ivanz:
Replying to Hachiman:
Replying to ivanz:
Replying to Hachiman:
Replying to ivanz:
If you give me a build of the logging-enabled .dll for 4.0.8 I can get you a log.
please try VBoxDD.dll and send me log via mail [vasily _dot_ levchenko _at_ oracle _dot_ com].
the VM won't start with that .dll, because of VERR_PDM_DEVICE_NAME_CLASH . How to workaround that?
Please make sure that original VBoxDD.dll isn't in path or current folder.
It's not, because I moved it to my desktop and put yours in place in C:\Program Files\Oracle\VirtualBox
Could you please send me your log file with this DSO?
Relevant part below, I will attach the full log as well:
00:00:01.647 VMSetError: D:\tinderbox\win-4.0\src\VBox\VMM\VMMR3\VM.cpp(354) VMR3Create; rc=VERR_PDM_DEVICE_NAME_CLASH 00:00:01.647 VMSetError: Unknown error creating VM 00:00:01.647 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={515e8e8d-f932-4d8e-9f32-79a52aead882} aComponent={Console} aText={Unknown error creating VM (VERR_PDM_DEVICE_NAME_CLASH)}, preserve=false 00:00:01.689 Power up failed (vrc=VERR_PDM_DEVICE_NAME_CLASH, rc=E_FAIL (0X80004005))
I run VirtualBox.exe from cmd after doing (as per your instructions earlier):
set VBOX_LOG=dev_efi.e.l2 set VBOX_LOG_DEST=file=c:\efi.log
comment:25 by , 9 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | reopened → closed |
Please reopen if still relevant with a recent VirtualBox release, can't reproduce this anymore.
VBox logs of crashing(128MB) and non crashing (64MB) display VMs