InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Legacy kernel 10.7.0 with custom dyld (now also with atom patch) (http://infinitemac.com/showthread.php?t=7098)

dragonspeed 04-25-2011 04:29 AM

Hi,
Thanks for the hard work here!

I am stucked trying to boot 64bit with this kernel,
Everything goes well until starts bluescreen before "snow leopard space background"
After 2 seconds of bluescreen, everything goes black and the machine reboots.

No, panic, no logs, nothing I could catch.

Has anyone had this problem to give me a clue?
Any special place to look for a log apart form /var/log?
Thanks

wastez 04-26-2011 06:32 AM

Quote:

Originally Posted by dragonspeed (Post 53795)
Hi,
Thanks for the hard work here!

I am stucked trying to boot 64bit with this kernel,
Everything goes well until starts bluescreen before "snow leopard space background"
After 2 seconds of bluescreen, everything goes black and the machine reboots.

No, panic, no logs, nothing I could catch.

Has anyone had this problem to give me a clue?
Any special place to look for a log apart form /var/log?
Thanks

Do you try to start into 64 bit kernel mode?
Because that will not work with amd! You can only boot into 64 bit userland.
If your amd will start into 64 bit kernel mode, your computer will not be possible to run 32 bit software.

dragonspeed 04-26-2011 12:52 PM

Quote:

Originally Posted by wastez (Post 53809)
Do you try to start into 64 bit kernel mode?
Because that will not work with amd! You can only boot into 64 bit userland.
If your amd will start into 64 bit kernel mode, your computer will not be possible to run 32 bit software.

Thanks, I am completely confused, I am reading this forum for a long time understanding some people is getting success running 64 bit AMD.

what do you mean with userland. I am trying to boot with arch=X86_64 flag.

At this point my biggest problem is I am trying to run in 32 bit an application that I didn't use since I had 10.6.2 and neither in 10.6.3 nor 10.6.7 works.
It crashes with Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000537465a3.
the application is compressor (from apple)
Mi idea was to try to boot in 64 bit to see if compressor runs.
But with your comments, I suspect my confusion is deeper.

I would appreciate a brief conceptual explanation of what I can do.

Regards!

chitchit 04-26-2011 06:17 PM

Quote:

Originally Posted by dragonspeed (Post 53814)
Thanks, I am completely confused, I am reading this forum for a long time understanding some people is getting success running 64 bit AMD.

what do you mean with userland. I am trying to boot with arch=X86_64 flag.

At this point my biggest problem is I am trying to run in 32 bit an application that I didn't use since I had 10.6.2 and neither in 10.6.3 nor 10.6.7 works.
It crashes with Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000537465a3.
the application is compressor (from apple)
Mi idea was to try to boot in 64 bit to see if compressor runs.
But with your comments, I suspect my confusion is deeper.

I would appreciate a brief conceptual explanation of what I can do.

Regards!

You should be booting with arch=i386 -force64

Just fyi.

wastez 04-27-2011 07:54 AM

Quote:

Thanks, I am completely confused, I am reading this forum for a long time understanding some people is getting success running 64 bit AMD.

what do you mean with userland. I am trying to boot with arch=X86_64 flag.

At this point my biggest problem is I am trying to run in 32 bit an application that I didn't use since I had 10.6.2 and neither in 10.6.3 nor 10.6.7 works.
It crashes with Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000537465a3.
the application is compressor (from apple)
Mi idea was to try to boot in 64 bit to see if compressor runs.
But with your comments, I suspect my confusion is deeper.

I would appreciate a brief conceptual explanation of what I can do.

Regards!
Sorry but there is no chance to run 32 bit software in 64 bit kernel mode with amd.
There is a disscusion over the last page where we talked about this.
The only thing is to boot into 32 bit kernel with 64 bit userland which means that your kernel is 32 bit but the apps will run in 64 bit.

dragonspeed 05-03-2011 12:32 PM

Hello,
I have USB problems when I load this kernel,

May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.iokit]: This symbol set has the following unresolved symbols:
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.iokit]: __ZN14IOPMrootDomain17createPMAssertionEyjP9IOServ icePKc
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.iokit]: __ZN14IOPMrootDomain18releasePMAssertionEy
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.iokit]: __ZN14IOPMrootDomain19getPMAssertionLevelEy
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.iokit]: __ZN14IOPMrootDomain19setPMAssertionLevelEyj
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.private]: This symbol set has the following unresolved symbols:
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.private]: _buf_getcpaddr
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.private]: _buf_setcpaddr
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.private]: _cp_key_store_action
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.private]: _cp_register_wraps
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.private]: _ifnet_clone_attach
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.private]: _ifnet_clone_detach
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.private]: _ifnet_idle_flags
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.private]: _ifnet_set_idle_flags
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.private]: _mbuf_get_priority
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.private]: _mbuf_get_traffic_class
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.private]: _mbuf_set_traffic_class
May 1 18:01:35 localhost kernel[0]: kxld[com.apple.kpi.private]: _vfs_setunmountpreflight


is there any special modification I would need to do?

mayx 05-21-2011 11:08 AM

Hi Andy,I have try this kernel, there is a big problem, i can't run any visualization software, Visual Box, Parallels, VMware... Click on them ,and nothing happen.
I also try nawcom's kernel too, all the visual machines running well,but some application,like Corel Painter,quit unexpectedly every time.but on this kernel,it running well...
Please help,thank you,my cup is AMD 5000+.

andyvand 05-23-2011 06:25 AM

Quote:

