Jump to content

Mavericks kernel testing on AMD (formerly Mountain Lion kernel testing on AMD)


theconnactic
 Share

6,414 posts in this topic

Recommended Posts

https://meklort.com/~sinet3k/{censored}/

 

try test2 plz. i need -x to boot ..

 

 

no clue what's failing now..... (nvidia problems in normal boot). i'm at a loss :(

 

No special boot flags. FIPS USER Space POST SUCCESS! No 100% CPU here. Everything looks fine! Err, now TextWrangler and uTorrent won't launch like with AnV's kernel...

Link to comment
Share on other sites

https://meklort.com/~sinet3k/{censored}/

I

try test2 plz. i need -x to boot ..

Which

 

 

no clue what's failing now..... (nvidia problems in normal boot). i'm at a loss :(

Which version of Xcode do you use?

Just curious...

EDIT: judging by the size of the kernel... 7,7M it's 3.2.6 right? That would explain why FIPS fails on mine... I have 4.5.2 with cltools...

I'll install 3.2.6 next week...

Also how about kernel space opemu?

It should be possible...

Link to comment
Share on other sites

Which version of Xcode do you use?

Just curious...

EDIT: judging by the size of the kernel... 7,7M it's 3.2.6 right? That would explain why FIPS fails on mine... I have 4.5.2 with cltools...

I'll install 3.2.6 next week...

Also how about kernel space opemu?

It should be possible...

 

4.5.2, and the kernel opemu is active and working.. try a stock corecrypto, it works

Link to comment
Share on other sites

 

 

4.5.2, and the kernel opemu is active and working.. try a stock corecrypto, it works

:o

Amazing.

Great work... :D

I don't understand why there still are graphics issues.

Could I take a look at your latest diff please?

Thanks in advance.

I would like to write a test program too to test the opemu (I have SSSE3 on my Intel so I could write a comparative program and test)

Link to comment
Share on other sites

I've started coding an instruction test program.

So far I've done the pshufb and pshufb128

Gonna add all instructions over time so we can test the ssse3 emulator...

More work on it later. ;)

  • Like 1
Link to comment
Share on other sites

I've started coding an instruction test program.

So far I've done the pshufb and pshufb128

Gonna add all instructions over time so we can test the ssse3 emulator...

More work on it later. ;)

already done, i have a test proggy with all instructions

graphics problems, check the logs in /Library/Logs/DiagnosticReports/, you have all the info there to help me fix those

 

BTW, FINALLY managed to compile Libc!!! It doesn't work yet however. Could you teach me how to patch binaries? I think we could just add in a function in the binary and redirect a call to it? What do you say? I see "bzero sse variant" in the logs, that's under Libc/x86_64/strings/bzero_~~~.s. The goal would be to code one up in generic C and reroute to it. That used to be in the kernel before ML so it was easy to modify.

  • Like 1
Link to comment
Share on other sites

boot: test2 -v

 

FIPS passed, no hang at macx_swapon, graphics fragments. Opera and TextWrangler don't start, they just sit there bouncing in the dock until they're force-quit.

 

Phenom II X4

Radeon HD 6570

 

BTW, what happened to the XPCHelper problem?

 

Just adding that mach_sse42only has been going for 4 hours without crashing! Even got some gaming in (Minecraft) :D

 

The graphics fragments have completely disappeared after 30mins.

Link to comment
Share on other sites

@AnV: how do you build dyld?? HALP!

Yeah I know the feeling... it's no fun as they removed the build commands to build static versions of the libc + libsystem libraries and you also need libunwind from apple.

edit: you need libstdcxx static too...

Edit2: and before I forget... libsyscall from the kernel.

If you can build those static you can install the .a files in /usr/local/lib/dyld

Then when you build dyld they are linked in.

If it goes well you should get a dyld binary linked ;)

 

BTW: I wrote a full test suite for the SSSE3 test.

It will test all instructions of the current SSSE3 system in use (emulator or real one) from user space.

They will test them against manual calculated results.

If the instructions tests 256 different values ok it will print PASS! for the instruction, otherwise it will say FAIL and show the number of errors.

You can test verbose with testssse3 -v

Source code is included ;)

Also my verbose output on my intel box is also in .txt format in the zip

post-100023-0-63814900-1357317920_thumb.png

testssse3emu.zip

  • Like 1
Link to comment
Share on other sites

Thank you friend

