Jump to content

AnV XNU Kernel V1.4


Andy Vandijck
 Share

AnV Kernel reliable  

211 members have voted

  1. 1. Does the kernel work fine for you?

    • Yes
      133
    • Reasonable
      47
    • No
      31
  2. 2. Did the installer work fine for you?

    • Yes
      146
    • No, fixed it manually
      40
    • No
      25
  3. 3. Which cpu do you use?

    • Intel with HPET and SSE3
      83
    • Intel with SSE3
      37
    • Older Intel
      22
    • AMD with SSE3
      66
    • Older AMD
      3


383 posts in this topic

Recommended Posts

I got an error

 

Voodoo Build 0.3.2 (10/10/2008) by Dense <slipstreamosx@gmail.com>

Project development site: http://code.google.com/p/xnu-dev/

 

Kernel sources: xnu-1228.9.59

 

Finding Apple authentication page...

Authenticating...

 

Downloading bootstrap_cmds-60.1.tar.gz...

######################################################################## 100,0%

ERROR Removed invalid file.

Link to comment
Share on other sites

I got an error

 

Voodoo Build 0.3.2 (10/10/2008) by Dense <slipstreamosx@gmail.com>

Project development site: http://code.google.com/p/xnu-dev/

 

Kernel sources: xnu-1228.9.59

 

Finding Apple authentication page...

Authenticating...

 

Downloading bootstrap_cmds-60.1.tar.gz...

######################################################################## 100,0%

ERROR Removed invalid file.

Did you put in your Apple ID? (in the script that is...)

If that does not work download the needed packages and put them in a folder named "cache" (at the same level as the script)

You can get them from http://developer.apple.com/opensource

Hope these tips fix it for you...

Link to comment
Share on other sites

Kernel is compiling :D

I'll upload it later ;)

 

Another error :D

[8] Processing Libc (Libc-498.1.5) (5 mins) 19:37:31
 Extracting (Libc-498.1.5.tar.gz)...
 Patching (Libc-498.1.5.diff)...
 Building...
mv readdir.So readdir-INODE32.So
mv seekdir.So seekdir-INODE32.So
mv scandir.So scandir-INODE32.So
mv telldir.So telldir-INODE32.So
mv statx_np.So statx_np-INODE32.So
2 errors
*** Error code 2

Stop in /Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5.
make: *** [build] Error 1
ERROR

Link to comment
Share on other sites

Kernel is compiling :D

I'll upload it later ;)

 

Another error :)

[8] Processing Libc (Libc-498.1.5) (5 mins) 19:37:31
 Extracting (Libc-498.1.5.tar.gz)...
 Patching (Libc-498.1.5.diff)...
 Building...
mv readdir.So readdir-INODE32.So
mv seekdir.So seekdir-INODE32.So
mv scandir.So scandir-INODE32.So
mv telldir.So telldir-INODE32.So
mv statx_np.So statx_np-INODE32.So
2 errors
*** Error code 2

Stop in /Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5.
make: *** [build] Error 1
ERROR

Check the Libc logs...

(under the logs dir...)

What do they say?

Link to comment
Share on other sites

Here is it :)

 

I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libinfo-278.0.3/membership.subproj -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/OBJROOT/Frameworks/System.framework/PrivateHeaders  -Os  -c /Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/gen/telldir-fbsd.c -o telldir.So
cc	 -g -arch ppc -pipe -std=gnu99 -fno-common -Wmost -D__LIBC__ -D__DARWIN_UNIX03=1 -D__DARWIN_64_BIT_INO_T=1 -D__DARWIN_NON_CANCELABLE=1 -D__DARWIN_VERS_1050=1 -DNOID -DLIBC_MAJOR=1 -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/OBJROOT/obj.ppc/INODE32 -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/SYMROOT/include -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/include -force_cpusubtype_ALL -no-cpp-precomp -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/gdtoa -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/gen -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/pthreads -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/stdtime -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/locale   -DBUILDING_VARIANT -U__DARWIN_64_BIT_INO_T -D__DARWIN_64_BIT_INO_T=0 -DVARIANT_INODE32 -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libinfo-278.0.3/membership.subproj -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/OBJROOT/Frameworks/System.framework/PrivateHeaders  -Os  -c /Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/sys/statx_np.c -o statx_np.So
mv getmntinfo.So getmntinfo-INODE32.So
mv fts.So fts-INODE32.So
mv glob.So glob-INODE32.So
mv readdir.So readdir-INODE32.So
mv nftw.So nftw-INODE32.So
mv rewinddir.So rewinddir-INODE32.So
mv opendir.So opendir-INODE32.So
mv seekdir.So seekdir-INODE32.So
mv scandir.So scandir-INODE32.So
mv telldir.So telldir-INODE32.So
mv statx_np.So statx_np-INODE32.So
2 errors
*** Error code 2

Stop in /Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5.
make: *** [build] Error 1

 

What's new in this kernel? ;)

Link to comment
Share on other sites

Here is it :)

Here is what?

I mean are there any errors etc...

Any missing headers?

If so copy from tools/xnu-1228.9.59/BUILD/dst/

Every needed header into place (do so from the Terminal with the following command)

sudo cp -Rf tools/xnu-1228.9.59/BUILD/dst/* /

Link to comment
Share on other sites

Here is it :)

 

I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libinfo-278.0.3/membership.subproj -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/OBJROOT/Frameworks/System.framework/PrivateHeaders  -Os  -c /Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/gen/telldir-fbsd.c -o telldir.So
cc	 -g -arch ppc -pipe -std=gnu99 -fno-common -Wmost -D__LIBC__ -D__DARWIN_UNIX03=1 -D__DARWIN_64_BIT_INO_T=1 -D__DARWIN_NON_CANCELABLE=1 -D__DARWIN_VERS_1050=1 -DNOID -DLIBC_MAJOR=1 -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/OBJROOT/obj.ppc/INODE32 -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/SYMROOT/include -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/include -force_cpusubtype_ALL -no-cpp-precomp -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/gdtoa -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/gen -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/pthreads -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/stdtime -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/locale   -DBUILDING_VARIANT -U__DARWIN_64_BIT_INO_T -D__DARWIN_64_BIT_INO_T=0 -DVARIANT_INODE32 -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libinfo-278.0.3/membership.subproj -I/Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/OBJROOT/Frameworks/System.framework/PrivateHeaders  -Os  -c /Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/sys/statx_np.c -o statx_np.So
mv getmntinfo.So getmntinfo-INODE32.So
mv fts.So fts-INODE32.So
mv glob.So glob-INODE32.So
mv readdir.So readdir-INODE32.So
mv nftw.So nftw-INODE32.So
mv rewinddir.So rewinddir-INODE32.So
mv opendir.So opendir-INODE32.So
mv seekdir.So seekdir-INODE32.So
mv scandir.So scandir-INODE32.So
mv telldir.So telldir-INODE32.So
mv statx_np.So statx_np-INODE32.So
2 errors
*** Error code 2

Stop in /Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5.
make: *** [build] Error 1

 

What's new in this kernel? ;)

Link to comment
Share on other sites

Check the logs... has it anything to do with dtrace?

Link to comment
Share on other sites

Check the logs... has it anything to do with dtrace?

 

dtrace -o /Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/SYMROOT/include/plockstat.h -C -h -s /Users/arthur/Desktop/voodoobuild-0.3.2-AnV/tools/Libc-498.1.5/pthreads/plockstat.d

 

It has nothing to do with the error :)

And what's new in this Kernel? ;)

Link to comment
Share on other sites

Check the logs... has it anything to do with dtrace?

If so try the following set of commands:

cd /usr/lib/dtrace

sudo mkdir DISABLED

sudo mv *.d DISABLED/

 

That will move the dtrace old .d files to a place were they aren't used...

 

these files should be moved:

chud.d

errno.d

regs_ppc.d

sched.d

unistd.d

darwin.d

io.d

regs_x86_64.d

signal.d

 

After that resume the build... it should work now...

 

And what's new in this Kernel? :)

Only the build script has been updated...

It should work better now for everyone...

Some new patches may create a smaller result...

 

In the 10.5.7 version (after Apple released the sources and I've done the mods) I'll include autodetection for the .d files (and auto-disabling where needed...)

Link to comment
Share on other sites

If so try the following set of commands:

cd /usr/lib/dtrace

sudo mkdir DISABLED

sudo mv *.d DISABLED/

 

That will move the dtrace old .d files to a place were they aren't used...

 

these files should be moved:

chud.d

errno.d

regs_ppc.d

sched.d

unistd.d

darwin.d

io.d

regs_x86_64.d

signal.d

 

After that resume the build... it should work now...

Only the build script has been updated...

It should work better now for everyone...

Some new patches may create a smaller result...

 

Okey thanks for the info!

Now it works :D

Link to comment
Share on other sites

hy andy.. i got the last scripts and voodoobuild

 

then.. why I can't get the wget files? I put autentication data.. but at the 1st file it give error

 

Medardo:anv root# voodoobuild.sh

 

Voodoo Build 0.3.2 (10/10/2008) by Dense <slipstreamosx@gmail.com>

Project development site: http://code.google.com/p/xnu-dev/

 

Kernel sources: xnu-1228.9.59

 

Finding Apple authentication page...

Authenticating...

 

Downloading bootstrap_cmds-60.1.tar.gz...

######################################################################## 100,0%

ERROR Removed invalid file.

 

 

Medardo:anv root# voodoobuild-ATV.sh

 

Voodoo Build 0.3.2 (10/10/2008) by Dense <slipstreamosx@gmail.com>

Project development site: http://code.google.com/p/xnu-dev/

This version builds an AppleTV kernel...

 

Kernel sources: xnu-1228.9.59

 

Finding Apple authentication page...

Authenticating...

 

Downloading bootstrap_cmds-60.1.tar.gz...

######################################################################## 100,0%

ERROR Removed invalid file.

Link to comment
Share on other sites

I just couldn't wait for 10.5.7 to fix the last issue...

I've made an even better build script which supports resume (knows what it has built through the files in the built/ directory...)

It also auto-checks the presence of the .d files and move them to a disabled directory after entering the root password...

 

hy andy.. i got the last scripts and voodoobuild

 

then.. why I can't get the wget files? I put autentication data.. but at the 1st file it give error

 

Medardo:anv root# voodoobuild.sh

 

Voodoo Build 0.3.2 (10/10/2008) by Dense <slipstreamosx@gmail.com>

Project development site: http://code.google.com/p/xnu-dev/

 

Kernel sources: xnu-1228.9.59

 

Finding Apple authentication page...

Authenticating...

 

Downloading bootstrap_cmds-60.1.tar.gz...

######################################################################## 100,0%

ERROR Removed invalid file.

Medardo:anv root# voodoobuild-ATV.sh

 

Voodoo Build 0.3.2 (10/10/2008) by Dense <slipstreamosx@gmail.com>

Project development site: http://code.google.com/p/xnu-dev/

This version builds an AppleTV kernel...

 

Kernel sources: xnu-1228.9.59

 

Finding Apple authentication page...

Authenticating...

 

Downloading bootstrap_cmds-60.1.tar.gz...

######################################################################## 100,0%

ERROR Removed invalid file.

Yeah it's a known issue for the moment...

Just download the needed packages from http://developer.apple.com/opensource

Put them in a new directory named cache

Don't forget to download the new build script (I've updated it...)

 

Ugokind, I strongly recommend redownloading the voodoobuild-0.3.2-AnV.zip package from the first post..

It has fnDtraceCheck inside which will auto-fix the dtrace issues when compiling Libc...

Link to comment
Share on other sites

ny reason why I get the following when I'm using your script? thanks..

 

8] Processing Libc (Libc-498.1.5) (5 mins) 17:42:52

Extracting (Libc-498.1.5.tar.gz)...

Patching (Libc-498.1.5.diff)...

Building...

mv readdir.So readdir-INODE32.So

mv seekdir.So seekdir-INODE32.So

mv scandir.So scandir-INODE32.So

mv telldir.So telldir-INODE32.So

mv statx_np.So statx_np-INODE32.So

1 error

*** Error code 2

 

It's probably due to missing kernel headers...

Check the log files...

Copy over the missing kernel headers from the exportheaders phase (<source_path>/Tools/xnu-1228.9.59/BUILD/dst) to the system paths...

 

After I removed "ppc" targets from voodoobuild.sh, everything compiled fine. Should I remove i386 target as well if I plan

on using the kernel on Cor2 machine?

Link to comment
Share on other sites

Is it not possible to upload the sources in one folder already patched ?

(Means after patching).

Possible to also made an fitting Xcode projekt with that stuff above ?

Would be much easier to handle i think.

Link to comment
Share on other sites

May Andy, will release 9.7.0 kernel today or tomorrow happy.gif

Would be nice tongue.gif

+1 *count me in*

 

my rig always have Hardware profile problem "There was an error while gathering this information." with any vanilla kernel.

I did tried any smbios & *.spreporter combination but no luck.

 

z0r_1057upd_07.png

 

with non vanilla kernel (ToH/Voodoo/AnV) was fine.

Link to comment
Share on other sites

May Andy, will release 9.7.0 kernel today or tomorrow ^_^

Would be nice :P

 

+1 Andy is a wonderful developer that has helped a lot our community. I appreciated all his hard work. I can't wait to see his 10.5.7 kernel update. :thumbsup_anim:

Link to comment
Share on other sites

actually people like AnV have made the real developers ( the people that original do the work, only for him to come along and retag their work as his own) think again.

 

Funny you appreciate his work but not the original developers.

 

Enjoy the future.

Link to comment
Share on other sites

actually people like AnV have made the real developers ( the people that original do the work, only for him to come along and retag their work as his own) think again.

 

Funny you appreciate his work but not the original developers.

 

Enjoy the future.

 

Actually Andy has improved and make better the original work of someone else, what you can't see if Andy has contributed to improve the quality of the files. I agree that his work is not from scratch, but he has contributed to optimized the software or files and make it much better. You need to test his work vs someone that made it original and you will see what I am talking about it.

Link to comment
Share on other sites

May Andy, will release 9.7.0 kernel today or tomorrow

Would be nice

 

Have they even released the source for the 9.7.0 kernel?

If they have I think it would be easier than the 9.5.0 to 9.6.0 transition

Link to comment
Share on other sites

 Share

×
×
  • Create New...