View Full Version : AMD FX 4100 - can't boot into any version of OS X
R:A:W:X86
04-06-2012, 02:23 AM
I am about to despair...
I just installed an AMD FX 4100 CPU to an MSI 760GM-P23 mainboard - hoping for Lion to work with 64-Bit support.
currently 100% disappointed. :(
I cannot boot any Kernel with any version of OS X (tried 10.5 + Voodoo, 10.6 + modbin / nawcom, 10.7 with that latest Kernel...)
I always end up with Kernel Panic like this:
http://code.google.com/p/xnu-dev/issues/detail?id=390
The fault appears right after the Kernel has loaded, so no Extensions etc involved...
Always that vm_page_set_colors shit...
When I replace the FX with Phenom II, all Kernel are loaded without any problem.
Tried passing the common flags, disabled all the CPU features in BIOS, different versions of Chameleon, etc etc
A Phenom II X4 955BE as reward if someone can sort out that f* bug! :D
----
solved...
http://osx86.co/f36/amd-fx-4100-cant-boot-into-any-version-t7646/post57026.html
R:A:W:X86
04-06-2012, 02:55 PM
Details:
Snow:
http://www.abload.de/img/sam_1283mrz25.jpg
Lion:
http://h9.abload.de/img/sam_1290icla1.jpg
Unrealized
04-06-2012, 08:00 PM
Is the Lion an preinstalled system? Does lion boot without -legacy? It should as far as I know. Unless the support for the CPU family is missing in the kernel itself.
(also, a bummer, I was going to buy a FX-6100 soon :()
R:A:W:X86
04-06-2012, 08:20 PM
Unrealized;
Like I wrote in the title of this topic: it is the same Panic with all version of OS X. :-|
No way to boot at all.
No matter if trying to boot 10.5.8, 10.6.0, 10.6.8 or 10.7.x (Tiger untested^^)
On 10.6.0 it is even same Panic with the modbin Kernel, which actually is a binary hack and no source code modification.
Unrealized
04-06-2012, 10:58 PM
Strange, since my mate installed Lion and he has FX-8150 which is in the same CPU Family... :-/
Which Lion version is that specifically? My Mate is running 10.7.3. Installed on top of iAtkos L2.
R:A:W:X86
04-07-2012, 01:31 AM
Maybe other FX can work, but it seems like there is some small detail that makes the 4100 incompatible:
Another FX4100 owner - same panic - different mainboard:
http://www.root86.org/showthread.php/4587-Dauer-Kernel-Panic
I just tried to boot into Darwin 10.8.0 using GRUB2 instead of Chameleon - same Kernel Panic... :-|
So most likely it is no Chameleon related issue...
I had a look at vm_resident.c - I could try to modify the if query, that calls the panic...
(even though I am only used to ms qbasic^^)
Most likely this will run me straight into the next panic.
I currently don't have a setup to run Xcode as well -.-
Someone knows any other FX that can be confirmed working? I may give mine back and get a different one...
8150 is a little expensive - in that case I could also get an i5 (just that i don't like intel)
(Just out of curiosity: Mac OS X 10.4.8 works using cpus=1 on Nebukadnezar Kernel lol - but eh that wasn't the reason for me to buy that f* CPU^^)
Unrealized
04-07-2012, 11:11 AM
I think you should wait a while for a better working kernel. ;)
R:A:W:X86
04-07-2012, 02:44 PM
wooohooo!
I am not the kind of person that is used to "wait" :p
I just compiled 10.5.0 XNU.
I have been putting these lines into comments:
if ( ( n & (n - 1)) != 0 )
panic("vm_page_set_colors");
and I am booted until PCI Configuration beginn :D:D:D
I will try to totaly fix up Snow Leopard later - too bad I have to leave for work now. :-/
When I have it up an running - I will try Lion. :)
R:A:W:X86
04-08-2012, 12:36 AM
Snow Leopard is up and running. :D
For some stupid reason, I have to unplug my USB aluminium keyboard in order to boot (?!) - but removing those lines from source code did the trick! :)
Now I need to have that patch applied to the Lion Kernel by bronzovka, but I cannot compile Lion Kernel as I cannot use Xcode later than 4.0.2 currently...
Anyone around here who can help me out on this?
lunfai
04-08-2012, 01:41 AM
Snow Leopard is up and running. :D
For some stupid reason, I have to unplug my USB aluminium keyboard in order to boot (?!) - but removing those lines from source code did the trick! :)
Now I need to have that patch applied to the Lion Kernel by bronzovka, but I cannot compile Lion Kernel as I cannot use Xcode later than 4.0.2 currently...
Anyone around here who can help me out on this?
There's Xcode 4.2 for Snow Leopard.
weller99
04-09-2012, 12:37 AM
Hey guys,
I just upgraded my cpu from a Phenom II X4 965 to an FX-8150.
I previously had my VM running snow leopard with xcode4.2 just fine. I had to use "busratio=14" and that was all I needed.
Now, I get the same errors that you (RAWx686) were experiencing with the vm_page_set_colors panic. I changed my busratio to 18. To be sure, I went into the BIOS and set it to Manual and selected 18. I tried other flags, like "cpus=1 -f -F arch=x86_64 -force64" and various combinations to no avail. I tried the 10.6.2 hackintosh boot ISO as well, and tried the flags there, but i get the same error.
Do either of you have any idea what I could try next?
RAWx86, can I try your hacked source code? If you kept your keyboard in, did you still get the kernel panic, or was that another error message entirely?
Unrealized, you say Lion works with FX-8150? Does snow leopard work for him, or did he not even try that? What flags did he use? I really need to get my VM back up!
Thanks in advance!
R:A:W:X86
04-09-2012, 12:55 AM
Ofcourse I can, note that this Kernel build does not yet include a custom dyld!!
I still need to recompile it using voodoobuild script!
You may have to pass -force64 flag, if your system will shutdown at boot.
http://ifolder.ru/29809107
// out of date - get latest one from http://osx86.co/f36/amd-fx-4100-cant-boot-into-any-version-t7646/post57026.html
For some reason I have not yet managed to compile either Darwin 10.8.0 or 11.x - so Kernel will be 10.7.0 and require to use 10.6.7 IOPCIFamily.kext and IOACPIPlatform.kext on 10.6.8
I am still hoping for someone to help with compiling Lion Kernel - also asked bronzovka to include my fix to his Kernel, but do not have his response yet.
I will add Kernel with custom dyld later.
Alu Keyboard pluged causes freeze at stage when AppleUSBOHCI Sleep warning should appear.
I don't think this has anything to do with CPU/Kernel - but it is annoying and maybe someone knows a fix... :D
Currently my priority is Snow / Lion / Audio / Keyboard^^ - so most likely I will look at this later...
weller99
04-09-2012, 02:07 AM
Thanks. I downloaded your kernel.
Do I just need to mount my .vdi image (i use virtualbox, not vmware), and replace the kernel with yours?
I'm not sure how else to do it.
Cheers,
R:A:W:X86
04-10-2012, 04:07 AM
I freaking made it!
I just succesfully managed to compile Lion Kernel using XCode 4.2 for Snow Leopard.
Fixed bronzovka patch to work with FX-4100:
http://www.abload.de/img/screenshot2012-04-10aywkvb.png
Finder working 64-Bit. :)
bronzovka,
In case you read this.
Thanks a lot for the Kernel patch and especially for realising the source code. :)
If you would not have done, I would have been out of luck...
Will post the fixed Kernel later in case someone needs it!
>>>>>>>>>>>>
Darwin Kernel 11.3.0 (LION) fixed for vm_resident.c not to panic on AMD FX-4100:
Download:
http://ifolder.ru/29835262
//edit: 11.4.0: http://osx86.co/f100/10-7-4-amd-kernel-t7687/
<<<<<<<<<<<<
Darwin Kernel 10.7.0 (SNOW LEOPARD) fixed for vm_resident.c not to panic on AMD FX-4100:
Download:
http://ifolder.ru/30332779
//edit: fixed the patch for xnu-1504.15.3 / for 10.6.8 to work without old kext:
http://www.xup.in/dl,86069918/mach_kernel/
>>>>>>>>>>>>
@weller99
most likely yes, i am not familiar with either virtualbox nor vmware, sorry
$The-King$
04-10-2012, 04:21 AM
I freaking made it!
I just succesfully managed to compile Lion Kernel using XCode 4.2 for Snow Leopard.
Fixed bronzovka patch to work with FX-4100:
http://www.abload.de/img/screenshot2012-04-10aywkvb.png
Finder working 64-Bit. :)
bronzovka,
In case you read this.
Thanks a lot for the Kernel patch and especially for realising the source code. :)
If you would not have done, I would have been out of luck...
Will post the fixed Kernel later in case someone needs it!
@weller99
most likely yes, i am not familiar with either virtualbox nor vmware, sorry
does installer work ?
R:A:W:X86
04-10-2012, 05:01 AM
does installer work ?
I have not tried yet... had it installed previously.
I may try later if the installer works on SSSE3 capable CPU, it's 6:00 in the morning - I will get some sleep now... :p
$The-King$
04-10-2012, 05:10 AM
I have not tried yet... had it installed previously.
I may try later if the installer works on SSSE3 capable CPU, it's 6:00 in the morning - I will get some sleep now... :p
happy dreams
we are from the same time zone :D
Unrealized
04-10-2012, 10:32 AM
Does xpchelper crash? Also finder works out of the box?
weller99
04-11-2012, 03:10 AM
I'm not sure where my reply went. Is there a lag for it to appear in the forum?
Anyways, let me retype this.
congrats on getting lion compiled and working, rawx86!
i cannot for the life of me, figure out how to get the kernel into the .vdi (which is an already working osx image) nor the .iso image(the modified install iso). With the ,vdi, I got inside it with VBoxManage hdshowinfo to get the offset, and then "losetup" to create a loop device to see the partition table. The table was an GPT table which parted is supposed to be able to read but can't.
I gave up on that one, and tried the ISO. I can mount the ISO after running kpartx on it because there is an apple and hfs+ partition. Recreating that is not straightforward. It's easy to use mkisofs on a single partition, but i want to leave the other ones intact.
How are you doing it? with a mac? I'm trying to do all of this from a Linux host.
Cheers,
Unrealized
04-11-2012, 01:45 PM
I'm not sure where my reply went. Is there a lag for it to appear in the forum?
Anyways, let me retype this.
congrats on getting lion compiled and working, rawx86!
i cannot for the life of me, figure out how to get the kernel into the .vdi (which is an already working osx image) nor the .iso image(the modified install iso). With the ,vdi, I got inside it with VBoxManage hdshowinfo to get the offset, and then "losetup" to create a loop device to see the partition table. The table was an GPT table which parted is supposed to be able to read but can't.
I gave up on that one, and tried the ISO. I can mount the ISO after running kpartx on it because there is an apple and hfs+ partition. Recreating that is not straightforward. It's easy to use mkisofs on a single partition, but i want to leave the other ones intact.
How are you doing it? with a mac? I'm trying to do all of this from a Linux host.
Cheers,
You can't install with the kernel. You need to use iAtkos L2 on Snow Leopard and run the OSInstall.mpkg..
It's kinda tricky. ;) Nice to see it's done though, I'm personally moving to Intel hackintoshes later this month. Just because I hate problems. :p
weller99
04-13-2012, 04:33 AM
Thanks.
I'm still a bit confused.
I already had a working image with my old CPU - snow leopard by hazzard but now that same image gets the vm panic on my upgraded FX-8150 processor.
If I can somehow mount the old drive that snowleopard is installed on, can I just swap the kernel with the one that RAW-X86 compiled? Is there anything else needed other than that 1 file? If I boot my image, I see Chameleon v2.0-RC3, and hit F8, I see that I can go: kernel_name (must be in /). So, I could just name it kernel-rawx86, and keep my existing kernel, i suppose... In Linux, you'd have modules in /lib/modules, initrd and System.map, so I'm not sure on all the kernel dependencies.
Unrealized, you say to use Atkos L2 and run OSInstall.mpkg, but I don't have a working OSX at all right now :( it's a catch-22 I'm faced with, and Atkos L2 says it does not work for AMD according to their site.
Right now, I actually don't care whether I use snow leopard or lion. Any suggestions?
Thanks in advance :)
Unrealized
04-16-2012, 01:39 PM
iAtkos L2 *is* Intel only, meaning you cant use the disc to install. You can drop in the kernel after launching the install from Snow Leo ;)
weller99
04-16-2012, 03:45 PM
Thanks. I discovered that iAtkos L2 was intel only.
I have an update on my situation.
I was able to boot up my OSX image on a friend's machine. I planted both of RAW-X86's kernels in /.
I then rebooted, and hit F8, then specified RAW-X86's kernel with /kernel_name -v busratio=18.
It actually worked! The lion kernel one didn't work, but I didn't expect it to, as i was using it on Snow Leopard. On my friend's machine, I confirmed that RAW-X86's kernel was usable with my system. I could ssh in, and run apps. I was worried about a lot of kernel dependencies to files on the filesystem.
I went home to try out my new image. Using RAW-X86's kernel, I got past the kernel panic about the vm_set_color_pages. I got excited when I was the OSX background and icons at the bottom.
However, the VM froze up after that :( I couldn't ping it either. I tried it again, and was able to ping it for a short period and even SSH into it, but after a certain part in the bootup, the VM freezes. I am able to boot into single user mode with -s. Safe mode with -x prompts me for a graphic login, but freezes once I login. So, that has not changed.
I tried looking for /var/log/system and /var/log/kernel in single user mode, but nothing was really obvious to me.
I disabled USB3 in the BIOS from a suggestion from a response to a bug post that RAW-X86 initially refers to, but that didn't change anything :( I tried so many permutations of flags, like vcpus=1 -force64 arch=i386 ForceRootUID=0 GraphicsEnabler=yes, etc...
Ideas? I guess I just need to know what's causing it to crash when the GUI starts up. single user mode works fine.
akimoa
04-19-2012, 10:28 PM
Good Job RAW :)
ryman
04-24-2012, 08:01 PM
does your kernel work with phenom cpus or just with bulldozer?
maveriq
05-01-2012, 10:06 PM
hola probar con esto http://www.osx86.net/view/441-hack_os_x_boot_cd.html (http://www.osx86.net/view/441-hack_os_x_boot_cd.html)
funcionando en GIGABYTE GA970A D3 AMD FX4100 8GB , falla red y audio
nkellert
05-11-2012, 10:41 AM
Would someone mind posting step by step instructions. i couldnt figure anything out that RAW did because its all in Russian to me.
I have an AMD FX 4100 and have tried every single kind of install and loader you can find. It seemed that the iDeneb 1.4 was going to work but after the install then it just sat there after the restart and never would load the OS. Other than that I got the same panic error everyone else is getting.
nkellert
06-10-2012, 07:34 AM
still could really use some help on this....anyone?
weller99
06-10-2012, 05:08 PM
I gave up and switched to an intel laptop that I had laying around :(
I wouldn't mind getting it working on my 8-core AMD server though.
wildebeast
06-29-2012, 05:08 AM
i would also like to know how to do this. I am also trying to run Snow Leopard 10.6.8 and am using the Snow_Leopard_10.6.1-10.6.2_SSE2_SSE3_Intel_AMD_by_Hazard.iso. I am trying to run it using VirtualBox. I havent tried any parameters yet at startup but it also gives me the vm_page_set_colors error. I downloaded the R.A.W. modified kernal but couldnt figure out how to use it. Any help would be much appreciated, THANKS.
wildebeast
07-16-2012, 04:01 PM
just passing this along but i found out that all you have to do is add colors=32 to the boot options and then it works. I am so excited i finally have mac os x 10.6 working now