Kernel Trap Error (?) When Booting Snow Leopard Install ISO

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
jahburnit
Posts: 6
Joined: 11. Dec 2012, 10:36

Kernel Trap Error (?) When Booting Snow Leopard Install ISO

Post by jahburnit »

Hey,

I have been having a strange issue, which is shown below, while trying virtually every available option? I have tried to boot both my legit copy of Snow Leopard as well as an ISO image I made from it with Disk Utility to no avail. No matter how precisely I follow any guide online, I always end up with the following error:
Screen Shot 2012-12-11 at 12.28.10 AM.png
Screen Shot 2012-12-11 at 12.28.10 AM.png (53.61 KiB) Viewed 6800 times

Here are my extra flags:


VBoxManage setextradata "SL106" VBoxInternal2/EfiGopMode 2
VBoxManage modifyvm "SL106" --firmware efi
VBoxManage setextradata "SL106" VBoxInternal2/SmcDeviceKey "*censored*"

Disregarding the first #2 extra flags, I still get this issue. I have tried messing around w/ different guides but they all do the above, just in a different order =/

I have tried setting up the IDE CD as Primary Master and Secondary Master. I have also enabled the USB options and I have the extensions package installed... (Just to clarify things a bit more)

:evil:
Last edited by klaus on 20. Feb 2015, 17:21, edited 1 time in total.
Reason: no Apple trade secrets in the posts.
jahburnit
Posts: 6
Joined: 11. Dec 2012, 10:36

Re: Kernel Trap Error (?) When Booting Snow Leopard Install

Post by jahburnit »

Here are the logs...
Attachments
VBox.log.1.bz2
(21.78 KiB) Downloaded 24 times
VBox.log.bz2
(21.65 KiB) Downloaded 14 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Kernel Trap Error (?) When Booting Snow Leopard Install

Post by mpack »

VBox.log wrote: 00:00:02.594398 Host RAM: 3072MB total, 1349MB available
...
00:00:02.759604 RamSize <integer> = 0x0000000057f00000 (1 475 346 432, 1407 MB)
This may not be the only problem, but you are assigning way more memory to the VM than is available on your host.
jahburnit
Posts: 6
Joined: 11. Dec 2012, 10:36

Re: Kernel Trap Error (?) When Booting Snow Leopard Install

Post by jahburnit »

At the time I set it, I was in the green. However, hat does not seem to have any affect on this particular issue. Thanks for pointing that out though, it will probably save me some future grief :D
jahburnit
Posts: 6
Joined: 11. Dec 2012, 10:36

Re: Kernel Trap Error (?) When Booting Snow Leopard Install

Post by jahburnit »

Here are some newer logs, with the same screen output in the first post..... I enabled logging for the PAE extensions
Attachments
VBox.log.2.bz2
(35.67 KiB) Downloaded 13 times
VBox.log.1.bz2
(28.02 KiB) Downloaded 12 times
jahburnit
Posts: 6
Joined: 11. Dec 2012, 10:36

Re: Kernel Trap Error (?) When Booting Snow Leopard Install

Post by jahburnit »

After debugging, it seems that "monitor" seems to be the invalid opcode. What the frick is up with that? Not one google search brings up a similar problem. This is probably being invoked by a kernel extension external to VBox, am I right? Any suggestions? :evil:

Code: Select all

VBoxDbg> u 0x1ddced25
%000000001ddced25 0f 01 c8     monitor eax, ecx, edx
%000000001ddced28 85 f6                   test esi, esi
%000000001ddced2a 74 18                   je +018h (01ddced44h)
%000000001ddced2c c7 46 04 00 00 00 00    mov dword [esi+004h], 000000000h
%000000001ddced33 c7 06 00 00 00 00       mov dword [esi], 000000000h
%000000001ddced39 85 ff                   test edi, edi
%000000001ddced3b 74 11                   je +011h (01ddced4eh)
%000000001ddced3d 0f ae f0                mfence
%000000001ddced40 0f 09                   wbinvd
%000000001ddced42 eb 0a                   jmp +00ah (01ddced4eh)
Latest machine screenshot:
Screen Shot 2012-12-11 at 11.10.18 PM.png
Screen Shot 2012-12-11 at 11.10.18 PM.png (78.66 KiB) Viewed 6763 times
rpmurray
Volunteer
Posts: 918
Joined: 3. Mar 2009, 00:29
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Mac OS X (various flavors)
Location: Between Heaven and Hell

Re: Kernel Trap Error (?) When Booting Snow Leopard Install

Post by rpmurray »

The AppleIntelCPUPowerManagement.kext is where Apple checks the hardware on boot to make sure that the CPU is supported by the OS. The only time I've ever seen a panic like this is when:

1) Someone tries to create a Mac OS X guest on Mac hardware that is not supported by the OS. Like trying to run Snow Leopard on a newer Mac that came with Lion or Mountain Lion as the pre-installed OS. This is because they are using newer CPUs whose CPUIDs are not in the supported list in the kext.

2) Someone tries to create a Mac OS X guest on non-Mac hardware.

According to the log your Mac is a Mac Pro 4,1 "Quad Core" 2.66 (2009/Nehalem) so we can rule out 2. And the pre-installed Mac OS X was 10.5.6 so you should be able to use the 10.6.3 retail disc (your legit DVD).

From your above post you said you've done:

VBoxManage setextradata "SL106" VBoxInternal2/EfiGopMode 2
VBoxManage modifyvm "SL106" --firmware efi
VBoxManage setextradata "SL106" VBoxInternal2/SmcDeviceKey "*censored*"

Your log though, indicates that the VM is actually named "SL10.6". Have you tried using that? You shouldn't need to do the second statement since you can choose EFI using the VB GUI in Settings > System > Motherboard > Extended Features > Enable EFI, and the third statement is superfluous since you're running this on Mac hardware. Make sure you assign only one core to the VM.
Last edited by klaus on 20. Feb 2015, 17:20, edited 1 time in total.
Reason: no Apple trade secrets in the posts.
jahburnit
Posts: 6
Joined: 11. Dec 2012, 10:36

Re: Kernel Trap Error (?) When Booting Snow Leopard Install

Post by jahburnit »

Hmm, I downed it to 1 core. Now it loads fine w/o any kernel traps. However, now it just stalls at:

AppleIntelCPUPowerManagementClient: ready
ChipMcK
Volunteer
Posts: 1095
Joined: 20. May 2009, 02:17
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, OSX
Location: U S of A

Re: Kernel Trap Error (?) When Booting Snow Leopard Install

Post by ChipMcK »

jahburnit wrote: . . . it just stalls at: AppleIntelCPUPowerManagementClient: ready
You seem to have the same environment: iMac came with Leopard installed.
I am trying to get a p2v clone to run under vb. I am waiting your success.
rpmurray
Volunteer
Posts: 918
Joined: 3. Mar 2009, 00:29
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7, Mac OS X (various flavors)
Location: Between Heaven and Hell

Re: Kernel Trap Error (?) When Booting Snow Leopard Install

Post by rpmurray »

In Settings go to General > Basic and change the version of the Operating System from Mac OS X Server to Mac OS X Server (64 bit). I remember reading a post a while back from one of the developers that there is a glitch in the handling of the EFI that can be worked around by choosing the 64-bit setting.

If that doesn't work then try using an earlier version of VB than 4.2.x. I've been running Snow Leopard as a guest using VB 4.0.16, but you could try the last 4.1.x to see if it works with it.
Post Reply