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

Yeah... if the kernel opemu works it will be cool...

I've made a new kernel... boot flags:

-nossse3bit = disables SSE3 flag in the kernel (don't use on test 1, we need to test the kernel opemu)

-nosse42bit = disables SSE4.2 flag in the kernel

-nokopemu = disable the kernel trap opemu (don't use unless the kernel trap always fails)

-nodecryptor = disable the built-in decryptor

Please tests A.S.A.P and post back... I want to get the kernel trap for opemu working as then we can use kexts with SSSE3

Patch included..

I hope this will enable kernel space opemu... (That's what this test is for).

It works by firing the opemu and next setting a recovery ip and then returning.

 

-nossse3bit -v -f npci=0x3000 ---> cpu halted and re-boot

 

-nosse42bit -v -f npci=0x3000 cpus=1 ----> warning invailed kernel ip wont attemt to handle trap

Link to comment
Share on other sites

Booting with only -v got the kernel trap error and something related to AppleFS compression

Booting with -nokopemu get AppleFSCompression Error

-nosse42bit Same as 1st test

-nossse3bit Seemed to think it was in safe boot and checked all the volumes and booted with same graphics error of no GUI as before.

Link to comment
Share on other sites

booting only with: cpus=1 busratio=20 arch=x86_64 maxmem=4096 -v --> warning: invailed kernel...................

Link to comment
Share on other sites

Got a new idea...

The invalid kernel ip has shown me that I need to add it to kernel ip handler...

Have made a new way to handle that... it checks for the opcode too...

Hope this has more succes...

Soon I'll post (again lol).

Need testing as I don't have an AMD machine :(

  • Like 1
Link to comment
Share on other sites

Here we go...

Test A.S.A.P please... we need to know...

I've added the emu on 2 places in kernel space now on invalid instruction and on protection fault... this should fix that invalid kernel ip.

Also if the kernel opemu doesn't find any instructions it should trap normal and don't invoke the behind laying emu code.

This needs to be verified though...

It's the last build

SinetekBronzovkAnVoodoo_test5.diff.zip

amd_kernel.zip

Link to comment
Share on other sites

Fips fail, gfx issues still present (not as much as with the previous kernel). Btw, my Safari can't display letter "a". I hope this post will show them right.

Can't post from Opera , it gets SIGBUS signal and shuts down instantly, same with Skype. Both work with Sinetek's kernel (well, Skype crashes but that's something else, and it isn't instant crash).

 

Some pics xD :

 

 

 

 

 

 

 

 

 

Btw, one of the hardest posts I've ever written on any forum. :D

 

Funnest thing i've read in a while :lol:

  • Like 1
Link to comment
Share on other sites

Hi Andy, here is my unfinished dsdt.dsl+aml created with DSDTSE

I hope you can tinker me something useful out of it. :king: :wink2:

Which is your EHCI controller?

Does that PC have USB2?

Link to comment
Share on other sites

Funnest thing i've read in a while :lol:

 

Lol, it was pretty hilarious indeed. :D

 

I'll test AnV's kernels now. Btw Sinetek, your kernel is extremely stable, 2h 50min and still running. ;)

Link to comment
Share on other sites

Here we go...

Test A.S.A.P please... we need to know...

I've added the emu on 2 places in kernel space now on invalid instruction and on protection fault... this should fix that invalid kernel ip.

Also if the kernel opemu doesn't find any instructions it should trap normal and don't invoke the behind laying emu code.

This needs to be verified though...

It's the last build

No special flags: com.apple.AppleFSCompression.AppleFSCompressionTypeZlib KP

-nossse3bit: FIPS USER Space POST: Integrity test failed!

Link to comment
Share on other sites

Okay... Now booted with newest AnV kernel (Phenom II x4 965). -nossse3bit.

 

Graphics still damn buggy, slow boot process, FIPS error and asks keychain before desktop.

 

HOWEVER: This is the only ML kernel which can play my iTunes radio.

:) I tried if it would crash (like Opera did, posting from Safari). So... Maybe there has been some progress. :D

 

Will now try without -nossse3bit.

Link to comment
Share on other sites

Which is your EHCI controller?

Does that PC have USB2?

 

 

FireWire Controller VIA VT6308 Fire IIM IEEE1394 Host Controller (PHY: VIA VT6307)

 

USB1 Controller ATI SB900 - OHCI USB Controller

 

USB1 Controller ATI SB900 - OHCI USB Controller

 

USB1 Controller ATI SB900 - OHCI USB Controller

 

USB1 Controller ATI SB900 - OHCI USB Controller

 

USB2 Controller ATI SB900 - EHCI USB 2.0 Controller

 

USB2 Controller ATI SB900 - EHCI USB 2.0 Controller

 

USB2 Controller ATI SB900 - EHCI USB 2.0 Controller

 

USB3 Controller Etron EJ168 USB 3.0 xHCI Controller

 

USB3 Controller Etron EJ168 USB 3.0 xHCI Controller

 

sorry for waiting , Andy

Link to comment
Share on other sites

Okay, without flags... Same result as others get:

KP - com.apple.AppleFSCompression.AppleFSCompressionTypeZlib

 

 

EDIT: The iTunes thing is pretty weird, it does play well with AnV kernel, but crashes on Sinetek's. Also AnV kernel does correct reboot, while Sinetek's just hangs there after display shutdown. However, Sinetek's kenrel boots like 10 times faster (really! :o)...

But great progress everyone! :) We already have AMD booting ML, now it just needs some polishing. :)