I tested three kernel for installation and not all carry, arrives to enter a black screen and re-started the pc

 

The kernel tested are:

mach_sse42_only

amd_kernel (latest version)

test2.

 

My config:

Processor: Phenom X 6 1075T

motherboard: asus M4A785TD-v evo

Memory ram: 6 Gbs

Video Card: XFX ATI HD6870 1GB DDR5 256bit

Link to comment
Share on other sites

Yeah I know the feeling... it's no fun as they removed the build commands to build static versions of the libc + libsystem libraries and you also need libunwind from apple.

edit: you need libstdcxx static too...

Edit2: and before I forget... libsyscall from the kernel.

If you can build those static you can install the .a files in /usr/local/lib/dyld

Then when you build dyld they are linked in.

If it goes well you should get a dyld binary linked ;)

 

BTW: I wrote a full test suite for the SSSE3 test.

It will test all instructions of the current SSSE3 system in use (emulator or real one) from user space.

They will test them against manual calculated results.

If the instructions tests 256 different values ok it will print PASS! for the instruction, otherwise it will say FAIL and show the number of errors.

You can test verbose with testssse3 -v

Source code is included ;)

Also my verbose output on my intel box is also in .txt format in the zip

 

 

Got this on 10.6.8 with Sinetek's kernel:

sh-3.2# ./testssse3
Illegal instruction

 

irony.jpg

Link to comment
Share on other sites

It's compiled for 10.8... not 10.6...

It's a test suite for ssse3.

You can use xcode 3.2 or 4.0/4.1 to compile it for SL...

gcc -sdkroot /Developer/SDKs/MacOSX10.6.sdk -mssse3 -o testssse3 testssse3.c

Would compile it

Link to comment
Share on other sites

It's compiled for 10.8... not 10.6...

It's a test suite for ssse3.

You can use xcode 3.2 or 4.0/4.1 to compile it for SL...

gcc -sdkroot /Developer/SDKs/MacOSX10.6.sdk -mssse3 -o testssse3 testssse3.c

Would compile it

 

Yea, I knew it... But it was just so ironic :D

Now booted on the SL again, gotta compile it myself. Thanks for the command btw! :)

Link to comment
Share on other sites

BTW: I wrote a full test suite for the SSSE3 test.

It will test all instructions of the current SSSE3 system in use (emulator or real one) from user space.

They will test them against manual calculated results.

If the instructions tests 256 different values ok it will print PASS! for the instruction, otherwise it will say FAIL and show the number of errors.

You can test verbose with testssse3 -v

Source code is included ;)

Also my verbose output on my intel box is also in .txt format in the zip

 

 

with Sinetek's kernel

 

 

 

anv_18a.gif

 

 

 

 

 

with your kernel (-ssse3bit)

 

 

 

anv_18b.gif

 

 

Link to comment
Share on other sites

 

 

 

with Sinetek's kernel

 

 

 

anv_18a.gif

 

 

 

 

 

with your kernel (-ssse3bit)

 

 

 

anv_18b.gif

 

 

It's good... both produce the same values...

Link to comment
Share on other sites

With sinetek's kernel:

 

localhost:~ Eric$ /Volumes/Macintosh\ HD/Users/Eric/Desktop/testssse3 Test pshufb PASS! Test pshufb128 PASS! Test phaddw PASS! Test phaddw128 PASS! Test phaddd PASS! Test phaddd128 PASS! Test phaddsw PASS! Test phaddsw128 PASS! Test pmaddubsw PASS! Test pmaddubsw128 PASS! Test phsubw PASS! Test phsubw128 PASS! Test phsubd PASS! Test phsubd128 PASS! Test phsubsw PASS! Test phsubsw128 PASS! Test psignb PASS! Test psignb128 PASS! Test psignw PASS! Test psignw128 PASS! Test psignd PASS! Test psignd128 PASS! Test pmulhrsw PASS! Test pmulhrsw128 PASS! Test pabsb PASS! Test pabsb128 PASS! Test pabsw PASS! Test pabsw128 PASS! Test pabsd PASS! Test pabsd128 PASS! Test palignr PASS! Test palignr128 PASS! localhost:~ Eric$

 

And, for fun:

 

 

Screen_Shot_2013_01_04_at_1_18_08_PM.png

 

 

EDIT: Whoa, what happened? Anyway, everything passed.

Edited by SS01
Link to comment
Share on other sites

 Share

×
×
  • Create New...