Jump to content

Legacy Kernel Nawcom


Derty
 Share

26 posts in this topic

Recommended Posts

Nawcom BLog

 

Legacy Kernel Darwin 10.7.0

 

 

I took some time today to apply the old 10.6.6 diff to the new OS X 10.6.7 /Darwin 10.7.0 xnu source code, Here you go – I will post the diff later. I will see if AnV has anything new added to this – as of now it’s the same fixes that the previous kernel had.

 

Install package: http://dl.nawcom.com/legacy_kernel-10.7.0.pkg.zip

 

Kernel by itself in case that’s all you want: http://dl.nawcom.com/legacy_kernel.10.7.0.bz2

 

Now, as usual this package includes SleepEnabler if someone is already using it. For those who just need SleepEnabler, here you go – it has been tested on i386 and x86_64 architectures and works without any special boot flags.

 

New Info: I have updated SleepEnabler so it should work with the Darwin 10.7.1 kernel that Sandy Bridge people may be using – I have tested it myself by booting up and it seemed to work.

 

Download SleepEnabler: http://dl.nawcom.com/SleepEnabler.kext.10.6.7.zip

Link to comment
Share on other sites

I had been using the 10.6.6 Kernel with the usb kext fix and had a nice stable system. I installed the new 10.7 Kernel (remembering to remove the usb fix) and at first everything worked fine and even got a slightly faster score on XBench. Now however after 15 or so mins of use the graphics will scramble and the Mac OS freezes. No way out except to power reset the PC. I tried reinstalling the 10.6.6 kernel and usb fix but still have the same problem. It seems that maybe something the 10.7 kernel installer patched got borked? Has anyone else had this problem and more importantly a fix? Otherwise its reinstall time.

 

I wanted to post this question at Nawcoms site but he has comments closed.

 

AMD Phenon II 940 X4

4 gb DDR2

 

Thanks

Link to comment
Share on other sites

I have the same graphics problem with it, but for me it's ok with the 10.6.0 kernel and wireless kext.

 

I talked him on irc, but no solution.

 

I only installed the kernel, not the package, so not the installer the problem.

 

The console log:

2011.03.29. 16:19:17	kernel	NVDA(OpenGL): Channel exception! exception type = 0xd = GR: SW Notify Error
2011.03.29. 16:19:17	kernel	0000006e
2011.03.29. 16:19:17	kernel	00200000 00008297 00000474 00000010
2011.03.29. 16:19:17	kernel	0000047e 00001458 000d2801 0000000a
2011.03.29. 16:19:17	kernel	00000000 00000000 00000002
2011.03.29. 16:19:17	kernel	00000010 00000000

Link to comment
Share on other sites

I have the same graphics problem with it, but for me it's ok with the 10.6.0 kernel and wireless kext.

 

I talked him on irc, but no solution.

 

I only installed the kernel, not the package, so not the installer the problem.

 

The console log:

2011.03.29. 16:19:17	kernel	NVDA(OpenGL): Channel exception! exception type = 0xd = GR: SW Notify Error
2011.03.29. 16:19:17	kernel	0000006e
2011.03.29. 16:19:17	kernel	00200000 00008297 00000474 00000010
2011.03.29. 16:19:17	kernel	0000047e 00001458 000d2801 0000000a
2011.03.29. 16:19:17	kernel	00000000 00000000 00000002
2011.03.29. 16:19:17	kernel	00000010 00000000

 

 

On my computer reinstalling the 10.6 kernel didn't fix it. I've reinstalled it several times both with and without the installer. I've run pfix and Onyx etc and with 10.7 kernel removed and 10.6 back I get the same crash. Works 15 mins or so, then corrupted graphics and immediate freeze requiring a reset of the pc. No rhyme or reason for when it does it. It even did it twice while trying to complete this post and had to reboot and start again. I am not a happy camper as it was stable previously and now I have no choice but to reinstall everything from scratch unless anyone has any suggestions for me to try. Oh well...

Link to comment
Share on other sites

Because I used a MacPro5,1 and changed back to MacPro3,1 and the problem is gone.

 

System uptime:

16:25  up  2:26, 2 users, load averages: 0,15 0,10 0,05

 

That is weird. I just checked my copy to see if it got changed or corrupted by the kernal installer though that shouldn't have touched it and compared to the backup copy I have of it nothing changed. I have a iMac7.1 version that I used long ago when I was still using a X2 cpu. When I upgraded cpus at first I used that one but when I changed to the MacPro3.1 version geekbench and xbench scores went up about 10%. I will now try the iMac7.1 copy and see if that has any effect on the problem. I will be surprised if it does because the problem started about 20 mins after I initially installed the 10.7 kernel using its installer.

 

