InfiniteMac OSx86

InfiniteMac OSx86 (http://infinitemac.com/forum.php)
-   10.X (http://infinitemac.com/forumdisplay.php?f=36)
-   -   Snow Leopard xnu kernel test patch (http://infinitemac.com/showthread.php?t=4227)

xXrkidXx 09-29-2009 09:13 PM

k so does this mean we have a working Voodoo kernel? cause im dying here... my Leo install is ALL messed up and I dont want to erase it.. it has a LOT of stuff i need.. its what I get for not buying a TM backup disc...

pαuℓzurrr. 09-29-2009 09:28 PM

Ok so vfs_attrlist.c is in bsd/vfs/
And mach_traps.h is in osfmk/mach/

Should i add;
#include <osfmk/mach/mach_traps.h>
To vfs_attrlist.c?

And Andy wouldn't it be easier if you would maybe remotely control my pc to test? :p

andyvand 09-29-2009 09:47 PM

Quote:

Originally Posted by pαuℓzurrr. (Post 36316)
Ok so vfs_attrlist.c is in bsd/vfs/
And mach_traps.h is in osfmk/mach/

Should i add;
#include <osfmk/mach/mach_traps.h>
To vfs_attrlist.c?

And Andy wouldn't it be easier if you would maybe remotely control my pc to test? :p

yes... before the inclusion of the "bad header"
P.S. Sorry... I'm using a win PC right now... can't remotely control... :(

xXrkidXx 09-29-2009 09:48 PM

teamveiwer!! cross platform lol

pαuℓzurrr. 09-29-2009 09:55 PM

Quote:

Originally Posted by andyvand (Post 36317)
yes... before the inclusion of the "bad header"
P.S. Sorry... I'm using a win PC right now... can't remotely control... :(

Hmm tried that, said it couldn't find the directory/file
I used a VNC server for remote control. Should work with any VNC Viewer for windows too :)
But its 23:00 here now and i need to get up at 6:45.
So maybe we can remote control tomorrow...

andyvand 09-29-2009 09:58 PM

Quote:

Originally Posted by pαuℓzurrr. (Post 36319)
Hmm tried that, said it couldn't find the directory/file
I used a VNC server for remote control. Should work with any VNC Viewer for windows too :)
But its 23:00 here now and i need to get up at 6:45.
So maybe we can remote control tomorrow...

Yeah... same time here... 22:58...
Also is early day for me tomorrow but I'll continue a little bit longer ;)

bobtom0 09-29-2009 11:51 PM

Quote:

Originally Posted by andyvand (Post 36261)
It crashes after basic initialization with reason : unknown...
Seems my CPU isn't supported on that kernel (Intel Celeron M 420)

I had the same problem with my box. I tried a different boot file and that fixed it. The 'debug boot' file listed here: http://www.insanelymac.com/forum/ind...owtopic=181699 worked for me as does the new Chameleon 2.0 RC3.

never_mind 09-30-2009 06:21 AM

Quote:

Originally Posted by andyvand (Post 36320)
Yeah... same time here... 22:58...
Also is early day for me tomorrow but I'll continue a little bit longer ;)

Morning ;)

I get these errors now:

Code:

xnu-1456.1.26/osfmk/i386/i386_init.c: In function ‘slave_tsc_init’:
/xnu-1456.1.26/osfmk/i386/i386_init.c:679: warning: implicit declaration of function ‘abs’
/xnu-1456.1.26/osfmk/i386/i386_init.c:679: warning: nested extern declaration of ‘abs’
/xnu-1456.1.26/osfmk/i386/i386_init.c: In function ‘slave_tsc_run_trials’:
/xnu-1456.1.26/osfmk/i386/i386_init.c:702: error: ‘TSCSYNC_NUM_TRIALS’ undeclared (first use in this function)
/xnu-1456.1.26/osfmk/i386/i386_init.c:702: error: (Each undeclared identifier is reported only once
/xnu-1456.1.26/osfmk/i386/i386_init.c:702: error: for each function it appears in.)
/xnu-1456.1.26/osfmk/i386/i386_init.c:706: error: called object ‘tscsync’ is not a function
/xnu-1456.1.26/osfmk/i386/i386_init.c:702: warning: unused variable ‘deltas’

That stuff it errors on is defined in osfmk/i386/mp.c, but I don't get how this should be available in osfmk/i386/i386_init.c. Does it need to be compiled before i386_init.c (i guess its a global define or so??)

Any thoughts?

aryajuanda 09-30-2009 06:34 AM

what is sysproto.h use for?

never_mind 09-30-2009 06:53 AM

wait, now i get it, slave_tsc_init moved, so i guess those declarations need to go somplace else..

Quote:

Originally Posted by never_mind (Post 36353)
Morning ;)

I get these errors now:

Code:

xnu-1456.1.26/osfmk/i386/i386_init.c: In function ‘slave_tsc_init’:
/xnu-1456.1.26/osfmk/i386/i386_init.c:679: warning: implicit declaration of function ‘abs’
/xnu-1456.1.26/osfmk/i386/i386_init.c:679: warning: nested extern declaration of ‘abs’
/xnu-1456.1.26/osfmk/i386/i386_init.c: In function ‘slave_tsc_run_trials’:
/xnu-1456.1.26/osfmk/i386/i386_init.c:702: error: ‘TSCSYNC_NUM_TRIALS’ undeclared (first use in this function)
/xnu-1456.1.26/osfmk/i386/i386_init.c:702: error: (Each undeclared identifier is reported only once
/xnu-1456.1.26/osfmk/i386/i386_init.c:702: error: for each function it appears in.)
/xnu-1456.1.26/osfmk/i386/i386_init.c:706: error: called object ‘tscsync’ is not a function
/xnu-1456.1.26/osfmk/i386/i386_init.c:702: warning: unused variable ‘deltas’

That stuff it errors on is defined in osfmk/i386/mp.c, but I don't get how this should be available in osfmk/i386/i386_init.c. Does it need to be compiled before i386_init.c (i guess its a global define or so??)

Any thoughts?