Link to comment
Share on other sites

-nossse3bit -v npci=0x3000 -----> warning; invailed kernel ip.........

-v -f cpus=1 npci=0x3000 ------> warning; invailed kernel ip......

Link to comment
Share on other sites

Okay, my mind is now totally blown.

 

When I booted from windows to ML (Sinetek's kernel), I watched the boot and just before desktop I could see my windows wallpaper flash for like 3 seconds.

Now this happened 2nd time, got KP on SL -> booted to ML -> the same KP screen was drawn before desktop... WTF? :D

Link to comment
Share on other sites

What about test3?

It seemed to get to get to kernel is LP64 on instant idiots AMD...

It's the first kernel space opemu test

...

Link to comment
Share on other sites

What about test3?

It seemed to get to get to kernel is LP64 on instant idiots AMD...

It's the first kernel space opemu test

...

 

I'll test it and then go to bed. :)

Link to comment
Share on other sites

It seemed to get to get to kernel is LP64 on instant idiots AMD...

 

Yes, the com.apple.AppleFSCompression.AppleFSCompressionTypeZlib KP was immediately after Kernel is LP64.

 

Goodnight Deltac0!

 

EDIT: Just noticed that Preview doesn't work on AnV's kernel while working fine with Sinetek's. That makes three that don't work with AnV's: TextWrangler, uTorrent, and Preview.

Link to comment
Share on other sites

-nokopemu -v -f npci=0x3000 cpus=1 busratio=17 maxmem=4096 Kernel Panic picture follows!!!!

IMG_5329.JPG

Link to comment
Share on other sites

Actually tested all the 3 kernels.

 

1st kernel, #1347 - Kernel is LP64 (and the HDD went like TRTRTRTRTRTR *zummmm* *silence* :D)

2nd kernel, #1353 - Invalid kernel ip

3rd kernel, #1362 - com.apple.AppleFSCompression.AppleFSCompressionTypeZlib KP

 

And all on Phenom II. 10.8.2 if it matters.

Link to comment
Share on other sites

The first one still works better.

I'll use that one and work on it.

It doesn't panic on AppleFS.

If you boot it with -nossse3bit what does it do?

Link to comment
Share on other sites

The first one still works better.

I'll use that one and work on it.

It doesn't panic on AppleFS.

If you boot it with -nossse3bit what does it do?

 

should I test the first kernel ,?

 

Kernel:

amd_kernel_mini

-nossse3bit -v -f maxmem=4096 cpus=1 npci=0x3000 --> re-started

Link to comment
Share on other sites

Yes.

It is the one with SinetekBronzovkAnVoodoo-test3.diff posted.

 

Yes.

It is the one with SinetekBronzovkAnVoodoo-test3.diff posted.

Link to comment
Share on other sites

Yes.

It is the one with SinetekBronzovkAnVoodoo-test3.diff posted.

 

Yes.

It is the one with SinetekBronzovkAnVoodoo-test3.diff posted.

 

one moment please!

 

#1348

 

 

 

-nossse3bit -v -f maxmem=4096 cpus=1 npci=0x3000 --> en0:setPowerState returns rv=IOPMAckImplied than the machine shut down

Link to comment
Share on other sites

 Share

×
×
  • Create New...