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

I think the graphics drivers have cpuids in them... need to check though...

(Allready confirmed for Intel HD)

  • Like 2
Link to comment
Share on other sites

Great insight, Andy!

 

Hopefully this will help us nVidia users.

 

On a side note, our friend Sinetek had a somewhat related idea a couple of hours ago, that the files cpuid.c and kern_mib.c perhaps should be patched to properly enable nVidia graphics. Unfortunately he had to leave for his class, so it didn't finished his patches for us to test.

 

Best regards.

  • Like 1
Link to comment
Share on other sites

Well, Andy!

 

I just disassembled some kexts and found a lot of cpuid instructions inside one that's really crucial, NVDAResman.kext (responsible for resolution control, i think). I talked with meklort and he agreed some of the cpuids could perhaps cause trouble, so i decided to upload the txt output of otool for you to take a look.

 

Best regards!

 

RSMN.txt.zip

 

P.S.: Shane told me he patched NVDAResman.kext with your amd_insn_patcher, but it didn't solve the issue. It was supposed to remove the bad cpuids?

Link to comment
Share on other sites

Well, Andy!

 

I just disassembled some kexts and found a lot of cpuid instructions inside one that's really crucial, NVDAResman.kext (responsible for resolution control, i think). I talked with meklort and he agreed some of the cpuids could perhaps cause trouble, so i decided to upload the txt output of otool for you to take a look.

 

Best regards!

 

RSMN.txt.zip

 

P.S.: Shane told me he patched NVDAResman.kext with your amd_insn_patcher, but it didn't solve the issue. It was supposed to remove the bad cpuids?

 

Doesn't amd_insn_patcher just remove the code signature or something?

Link to comment
Share on other sites

Someone should run Marvin's AMD Utility on the Nvidia & ATI kext's..

 

http://www.insanelymac.com/forum/topic/67917-marvins-amd-utility/

Marvin's utility only does 32-bit cpuid patching and aes 32-bit decryption...

 

 

 

Doesn't amd_insn_patcher just remove the code signature or something?

No it patches up cpuid's and sysenter traps too...

Int FB = cpuid

0FA2 to CDFB

Int FC = sysenter

Link to comment
Share on other sites

I checked every binarie of the ati/amd kexts which my card is using but there are no cpuids....

 

in the nvdaresman are 2 inside....

 

Or i´m wrong???

And the .plugin files used for Core Image / Quartz Extreme?

 

Oh yeah... and the Geforce.kext?

Link to comment
Share on other sites

There are just bundles and they contain also nothing.

i checked the binaries of the following files:

AMDRadeonVADriver.bundle; AMDRadeonAccelerator.kext; AMDRadeonX3000GLDriver.bundle

ATI5000Controller.kext;ATIFramebuffer.kext; ATISupport.kext

 

The first row should be for qe/ci

 

I checked them with otool -tv /path/to/file|grep cpuid

 

Should be enough to see it, right?

Link to comment
Share on other sites

Hi, folks!

 

I'm almost sure i checked every single graphics kext inside my system but intel ones. The only one that has cpuids inside is NVDAResman.kext. Not only two, but dozens of them.

 

Best regards!

 

I'm only getting 2?

 

 

otool -tv NVDAResman | grep cpuid

0000000000064f32	cpuid
000000000006cdc9	cpuid

Link to comment
Share on other sites

Hi Andy!

one wonderful event today with my Phenom II X6, the mountain lion is now awakened from a deep sleep.

 

It's not all right, I'm still working on the adjustments.

I booted with the USB external IDE HDD, it is my Vanilla Mountain Lion, I used the latest kernel from you and accordingly the drivers for my hardware,see images.

 

PS:

Gils, many thanks for sending your good Information by E-Mail, now I can boot ML.

 

 

 

Edit:

The CPU is incorrectly listed but that is secondary, primary I have not graphics problems, I'm still doing install my graphics card drivers.

The installation process takes almost in slow motion, the system is very slow.

Once I wanted to restart the system, it depends on now: PCI Configuration begin

although I boot with npci=0x2000 or npci=0x3000 boote

IMG_5341a.jpg

IMG_5342a.jpg

IMG_5343a.jpg

Edited by spakk
  • Like 1
Link to comment
Share on other sites

Way to go, spakk!! :D

 

Can you get QE CI with your nVidia card?

 

I'll test as soon as I have resolved the problem with: PCI Configuration begin

 

who can make suggestions how I can fix the problem-with .....PCI Configuration begin ?

:wink2: :king:

Edited by spakk
Link to comment
Share on other sites

I needed these kext, since all the npci and pcirootuid methods didn't work for me...

it makes kernel panic with Mountain Lion 10.8.2 !!!

Link to comment
Share on other sites

 Share

×
×
  • Create New...