Originally Posted by mayx (Post 54051)
Hi Andy,I have try this kernel, there is a big problem, i can't run any visualization software, Visual Box, Parallels, VMware... Click on them ,and nothing happen.
I also try nawcom's kernel too, all the visual machines running well,but some application,like Corel Painter,quit unexpectedly every time.but on this kernel,it running well...
Please help,thank you,my cup is AMD 5000+.

Do you get any error message or something?
Try putting error reporting in developer mode and get me the results.
The code lying underneath should be the same as nawcom's but try booting with std_dyld=Yes maybe it'll work then.
It may be the custom dyld that prevents launching virtualization...

mayx 05-24-2011 04:09 AM

Quote:

Originally Posted by andyvand (Post 54064)
Do you get any error message or something?
Try putting error reporting in developer mode and get me the results.
The code lying underneath should be the same as nawcom's but try booting with std_dyld=Yes maybe it'll work then.
It may be the custom dyld that prevents launching virtualization...

Thank you for reply,i have try booting with "std_dyld=Yes",it does't work.
I found the error reports in Console.
Here is Parallels Desktop error report.
Here is Virtual Box error report.
Here is Kernel log.

andyvand 05-24-2011 06:26 AM

Quote:

Originally Posted by mayx (Post 54074)
Thank you for reply,i have try booting with "std_dyld=Yes",it does't work.
I found the error reports in Console.
Here is Parallels Desktop error report.
Here is Virtual Box error report.
Here is Kernel log.

I know the solution:
Pack the binaries with my custom upx, it'll work ;)
EDIT: The one under <Application.app>/Contents/MacOS/<Application>
The errors are both about the same.
In Parallels: before GetDYLDEntry it fetches 0x0000000 which can be resolved with my custom upx

mayx 05-25-2011 02:11 AM

Quote:

Originally Posted by andyvand (Post 54076)
I know the solution:
Pack the binaries with my custom upx, it'll work ;)
EDIT: The one under <Application.app>/Contents/MacOS/<Application>
The errors are both about the same.
In Parallels: before GetDYLDEntry it fetches 0x0000000 which can be resolved with my custom upx

It works,thank you so much!!!
Actually,i had do this before,and i just test it in the 64bit mode.
This time,i remove the "-force64" flag,then it works.:p

Thank you for your hard works!!!

xmen1 06-08-2011 08:05 PM

someone can explain how I install this kernel, I'm noob .... the old kernel at boot I get this error: Warning Kernel was not build with custom dyld blob, someone can help me how to install this kernel ... thanks. i have a pentium D 945

davisin666 06-24-2011 02:26 AM

DO NOT UPDATE TO 10.6.8

It freezes in a [PCI CONFIGURATION BEGIN] and there are missing kernel symbols, in other words, it will break your install :'(

EDIT: You can update to 10.6.8, but using IOPCIFamily.kext and AppleACPIPlatform.kext from 10.6.7

mindlessmissy 06-24-2011 05:35 PM

Quote:

Originally Posted by davisin666 (Post 54345)
DO NOT UPDATE TO 10.6.8

It freezes in a [PCI CONFIGURATION BEGIN] and there are missing kernel symbols, in other words, it will break your install :'(

EDIT: You can update to 10.6.8, but using IOPCIFamily.kext and AppleACPIPlatform.kext from 10.6.7

Yep ... I am guessing this only happens on AMD since other people did not run into this problem.

Also ,after swapping out the 10.6.7 kexts, the missing kernel symbols problem still exists BUT hopefully a 10.6.8 kernel will solve that when it is available ...

I read on netkas' blog that the IOPCI kext is similar to the one in Lion ...

andyvand 07-04-2011 06:27 AM

Quote:

Originally Posted by mindlessmissy (Post 54347)
Yep ... I am guessing this only happens on AMD since other people did not run into this problem.

Also ,after swapping out the 10.6.7 kexts, the missing kernel symbols problem still exists BUT hopefully a 10.6.8 kernel will solve that when it is available ...

I read on netkas' blog that the IOPCI kext is similar to the one in Lion ...

Seems Netkas has found another way to fix it:
best fix is adding kernel boot flag npci=0×2000
It should fix it...
My version of the 10.6.8 kernel is coming the latest next week... ;)

RobertX 07-04-2011 01:50 PM

good to hear that Andy....dare I ask about the sse3 emulator?:D

andyvand 07-05-2011 06:06 AM

Quote:

Originally Posted by RobertX (Post 54426)
good to hear that Andy....dare I ask about the sse3 emulator?:D

I have a new one (thanks go to Slice I believe) but I haven't had much time yet to code the 10.6.8 version of the kernel.
It will integrate this new SSE3 emulator.
When I have the time (probably this weekend) I will adapt the build script and build the new kernel.
Currently I'm very occupied by my education and tomorrow I have a very important job interview (which will probably go down in french... ;))
I'll post results as soon as I'm finished...
EDIT: Oh yeah... more good news... the assembly sources for the new SSE3 emulator are included so people can do work on that as well ;):)

scififan68 07-05-2011 07:47 AM

Thanks andy!
 
Andy, I just wanted to say thanks for your kernel, I'd have to say it works best out of any kernel out there, and again thank you! :)

RobertX 07-05-2011 09:35 PM

i'll keep my eyes open...here...and at the other place...:D

RobertX 07-14-2011 12:26 PM

:cool:;)...ready here...

alaskan 03-03-2012 06:41 AM

Gonna bump this back into attention getting range.
:-d
AndyV, you make exceptional kernels.
Latest one I have is legacy_kernel_Anv R2 v8 which is for OS X 10.6.8.
Do you still have one for 10.7 or later. One that might work with AMD CPUs?

I would really appreciate a copy, if you do. Thank you.:cool: