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

For those wanting to build the sources and having problems with it:

See my first post to get a package that will allow building the kernel without probs...

Enjoy and build your heart out... :rolleyes:

Link to comment
Share on other sites

I just installed this package. It seems to work fine. At least no noticeable difference from the previous voodoo kernel I was running.

 

But I was hoping that this new kernel would at least resolve the breakpoints not working under XCode. :D

 

So far, the only kernel I tested with and has working Breakpoints under XCode is the ToH 9.2 edition. But that is quite old. And I can't seem to find other kernels to download. I find ISO's, but not *just* the kernels.

 

Anybody have a collection of new kernels for me to try with XCode? :/

Link to comment
Share on other sites

Andy.. can you suggest me where I can find 3.0 version?

shall I search for Xcode or is a differen package name?

I have a lor of distro.. and mac osx original 10.5.4.. and original disc2.. but I can't find.

in disc2 there is xcode.. i've reinstalled it.. but the problem still remain the same

thanks

Link to comment
Share on other sites

Andy.. can you suggest me where I can find 3.0 version?

shall I search for Xcode or is a differen package name?

I have a lor of distro.. and mac osx original 10.5.4.. and original disc2.. but I can't find.

in disc2 there is xcode.. i've reinstalled it.. but the problem still remain the same

thanks

Don't bother... use latest and just install that package I posted (first post, rapidshare link...)

Get latest (3.1.2) from Apple's site and just follow the instructions I posted on the first post...

That will get you going... I tried it without the parts I had and I devised that solution...

Link to comment
Share on other sites

uh.. i didn't saw it.. :D

 

thanks

it run fine! oh.. it run!! oh.. noo

it's because we're near 17 friday?!?!

 

[2] Processing Libstreams (Libstreams-25)

Extracting (Libstreams-25.tar.gz)...

Building...

In file included from file_funcs.c:36:

/usr/include/sys/stat.h:75:26: error: Availability.h: No such file or directory

In file included from file_funcs.c:36:

/usr/include/sys/stat.h:460: error: syntax error before ‘__OSX_AVAILABLE_BUT_DEPRECATED’

/usr/include/sys/stat.h:461: error: syntax error before ‘__OSX_AVAILABLE_BUT_DEPRECATED’

/usr/include/sys/stat.h:462: error: syntax error before ‘__OSX_AVAILABLE_BUT_DEPRECATED’

/usr/include/sys/stat.h:463: error: syntax error before ‘__OSX_AVAILABLE_BUT_DEPRECATED’

/usr/include/sys/stat.h:464: error: syntax error before ‘__OSX_AVAILABLE_BUT_DEPRECATED’

/usr/include/sys/stat.h:465: error: syntax error before ‘__OSX_AVAILABLE_BUT_DEPRECATED’

make: *** [/Volumes/Dati/-/kernelsrc/voodoobuild/tools/Libstreams-25/streams.build/objects-optimized/file_funcs.i386.o] Error 1

ERROR

Link to comment
Share on other sites

uh.. i didn't saw it.. :whistle:

 

thanks

it run fine! oh.. it run!! oh.. noo

it's because we're near 17 friday?!?!

 

[2] Processing Libstreams (Libstreams-25)

Extracting (Libstreams-25.tar.gz)...

Building...

In file included from file_funcs.c:36:

/usr/include/sys/stat.h:75:26: error: Availability.h: No such file or directory

In file included from file_funcs.c:36:

/usr/include/sys/stat.h:460: error: syntax error before ‘__OSX_AVAILABLE_BUT_DEPRECATED’

/usr/include/sys/stat.h:461: error: syntax error before ‘__OSX_AVAILABLE_BUT_DEPRECATED’

/usr/include/sys/stat.h:462: error: syntax error before ‘__OSX_AVAILABLE_BUT_DEPRECATED’

/usr/include/sys/stat.h:463: error: syntax error before ‘__OSX_AVAILABLE_BUT_DEPRECATED’

/usr/include/sys/stat.h:464: error: syntax error before ‘__OSX_AVAILABLE_BUT_DEPRECATED’

/usr/include/sys/stat.h:465: error: syntax error before ‘__OSX_AVAILABLE_BUT_DEPRECATED’

make: *** [/Volumes/Dati/-/kernelsrc/voodoobuild/tools/Libstreams-25/streams.build/objects-optimized/file_funcs.i386.o] Error 1

ERROR

Which version of xcode?

Use the LATEST 3.1.2...

Link to comment
Share on other sites

ok. It started fine again.

i explain:

today i've installed xcode from dvd original.. but is older

now i reinstall the latest. and no error

the error is due to no SDK path in environment.

 

i've answered you

thanks

plese read it is important

i'll try to recompile

'night

Link to comment
Share on other sites

ok. It started fine again.

i explain:

today i've installed xcode from dvd original.. but is older

now i reinstall the latest. and no error

the error is due to no SDK path in environment.

 

i've answered you

thanks

plese read it is important

i'll try to recompile

'night

also after reinstall of xcode reinstall tools package...

Link to comment
Share on other sites

ok

done and reinstalled your package

 

5] Processing kext_tools (kext_tools-117.4)

Extracting (kext_tools-117.4.tar.gz)...

Building...

kextsymboltool.c:362: error: ‘KXKextManagerError’ undeclared (first use in this function)

kextsymboltool.c:362: error: (Each undeclared identifier is reported only once

kextsymboltool.c:362: error: for each function it appears in.)

kextsymboltool.c:362: error: expected ‘;’ before ‘err’

kextsymboltool.c:444: error: ‘err’ undeclared (first use in this function)

kextsymboltool.c:445: error: ‘kKXKextManagerErrorNone’ undeclared (first use in this function)

kextsymboltool.c:552: error: ‘kKXKextManagerErrorUnspecified’ undeclared (first use in this function)

kextsymboltool.c:560: error: ‘kKXKextManagerErrorFileAccess’ undeclared (first use in this function)

kextsymboltool.c:605: error: ‘kKXKextManagerErrorAlreadyLoaded’ undeclared (first use in this function)

lipo: can't figure out the architecture type of: /var/tmp//ccdrtmyS.out

ERROR

Link to comment
Share on other sites

ok

done and reinstalled your package

 

5] Processing kext_tools (kext_tools-117.4)

Extracting (kext_tools-117.4.tar.gz)...

Building...

kextsymboltool.c:362: error: ‘KXKextManagerError’ undeclared (first use in this function)

kextsymboltool.c:362: error: (Each undeclared identifier is reported only once

kextsymboltool.c:362: error: for each function it appears in.)

kextsymboltool.c:362: error: expected ‘;’ before ‘err’

kextsymboltool.c:444: error: ‘err’ undeclared (first use in this function)

kextsymboltool.c:445: error: ‘kKXKextManagerErrorNone’ undeclared (first use in this function)

kextsymboltool.c:552: error: ‘kKXKextManagerErrorUnspecified’ undeclared (first use in this function)

kextsymboltool.c:560: error: ‘kKXKextManagerErrorFileAccess’ undeclared (first use in this function)

kextsymboltool.c:605: error: ‘kKXKextManagerErrorAlreadyLoaded’ undeclared (first use in this function)

lipo: can't figure out the architecture type of: /var/tmp//ccdrtmyS.out

ERROR

Hmm weird...

But since kextsymboltool is part of the installer package comment out building of the tool like this:

#echo "[$(( ++counter ))] Processing kext_tools (${ARCHIVE_KEXTTOOLS})"

#fnExtract ${ARCHIVE_KEXTTOOLS} tools cache/${ARCHIVE_KEXTTOOLS}.tar.gz

#fnBuild ${ARCHIVE_KEXTTOOLS} tools/${ARCHIVE_KEXTTOOLS} "/Developer/usr/bin/llvm-gcc-4.2 kextsymboltool.c -o kextsymboltool -I ${VOODOO_PATH_IOKITUSER} -I ${VOODOO_PATH_CCTOOLS}/include -arch i386 -arch x86_64 -arch ppc"