Are you back to using the 10.7 kernel?

Link to comment
Share on other sites

Yes, using 10.7.0 kernel

 

Kernel:

Darwin diskeeper-MacPro.local 10.7.0 Darwin Kernel Version 10.7.0: Mon Mar 28 13:34:53 EDT 2011; legacy kernel v7 :xnu-1504.9.37/BUILD/obj/RELEASE_I386 i386

 

Uptime without problem:

17:31  up  3:32, 2 users, load averages: 0,17 0,08 0,02

 

Update: forget it, after a reboot the problem again here ;)

Link to comment
Share on other sites

I have a Dell XPS 8300 with a Sandy Bridge i7 2600 that won't let me set the multiplier. Since I can't lower it I'm not able to use the official SB kernel because of the 3.2ghz limit. Would this kernel work ok for me?

 

All of the new ATI drivers and Chameleons, etc, are able to be used with this right?

Link to comment
Share on other sites

  • 2 weeks later...
I had been using the 10.6.6 Kernel with the usb kext fix and had a nice stable system. I installed the new 10.7 Kernel (remembering to remove the usb fix) and at first everything worked fine and even got a slightly faster score on XBench. Now however after 15 or so mins of use the graphics will scramble and the Mac OS freezes. No way out except to power reset the PC. I tried reinstalling the 10.6.6 kernel and usb fix but still have the same problem. It seems that maybe something the 10.7 kernel installer patched got borked? Has anyone else had this problem and more importantly a fix? Otherwise its reinstall time.

 

I wanted to post this question at Nawcoms site but he has comments closed.

 

AMD Phenon II 940 X4

4 gb DDR2

 

Thanks

 

I too had this issue with the 10.7 legacy_kernel with my GeForce 9600 GSO 768mb pci-e card and ended up switching to an older video card (a 7300 GS nvidia) which works flawless- jut not as fast. . .I also didn't seem to have any graphics lock ups while I was in 10.6.3 (default install DVD). . .

Link to comment
Share on other sites

I too had this issue with the 10.7 legacy_kernel with my GeForce 9600 GSO 768mb pci-e card and ended up switching to an older video card (a 7300 GS nvidia) which works flawless- jut not as fast. . .I also didn't seem to have any graphics lock ups while I was in 10.6.3 (default install DVD). . .

 

 

I'm using an Asus 8400GS. I do have an old 7300 kicking around and I will give that a try later and see if it helps any.

 

I did verify its the 10.7.0 Kernel causing it as I rebuilt from scratch using 10.6.0 kernel and usb fix kext and ran it a few days flawlessly. I then installed 10.7.0 and removed usb fix kext and within 10 mins or so the problem was back.

 

Thanks

Link to comment
Share on other sites

I'm using an Asus 8400GS. I do have an old 7300 kicking around and I will give that a try later and see if it helps any.

 

I did verify its the 10.7.0 Kernel causing it as I rebuilt from scratch using 10.6.0 kernel and usb fix kext and ran it a few days flawlessly. I then installed 10.7.0 and removed usb fix kext and within 10 mins or so the problem was back.

 

Thanks

 

yea, I even tried the AnV 10.7 mach_kernel and it was even worse. . .lemme know what happens and thanx! :)

Link to comment
Share on other sites

