jrrjrr Posted March 1, 2006 Share Posted March 1, 2006 I am running an install from the Myzar 10.4.5 Install DVD ppf method. Everything is fine, but it will only boot and run if I use the amd_all kernel, and I don't have an AMD CPU. I am guessing that it got installed with the Maxxuss AMD Enabler patch script run, and all those files were modified, and that is why it needs an AMD kernel now in order to run properly. To see if this is the case, I would like to reverse the changes made by the AMD Enabler script, so I am sure any possibly altered files are back to their original state, and then use a non-AMD kernel. (I thought I unselected the AMD option when I ran the installer, but who knows...) Does anyone know how I should edit either the Maxxuss AMD enabler script, or the txt file, or both, so they will put back the original stuff when I run them? Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/ Share on other sites More sharing options...
dts Posted March 1, 2006 Share Posted March 1, 2006 best bet is download maxxuss' patch and create your own kernel. Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-66469 Share on other sites More sharing options...
jrrjrr Posted March 1, 2006 Author Share Posted March 1, 2006 best bet is download maxxuss' patch and create your own kernel. That is the easy part. But the kernels I try without the amd patch will not boot for me. That is why I think the script was run and all the other files were patched for AMD. And that is why I think I need to un-patch them before changing to a kernel w/o the amd patch. Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-66477 Share on other sites More sharing options...
jrrjrr Posted March 2, 2006 Author Share Posted March 2, 2006 Now I am sure I have the AMD patched files on my Intel machine. The Maxxuss script can be run with an -s switch to "simulate" patching, and it returns a list of files that it says have already been patched when I run it like this. So now I am sure I need to find out how to un-do the changes in the files that script did. I really could use some help on this! I suspect that I either need to replace each instance of "CPUID" in the .txt file with another code, or that "CPUID" is defined in the script itself and I need to change the value there, or something else relatively simple like this. Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-66825 Share on other sites More sharing options...
jrrjrr Posted March 2, 2006 Author Share Posted March 2, 2006 Talking to myself a lot these days.... I found the answer at Maxxuss' site. I feel kind of dumb for not looking there carefully first. But for the benefit of anyone stumbling onto this thread in the future: AMD CPUs * If you install additional 10.4.4 software from the DVDs, be sure to run the AMD Enabler patch executable again and thus patch new files as required. * You can undo the applied patches to your installation. Simply exchange line 2 and 3 of the text file "cpuid_patches.txt" and re-run the batch patcher. Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-66981 Share on other sites More sharing options...
Arthur Posted March 3, 2006 Share Posted March 3, 2006 hmm, i ran the patcher with the update txt file. It patched some files. but a kernel without amd support still doesn't fully boot. Did it work for you? would it make a difference anyway, or is it pure cosmetics? Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-67903 Share on other sites More sharing options...
jrrjrr Posted March 5, 2006 Author Share Posted March 5, 2006 It worked for me, but I used the patcher to UNDO the patching that was incorrectly applied in the first place. The instructions say to open the .txt file and switch the second and third lines. Then save like that and then run it from single user mode (boot with the -s switch), etc, etc etc. I can run fine without an AMD patched kernel now. I checked a number of the files that were patched and unpatched and they all work correctly. I'm going about 6 hours now with no lock-up or crash or anything odd, so I think all the files are now the way they should have been in the first place -- left alone! Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-68987 Share on other sites More sharing options...
Arthur Posted March 5, 2006 Share Posted March 5, 2006 hmm, ok, well, i'll try to run it agian and see what happens otherwise i'll reinstall with the new installer when it comes out.. Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-69111 Share on other sites More sharing options...
jrrjrr Posted March 5, 2006 Author Share Posted March 5, 2006 These were the instructions I used. They are from Maxxuss' site and changed a little for my installation, so double check the file and folder names mentioned... Open the "cpuid_patches.txt" file in a text editor and swap out the second and third lines, so it looks like this: 2 cd fb 0f a2 Save it to a new name like "cpuid_patches_1045_UNDO.txt". Then, place the AMD_Enabler folder (with a desired new kernel added inside it) at the root of the volume. Reboot, with the "-s" option. You have to enter single-user mode to replace the files. * Mount the volume writable by executing fsck -fy mount -uw / * Execute the patcher command from within the AMD_Enabler folder. Pipe the command through "less" and browse the output: cd /AMD_Enabler chmod 755 patcher ./patcher cpuid_patches_1045_UNDO.txt | tee result.txt | less It's OK if not all files can be found and patched. Some files might be missing due to your customized installation. * Replace the existing kernel with the desired kernel: mv /mach_kernel /mach_kernel_old mv mach_kernel.all /mach_kernel chmod 755 /mach_kernel chown root:wheel /mach_kernel Then type: reboot and it should boot up and run fine, with the new kernel and unpatched files. Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-69299 Share on other sites More sharing options...
Arthur Posted March 8, 2006 Share Posted March 8, 2006 ah, i found the problem: i'm incompetent >_< i used the txt from the 10.4.4 patch instead of the 10.4.5 one Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-71287 Share on other sites More sharing options...
jrrjrr Posted March 8, 2006 Author Share Posted March 8, 2006 Don't feel bad... Since I had no clue how the patches got run on my machine in the first place (bad install script or user error???), I had to run the 10.4.4 txt file and the 10.4.5 txt file in a "simulation" mode to see which one was processing more files, because they are very similar in scope. Turned out to be the 10.4.5 in my case. For the benefit of anyone else reading this thread, there is a switch, -s, that will run the patch and give you feedback as to what it is doing without actually committing the changes -- simulation mode: ./patcher -s cpuid_patches.txt | tee result.txt | less Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-71393 Share on other sites More sharing options...
myzar Posted March 9, 2006 Share Posted March 9, 2006 for the benefit of anyone reading it's a total waste of time Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-72064 Share on other sites More sharing options...
bluedragon1971 Posted March 9, 2006 Share Posted March 9, 2006 for the benefit of anyone reading it's a total waste of time Sorry, but you are wrong there. Jrrjrr's advice works exactly as described. It unpatches the files that the AMD patch patched (that sounds werid, doesn't it?). For those of us with Intel CPU's who want to run a system with as few patches as possible, this works well. Why do you say it's a waste of time? Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-72103 Share on other sites More sharing options...
myzar Posted March 9, 2006 Share Posted March 9, 2006 Sorry, but you are wrong there. Jrrjrr's advice works exactly as described. It unpatches the files that the AMD patch patched (that sounds werid, doesn't it?). For those of us with Intel CPU's who want to run a system with as few patches as possible, this works well. Why do you say it's a waste of time? and what's the use ? the patch just fakes the GenuineGaytel call and reply , you are free to waste your time and you are free to hose your system if you do something wrong but it's not like your system will run better or any different it's just a retarded cpuid check afterall Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-72109 Share on other sites More sharing options...
bluedragon1971 Posted March 9, 2006 Share Posted March 9, 2006 and what's the use ? the patch just fakes the GenuineGaytel call and reply , you are free to waste your time and you are free to hose your system if you do something wrong but it's not like your system will run better or any different it's just a retarded cpuid check afterall There's more to it than that. I prefer to use a kernel that only has the base patches (EFI & TPM), since my hardware can handle that. With the AMD patches in place, I have to use an AMD patched kernel. While I appreciate your work on the install DVD, I really wish you would have made each of the patches optional for those that may or may not need them. I'm starting to work on just that myself. Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-72201 Share on other sites More sharing options...
myzar Posted March 9, 2006 Share Posted March 9, 2006 There's more to it than that. I prefer to use a kernel that only has the base patches (EFI & TPM), since my hardware can handle that. With the AMD patches in place, I have to use an AMD patched kernel. While I appreciate your work on the install DVD, I really wish you would have made each of the patches optional for those that may or may not need them. I'm starting to work on just that myself. ok i'll not argue with someone who bought a celeron feel free to waste your time i bet your system will run much better Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-72225 Share on other sites More sharing options...
MacApprentice Posted March 9, 2006 Share Posted March 9, 2006 that's good to know it's a waste fo time before actualy doing it is installing a base + amd patch kernel a waste of time too? ( to get ride of the unusefull extra patch) Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-72240 Share on other sites More sharing options...
bluedragon1971 Posted March 9, 2006 Share Posted March 9, 2006 ok i'll not argue with someone who bought a celeron feel free to waste your time i bet your system will run much better Oh, I get it, you are one of these people who sees the name "Celeron" on a CPU and just assumes that it is junk. Well, this CPU happens to have every feature of a full 64-bit Pentium 4 excpet HT (which really doesn't help that much on most software), although it does have a smaller cache. For the lack of those two things, I get to pay half as much for my CPU, and still get performance that rivals most dual G4 systems. Oh, and as for being a "waste of time", it took me longer to write this reply than it took to reverse the useless (to me) AMD patches. Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-72304 Share on other sites More sharing options...
myzar Posted March 10, 2006 Share Posted March 10, 2006 Oh, I get it, you are one of these people who sees the name "Celeron" on a CPU and just assumes that it is junk. Well, this CPU happens to have every feature of a full 64-bit Pentium 4 excpet HT (which really doesn't help that much on most software), although it does have a smaller cache. For the lack of those two things, I get to pay half as much for my CPU, and still get performance that rivals most dual G4 systems. Oh, and as for being a "waste of time", it took me longer to write this reply than it took to reverse the useless (to me) AMD patches. about the celeron it's indeed junk, anyway good for you everyone is free to whatever he likes, i was just pointing out that having the amd enabler in the kernel doesn't change anything in performance and stability on an intel cpu. Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-72534 Share on other sites More sharing options...
rhodar Posted April 29, 2006 Share Posted April 29, 2006 will updating 10.4.4 or 10.4.5 to 10.4.6 disable the amd enabler? Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-104736 Share on other sites More sharing options...
Harry_Callahan Posted April 29, 2006 Share Posted April 29, 2006 If you mean that upgrading to 10.4.6 will give you a kernel with "Base Patch and AMD DEPATCHED", the answer is NO. To upgrade to 10.4.6 with Myzar's patch you need a kernel with the AMD Patch. I was using 10.4.5 with a custom kernel(Base+NX+AMD Depatched), after upgrading the system didn't boot, I had to switch back to the "Full Patched" Kernel. Hope this helps Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-104864 Share on other sites More sharing options...
doubljdog Posted April 30, 2006 Share Posted April 30, 2006 Some people are damn idiotic. All myzar was pointing out is that whether or not the you have the amd patch enabled on an intel system, it will behave exactly the same. There is no benefit from using a regular kernel with intel then the amd_enabled one Link to comment https://www.insanelymac.com/forum/topic/10601-need-to-undo-maxxuss-amd-enabler-patch-how/#findComment-105191 Share on other sites More sharing options...
Recommended Posts