#echo

then try again...

Other option like this:

echo "[$(( ++counter ))] Processing kext_tools (${ARCHIVE_KEXTTOOLS})"

fnExtract ${ARCHIVE_KEXTTOOLS} tools cache/${ARCHIVE_KEXTTOOLS}.tar.gz

fnBuild ${ARCHIVE_KEXTTOOLS} tools/${ARCHIVE_KEXTTOOLS} "/Developer/usr/bin/llvm-gcc-4.2 kextsymboltool.c -o kextsymboltool -I ${VOODOO_PATH_IOKITUSER} -I ${VOODOO_PATH_CCTOOLS}/include"

echo

Link to comment
Share on other sites

ok

in your last voodoobuild you have another line between the 3 row you suggest to comment and the $VOODOO PATH

and is

 

bin/llvm-gcc-4.2 kextsymboltool.c -o kextsymboltool -I $

 

then:

i tried the 1st suggestion.. and left

bin/llvm-gcc-4.2 kextsymboltool.c -o kextsymboltool -I $

as is

 

it goes on! well i'm here in 7 hell round (eh eh)

[7] Processing Libc (Libc-498.1.5) (5 mins) 23:15:59

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

Patching (Libc-498.1.5.diff)...

Building...

mv readdir.So readdir-INODE32.So

mv scandir.So scandir-INODE32.So

mv seekdir.So seekdir-INODE32.So

mv telldir.So telldir-INODE32.So

mv statx_np.So statx_np-INODE32.So

2 errors

*** Error code 2

 

Stop in /Volumes/Dati/-/kernelsrc/voodoobuild/tools/Libc-498.1.5.

make: *** [build] Error 1

ERROR

 

 

 

 

I have another question

now I use vanilla and 10.5.6 system.kext original.. hpet and disabler and appledecrypt

if I boot with your anv 9.6 1.4 (only the kernel and not all included in the package) all is fine. I have not problems.

then.. with that build.. shall I use other tools or kext or can I use it like before with your kernel?

is rellay necessary to change kexts in the S/L/E?

 

thanks!! you're a Druid of the bits!

 

 

 

ps now i go for a sleep!! night

Link to comment
Share on other sites

ok

in your last voodoobuild you have another line between the 3 row you suggest to comment and the $VOODOO PATH

and is

 

bin/llvm-gcc-4.2 kextsymboltool.c -o kextsymboltool -I $

 

then:

i tried the 1st suggestion.. and left

bin/llvm-gcc-4.2 kextsymboltool.c -o kextsymboltool -I $

as is

 

it goes on! well i'm here in 7 hell round (eh eh)

[7] Processing Libc (Libc-498.1.5) (5 mins) 23:15:59

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

Patching (Libc-498.1.5.diff)...

Building...

mv readdir.So readdir-INODE32.So

mv scandir.So scandir-INODE32.So

mv seekdir.So seekdir-INODE32.So

mv telldir.So telldir-INODE32.So

mv statx_np.So statx_np-INODE32.So

2 errors

*** Error code 2

 

Stop in /Volumes/Dati/-/kernelsrc/voodoobuild/tools/Libc-498.1.5.

make: *** [build] Error 1

ERROR

I have another question

now I use vanilla and 10.5.6 system.kext original.. hpet and disabler and appledecrypt

if I boot with your anv 9.6 1.4 (only the kernel and not all included in the package) all is fine. I have not problems.

then.. with that build.. shall I use other tools or kext or can I use it like before with your kernel?

is rellay necessary to change kexts in the S/L/E?

 

thanks!! you're a Druid of the bits!

ps now i go for a sleep!! night

If you've got HPET there's no real need to replace AppleACPIPlatform or AppleHPET...

These are only needed for older systems...

The first one enables legacy RTC clock driver and the second emulates HPET through the kernel.

System.kext is recommended but again not required if system.kext = 10.5.6 (unless above HPET is used...)

Hope this answers your question...

Link to comment
Share on other sites

ok

after 24 ours i'm again on the project.

but I don't know where to correct in order to make the kernel.

this libc is important? i'm so poor.. in the past i compiled a lot of linux kernel.. and what many differences between that kernel and others.

oh if I knew more and more..

Link to comment
Share on other sites

ok

after 24 ours i'm again on the project.

but I don't know where to correct in order to make the kernel.

this libc is important? i'm so poor.. in the past i compiled a lot of linux kernel.. and what many differences between that kernel and others.

oh if I knew more and more..

Check the logs...

Maybe there is a header missing or not in the proper place which may cause the libc build to fail...

Keep me posted...

If you really have no luck I'm willing to give my entire project folder (with all objects, etc...)

Let me know...

Link to comment
Share on other sites

Hey I have been using this kernel on a acer aspire one and it really works great the only problem I have is I want it to say it is a mac air. also the processor is a intel atom n270 and would like to to show two cores how can I edit this to show this andy?

Link to comment
Share on other sites

Hey I have been using this kernel on a acer aspire one and it really works great the only problem I have is I want it to say it is a mac air. also the processor is a intel atom n270 and would like to to show two cores how can I edit this to show this andy?

If you want the kernel to override the model to MacBook Air you need only one of the following boot arguments:

macmodel=MacBookAir1,1 or

macmodel=MacBookAir2,1

To enable both cores boot with cpus=2

That will enable AppleACPICPU to start for both of the cores...

If you want full MacBook Air identification use my SMBIOS (untill I'm finished with the AppleSMBIOSEFI I'm working on...) with proper MacBookAirX,1 id inside, SMBIOS table from MacBook Air and following data in the plist:

MacBookAir2,1

MBA21.88Z.0075.B03.0811141325

Mac-F42D88C8

Serial number often starts with W85 for MacBook Air.

For the SMBIOS table I can't help you yet, I need an ioreg save (.ioreg file from IORegistryExplorer) for the extraction of the SMBIOS table...

If you manage to obtain one of those I'll mod an AppleSMBIOS just for you...

Let me know.

Link to comment
Share on other sites

Hy Andy

I attach my log.

 

I think the 1st error is:

kFastThreadLocalStorage that is not declared

 

the 2nd:

kernelsrc/voodoobuild/tools/Libc-498.1.5/OBJROOT/Frameworks/System.framework/PrivateHeaders/machine/cpu_capabilities.h:33:41: error: System/ppc/cpu_capabilities.h: No such file or directory

Link to comment
Share on other sites

Hy Andy

I attach my log.

 

I think the 1st error is:

kFastThreadLocalStorage that is not declared

 

the 2nd:

kernelsrc/voodoobuild/tools/Libc-498.1.5/OBJROOT/Frameworks/System.framework/PrivateHeaders/machine/cpu_capabilities.h:33:41: error: System/ppc/cpu_capabilities.h: No such file or directory

You can get that header from the kernel sources...

Install it in /System/Library/Frameworks/System.frameworks/Headers/ppc

I remember it to be present under a folder ppc in the kernel sources...

It is the only error for all as this is the only header not being found...

Install where I said and try again...

Also it could be it is being put under the exportheaders fase of the build...

Check it and report back to me please...

Link to comment
Share on other sites

ta-dah!

here the problem

I don't have the ppc folder in the

/System/Library/Frameworks/System.frameworks/Headers/

 

ok

i took that PPC folder from Libc OBJROOT in the kernel source and copied in the You can get that header from the kernel sources...

Install it in /System/Library/Frameworks/System.frameworks/Headers/

 

relaunched: ok..

it have been 10 min and more.. then go to step 8

cool!

 

9.. system..

10.. dyld

11..XNU !!

errors.. nooooooooooooooooooo

----attach the log

[11] Processing XNU (xnu-1228.9.59) (6 mins) 23:40:51

Extracting (xnu-1228.9.59.tar.gz)...

Patching (xnu-1228.9.59-AnV.diff)...

Injecting blob (dyld.c)...

Injecting blob (sse3emu.c)...

Baselining...

Executing command...

Building...

make[5]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.

/Volumes/Dati/-/kernelsrc/voodoobuild/xnu-1228.9.59/BUILD/obj/RELEASE_I386/iokit/conf

/Volumes/Dati/-/kernelsrc/voodoobuild/xnu-1228.9.59/BUILD/obj/RELEASE_I386/iokit/RELEASE/config.RELEASE_I386.new: Interrupted system call.

Specify machine type, e.g. ``machine vax''

make[5]: *** No rule to make target `build_all'. Stop.

make[4]: *** [do_all] Error 2

make[3]: *** [build_all] Error 2

make[2]: *** [build_all] Error 2

make[1]: *** [build_all] Error 2

make: *** [all] Error 2

ERROR

 

 

 

 

 

 

i have another question:

in linux the goal is to build the smallest kernel but the kernel contain the driver that I consider -most important- and must put in monolithic core.

 

in that way.. I have a set of instruction in your shell. but for me is a newer experience.. so: what is the goal .. what are the variables/possibilities in which I can cut or inject information .. or is not the same way to think as?

 

 

bye

ugo

Link to comment
Share on other sites

Panic (cpu 0 caller 0x001dd2E2): "vnode_ref_ext: vp 0x81da9eo has no valid reference 0,0 "@/users/andyvand/Dowloads/kernels/woodobild-0.3.2/xnu-1228.9.59/bsd/vfs/vfs_subr c:1423

 

Panic(cpu 0 caller 0x004329B3): "Unable to find driver for this platform: \ "ACPI\".\n"@/Users/andyvand/Downloads/Kernels/Voodoobuild-0.3.2/xnu-1228.9.59/iokit/Kernel/IOPlatformExpexrt.cpp:1411

 

Here's another one:

http://www.insanelymac.com/forum/index.php...t&p=1130737

 

It happened to me too last time I tried one of your Kernels.

 

Andy can you please explain why "/users/andyvand/Dowloads/kernels" would appear on someone elses hackintosh running your kernel.

 

Sounds like that's a folder on your system. I know it's probably nothing but I'm curious.

Link to comment
Share on other sites

ta-dah!

here the problem

I don't have the ppc folder in the

/System/Library/Frameworks/System.frameworks/Headers/

 

ok

i took that PPC folder from Libc OBJROOT in the kernel source and copied in the You can get that header from the kernel sources...

Install it in /System/Library/Frameworks/System.frameworks/Headers/

 

relaunched: ok..

it have been 10 min and more.. then go to step 8

cool!

 

9.. system..

10.. dyld

11..XNU !!

errors.. nooooooooooooooooooo

----attach the log

[11] Processing XNU (xnu-1228.9.59) (6 mins) 23:40:51

Extracting (xnu-1228.9.59.tar.gz)...

Patching (xnu-1228.9.59-AnV.diff)...

Injecting blob (dyld.c)...

Injecting blob (sse3emu.c)...

Baselining...

Executing command...

Building...

make[5]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.

/Volumes/Dati/-/kernelsrc/voodoobuild/xnu-1228.9.59/BUILD/obj/RELEASE_I386/iokit/conf

/Volumes/Dati/-/kernelsrc/voodoobuild/xnu-1228.9.59/BUILD/obj/RELEASE_I386/iokit/RELEASE/config.RELEASE_I386.new: Interrupted system call.

Specify machine type, e.g. ``machine vax''

make[5]: *** No rule to make target `build_all'. Stop.

make[4]: *** [do_all] Error 2

make[3]: *** [build_all] Error 2

make[2]: *** [build_all] Error 2

make[1]: *** [build_all] Error 2

make: *** [all] Error 2

ERROR

 

 

 

 

 

 

i have another question:

in linux the goal is to build the smallest kernel but the kernel contain the driver that I consider -most important- and must put in monolithic core.

 

