VirtualBox

16 年 前 建立

15 年 前 結束

#5058 closed defect (fixed)

Windows guest crashes on Linux host if VT-x/AMD-V enabled

回報者: f.hoefling 負責人:
元件: other 版本: VirtualBox 3.0.8
關鍵字: VT-x/AMD-V 副本:
Guest type: Windows Host type: Linux

描述

Booting Windows XP Prof. (32 bit) in Virtualbox 3.0.6 with VT-x/AMD-V results in a crash of the virtual machine. The problem is solved by disabeling the VT-x/AMD-V option.

Booting and running memtest86 with the same configuration works without problems.

Host configuration: Ubuntu Linux (Jaunty, kernel 2.6.28), AMD PhenomII X4. Virtualization is enabled in the Bios.

附加檔案 (6)

VBox.png (938 位元組 ) - 16 年 前, 由 f.hoefling 新增
Log file
VBox.log (114.4 KB ) - 16 年 前, 由 f.hoefling 新增
Log file
VBox.log.1 (129.9 KB ) - 15 年 前, 由 f.hoefling 新增
Log file for version 3.0.8 with VT-x/AMD-V enabled
VBox.2.log (43.7 KB ) - 15 年 前, 由 f.hoefling 新增
Log file for version 3.0.8 with VT-x/AMD-V disabled
2009-10-23-20-16-03.060-VirtualBox-9999.log (267 位元組 ) - 15 年 前, 由 Carles 新增
Log "fatal error in recompiler cpu"
VBox6.log (115.7 KB ) - 15 年 前, 由 Carles 新增
Full log in .virtualbox

下載所有附檔: .zip

更動歷史 (47)

16 年 前f.hoefling 編輯

附檔: 新增 VBox.png

Log file

16 年 前f.hoefling 編輯

附檔: 新增 VBox.log

Log file

comment:1 16 年 前f.hoefling 編輯

the relevant error message might be this:

fatal error in recompiler cpu: triple fault

comment:2 16 年 前Sander van Leeuwen 編輯

摘要: Windows guest crashes on Linux host if VT-x/AMD-V enabledWindows guest crashes on Linux host if VT-x/AMD-V enabled -> fixed in SVN/3.0.8

Right and I happened to be working on a similar bug. Fixed now.

comment:3 15 年 前Sander van Leeuwen 編輯

狀態: newclosed
處理結果: fixed

15 年 前f.hoefling 編輯

附檔: 新增 VBox.log.1

Log file for version 3.0.8 with VT-x/AMD-V enabled

comment:4 15 年 前f.hoefling 編輯

狀態: closedreopened
處理結果: fixed

The bug persists in version 3.0.8.

I've updated to virtualbox-3.0_3.0.8-53138_Ubuntu_jaunty, enabled the VT-x/AMD-V option, and Windows still crashes.

comment:5 15 年 前Sander van Leeuwen 編輯

版本: VirtualBox 3.0.6VirtualBox 3.0.8

Which service pack level of Windows XP? Any unusual programs installed (virus scanners)?

comment:6 15 年 前f.hoefling 編輯

Thanks for the quick reply. I'm running Windows XP Prof. SP3. The crash occurs during the boot procedure, presumably when Windows switches to graphics mode for the first time. (When the Windows logo appears.) Before, I can select the hardware configuration (text mode). I'm booting from a raw disk (AHCI) - not sure, whether this makes a difference.

My graphics card is nVidia GeForce 8500 GT. The VM has 48 MB graphics memory and 3D acceleration enabled.

For comparison, I have attached the log-file without the VT-x/AMD-V option.

15 年 前f.hoefling 編輯

附檔: 新增 VBox.2.log

Log file for version 3.0.8 with VT-x/AMD-V disabled

comment:7 15 年 前Sander van Leeuwen 編輯

摘要: Windows guest crashes on Linux host if VT-x/AMD-V enabled -> fixed in SVN/3.0.8Windows guest crashes on Linux host if VT-x/AMD-V enabled

comment:8 15 年 前Sander van Leeuwen 編輯

Did you install SATA drivers in the VM?

comment:9 15 年 前f.hoefling 編輯

The disks are running in SATA mode, and I've installed SATA drivers in the native boot configuration of Windows.

In the VM, I can't find that SATA drivers are installed. But there is an unconfigured PCI device: 0x2829 AHCI Controller 0x8086 Intel Corporation

comment:10 15 年 前f.hoefling 編輯

I've updated the Virtualbox GuestAdditions, but nothing has changed.

I've installed the driver for the Intel AHCI controller, no change - it still crashes with virtualization enabled.

comment:11 15 年 前Carles 編輯

Confirm the situation in Virtualbox 3.0.8 and earlier. If enabled VT-x/AMD-V on a disk with two installations, windows xp professional sp3 and Linux, when Windows starts we get the following error: fatal error in recompiler cpu: triple fault