yea, I even tried the AnV 10.7 mach_kernel and it was even worse. . .lemme know what happens and thanx! :(

 

10.7 (Lion) Legacy Kernel doesn't exist yet, (11.0.0 Darwin, 10.7 Lion). You were using a 10.7 mach kernel on your AMD CPU, it doesn't work. Until Apple releases the source of the kernel, we can't do anything (When Lion releases).

Link to comment
Share on other sites

10.7 (Lion) Legacy Kernel doesn't exist yet, (11.0.0 Darwin, 10.7 Lion). You were using a 10.7 mach kernel on your AMD CPU, it doesn't work. Until Apple releases the source of the kernel, we can't do anything (When Lion releases).

 

opps my bad, I should've read more closley

Link to comment
Share on other sites

Has anyone worked out a solution for the graphics scrambling yet? I just cannot seem to fix it.

 

For me the problem comes at random, sometimes It will happen within a couple of minutes of booting, other times I can use the computer for hours before it happends.

 

Im not sure if an earlier reply was a hint about sleepenabler? If it was it doesnt seem to make a difference with or without.

 

My system is :

amd phenom x2.

Geforce 8600GT.

4 GB ram.

Link to comment
Share on other sites

Has anyone worked out a solution for the graphics scrambling yet? I just cannot seem to fix it.

 

For me the problem comes at random, sometimes It will happen within a couple of minutes of booting, other times I can use the computer for hours before it happends.

 

Im not sure if an earlier reply was a hint about sleepenabler? If it was it doesnt seem to make a difference with or without.

 

My system is :

amd phenom x2.

Geforce 8600GT.

4 GB ram.

 

 

For now I've dropped back to the old kernel and the usb fix kext. The common denominator seems to be Phenoms.

Link to comment
Share on other sites

  • 2 weeks later...

Hi Guys,

 

I tried this but when it goes to sleep, it reboots the PC. I use 32bit mode & I have below kexts in E/E.

Without this SleepEnabler, it goes to sleep but it can not wake up. Disabler.kext stop loading AppleIntelCPUPowerManagement to load.

 

I can not load that to get the native power management with AppleIntelCPUPowerManagement as my mother board does not support HPET in BIOS/MB.

 

By the way I have my mouse on USB & KB on PS/2. Mouse does not work on PS/2 port.

 

Any help to first understand what is going on will be much appreciated?

 

rwxr-xr-x 4 root wheel 136 11 Apr 23:01 AppleACPIPS2Nub.kext

drwxr-xr-x 4 root wheel 136 16 Apr 00:10 Disabler.kext

drwxr-xr-x 3 root wheel 102 29 Apr 23:07 SleepEnabler.kext

drwxr-xr-x 3 root wheel 102 9 Mar 2010 VoodooPS2Controller.kext

drwxr-xr-x 3 root wheel 102 15 Feb 2010 fakesmc.kext

Link to comment
Share on other sites

For now I've dropped back to the old kernel and the usb fix kext. The common denominator seems to be Phenoms.

 

so what kernel are you now using and are you using your 8400GS card again? and what USB fix?? just curious.

 

I was thinking about re-installing back to 10.6.3 and not updating to 10.6.7 which is kind of a drag cos everything else (including sleep) is working great. . .

Link to comment
Share on other sites

Has anyone worked out a solution for the graphics scrambling yet? I just cannot seem to fix it.

 

For me the problem comes at random, sometimes It will happen within a couple of minutes of booting, other times I can use the computer for hours before it happends.

 

Im not sure if an earlier reply was a hint about sleepenabler? If it was it doesnt seem to make a difference with or without.

 

My system is :

amd phenom x2.

Geforce 8600GT.

4 GB ram.

 

For now I've dropped back to the old kernel and the usb fix kext. The common denominator seems to be Phenoms.

 

I fixed mine by renaming the kernel from legacy_kernel to mach_kernel and making the necessary changes to /Extra/com.apple.Boot.plist & /Library/Preferences/SystemConfiguration/com.apple.Boot.plist appropriately. I also went back to using one monitor only and I haven't had a screen lock up or glitch yet. :rolleyes:

 

I am using latest legacy kernel from nawcom 10.6.7 and sleepenabler is working great.

Link to comment
Share on other sites

  • 2 weeks later...
The kernel works without problems.

Sleepenabler.kext is working really great too. ;)

 

hai, did your ram run 8gb ? no apps crash or something ? im curious...i wanna update my ram to 8gb, but when i saw and read from other forum, amd only run 4gb, and then i saw nawcom blog, and his comment said, his friend frog (sumthin like that) use -force64 maxmem=4096, did you use that too ?

 

Running great here :) thanks nawcom but sleep enabler make KP and KP, so im not using sleep enabler

Link to comment
Share on other sites

hai, did your ram run 8gb ? no apps crash or something ? im curious...i wanna update my ram to 8gb, but when i saw and read from other forum, amd only run 4gb, and then i saw nawcom blog, and his comment said, his friend frog (sumthin like that) use -force64 maxmem=4096, did you use that too ?

 

Running great here :) thanks nawcom but sleep enabler make KP and KP, so im not using sleep enabler

 

To use more than 4 gb ram you have to use -force64.

Don´t use maxmem=4096 if you want to use more then 4gb.

The only thing you have to do if you are using -force64 is to patch your dyld so that no apps will crash anymore.

To do this patch the file /usr/lib/libSystemB.dylib with this tool (if xcode is installed there are two files more to patch):

http://www.insanelymac.com/forum/index.php?showtopic=229474

After patching these file repair permissions and enter sudo update_dyld_shared_cache -force into the terminal.

 

If you don´t use -force64 you will get a kp if you are going to use more then 4gb.

If you enter -force64 it will run 64bit userland and the kernel still runs in 32 bit mode but it is able to use more then 4gb.

Link to comment
Share on other sites

  • 1 month later...
 Share

×
×
  • Create New...