in that way.. I have a set of instruction in your shell. but for me is a newer experience.. so: what is the goal .. what are the variables/possibilities in which I can cut or inject information .. or is not the same way to think as?

 

 

bye

ugo

Hmm... that is very weird...

It tends to say specify machine type (which is done as DEFAULT) and next it tends to say config.RELEASE_I386.new and interrupted system call...

I've never had this when I made the kernel...

Also weird is the statement "no rule to make target build_all"...

Try removing tools and xnu-* folders and building again...

 

beerkex.. do you have a proper dsdt for your platform? because if i chance or modify mine.. i have the same message

I also use a modded DSDT (by hand) for my machine...

No issues there...

Link to comment
Share on other sites

done.

removed tools folder and the 2 folder xnu..

the same errors

---

[11] Processing XNU (xnu-1228.9.59) (6 mins) 12:17:39

Extracting (xnu-1228.9.59.tar.gz)...

Patching (xnu-1228.9.59-AnV.diff)...

Injecting blob (dyld.c)...

Injecting blob (sse3emu.c)...

Baselining...

Executing command...

Building...

make[5]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.

/Volumes/Dati/-/kernelsrc/voodoobuild/xnu-1228.9.59/BUILD/obj/RELEASE_I386/iokit/conf

/Volumes/Dati/-/kernelsrc/voodoobuild/xnu-1228.9.59/BUILD/obj/RELEASE_I386/iokit/RELEASE/config.RELEASE_I386.new: Interrupted system call.

Specify machine type, e.g. ``machine vax''

make[5]: *** No rule to make target `build_all'. Stop.

make[4]: *** [do_all] Error 2

make[3]: *** [build_all] Error 2

make[2]: *** [build_all] Error 2

make[1]: *** [build_all] Error 2

make: *** [all] Error 2

ERROR

Link to comment
Share on other sites

done.

removed tools folder and the 2 folder xnu..

the same errors

---

[11] Processing XNU (xnu-1228.9.59) (6 mins) 12:17:39

Extracting (xnu-1228.9.59.tar.gz)...

Patching (xnu-1228.9.59-AnV.diff)...

Injecting blob (dyld.c)...

Injecting blob (sse3emu.c)...

Baselining...

Executing command...

Building...

make[5]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.

/Volumes/Dati/-/kernelsrc/voodoobuild/xnu-1228.9.59/BUILD/obj/RELEASE_I386/iokit/conf

/Volumes/Dati/-/kernelsrc/voodoobuild/xnu-1228.9.59/BUILD/obj/RELEASE_I386/iokit/RELEASE/config.RELEASE_I386.new: Interrupted system call.

Specify machine type, e.g. ``machine vax''

make[5]: *** No rule to make target `build_all'. Stop.

make[4]: *** [do_all] Error 2

make[3]: *** [build_all] Error 2

make[2]: *** [build_all] Error 2

make[1]: *** [build_all] Error 2

make: *** [all] Error 2

ERROR

Try launching optibuild.sh from inside the xnu-1228.9.59 folder to continue building...

I would like to know just why it doesn't work...

The command laying behind the script is quite simple...

CC=gcc-4.2 CXX=g++-4.2 make MACHINE_CONFIG=DEFAULT TARGET_CONFIGS="RELEASE I386 DEFAULT" ARCH_CONFIGS=I386 KERNEL_CONFIGS=RELEASE install

Which sets the machine config to default build for I386 release with gcc 4.2

Link to comment
Share on other sites

beerkex.. do you have a proper dsdt for your platform? because if i chance or modify mine.. i have the same message

 

I'm not sure how proper it is. Mine is generated by koalala's ACPI Patcher with as many fixes as I could select without getting too many compile warnings, and it has hand edited Marvell 88E8056 LAN time machine fix (thanks to Krazubu) and with the 9800GTX+ inserted by Roisoft.

 

I'm not using Andy's kernel right now.

Link to comment
Share on other sites

 Share

×
×
  • Create New...