If not enabled the VT-x/AMD-V, windows xp working properly. This error occurs both with a virtual IDE and SATA disk. I think the system can not access the NTFS partition of wind, and therefore, load the NT loader.

Excuse my poor English

Thanks

15 年 前Carles 編輯

Log "fatal error in recompiler cpu"

15 年 前Carles 編輯

附檔: 新增 VBox6.log

Full log in .virtualbox

comment:12 15 年 前kaatmanduu 編輯

I was experiencing the same issue, XP would crash with VT-x/AMD-V enabled, and boot without it. I installed the Intel SATA drivers from http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=17882&lang=eng, and I can boot with VT-x/AMD-V enabled. I now have a multi-processor enabled guest, very nice!

回覆:  12 comment:13 15 年 前f.hoefling 編輯

Replying to kaatmanduu:

I was experiencing the same issue, XP would crash with VT-x/AMD-V enabled, and boot without it. I installed the Intel SATA drivers from http://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&DwnldID=17882&lang=eng, and I can boot with VT-x/AMD-V enabled. I now have a multi-processor enabled guest, very nice!

I just wanted to confirm that the Intel driver (version 8.9.0.1023) doesn't solve the problem for me - but big surprise! Now it works for me too, even with 2 processors enabled :-) But I don't know why.

I'd installed the Intel driver already two weeks ago, and it kept crashing. (See my previous post.) The only thing I've changed since is that Windows boots directly with its standard boot loader, not via Grub. (I'm using raw disk access with "virtual" MBR.)

comment:14 15 年 前Carles 編輯

Replying to kaatmanduu:

From the Windows MBR bootloader starts correctly with VT-X enabled or not enabled. With GRUB starts well without VT-X enabled, with VT-X enabled does not start. Linux works always with or without VT-X from GRUB.

Greetings

回覆:  14 comment:15 15 年 前kaatmanduu 編輯

Replying to carlesgs:

From the Windows MBR bootloader starts correctly with VT-X enabled or not enabled. With GRUB starts well without VT-X enabled, with VT-X enabled does not start.

I'd changed to use the native Windows boot loader a few days before I installed the drivers. It never occurred to me that this might have an affect on a crash that late in the boot process. I booted using grub, and XP indeed crashes again when AMD-V is enabled.

comment:16 15 年 前Carles 編輯

I confirm that this error occurs in the new version 3.0.10

comment:18 15 年 前Carles 編輯

This error occurs in grub, grub2 and lilo, confirmed and tested

comment:19 15 年 前Carles 編輯

Even if the computer does not have a processor with hardware virtualization, grub can not boot windows xp with enabled VT-x extension. If this extension is not enabled, it starts correctly.

Curious ...

comment:20 15 年 前Markus Schaber 編輯

I can also reproduce that problem here in 3.10 - it also happened with the 3.0.6 OSE edition coming with debian. I can assist in debugging (provide logfiles, doing diagnostics etc.) if wanted.

As non-virtualized booting is unconsiderably slow, I'll try to find out infos about the direct boot (virtual mbr) mentioned here.

comment:21 15 年 前Carles 編輯

The error also occurs in version 3.1.0 beta

comment:22 15 年 前Carles 編輯

Solution "temporary" to the malfunctioning of grub and VT-X

Situation: 1 disk virtualbox ide or sata, with 2 operating systems installed: Windows and Linux. Grub, Grub 2 and Lilo not function properly if you enable VT-X on the virtual machine, Windows does not start with VT-x enabled.

Solution: Modify boot.ini in windows to start linux. I used Wingrub (http://sourceforge.net/projects/grub4dos/files/) to create the grub file to use boot.ini . Wingrub has a graphical interface, and options are virtually identical to the grub menu.lst file in linux, indicate: kernel, partition and initrd. Finally, modify boot.ini to start linux, example:

[boot loader] timeout=-1 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows" /noexecute=optin /fastdetect C:\GRLDR="my linux"

Note: The binary file created with wingrub must be located in c: , and is called by the entry GRLDR in boot.ini .

Excuse my English

comment:23 15 年 前Carles 編輯

Sorry, boot.ini has to be well

[boot loader] timeout=-1 default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS [operating systems] multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows" /noexecute=optin /fastdetect
C:\GRLDR="my linux" <---new line

comment:24 15 年 前Markus Schaber 編輯

It still happens with 3.1.0-55467_Debian_lenny

comment:25 15 年 前Frank Mehnert 編輯

Well, if the VM crashes (unexpected process termination), then please try to generate a core dump and contact me via frank _dot_ mehnert _at_ sun _dot_ com, then I can provide you a server for uploading the file.

comment:26 15 年 前Frank Mehnert 編輯

schabi, thanks for the core dump. Actually this was a guru mediation and therefore no real process crash (segfault or something like that). Therefore the core dump is not helpful in that case, sorry. Just another (unsolved) fatal error in recompiler cpu: triple fault problem ...

comment:27 15 年 前Markus Schaber 編輯

Anything I can do do help debugging?

comment:28 15 年 前Sander van Leeuwen 編輯

#6017 has been marked as a duplicate.

comment:29 15 年 前Sander van Leeuwen 編輯

Still unable to reproduce. Windows XP SP3 with SMP enabled boots fine here. The instruction that causes the problem in the attached logs is executed properly here.

Access to a disk image that always causes the guru meditation might be helpful.

comment:30 15 年 前Markus Schaber 編輯

In my case, it is not a disk image, but a native partition which is booted. I don't know whether I'm in the position to provide you with that native partition, as it contains some copyrighted and some private contents.

I tried to create a dual-boot scenario (booting the same windows installation both natively and in VirtualBox), and while I know that this is not officially supported, a guru meditation is not what I expect :-)

comment:31 15 年 前Markus Schaber 編輯

Maybe one relevant fact is that my Host is a 64 bit lenny version from download.virtualbox.org on a debian testing system on a Intel(R) Core(TM)2 Duo CPU, while the guest is 32 bit.

There is no download version for debian testing, and the one for unstable is broken.

If I can do anything help you tracing down the problem, please tell me. A packed dump of my windows partition is about 25 gig, but as it might be that the bootloader is also part of the problem, and I don't know whether I'm allowed to give you the windows partition (it contains copyright protected software), I don't know whether that will suffice. But I also could run some debug version of virtualbox, or create some trace files, etc...

comment:32 15 年 前Sander van Leeuwen 編輯

schabi: 25 GB is rather large and then there's the matter of privacy and copyright, so that's not really an option.

Could you also attach a log file of a session that crashed?

回覆:  31 ; comment:33 15 年 前Frank Mehnert 編輯

Replying to schabi:

There is no download version for debian testing, and the one for unstable is broken.

I'm sorry? There are packages for Etch and Lenny, both should work. For Debian/testing and Debian/unstable use the corresponding Lenny package of course.

回覆:  32 comment:34 15 年 前Markus Schaber 編輯

Hi,

Replying to sandervl73:

schabi: 25 GB is rather large and then there's the matter of privacy and copyright, so that's not really an option.

Could you also attach a log file of a session that crashed?

I was in contact with Frank, and uploaded all the log files he wanted. His Conclusion was that it was no crash, but a Guru Meditation - which reminds me of my good, old Amiga times long ago, but seemingly does not help.

回覆:  33 comment:35 15 年 前Markus Schaber 編輯

Replying to frank:

Replying to schabi:

There is no download version for debian testing, and the one for unstable is broken.

I'm sorry? There are packages for Etch and Lenny, both should work. For Debian/testing and Debian/unstable use the corresponding Lenny package of course.

Sorry, I meant that the download for unstable does not work (at least not with debian testing from today): sarge (aka unstable) as mentioned on http://www.alldomusa.eu.org/wiki/Linux_Downloads gives the following error: W: Failed to fetch http://download.virtualbox.org/virtualbox/debian/dists/sarge/Release Unable to find expected entry non-free/binary-amd64/Packages in Meta-index file (malformed Release file?)

E: Some index files failed to download, they have been ignored, or old ones used instead.

The lenny one is the one I use: 3.1.2-56127_Debian_lenny. Debian testing is squeeze which is not available as a repository. And I thought that running a lenny version on squeeze might be the reason for the bug.

comment:36 15 年 前Frank Mehnert 編輯

schabi, Debian/unstable is sid not sarge. And no, running lenny on squeeze or sid should be fine.

comment:37 15 年 前Frank Mehnert 編輯

Oh, and sarge is Debian 3.1 so outdated.

comment:38 15 年 前Markus Schaber 編輯

Yes, you're right, sorry. But you might consider removing the sarge link from your download page then.

comment:39 15 年 前Frank Mehnert 編輯

Could you check if VBox 3.1.6 changes anything?

comment:40 15 年 前Markus Schaber 編輯

I just tried, and it worked - I booted into the login screen, and after login the activation message came, no Guru mediation any more.

I cannot guarantee that there were no other relevant changes (GRUB updates or windows updates) in the meantime, but the problem is fixed for me.

Thanks!

comment:41 15 年 前Technologov 編輯

should be CLOSED as FIXED

-Technologov

comment:42 15 年 前Frank Mehnert 編輯

狀態: reopenedclosed
處理結果: fixed
注意: 瀏覽 TracTickets 來幫助您使用待辦事項功能

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette