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

Is sysenter and syscall files or kernel commands? If they are files could a roll back from say ML DP2 or Lion work?

je ne serais pas te dire sur quoi ça travail , je sais que NV/ML DP2 x86_64 fonctionne sur AMD mais avec beaucoup de mal au bout de 20 mn , échauffement important .

 

I would not tell you on what's working, I know that NV / ML DP2 runs on AMD x86_64 but with great difficulty after 20 minutes, significant heating.

 

http://www.hostingpics.net/viewer.php?id=891720Capturede769cran20130713a768191438.png

 

http://www.hostingpics.net/viewer.php?id=189458Capturede769cran20130713a768191241.png

Link to comment
Share on other sites

ce qui veut dire en résumé , que les pilotes graphiques intel64 ne sont pas compatible avec amd64 car sysenter/ syscall ne fonctionne pas de la meme manière .Le débat peut etre clos a moins de réécrire les pilotes graphiques pour amd .

 

This means in short that Intel64 graphics drivers are not compatible with amd64 as sysenter/syscall does not work the same way. Debate may be closed in less than rewrite the graphics drivers amd ...... ..........

 

 

 

Compatability across Intel and AMD

For a 32bit kernel, SYSENTER/SYSEXIT are the only compatible pair. For a 64bit kernel in Long mode only (not Long Compat mode), SYSCALL/SYSRET are the only compatible pair. For Intel 64bit, IA32_EFER.SCE must be set, or SYSCALL will result in a #UD exception.

Security of SYSRET

For both AMD and Intel, it is up to the kernel to switch stack back to the userspace stack before executing SYSRET. This opens a race condition where the NMIs and MCEs exception handlers will be executed on a guest controlled stack. For 64bit mode, the kernel must use Interrupt Stack Tables to safely move NMIs/MCEs onto a properly designated kernel stack. For 32bit mode AMD systems, the kernel must use Task Gates for NMIs and MCEs to switch stack.

All Intel CPUs to date (2013) have a silicon bug when executing the SYSRET instruction. If a non-canonical address is present in RCX when executing SYSRET, a General Protection Fault will be taken in CPL0 with CPL3 registers. See Xen Security Advisory 7 for more details.

 

 

celeron 341 is syscall !! ?? http://paste.ubuntu.com/5862232/

machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL TM2 SSSE3 CID CX16 TPR
machdep.cpu.extfeatures: SYSCALL XD EM64T
amd64

Things look very different on the AMD64 architecture, which sports a new instruction called SYSCALL. It is very different from the original SYSENTER instruction, and definitely much easier to use from userland applications - it really resembles a normal CALL, actually, and adapting the old int 0x80 to the new SYSCALL is pretty much trivial.

In this case, the number of the system call is still passed in the register rax, but the registers used to hold the arguments have severely changed, since now they should be used in the following order : rdi, rsi, rdx, r10, r8 and r9. The kernel is allowed to destroy content of registers rcx and r11 (they're used for saving some of the other registers by SYSCALL).

Again, here's some example code writing "Hello World" to standard output using write(), but adapted to amd64 :

#include <unistd.h>

int main(void)
{
    const char hello[] = "Hello World!\n";
    const size_t hello_size = sizeof(hello);
    ssize_t ret;
    asm volatile
    (
        "movl $1, %%eax\n\t"
        "movl $1, %%edi\n\t"
        "movq %1, %%rsi\n\t"
        "movl %2, %%edx\n\t"
        "syscall"
        : "=a"(ret)
        : "g"(hello), "g"(hello_size)
        : "%rdi", "%rsi", "%rdx", "%rcx", "%r11"
    );
    return 0;
Do notice how only the instruction making the mov to the register holding the address of the buffer has changed. All the other movs weren't changed on purpose, since 32-bit instructions executed in 64-bit mode clear the upper 32 bits of the respective registers, so there's no harm done. The address, though, obviously needs to be 64-bit.

 

 

emulator sysenter64 for AMD ?? :worried_anim:

 

on voit bien bien le décrochage vidéo "image verte" se qui veut dire que "syscall" est trop lent en 64 bit mais fonctionne très bien en 32 bit ou sysenter 32 car il est fonctionnel pour AMD . :)

 

we can see well the video stall "green image" is meaning that "syscall" is too slow in 64 bit but works fine in 32-bit or 32 sysenter as it is functional for AMD. :)

 

821454Capturede769cran20130719a768000734

 

 

 

https://developer.apple.com/library/mac/documentation/Darwin/Conceptual/64bitPorting/64bitPorting.pdf

So which registers get changed for syscall on AMD?

We could make sysenter->syscall and sysexit->sysret work in the opemu to test

EDIT: Gonna look up the differences in the instruction set manuals from Intel and AMD.

  • Like 1
Link to comment
Share on other sites

I found some info.

 

As you can see, using the int 0x80 API is relatively simple. The number of the syscall goes to the eax register, while all the parameters needed for the syscall go into respectively ebx, ecx, edx, esi, edi, and ebp. System call numbers can be obtained by reading the file /usr/include/asm/unistd_32.h. Prototypes and descriptions of the functions are available in the 2nd section of the manual, so in this case write(2). Since the kernel is allowed to destroy practically any of the registers, I put all the GPRs on the clobber list.

 

In this case, the number of the system call is still passed in the register rax, but the registers used to hold the arguments have severely changed, since now they should be used in the following order : rdi, rsi, rdx, r10, r8 and r9. The kernel is allowed to destroy content of registers rcx and r11 (they're used for saving some of the other registers by SYSCALL).

As you can see, using the int 0x80 API is relatively simple. The number of the syscall goes to the eax register, while all the parameters needed for the syscall go into respectively ebx, ecx, edx, esi, edi, and ebp. System call numbers can be obtained by reading the file /usr/include/asm/unistd_32.h. Prototypes and descriptions of the functions are available in the 2nd section of the manual, so in this case write(2). Since the kernel is allowed to destroy practically any of the registers, I put all the GPRs on the clobber list.

In this case, the number of the system call is still passed in the register rax, but the registers used to hold the arguments have severely changed, since now they should be used in the following order : rdi, rsi, rdx, r10, r8 and r9. The kernel is allowed to destroy content of registers rcx and r11 (they're used for saving some of the other registers by SYSCALL).

and:

http://www.cs.auckland.ac.nz/compsci215s2c/lectures/robert/2012/lecture14.pdf

Changes in progress...

I think this bit of code does it...:

                asm __volatile__ ("movq %rbp, %r9\n"
                                  "movq %rdi, %r8\n"
                                  "movq %rsi, %r10\n"
                                  "movq %rcx, %rsi\n"
                                  "movq %rbx, %rdi\n"
                                  "syscall");

I think this bit of code does SYSEXIT using SYSRET:

        asm __volatile__ ("sysret");

EDIT: Correction: SYSCALL does not mess with the stack pointer and so.

It only puts the return address in %rcx.

It restores the stack pointer from %rcx on execution of sysret.

  • Like 2
Link to comment
Share on other sites

Ok... I created a kernel to test.

The easiest way to check if it works is by running a 32-bit app...


:)

hello Andy ,

Thank you for your analysis and your work, I do not hide my ignorance though I know the outline as many member on this forum but if AMD is not compatible sysenter64 only syscall64 and 32, I wanted whether it is directly related to graphics drivers? and what protocol the drivers you used them? or is it simply based at the CPU and have a direct link with the graphics drivers? In fact, what I gene is "kernelNV" Nvidia have its own kernel? unlike ATI?

Sysenter and sysexit don't work in 64bit mode
Syscall and sysret do...
Nvkernel is part of the IOAccelerator for NVidia

SinetekBronzovkAnVoodoo_RC8_test1.diff.zip

amd_kernel.zip

  • Like 2
Link to comment
Share on other sites

thanks andy for the efforts

 

system booting here:

Last login: Fri Jul 19 14:38:18 on console
ccs-iMac:~ cc$ sudo dmesg
Password:
no linesizertclock_init: Taking bus ratio path 3 (AMD Phenom)
rtclock_init: Phenom MSR 0xc0010071 returned: 0x8000012400240e
TSC: Verification of clock speed not available in x86_64.
TSC: Frequency = 3000.187320MHz, FSB frequency = 200.12488MHz, bus ratio = 15
Darwin Kernel Version 12.3.0: vr 19 jul 2013 13:46:54 CEST; SinetekBronzovkAnVoodoo v1.0.0:xnu-2050.22.13-AMD/BUILD/obj/RELEASE_X86_64
vm_page_bootstrap: 695545 free pages and 353031 wired pages
kext submap [0xffffff7f80809000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff8000809000]
zone leak detection enabled
standard timeslicing quantum is 10000 us
standard background quantum is 2500 us
mig_table_max_displ = 74
SAFE BOOT DETECTED - only valid OSBundleRequired kexts will be loaded.
corecrypto kext started!
Running kernel space in FIPS MODE
Plist hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d
Computed hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d
corecrypto.kext FIPS integrity POST test passed!
corecrypto.kext FIPS AES CBC POST test passed!
corecrypto.kext FIPS TDES CBC POST test passed!
corecrypto.kext FIPS SHA POST test passed!
corecrypto.kext FIPS HMAC POST test passed!
corecrypto.kext FIPS ECDSA POST test passed!
corecrypto.kext FIPS DRBG POST test passed!
corecrypto.kext FIPS POST passed!
warning: skipping personalities in blacklisted kext com.apple.driver.AppleEFIRuntime
warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelCPUPowerManagement
NullCPUPowerManagement::init: properties=0xffffff80083cac00
NullCPUPowerManagement::start
AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled
AppleACPICPU: ProcessorId=2 LocalApicId=2 Disabled
AppleACPICPU: ProcessorId=3 LocalApicId=3 Disabled
calling mpo_policy_init for Sandbox
Security policy loaded: Seatbelt sandbox policy (Sandbox)
calling mpo_policy_init for Quarantine
Security policy loaded: Quarantine policy (Quarantine)
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
Copyright © 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

MAC Framework successfully initialized
using 16384 buffer headers and 10240 cluster IO buffer headers
IOAPIC: Version 0x21 Vectors 64:87
ACPI: System State [s0 S4 S5]
PFM64 (44 cpu) 0xfff80000000, 0x80000000
[ PCI configuration begin ]
PCI configuration changed (bridge=4 device=1 cardbus=0)
[ PCI configuration end, bridges 6 devices 21 ]
USBF: 1.387 AppleUSBEHCI[0xffffff800857c000]::CheckSleepCapability - controller will be unloaded across sleep
USBF: 1.389 AppleUSBEHCI[0xffffff8008578000]::CheckSleepCapability - controller will be unloaded across sleep
USBF: 1.442 AppleUSBOHCI[0xffffff8008f30000]::CheckSleepCapability - controller will be unloaded across sleep
USBF: 1.452 AppleUSBOHCI[0xffffff800857d000]::CheckSleepCapability - controller will be unloaded across sleep
USBF: 1.453 AppleUSBOHCI[0xffffff800857d000]::InitializeOperationalRegisters Non-NULL hcDoneHead: 0xafff1eb0
USBF: 1.454 AppleUSBOHCI[0xffffff800857e000]::CheckSleepCapability - controller will be unloaded across sleep
USBF: 1.455 AppleUSBOHCI[0xffffff800857e000]::InitializeOperationalRegisters Non-NULL hcDoneHead: 0xafff1e00
USBF: 1.483 AppleUSBOHCI[0xffffff800856a000]::CheckSleepCapability - controller will be unloaded across sleep
FireWire runtime power conservation disabled. (2)
FireWire (OHCI) TI ID 823f PCI now active, GUID 7856341278563412; max speed s800.
USBF: 6.853 AppleUSBOHCI[0xffffff8008577000]::CheckSleepCapability - controller will be unloaded across sleep
ERROR: FireWire unable to determine security-mode; defaulting to full-secure.
mbinit: done [64 MB total pool size, (42/21) split]
Pthread support ABORTS when sync kernel primitives misused
com.apple.AppleFSCompressionTypeDataless kmod start
rooting via boot-uuid from /chosen: 6AC566AB-6447-3CC0-917A-88ECD2133AA0
Waiting on IOProviderClassIOResourcesIOResourceMatchboot-uuid-media
com.apple.AppleFSCompressionTypeZlib kmod start
com.apple.AppleFSCompressionTypeDataless load succeeded
com.apple.AppleFSCompressionTypeZlib load succeeded
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@11/AppleAHCI/PRID@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/ST3320613AS Media/IOGUIDPartitionScheme/test123@3
BSD root: disk0s3, major 1, minor 5
jnl: unknown-dev: replay_journal: from: 6636544 to: 6621696 (joffset 0x94000)
jnl: unknown-dev: journal replay done.
Kernel is LP64
hfs: Removed 1 orphaned / unlinked files and 12 directories
macx_swapon SUCCESS
Previous Shutdown Cause: 3
NVDAStartup: Official
ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out
WARNING: IOPlatformPluginUtil : getCPUIDInfo unknown CPU family: family 0x10, model 0x2
-- power management may be incomplete or unsupported
NVDAGF100HAL loaded and registered
[iOBluetoothHCIController][start] -- completed
ccs-iMac:~ cc$ sysctl -A kern hw
kern.ostype: Darwin
kern.osrelease: 12.3.0
kern.osrevision: 199506
kern.version: Darwin Kernel Version 12.3.0: vr 19 jul 2013 13:46:54 CEST; SinetekBronzovkAnVoodoo v1.0.0:xnu-2050.22.13-AMD/BUILD/obj/RELEASE_X86_64
kern.maxvnodes: 66560
kern.maxproc: 1064
kern.maxfiles: 12288
kern.argmax: 262144
kern.securelevel: 0
kern.hostname: ccs-iMac.local
kern.hostid: 0
kern.clockrate: { hz = 100, tick = 10000, tickadj = 2, profhz = 100, stathz = 100 }
kern.posix1version: 200112
kern.ngroups: 16
kern.job_control: 1
kern.saved_ids: 1
kern.boottime: { sec = 1374237373, usec = 0 } Fri Jul 19 14:36:13 2013
kern.nisdomainname:
kern.maxfilesperproc: 10240
kern.maxprocperuid: 709
kern.ipc.maxsockbuf: 4194304
kern.ipc.sockbuf_waste_factor: 8
kern.ipc.somaxconn: 128
kern.ipc.mbstat: Format:S,mbstat Length:580 Dump:0xa0020000540100000000000049010000...
kern.ipc.nmbclusters: 32768
kern.ipc.soqlimitcompat: 1
kern.ipc.mb_stat: Format:S,mb_stat Length:960 Dump:0x07000000000000006d62756600000000...
kern.ipc.mleak_sample_factor: 500
kern.ipc.mb_normalized: 0
kern.ipc.mb_watchdog: 0
kern.ipc.sosendminchain: 16384
kern.ipc.sorecvmincopy: 16384
kern.ipc.sosendjcl: 1
kern.ipc.sosendjcl_ignore_capab: 0
kern.ipc.sodefunctlog: 0
kern.ipc.sothrottlelog: 0
kern.ipc.sotcdb: 1
kern.ipc.maxsockets: 512
kern.ipc.njcl: 10920
kern.ipc.njclbytes: 16384
kern.ipc.soqlencomp: 0
kern.ipc.io_policy.throttled: 0
kern.ipc.sendfileuiobufs: 64
kern.usrstack: 1571360768
kern.netboot: 0
kern.sysv.shmmax: 4194304
kern.sysv.shmmin: 1
kern.sysv.shmmni: 32
kern.sysv.shmseg: 8
kern.sysv.shmall: 1024
kern.sysv.semmni: 87381
kern.sysv.semmns: 87381
kern.sysv.semmnu: 87381
kern.sysv.semmsl: 87381
kern.sysv.semume: 10
kern.aiomax: 90
kern.aioprocmax: 16
kern.aiothreads: 4
kern.corefile: /cores/core.%P
kern.coredump: 1
kern.sugid_coredump: 0
kern.delayterm: 0
kern.shreg_private: 0
kern.posix.sem.max: 10000
kern.usrstack64: 140734764748800
kern.nx: 0
kern.tfp.policy: 2
kern.procname:
kern.speculative_reads_disabled: 0
kern.osversion: 12D78
kern.safeboot: 1
kern.lctx.last: 1
kern.lctx.count: 0
kern.lctx.max: 8192
kern.rage_vnode: 0
kern.tty.ptmx_max: 127
kern.threadname:
kern.sleeptime: { sec = 0, usec = 0 } Thu Jan 1 01:00:00 1970
kern.waketime: { sec = 0, usec = 0 } Thu Jan 1 01:00:00 1970
kern.willshutdown: 0
kern.progressmeterenable: 0
kern.progressmeter: 0
kern.hibernatefile:
kern.bootsignature: 60453f40f249cac57a691756c86bd4333275f3ed

kern.hibernatemode: 0
kern.nbuf: 16384
kern.maxnbuf: 16384
kern.jnl_trim_flush: 240
kern.flush_cache_on_write: 0
kern.sugid_scripts: 0
kern.zleak.active: 0
kern.zleak.max_zonemap_size: 1610612736
kern.zleak.global_threshold: 805306368
kern.zleak.zone_threshold: 100663296
kern.uuid: 2B20E03F-BE56-37F9-994C-B2D0B788CAF3
kern.bootargs: boot-uuid=6AC566AB-6447-3CC0-917A-88ECD2133AA0 rd=*uuid -v npci=0x2000 -notlbfix -x -notlbfix
kern.num_files: 791
kern.num_vnodes: 14223
kern.num_tasks: 2048
kern.num_threads: 10240
kern.num_taskthreads: 2048
kern.namecache_disabled: 0
kern.ignore_is_ssd: 0
kern.preheat_pages_max: 256
kern.preheat_pages_min: 8
kern.speculative_prefetch_max: 24576
kern.speculative_prefetch_max_iosize: 524288
kern.vm_page_free_target: 2000
kern.vm_page_free_min: 1500
kern.vm_page_free_reserved: 100
kern.vm_page_speculative_percentage: 5
kern.vm_page_speculative_q_age_ms: 500
kern.vm_max_delayed_work_limit: 32
kern.vm_max_batch: 256
kern.timer_coalescing_enabled: 1
kern.setthread_cpupercent: 0
kern.singleuser: 0
kern.affinity_sets_enabled: 1
kern.affinity_sets_mapping: 1
kern.slide: 0
kern.kdebug_thread_block: 0
kern.stack_size: 16384
kern.stack_depth_max: 7808
kern.ipc_portbt: 0
kern.sched: traditional
kern.msgbuf: 65536
kern.wq_yielded_threshold: 2000
kern.wq_yielded_window_usecs: 30000
kern.wq_stalled_window_usecs: 200
kern.wq_reduce_pool_window_usecs: 5000000
kern.wq_max_timer_interval_usecs: 50000
kern.wq_max_threads: 512
kern.wq_max_constrained_threads: 64
kern.secure_kernel: 0
kern.ostype = Darwin
kern.osrelease = 12.3.0
kern.osrevision = 199506
kern.version = Darwin Kernel Version 12.3.0: vr 19 jul 2013 13:46:54 CEST; SinetekBronzovkAnVoodoo v1.0.0:xnu-2050.22.13-AMD/BUILD/obj/RELEASE_X86_64
kern.maxvnodes = 66560
kern.maxproc = 1064
kern.maxfiles = 12288
kern.argmax = 262144
kern.securelevel = 0
kern.hostname = ccs-iMac.local
kern.hostid = 0
kern.clockrate: hz = 100, tick = 10000, profhz = 100, stathz = 100
Use pstat to view kern.vnode information
Use ps to view kern.proc information
Use pstat to view kern.file information
kernel is not compiled for profiling
kern.profiling: kern.posix1version = 200112
kern.ngroups = 16
kern.job_control = 1
kern.saved_ids = 1
kern.boottime = Fri Jul 19 14:36:13 2013

kern.nisdomainname =
kern.maxpartitions: no such MIB
kern.kdebug: value is not available
kern.update: no such MIB
kern.osreldate: no such MIB
kern.ntp_pll: no such MIB
kern.bootfile: no such MIB
kern.maxfilesperproc = 10240
kern.maxprocperuid = 709
kern.dumpdev: no such MIB
kern.ipc: no such MIB
kern.dummy: no such MIB
kern.dummy: no such MIB
kern.usrstack = 1571360768
kern.logsigexit: no such MIB
kern.symfile: Input/output error
kern.procargs: Invalid argument
kern.dummy: no such MIB
kern.netboot = 0
kern.panicinfo: no such MIB
kern.sysv: no such MIB
kern.dummy: no such MIB
kern.dummy: no such MIB
kern.aiomax = 90
kern.aioprocmax = 16
kern.aiothreads = 4
kern.procargs2: Invalid argument
kern.corefile = /cores/core.%P
kern.coredump = 1
kern.sugid_coredump = 0
kern.delayterm = 0
kern.shreg_private = 0
kern.proc_low_pri_io: no such MIB
kern.low_pri_window: no such MIB
kern.low_pri_delay: no such MIB
kern.posix: no such MIB
kern.usrstack64 = 140734764748800
kern.nx = 0
kern.tfp: no such MIB
kern.procname =
kern.threadsigaltstack: no such MIB
kern.speculative_reads_disabled = 0
kern.osversion = 12D78
kern.safeboot = 1
kern.lctx: no such MIB
kern.rage_vnode = 0
kern.tty: no such MIB
kern.check_openevt: Invalid argument
kern.thread_name = kern
hw.ncpu: 2
hw.byteorder: 1234
hw.memsize: 4294967296
hw.activecpu: 2
hw.physicalcpu: 2
hw.physicalcpu_max: 2
hw.logicalcpu: 2
hw.logicalcpu_max: 2
hw.cputype: 7
hw.cpusubtype: 4
hw.cpu64bit_capable: 1
hw.cpufamily: 1114597871
hw.cacheconfig: 2 1 1 2 0 0 0 0 0 0
hw.cachesize: 4294967296 65536 524288 4194304 0 0 0 0 0 0
hw.pagesize: 4096
hw.busfrequency: 800000000
hw.busfrequency_min: 800000000
hw.busfrequency_max: 800000000
hw.cpufrequency: 3000000000
hw.cpufrequency_min: 3000000000
hw.cpufrequency_max: 3000000000
hw.cachelinesize: 64
hw.l1icachesize: 65536
hw.l1dcachesize: 65536
hw.l2cachesize: 524288
hw.l3cachesize: 4194304
hw.tbfrequency: 1000000000
hw.packages: 1
hw.optional.floatingpoint: 1
hw.optional.mmx: 1
hw.optional.sse: 1
hw.optional.sse2: 1
hw.optional.sse3: 1
hw.optional.supplementalsse3: 1
hw.optional.sse4_1: 0
hw.optional.sse4_2: 0
hw.optional.x86_64: 1
hw.optional.aes: 0
hw.optional.avx1_0: 0
hw.optional.rdrand: 0
hw.optional.f16c: 0
hw.optional.enfstrg: 0
hw.optional.patcher_opts: 48
hw.machine = x86_64
hw.model = iMac8,1
hw.ncpu = 2
hw.byteorder = 1234
hw.physmem = 2147483648
hw.usermem = 563040256
hw.pagesize = 4096
hw.disknames: no such MIB
hw.diskstats: no such MIB
hw.epoch = 0
hw.floatingpoint: no such MIB
hw.machinearch: no such MIB
hw.vectorunit = 1
hw.busfrequency = 800000000
hw.cpufrequency = 3000000000
hw.cachelinesize = 64
hw.l1icachesize = 65536
hw.l1dcachesize = 65536
hw.l2settings = 1
hw.l2cachesize = 524288
hw.l3settings = 1
hw.l3cachesize = 4194304
hw.tbfrequency = 1000000000
hw.memsize = 4294967296
hw.availcpu = 2
ccs-iMac:~ cc$

 

incorrect frequencies and L3 size

nvidia 64-bit still fail

 

running 32-bit code causes the system to instantly reboot. (the tester app was Xee v2.2)

 

edit: updated the Xee link

Edited by bcobco
Link to comment
Share on other sites

thanks andy for the efforts

 

system booting here:

Last login: Fri Jul 19 14:38:18 on console

ccs-iMac:~ cc$ sudo dmesg

Password:

no linesizertclock_init: Taking bus ratio path 3 (AMD Phenom)

rtclock_init: Phenom MSR 0xc0010071 returned: 0x8000012400240e

TSC: Verification of clock speed not available in x86_64.

TSC: Frequency = 3000.187320MHz, FSB frequency = 200.12488MHz, bus ratio = 15

Darwin Kernel Version 12.3.0: vr 19 jul 2013 13:46:54 CEST; SinetekBronzovkAnVoodoo v1.0.0:xnu-2050.22.13-AMD/BUILD/obj/RELEASE_X86_64

vm_page_bootstrap: 695545 free pages and 353031 wired pages

kext submap [0xffffff7f80809000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff8000809000]

zone leak detection enabled

standard timeslicing quantum is 10000 us

standard background quantum is 2500 us

mig_table_max_displ = 74

SAFE BOOT DETECTED - only valid OSBundleRequired kexts will be loaded.

corecrypto kext started!

Running kernel space in FIPS MODE

Plist hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d

Computed hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d

corecrypto.kext FIPS integrity POST test passed!

corecrypto.kext FIPS AES CBC POST test passed!

corecrypto.kext FIPS TDES CBC POST test passed!

corecrypto.kext FIPS SHA POST test passed!

corecrypto.kext FIPS HMAC POST test passed!

corecrypto.kext FIPS ECDSA POST test passed!

corecrypto.kext FIPS DRBG POST test passed!

corecrypto.kext FIPS POST passed!

warning: skipping personalities in blacklisted kext com.apple.driver.AppleEFIRuntime

warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelCPUPowerManagement

NullCPUPowerManagement::init: properties=0xffffff80083cac00

NullCPUPowerManagement::start

AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled

AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled

AppleACPICPU: ProcessorId=2 LocalApicId=2 Disabled

AppleACPICPU: ProcessorId=3 LocalApicId=3 Disabled

calling mpo_policy_init for Sandbox

Security policy loaded: Seatbelt sandbox policy (Sandbox)

calling mpo_policy_init for Quarantine

Security policy loaded: Quarantine policy (Quarantine)

calling mpo_policy_init for TMSafetyNet

Security policy loaded: Safety net for Time Machine (TMSafetyNet)

Copyright © 1982, 1986, 1989, 1991, 1993

The Regents of the University of California. All rights reserved.

 

MAC Framework successfully initialized

using 16384 buffer headers and 10240 cluster IO buffer headers

IOAPIC: Version 0x21 Vectors 64:87

ACPI: System State [s0 S4 S5]

PFM64 (44 cpu) 0xfff80000000, 0x80000000

[ PCI configuration begin ]

PCI configuration changed (bridge=4 device=1 cardbus=0)

[ PCI configuration end, bridges 6 devices 21 ]

USBF: 1.387 AppleUSBEHCI[0xffffff800857c000]::CheckSleepCapability - controller will be unloaded across sleep

USBF: 1.389 AppleUSBEHCI[0xffffff8008578000]::CheckSleepCapability - controller will be unloaded across sleep

USBF: 1.442 AppleUSBOHCI[0xffffff8008f30000]::CheckSleepCapability - controller will be unloaded across sleep

USBF: 1.452 AppleUSBOHCI[0xffffff800857d000]::CheckSleepCapability - controller will be unloaded across sleep

USBF: 1.453 AppleUSBOHCI[0xffffff800857d000]::InitializeOperationalRegisters Non-NULL hcDoneHead: 0xafff1eb0

USBF: 1.454 AppleUSBOHCI[0xffffff800857e000]::CheckSleepCapability - controller will be unloaded across sleep

USBF: 1.455 AppleUSBOHCI[0xffffff800857e000]::InitializeOperationalRegisters Non-NULL hcDoneHead: 0xafff1e00

USBF: 1.483 AppleUSBOHCI[0xffffff800856a000]::CheckSleepCapability - controller will be unloaded across sleep

FireWire runtime power conservation disabled. (2)

FireWire (OHCI) TI ID 823f PCI now active, GUID 7856341278563412; max speed s800.

USBF: 6.853 AppleUSBOHCI[0xffffff8008577000]::CheckSleepCapability - controller will be unloaded across sleep

ERROR: FireWire unable to determine security-mode; defaulting to full-secure.

mbinit: done [64 MB total pool size, (42/21) split]

Pthread support ABORTS when sync kernel primitives misused

com.apple.AppleFSCompressionTypeDataless kmod start

rooting via boot-uuid from /chosen: 6AC566AB-6447-3CC0-917A-88ECD2133AA0

Waiting on IOProviderClassIOResourcesIOResourceMatchboot-uuid-media

com.apple.AppleFSCompressionTypeZlib kmod start

com.apple.AppleFSCompressionTypeDataless load succeeded

com.apple.AppleFSCompressionTypeZlib load succeeded

Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@11/AppleAHCI/PRID@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/ST3320613AS Media/IOGUIDPartitionScheme/test123@3

BSD root: disk0s3, major 1, minor 5

jnl: unknown-dev: replay_journal: from: 6636544 to: 6621696 (joffset 0x94000)

jnl: unknown-dev: journal replay done.

Kernel is LP64

hfs: Removed 1 orphaned / unlinked files and 12 directories

macx_swapon SUCCESS

Previous Shutdown Cause: 3

NVDAStartup: Official

ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out

WARNING: IOPlatformPluginUtil : getCPUIDInfo unknown CPU family: family 0x10, model 0x2

-- power management may be incomplete or unsupported

NVDAGF100HAL loaded and registered

[iOBluetoothHCIController][start] -- completed

ccs-iMac:~ cc$ sysctl -A kern hw

kern.ostype: Darwin

kern.osrelease: 12.3.0

kern.osrevision: 199506

kern.version: Darwin Kernel Version 12.3.0: vr 19 jul 2013 13:46:54 CEST; SinetekBronzovkAnVoodoo v1.0.0:xnu-2050.22.13-AMD/BUILD/obj/RELEASE_X86_64

kern.maxvnodes: 66560

kern.maxproc: 1064

kern.maxfiles: 12288

kern.argmax: 262144

kern.securelevel: 0

kern.hostname: ccs-iMac.local

kern.hostid: 0

kern.clockrate: { hz = 100, tick = 10000, tickadj = 2, profhz = 100, stathz = 100 }

kern.posix1version: 200112

kern.ngroups: 16

kern.job_control: 1

kern.saved_ids: 1

kern.boottime: { sec = 1374237373, usec = 0 } Fri Jul 19 14:36:13 2013

kern.nisdomainname:

kern.maxfilesperproc: 10240

kern.maxprocperuid: 709

kern.ipc.maxsockbuf: 4194304

kern.ipc.sockbuf_waste_factor: 8

kern.ipc.somaxconn: 128

kern.ipc.mbstat: Format:S,mbstat Length:580 Dump:0xa0020000540100000000000049010000...

kern.ipc.nmbclusters: 32768

kern.ipc.soqlimitcompat: 1

kern.ipc.mb_stat: Format:S,mb_stat Length:960 Dump:0x07000000000000006d62756600000000...

kern.ipc.mleak_sample_factor: 500

kern.ipc.mb_normalized: 0

kern.ipc.mb_watchdog: 0

kern.ipc.sosendminchain: 16384

kern.ipc.sorecvmincopy: 16384

kern.ipc.sosendjcl: 1

kern.ipc.sosendjcl_ignore_capab: 0

kern.ipc.sodefunctlog: 0

kern.ipc.sothrottlelog: 0

kern.ipc.sotcdb: 1

kern.ipc.maxsockets: 512

kern.ipc.njcl: 10920

kern.ipc.njclbytes: 16384

kern.ipc.soqlencomp: 0

kern.ipc.io_policy.throttled: 0

kern.ipc.sendfileuiobufs: 64

kern.usrstack: 1571360768

kern.netboot: 0

kern.sysv.shmmax: 4194304

kern.sysv.shmmin: 1

kern.sysv.shmmni: 32

kern.sysv.shmseg: 8

kern.sysv.shmall: 1024

kern.sysv.semmni: 87381

kern.sysv.semmns: 87381

kern.sysv.semmnu: 87381

kern.sysv.semmsl: 87381

kern.sysv.semume: 10

kern.aiomax: 90

kern.aioprocmax: 16

kern.aiothreads: 4

kern.corefile: /cores/core.%P

kern.coredump: 1

kern.sugid_coredump: 0

kern.delayterm: 0

kern.shreg_private: 0

kern.posix.sem.max: 10000

kern.usrstack64: 140734764748800

kern.nx: 0

kern.tfp.policy: 2

kern.procname:

kern.speculative_reads_disabled: 0

kern.osversion: 12D78

kern.safeboot: 1

kern.lctx.last: 1

kern.lctx.count: 0

kern.lctx.max: 8192

kern.rage_vnode: 0

kern.tty.ptmx_max: 127

kern.threadname:

kern.sleeptime: { sec = 0, usec = 0 } Thu Jan 1 01:00:00 1970

kern.waketime: { sec = 0, usec = 0 } Thu Jan 1 01:00:00 1970

kern.willshutdown: 0

kern.progressmeterenable: 0

kern.progressmeter: 0

kern.hibernatefile:

kern.bootsignature: 60453f40f249cac57a691756c86bd4333275f3ed

 

kern.hibernatemode: 0

kern.nbuf: 16384

kern.maxnbuf: 16384

kern.jnl_trim_flush: 240

kern.flush_cache_on_write: 0

kern.sugid_scripts: 0

kern.zleak.active: 0

kern.zleak.max_zonemap_size: 1610612736

kern.zleak.global_threshold: 805306368

kern.zleak.zone_threshold: 100663296

kern.uuid: 2B20E03F-BE56-37F9-994C-B2D0B788CAF3

kern.bootargs: boot-uuid=6AC566AB-6447-3CC0-917A-88ECD2133AA0 rd=*uuid -v npci=0x2000 -notlbfix -x -notlbfix

kern.num_files: 791

kern.num_vnodes: 14223

kern.num_tasks: 2048

kern.num_threads: 10240

kern.num_taskthreads: 2048

kern.namecache_disabled: 0

kern.ignore_is_ssd: 0

kern.preheat_pages_max: 256

kern.preheat_pages_min: 8

kern.speculative_prefetch_max: 24576

kern.speculative_prefetch_max_iosize: 524288

kern.vm_page_free_target: 2000

kern.vm_page_free_min: 1500

kern.vm_page_free_reserved: 100

kern.vm_page_speculative_percentage: 5

kern.vm_page_speculative_q_age_ms: 500

kern.vm_max_delayed_work_limit: 32

kern.vm_max_batch: 256

kern.timer_coalescing_enabled: 1

kern.setthread_cpupercent: 0

kern.singleuser: 0

kern.affinity_sets_enabled: 1

kern.affinity_sets_mapping: 1

kern.slide: 0

kern.kdebug_thread_block: 0

kern.stack_size: 16384

kern.stack_depth_max: 7808

kern.ipc_portbt: 0

kern.sched: traditional

kern.msgbuf: 65536

kern.wq_yielded_threshold: 2000

kern.wq_yielded_window_usecs: 30000

kern.wq_stalled_window_usecs: 200

kern.wq_reduce_pool_window_usecs: 5000000

kern.wq_max_timer_interval_usecs: 50000

kern.wq_max_threads: 512

kern.wq_max_constrained_threads: 64

kern.secure_kernel: 0

kern.ostype = Darwin

kern.osrelease = 12.3.0

kern.osrevision = 199506

kern.version = Darwin Kernel Version 12.3.0: vr 19 jul 2013 13:46:54 CEST; SinetekBronzovkAnVoodoo v1.0.0:xnu-2050.22.13-AMD/BUILD/obj/RELEASE_X86_64

kern.maxvnodes = 66560

kern.maxproc = 1064

kern.maxfiles = 12288

kern.argmax = 262144

kern.securelevel = 0

kern.hostname = ccs-iMac.local

kern.hostid = 0

kern.clockrate: hz = 100, tick = 10000, profhz = 100, stathz = 100

Use pstat to view kern.vnode information

Use ps to view kern.proc information

Use pstat to view kern.file information

kernel is not compiled for profiling

kern.profiling: kern.posix1version = 200112

kern.ngroups = 16

kern.job_control = 1

kern.saved_ids = 1

kern.boottime = Fri Jul 19 14:36:13 2013

 

kern.nisdomainname =

kern.maxpartitions: no such MIB

kern.kdebug: value is not available

kern.update: no such MIB

kern.osreldate: no such MIB

kern.ntp_pll: no such MIB

kern.bootfile: no such MIB

kern.maxfilesperproc = 10240

kern.maxprocperuid = 709

kern.dumpdev: no such MIB

kern.ipc: no such MIB

kern.dummy: no such MIB

kern.dummy: no such MIB

kern.usrstack = 1571360768

kern.logsigexit: no such MIB

kern.symfile: Input/output error

kern.procargs: Invalid argument

kern.dummy: no such MIB

kern.netboot = 0

kern.panicinfo: no such MIB

kern.sysv: no such MIB

kern.dummy: no such MIB

kern.dummy: no such MIB

kern.aiomax = 90

kern.aioprocmax = 16

kern.aiothreads = 4

kern.procargs2: Invalid argument

kern.corefile = /cores/core.%P

kern.coredump = 1

kern.sugid_coredump = 0

kern.delayterm = 0

kern.shreg_private = 0

kern.proc_low_pri_io: no such MIB

kern.low_pri_window: no such MIB

kern.low_pri_delay: no such MIB

kern.posix: no such MIB

kern.usrstack64 = 140734764748800

kern.nx = 0

kern.tfp: no such MIB

kern.procname =

kern.threadsigaltstack: no such MIB

kern.speculative_reads_disabled = 0

kern.osversion = 12D78

kern.safeboot = 1

kern.lctx: no such MIB

kern.rage_vnode = 0

kern.tty: no such MIB

kern.check_openevt: Invalid argument

kern.thread_name = kern

hw.ncpu: 2

hw.byteorder: 1234

hw.memsize: 4294967296

hw.activecpu: 2

hw.physicalcpu: 2

hw.physicalcpu_max: 2

hw.logicalcpu: 2

hw.logicalcpu_max: 2

hw.cputype: 7

hw.cpusubtype: 4

hw.cpu64bit_capable: 1

hw.cpufamily: 1114597871

hw.cacheconfig: 2 1 1 2 0 0 0 0 0 0

hw.cachesize: 4294967296 65536 524288 4194304 0 0 0 0 0 0

hw.pagesize: 4096

hw.busfrequency: 800000000

hw.busfrequency_min: 800000000

hw.busfrequency_max: 800000000

hw.cpufrequency: 3000000000

hw.cpufrequency_min: 3000000000

hw.cpufrequency_max: 3000000000

hw.cachelinesize: 64

hw.l1icachesize: 65536

hw.l1dcachesize: 65536

hw.l2cachesize: 524288

hw.l3cachesize: 4194304

hw.tbfrequency: 1000000000

hw.packages: 1

hw.optional.floatingpoint: 1

hw.optional.mmx: 1

hw.optional.sse: 1

hw.optional.sse2: 1

hw.optional.sse3: 1

hw.optional.supplementalsse3: 1

hw.optional.sse4_1: 0

hw.optional.sse4_2: 0

hw.optional.x86_64: 1

hw.optional.aes: 0

hw.optional.avx1_0: 0

hw.optional.rdrand: 0

hw.optional.f16c: 0

hw.optional.enfstrg: 0

hw.optional.patcher_opts: 48

hw.machine = x86_64

hw.model = iMac8,1

hw.ncpu = 2

hw.byteorder = 1234

hw.physmem = 2147483648

hw.usermem = 563040256

hw.pagesize = 4096

hw.disknames: no such MIB

hw.diskstats: no such MIB

hw.epoch = 0

hw.floatingpoint: no such MIB

hw.machinearch: no such MIB

hw.vectorunit = 1

hw.busfrequency = 800000000

hw.cpufrequency = 3000000000

hw.cachelinesize = 64

hw.l1icachesize = 65536

hw.l1dcachesize = 65536

hw.l2settings = 1

hw.l2cachesize = 524288

hw.l3settings = 1

hw.l3cachesize = 4194304

hw.tbfrequency = 1000000000

hw.memsize = 4294967296

hw.availcpu = 2

ccs-iMac:~ cc$

 

 

 

running 32-bit code causes the system to instantly reboot. (the tester app was Xee)

EDIT: I decided to use the current sysenter emulator with enhancements.

It can now do SYSENTER in 64-bit mode too...

I also implemented SYSEXIT in a similar way.

Still working out some small bugs

  • Like 1
Link to comment
Share on other sites

Ok, I made a new kernel.

It does not map to SYSCALL/SYSRET, instead it uses the enhanced current SYSENTER emulator.

I also added SYSEXIT (restore stack and instruction pointer and execute at instruction pointer).

Please test and give me feedback...

If 32-Bit apps work right, the new SYSENTER emu works great.

SinetekBronzovkAnVoodoo_RC8.diff.zip

amd_kernel.zip

  • Like 4
Link to comment
Share on other sites

Ok, I made a new kernel.

It does not map to SYSCALL/SYSRET, instead it uses the enhanced current SYSENTER emulator.

I also added SYSEXIT (restore stack and instruction pointer and execute at instruction pointer).

Please test and give me feedback...

If 32-Bit apps work right, the new SYSENTER emu works great.

 

Last login: Fri Jul 19 18:14:36 on console

ccs-iMac:~ cc$ sudo dmesg

Password:

no linesizertclock_init: Taking bus ratio path 3 (AMD Phenom)

rtclock_init: Phenom MSR 0xc0010071 returned: 0x8000012400240e

TSC: Verification of clock speed not available in x86_64.

TSC: Frequency = 3000.168090MHz, FSB frequency = 200.11206MHz, bus ratio = 15

Darwin Kernel Version 12.3.0: vr 19 jul 2013 17:51:50 CEST; SinetekBronzovkAnVoodoo v1.0.0:xnu-2050.22.13-AMD/BUILD/obj/RELEASE_X86_64

vm_page_bootstrap: 695545 free pages and 353031 wired pages

kext submap [0xffffff7f80809000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff8000809000]

zone leak detection enabled

standard timeslicing quantum is 10000 us

standard background quantum is 2500 us

mig_table_max_displ = 74

SAFE BOOT DETECTED - only valid OSBundleRequired kexts will be loaded.

corecrypto kext started!

Running kernel space in FIPS MODE

Plist hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d

Computed hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d

corecrypto.kext FIPS integrity POST test passed!

corecrypto.kext FIPS AES CBC POST test passed!

corecrypto.kext FIPS TDES CBC POST test passed!

corecrypto.kext FIPS SHA POST test passed!

corecrypto.kext FIPS HMAC POST test passed!

corecrypto.kext FIPS ECDSA POST test passed!

corecrypto.kext FIPS DRBG POST test passed!

corecrypto.kext FIPS POST passed!

warning: skipping personalities in blacklisted kext com.apple.driver.AppleEFIRuntime

warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelCPUPowerManagement

NullCPUPowerManagement::init: properties=0xffffff8008543c00

NullCPUPowerManagement::start

AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled

AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled

AppleACPICPU: ProcessorId=2 LocalApicId=2 Disabled

AppleACPICPU: ProcessorId=3 LocalApicId=3 Disabled

calling mpo_policy_init for Sandbox

Security policy loaded: Seatbelt sandbox policy (Sandbox)

calling mpo_policy_init for Quarantine

Security policy loaded: Quarantine policy (Quarantine)

calling mpo_policy_init for TMSafetyNet

Security policy loaded: Safety net for Time Machine (TMSafetyNet)

Copyright © 1982, 1986, 1989, 1991, 1993

The Regents of the University of California. All rights reserved.

 

MAC Framework successfully initialized

using 16384 buffer headers and 10240 cluster IO buffer headers

IOAPIC: Version 0x21 Vectors 64:87

ACPI: System State [s0 S4 S5]

PFM64 (44 cpu) 0xfff80000000, 0x80000000

[ PCI configuration begin ]

PCI configuration changed (bridge=4 device=1 cardbus=0)

[ PCI configuration end, bridges 6 devices 21 ]

USBF: 1.360 AppleUSBEHCI[0xffffff80090a9000]::CheckSleepCapability - controller will be unloaded across sleep

USBF: 1.390 AppleUSBEHCI[0xffffff80086f5000]::CheckSleepCapability - controller will be unloaded across sleep

USBF: 1.449 AppleUSBOHCI[0xffffff80086f7000]::CheckSleepCapability - controller will be unloaded across sleep

USBF: 1.450 AppleUSBOHCI[0xffffff80086f7000]::InitializeOperationalRegisters Non-NULL hcDoneHead: 0xafff1e00

USBF: 1.451 AppleUSBOHCI[0xffffff80086f1000]::CheckSleepCapability - controller will be unloaded across sleep

USBF: 1.452 AppleUSBOHCI[0xffffff80086f1000]::InitializeOperationalRegisters Non-NULL hcDoneHead: 0xafff1eb0

USBF: 1.465 AppleUSBOHCI[0xffffff80086f0000]::CheckSleepCapability - controller will be unloaded across sleep

USBF: 1.466 AppleUSBOHCI[0xffffff80086ee000]::CheckSleepCapability - controller will be unloaded across sleep

FireWire runtime power conservation disabled. (2)

FireWire (OHCI) TI ID 823f PCI now active, GUID 7856341278563412; max speed s800.

USBF: 6.865 AppleUSBOHCI[0xffffff80086f6000]::CheckSleepCapability - controller will be unloaded across sleep

ERROR: FireWire unable to determine security-mode; defaulting to full-secure.

mbinit: done [64 MB total pool size, (42/21) split]

Pthread support ABORTS when sync kernel primitives misused

com.apple.AppleFSCompressionTypeDataless kmod start

rooting via boot-uuid from /chosen: 6AC566AB-6447-3CC0-917A-88ECD2133AA0

Waiting on IOProviderClassIOResourcesIOResourceMatchboot-uuid-media

com.apple.AppleFSCompressionTypeZlib kmod start

com.apple.AppleFSCompressionTypeDataless load succeeded

com.apple.AppleFSCompressionTypeZlib load succeeded

Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@11/AppleAHCI/PRID@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/ST3320613AS Media/IOGUIDPartitionScheme/test123@3

BSD root: disk0s3, major 1, minor 5

jnl: unknown-dev: replay_journal: from: 4457984 to: 4418560 (joffset 0x94000)

jnl: unknown-dev: journal replay done.

Kernel is LP64

hfs: Removed 1 orphaned / unlinked files and 14 directories

macx_swapon SUCCESS

Previous Shutdown Cause: 3

NVDAStartup: Official

ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out

WARNING: IOPlatformPluginUtil : getCPUIDInfo unknown CPU family: family 0x10, model 0x2

-- power management may be incomplete or unsupported

NVDAGF100HAL loaded and registered

[iOBluetoothHCIController][start] -- completed

ccs-iMac:~ cc$ sysctl -A kern hw

kern.ostype: Darwin

kern.osrelease: 12.3.0

kern.osrevision: 199506

kern.version: Darwin Kernel Version 12.3.0: vr 19 jul 2013 17:51:50 CEST; SinetekBronzovkAnVoodoo v1.0.0:xnu-2050.22.13-AMD/BUILD/obj/RELEASE_X86_64

kern.maxvnodes: 66560

kern.maxproc: 1064

kern.maxfiles: 12288

kern.argmax: 262144

kern.securelevel: 0

kern.hostname: ccs-iMac.local

kern.hostid: 0

kern.clockrate: { hz = 100, tick = 10000, tickadj = 2, profhz = 100, stathz = 100 }

kern.posix1version: 200112

kern.ngroups: 16

kern.job_control: 1

kern.saved_ids: 1

kern.boottime: { sec = 1374250358, usec = 0 } Fri Jul 19 18:12:38 2013

kern.nisdomainname:

kern.maxfilesperproc: 10240

kern.maxprocperuid: 709

kern.ipc.maxsockbuf: 4194304

kern.ipc.sockbuf_waste_factor: 8

kern.ipc.somaxconn: 128

kern.ipc.mbstat: Format:S,mbstat Length:580 Dump:0xa0020000540100000000000047010000...

kern.ipc.nmbclusters: 32768

kern.ipc.soqlimitcompat: 1

kern.ipc.mb_stat: Format:S,mb_stat Length:960 Dump:0x07000000000000006d62756600000000...

kern.ipc.mleak_sample_factor: 500

kern.ipc.mb_normalized: 0

kern.ipc.mb_watchdog: 0

kern.ipc.sosendminchain: 16384

kern.ipc.sorecvmincopy: 16384

kern.ipc.sosendjcl: 1

kern.ipc.sosendjcl_ignore_capab: 0

kern.ipc.sodefunctlog: 0

kern.ipc.sothrottlelog: 0

kern.ipc.sotcdb: 1

kern.ipc.maxsockets: 512

kern.ipc.njcl: 10920

kern.ipc.njclbytes: 16384

kern.ipc.soqlencomp: 0

kern.ipc.io_policy.throttled: 0

kern.ipc.sendfileuiobufs: 64

kern.usrstack: 1390764032

kern.netboot: 0

kern.sysv.shmmax: 4194304

kern.sysv.shmmin: 1

kern.sysv.shmmni: 32

kern.sysv.shmseg: 8

kern.sysv.shmall: 1024

kern.sysv.semmni: 87381

kern.sysv.semmns: 87381

kern.sysv.semmnu: 87381

kern.sysv.semmsl: 87381

kern.sysv.semume: 10

kern.aiomax: 90

kern.aioprocmax: 16

kern.aiothreads: 4

kern.corefile: /cores/core.%P

kern.coredump: 1

kern.sugid_coredump: 0

kern.delayterm: 0

kern.shreg_private: 0

kern.posix.sem.max: 10000

kern.usrstack64: 140734584152064

kern.nx: 0

kern.tfp.policy: 2

kern.procname:

kern.speculative_reads_disabled: 0

kern.osversion: 12D78

kern.safeboot: 1

kern.lctx.last: 1

kern.lctx.count: 0

kern.lctx.max: 8192

kern.rage_vnode: 0

kern.tty.ptmx_max: 127

kern.threadname:

kern.sleeptime: { sec = 0, usec = 0 } Thu Jan 1 01:00:00 1970

kern.waketime: { sec = 0, usec = 0 } Thu Jan 1 01:00:00 1970

kern.willshutdown: 0

kern.progressmeterenable: 0

kern.progressmeter: 0

kern.hibernatefile:

kern.bootsignature: 60453f40f249cac57a691756c86bd4333275f3ed

 

kern.hibernatemode: 0

kern.nbuf: 16384

kern.maxnbuf: 16384

kern.jnl_trim_flush: 240

kern.flush_cache_on_write: 0

kern.sugid_scripts: 0

kern.zleak.active: 0

kern.zleak.max_zonemap_size: 1610612736

kern.zleak.global_threshold: 805306368

kern.zleak.zone_threshold: 100663296

kern.uuid: 74710C27-0E7C-3664-9FC7-DCC198564A73

kern.bootargs: boot-uuid=6AC566AB-6447-3CC0-917A-88ECD2133AA0 rd=*uuid -v npci=0x2000 -notlbfix -x

kern.num_files: 755

kern.num_vnodes: 12250

kern.num_tasks: 2048

kern.num_threads: 10240

kern.num_taskthreads: 2048

kern.namecache_disabled: 0

kern.ignore_is_ssd: 0

kern.preheat_pages_max: 256

kern.preheat_pages_min: 8

kern.speculative_prefetch_max: 24576

kern.speculative_prefetch_max_iosize: 524288

kern.vm_page_free_target: 2000

kern.vm_page_free_min: 1500

kern.vm_page_free_reserved: 100

kern.vm_page_speculative_percentage: 5

kern.vm_page_speculative_q_age_ms: 500

kern.vm_max_delayed_work_limit: 32

kern.vm_max_batch: 256

kern.timer_coalescing_enabled: 1

kern.setthread_cpupercent: 0

kern.singleuser: 0

kern.affinity_sets_enabled: 1

kern.affinity_sets_mapping: 1

kern.slide: 0

kern.kdebug_thread_block: 0

kern.stack_size: 16384

kern.stack_depth_max: 7944

kern.ipc_portbt: 0

kern.sched: traditional

kern.msgbuf: 65536

kern.wq_yielded_threshold: 2000

kern.wq_yielded_window_usecs: 30000

kern.wq_stalled_window_usecs: 200

kern.wq_reduce_pool_window_usecs: 5000000

kern.wq_max_timer_interval_usecs: 50000

kern.wq_max_threads: 512

kern.wq_max_constrained_threads: 64

kern.secure_kernel: 0

kern.ostype = Darwin

kern.osrelease = 12.3.0

kern.osrevision = 199506

kern.version = Darwin Kernel Version 12.3.0: vr 19 jul 2013 17:51:50 CEST; SinetekBronzovkAnVoodoo v1.0.0:xnu-2050.22.13-AMD/BUILD/obj/RELEASE_X86_64

kern.maxvnodes = 66560

kern.maxproc = 1064

kern.maxfiles = 12288

kern.argmax = 262144

kern.securelevel = 0

kern.hostname = ccs-iMac.local

kern.hostid = 0

kern.clockrate: hz = 100, tick = 10000, profhz = 100, stathz = 100

Use pstat to view kern.vnode information

Use ps to view kern.proc information

Use pstat to view kern.file information

kernel is not compiled for profiling

kern.profiling: kern.posix1version = 200112

kern.ngroups = 16

kern.job_control = 1

kern.saved_ids = 1

kern.boottime = Fri Jul 19 18:12:38 2013

 

kern.nisdomainname =

kern.maxpartitions: no such MIB

kern.kdebug: value is not available

kern.update: no such MIB

kern.osreldate: no such MIB

kern.ntp_pll: no such MIB

kern.bootfile: no such MIB

kern.maxfilesperproc = 10240

kern.maxprocperuid = 709

kern.dumpdev: no such MIB

kern.ipc: no such MIB

kern.dummy: no such MIB

kern.dummy: no such MIB

kern.usrstack = 1390764032

kern.logsigexit: no such MIB

kern.symfile: Input/output error

kern.procargs: Invalid argument

kern.dummy: no such MIB

kern.netboot = 0

kern.panicinfo: no such MIB

kern.sysv: no such MIB

kern.dummy: no such MIB

kern.dummy: no such MIB

kern.aiomax = 90

kern.aioprocmax = 16

kern.aiothreads = 4

kern.procargs2: Invalid argument

kern.corefile = /cores/core.%P

kern.coredump = 1

kern.sugid_coredump = 0

kern.delayterm = 0

kern.shreg_private = 0

kern.proc_low_pri_io: no such MIB

kern.low_pri_window: no such MIB

kern.low_pri_delay: no such MIB

kern.posix: no such MIB

kern.usrstack64 = 140734584152064

kern.nx = 0

kern.tfp: no such MIB

kern.procname =

kern.threadsigaltstack: no such MIB

kern.speculative_reads_disabled = 0

kern.osversion = 12D78

kern.safeboot = 1

kern.lctx: no such MIB

kern.rage_vnode = 0

kern.tty: no such MIB

kern.check_openevt: Invalid argument

kern.thread_name = kern

hw.ncpu: 2

hw.byteorder: 1234

hw.memsize: 4294967296

hw.activecpu: 2

hw.physicalcpu: 2

hw.physicalcpu_max: 2

hw.logicalcpu: 2

hw.logicalcpu_max: 2

hw.cputype: 7

hw.cpusubtype: 4

hw.cpu64bit_capable: 1

hw.cpufamily: 1114597871

hw.cacheconfig: 2 1 1 2 0 0 0 0 0 0

hw.cachesize: 4294967296 65536 524288 4194304 0 0 0 0 0 0

hw.pagesize: 4096

hw.busfrequency: 800000000

hw.busfrequency_min: 800000000

hw.busfrequency_max: 800000000

hw.cpufrequency: 3000000000

hw.cpufrequency_min: 3000000000

hw.cpufrequency_max: 3000000000

hw.cachelinesize: 64

hw.l1icachesize: 65536

hw.l1dcachesize: 65536

hw.l2cachesize: 524288

hw.l3cachesize: 4194304

hw.tbfrequency: 1000000000

hw.packages: 1

hw.optional.floatingpoint: 1

hw.optional.mmx: 1

hw.optional.sse: 1

hw.optional.sse2: 1

hw.optional.sse3: 1

hw.optional.supplementalsse3: 1

hw.optional.sse4_1: 0

hw.optional.sse4_2: 0

hw.optional.x86_64: 1

hw.optional.aes: 0

hw.optional.avx1_0: 0

hw.optional.rdrand: 0

hw.optional.f16c: 0

hw.optional.enfstrg: 0

hw.optional.patcher_opts: 48

hw.machine = x86_64

hw.model = iMac8,1

hw.ncpu = 2

hw.byteorder = 1234

hw.physmem = 2147483648

hw.usermem = 574013440

hw.pagesize = 4096

hw.disknames: no such MIB

hw.diskstats: no such MIB

hw.epoch = 0

hw.floatingpoint: no such MIB

hw.machinearch: no such MIB

hw.vectorunit = 1

hw.busfrequency = 800000000

hw.cpufrequency = 3000000000

hw.cachelinesize = 64

hw.l1icachesize = 65536

hw.l1dcachesize = 65536

hw.l2settings = 1

hw.l2cachesize = 524288

hw.l3settings = 1

hw.l3cachesize = 4194304

hw.tbfrequency = 1000000000

hw.memsize = 4294967296

hw.availcpu = 2

 

incorrect freqs. and cache size

 

32-bit code works (tested with xee)

64-bit code (nvidia..) still failing

 

good work AnV!!

Link to comment
Share on other sites

Just looking for any kind of answer now for the graphics. Is this related in any way Andy as to why we are getting artefacts on ATI,

Jul 19 19:20:50 shaneees-imac.home WindowServer[90]: GLCompositor: GL renderer id 0x01021b04, GL mask 0x00000007, texture units 8, texture max 16384, viewport max {16384, 16384}, extensions FPRG|NPOT|GLSL|FLOAT
Link to comment
Share on other sites

:(

 

donc après bug TLB et problème sysenter/syscall , on revient sur les pilotes graphiques x86_64 non compatible AMD . 2 coups pour rien . :(

 

Merci Andy d'avoir levé le doute . :)

 

So after TLB bug and issue sysenter / syscall, we return to the graphics driver is not compatible AMD x86_64. 2 hits for nothing. :(

 

Thank you Andy have raised doubts. :)

C'est dommage. Probablement le code dans le pilote graphique.

 

Too bad. It's probably the code in the graphics driver.

:(

Link to comment
Share on other sites

C'est dommage. Probablement le code dans le pilote graphique.

 

Too bad. It's probably the code in the graphics driver.

:(

i same so think ! :) 

It is problem only opengl.framework, because it is answer for resolution and etc :)

Link to comment
Share on other sites

i same so think ! :)

It is problem only opengl.framework, because it is answer for resolution and etc :)

 

I had Cinema4D running in ML which uses OpenGL to render the images and display the canvas. No errors with rendering what so ever. Maybe it is a different problem.

Link to comment
Share on other sites

Too bad. It's probably the code in the graphics driver.

if this is true, a lot of 64-bit code will be problematic, since that code is compiled specificly for intel64, not amd64.

but, in the other side, other operative systems can run the same 64-bit code in both amd and intel hardware (if im not wrong)

https://en.wikipedia.org/wiki/X86-64#Differences_between_AMD64_and_Intel_64

 

in my opinion,. the issue is not drivers... the issue is 64-bit.

the solution goes beyond hackintosh... it in the level of computer systems in general

the solution would be to make amd hardware emulate the behavior of an intel hardware. (and viceversa)

then you can implement this in any kernel you want (no matter if its Darwin, BSD, linux, ...)

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

I had Cinema4D running in ML which uses OpenGL to render the images and display the canvas. No errors with rendering what so ever. Maybe it is a different problem.

if QE/CI - it ok ! But "resolution" and "clear buffer" problem . 

:)

 

je n'arrive pas à comprendre qu'un pentium D ou un celeron 341 non compatible OSX 10.7 et OSX 10.8 fonctionnent correctement avec le kernel AMD !!? (sse2/3) j'ai remarqué qu'ils sont tout deux sysenter et non compatible syscall en réalité .

 

I do not understand a Pentium D or a non-compatible 341 celeron OSX 10.7 and OSX 10.8 work properly with the kernel AMD!? (sse2 / 3) I noticed that they are both sysenter and not compatible syscall actually.

Hello ! I backup :) 

SYSCALL -  it is for 64 bit !

Sysenter - only for 32 bit program! But maybe for 64 bit emu syscal ))) . Pentiun 341 support sysenter. 

  • Like 3
Link to comment
Share on other sites

 nt catches those system calls and decide, i suppose xnu can too

http://www.summitsoftconsulting.com/SysCallOpts.htm

 

Are there different operating system binaries for SYSENTER and 'int 2e'?

Like described in my previous article, the NTDLL.dll system call stub DLL is responsible for calling the 'int 2e' instruction whenever calls into the kernel was made on Windows NT (Windows 2000 and older, not including Windows 9x which has a completely different architecture). Since Windows XP now has three different ways to call a kernel-mode function, will the operating system have to check which method to use before each and every system call? The answer is no. Instead it calls a special page of memory that is mapped into all processes called the "SharedUserData" page which contains a function called "SystemCallStub". NTDLL calls the SystemCallStub for each system-call. Since the SystemCallStub calls a kernel-mode function differently depending on if SYSENTER, SYSCALL or 'int 2e' is used, the operating system binaries are identical regardless of the capabilities of the CPU.

 

Link to comment
Share on other sites

Ok, I made a new kernel.

It does not map to SYSCALL/SYSRET, instead it uses the enhanced current SYSENTER emulator.

I also added SYSEXIT (restore stack and instruction pointer and execute at instruction pointer).

Please test and give me feedback...

If 32-Bit apps work right, the new SYSENTER emu works great.

 

hello Andy :)

 

reboot  on CPU FX with Clover or Chameleon or ATI or NV  :worried_anim:

Link to comment
Share on other sites

 

Process: Xee [247]
Path: /Users/USER/Desktop/Xee.app/Contents/MacOS/Xee
Identifier: cx.c3.xee
Version: ???
Code Type: X86 (Native)
Parent Process: launchd [130]
User ID: 501

Date/Time: 2013-07-21 01:30:16.409 +0200
OS Version: Mac OS X 10.8.3 (12D78)
Report Version: 10

Interval Since Last Report: 1518 sec
Crashes Since Last Report: 6
Per-App Crashes Since Last Report: 3
Anonymous UUID: 1364A13E-EED5-209A-E2FA-6FA64D840C76

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGSYS)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Thread 0 Crashed:
0 dyld 0x8fed1671 _sysenter_trap + 3
1 dyld 0x8feac220 dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 362
2 dyld 0x8feac077 _dyld_start + 71

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0xffffffe4 ebx: 0xbffffd78 ecx: 0xbffffcdc edx: 0x8fed0c42
edi: 0xbffffd84 esi: 0x8fed09f2 ebp: 0xbffffce8 esp: 0xbffffcdc
ss: 0x00000023 efl: 0x00010246 eip: 0x8fed1671 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x00000000
cr2: 0x8fed166e
Logical CPU: 0

Binary Images:
0x8feab000 - 0x8fedde57 dyld (210.2.3) <4D38DEED-9837-3202-B8E9-41272D01EA2C> /usr/lib/dyld

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 1
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 135
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=280K resident=200K(71%) swapped_out_or_unallocated=80K(29%)
Writable regions: Total=8372K written=12K(0%) resident=20K(0%) swapped_out=0K(0%) unallocated=8352K(100%)

REGION TYPE VIRTUAL
=========== =======
(null) (reserved) 4K reserved VM address space (unallocated)
Stack 64.0M
VM_ALLOCATE 4K
__DATA 172K
__LINKEDIT 76K
__TEXT 204K
mapped file 908K
shared memory 12K
=========== =======
TOTAL 65.3M
TOTAL, minus reserved VM space 65.3M

Model: iMac8,1, BootROM IM81.00C1.B00, 2 processors, Intel Core 2 Duo, 3 GHz, 4 GB, SMC 1.30f3
Graphics: GeForce GT 440, GeForce GT 440, PCIe, 1024 MB
Memory Module: Bank4/5/A2, 2 GB, DDR2 SDRAM, 4198 MHz, 7F98000000000000, 2G-UDIMM
Memory Module: Bank6/7/A3, 2 GB, DDR2 SDRAM, 4198 MHz, 7F98000000000000, 2G-UDIMM
PCI Card: GeForce GT 440, sppci_displaycontroller, Slot-1
Serial ATA Device: ST3320613AS, 320.07 GB
USB Device: Mass Storage Device, 0x058f (Alcor Micro, Corp.), 0x6362, 0x53600000 / 2
USB Device: USB Keyboard, 0x04d9 (Holtek Semiconductor, Inc.), 0x1702, 0x13300000 / 2
USB Device: Kensington Eagle Trackball, 0x047d (Kensington), 0x2048, 0x12200000 / 2
FireWire Device: EDIROL FA-66, EDIROL, 400mbit_speed

Last login: Sun Jul 21 01:25:26 on console
ccs-iMac:~ cc$ sudo dmesg
Password:
Multiplayer detection: family 0x15, model 0x2, stepping 3, extFamily 0x1, extModel 0x0
FSB Detection: calculated Mult 0, cpuFreq 0rtclock_init: Phenom MSR 0xc0010071
BUS: Frequency = 200.000000MHz, cvtt2n = 00000005x.00000000x, cvtn2t = 00000000x.33333333x
TSC: Frequency = 3000.000000MHz, cvtt2n = 00000000x.55555555x, cvtn2t = 00000003x.00000003x, gran = 15
Darwin Kernel Version 12.3.0: \M-P\M-2\M-P\M->\M-Q\M^A\M-P\M-:\M-Q\M^@\M-P\M-5\M-Q\M^A\M-P\M-5\M-P\M-=\M-Q\M^L\M-P\M-5, 21 \M-P\M-8\M-Q\M^N\M-P\M-;\M-Q\M^O 2013 \M-P\M-3. 02:37:54 (MSK); root:xnu-2050.22.13_amd/BUILD/obj//RELEASE_X86_64
vm_page_bootstrap: 695546 free pages and 353030 wired pages
kext submap [0xffffff7f8080f000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff800080f000]
zone leak detection enabled
standard timeslicing quantum is 10000 us
standard background quantum is 2500 us
mig_table_max_displ = 74
CPU identification: AMD Athlon 7850 Dual-Core Processor
HTT: 2 cores per package; 2 logical cpus per package
SAFE BOOT DETECTED - only valid OSBundleRequired kexts will be loaded.
corecrypto kext started!
Running kernel space in FIPS MODE
Plist hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d
Computed hmac value is 735d392b68241ef173d81097b1c8ce9ba283521626d1c973ac376838c466757d
corecrypto.kext FIPS integrity POST test passed!
corecrypto.kext FIPS AES CBC POST test passed!
corecrypto.kext FIPS TDES CBC POST test passed!
corecrypto.kext FIPS SHA POST test passed!
corecrypto.kext FIPS HMAC POST test passed!
corecrypto.kext FIPS ECDSA POST test passed!
corecrypto.kext FIPS DRBG POST test passed!
corecrypto.kext FIPS POST passed!
warning: skipping personalities in blacklisted kext com.apple.driver.AppleIntelCPUPowerManagement
NullCPUPowerManagement::init: properties=0xffffff80083a5b40
NullCPUPowerManagement::start
AppleACPICPU: ProcessorId=0 LocalApicId=0 Enabled
AppleACPICPU: ProcessorId=1 LocalApicId=1 Enabled
AppleACPICPU: ProcessorId=2 LocalApicId=2 Disabled
AppleACPICPU: ProcessorId=3 LocalApicId=3 Disabled
calling mpo_policy_init for Sandbox
Security policy loaded: Seatbelt sandbox policy (Sandbox)
calling mpo_policy_init for Quarantine
Security policy loaded: Quarantine policy (Quarantine)
calling mpo_policy_init for TMSafetyNet
Security policy loaded: Safety net for Time Machine (TMSafetyNet)
Copyright © 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.

MAC Framework successfully initialized
using 16384 buffer headers and 10240 cluster IO buffer headers
IOAPIC: Version 0x21 Vectors 64:87
ACPI: System State [s0 S4 S5]
PFM64 (44 cpu) 0xfff80000000, 0x80000000
[ PCI configuration begin ]
PCI configuration changed (bridge=4 device=1 cardbus=0)
[ PCI configuration end, bridges 6 devices 21 ]
USBF: 1.647 AppleUSBEHCI[0xffffff8008554000]::CheckSleepCapability - controller will be unloaded across sleep
USBF: 1.649 AppleUSBEHCI[0xffffff800854f000]::CheckSleepCapability - controller will be unloaded across sleep
mbinit: done [64 MB total pool size, (42/21) split]
Pthread support ABORTS when sync kernel primitives misused
USBF: 1.710 AppleUSBOHCI[0xffffff8008eea000]::CheckSleepCapability - controller will be unloaded across sleep
USBF: 1.712 AppleUSBOHCI[0xffffff8008555000]::CheckSleepCapability - controller will be unloaded across sleep
USBF: 1.713 AppleUSBOHCI[0xffffff8008555000]::InitializeOperationalRegisters Non-NULL hcDoneHead: 0xafff1eb0
USBF: 1.714 AppleUSBOHCI[0xffffff8008553000]::CheckSleepCapability - controller will be unloaded across sleep
USBF: 1.716 AppleUSBOHCI[0xffffff8008553000]::InitializeOperationalRegisters Non-NULL hcDoneHead: 0xafff1e00
USBF: 1.745 AppleUSBOHCI[0xffffff800854e000]::CheckSleepCapability - controller will be unloaded across sleep
rooting via boot-uuid from /chosen: 6AC566AB-6447-3CC0-917A-88ECD2133AA0
Waiting on IOProviderClassIOResourcesIOResourceMatchboot-uuid-media
com.apple.AppleFSCompressionTypeDataless kmod start
com.apple.AppleFSCompressionTypeZlib kmod start
com.apple.AppleFSCompressionTypeDataless load succeeded
com.apple.AppleFSCompressionTypeZlib load succeeded
FireWire runtime power conservation disabled. (2)
Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/SATA@11/AppleAHCI/PRID@0/IOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlockStorageDevice/IOBlockStorageDriver/ST3320613AS Media/IOGUIDPartitionScheme/test123@3
BSD root: disk0s3, major 1, minor 3
jnl: unknown-dev: replay_journal: from: 107520 to: 8337408 (joffset 0x94000)
FireWire (OHCI) TI ID 823f PCI now active, GUID 7856341278563412; max speed s800.
USBF: 7.200 AppleUSBOHCI[0xffffff8008541000]::CheckSleepCapability - controller will be unloaded across sleep
jnl: unknown-dev: journal replay done.
Kernel is LP64
hfs: Removed 1 orphaned / unlinked files and 14 directories
macx_swapon SUCCESS
Previous Shutdown Cause: 3
NVDAStartup: Official
ACPI_SMC_PlatformPlugin::start - waitForService(resourceMatching(AppleIntelCPUPowerManagement) timed out
WARNING: IOPlatformPluginUtil : getCPUIDInfo unknown CPU family: family 0x10, model 0x2
-- power management may be incomplete or unsupported
NVDAGF100HAL loaded and registered
[iOBluetoothHCIController][start] -- completed
Resetting IOCatalogue.
ccs-iMac:~ cc$ sysctl -A kern hw
kern.ostype: Darwin
kern.osrelease: 12.3.0
kern.osrevision: 199506
kern.version: Darwin Kernel Version 12.3.0: воскресенье, 21 июля 2013 г. 02:37:54 (MSK); root:xnu-2050.22.13_amd/BUILD/obj//RELEASE_X86_64
kern.maxvnodes: 66560
kern.maxproc: 1064
kern.maxfiles: 12288
kern.argmax: 262144
kern.securelevel: 0
kern.hostname: ccs-iMac.local
kern.hostid: 0
kern.clockrate: { hz = 100, tick = 10000, tickadj = 0, profhz = 100, stathz = 100 }
kern.posix1version: 200112
kern.ngroups: 16
kern.job_control: 1
kern.saved_ids: 1
kern.boottime: { sec = 1374362636, usec = 0 } Sun Jul 21 01:23:56 2013
kern.nisdomainname:
kern.maxfilesperproc: 10240
kern.maxprocperuid: 709
kern.ipc.maxsockbuf: 4194304
kern.ipc.sockbuf_waste_factor: 8
kern.ipc.somaxconn: 128
kern.ipc.mbstat: Format:S,mbstat Length:580 Dump:0xa0020000540100000000000048010000...
kern.ipc.nmbclusters: 32768
kern.ipc.soqlimitcompat: 1
kern.ipc.mb_stat: Format:S,mb_stat Length:960 Dump:0x07000000000000006d62756600000000...
kern.ipc.mleak_sample_factor: 500
kern.ipc.mb_normalized: 0
kern.ipc.mb_watchdog: 0
kern.ipc.sosendminchain: 16384
kern.ipc.sorecvmincopy: 16384
kern.ipc.sosendjcl: 1
kern.ipc.sosendjcl_ignore_capab: 0
kern.ipc.sodefunctlog: 0
kern.ipc.sothrottlelog: 0
kern.ipc.sotcdb: 1
kern.ipc.maxsockets: 512
kern.ipc.njcl: 10920
kern.ipc.njclbytes: 16384
kern.ipc.soqlencomp: 0
kern.ipc.io_policy.throttled: 0
kern.ipc.sendfileuiobufs: 64
kern.usrstack: 1602654208
kern.netboot: 0
kern.sysv.shmmax: 4194304
kern.sysv.shmmin: 1
kern.sysv.shmmni: 32
kern.sysv.shmseg: 8
kern.sysv.shmall: 1024
kern.sysv.semmni: 87381
kern.sysv.semmns: 87381
kern.sysv.semmnu: 87381
kern.sysv.semmsl: 87381
kern.sysv.semume: 10
kern.aiomax: 90
kern.aioprocmax: 16
kern.aiothreads: 4
kern.corefile: /cores/core.%P
kern.coredump: 1
kern.sugid_coredump: 0
kern.delayterm: 0
kern.shreg_private: 0
kern.posix.sem.max: 10000
kern.usrstack64: 140734796042240
kern.nx: 1
kern.tfp.policy: 2
kern.procname:
kern.speculative_reads_disabled: 0
kern.osversion: 12D78
kern.safeboot: 1
kern.lctx.last: 1
kern.lctx.count: 0
kern.lctx.max: 8192
kern.rage_vnode: 0
kern.tty.ptmx_max: 127
kern.threadname:
kern.sleeptime: { sec = 0, usec = 0 } Thu Jan 1 01:00:00 1970
kern.waketime: { sec = 0, usec = 0 } Thu Jan 1 01:00:00 1970
kern.willshutdown: 0
kern.progressmeterenable: 0
kern.progressmeter: 0
kern.hibernatefile:
kern.bootsignature: 60453f40f249cac57a691756c86bd4333275f3ed

kern.hibernatemode: 0
kern.nbuf: 16384
kern.maxnbuf: 16384
kern.jnl_trim_flush: 240
kern.flush_cache_on_write: 0
kern.sugid_scripts: 0
kern.zleak.active: 0
kern.zleak.max_zonemap_size: 1610612736
kern.zleak.global_threshold: 805306368
kern.zleak.zone_threshold: 100663296
kern.uuid: 79D7342E-5177-3F11-A60D-3BC0448927CD
kern.bootargs: boot-uuid=6AC566AB-6447-3CC0-917A-88ECD2133AA0 rd=*uuid -v npci=0x2000 -notlbfix -x
kern.num_files: 785
kern.num_vnodes: 21378
kern.num_tasks: 2048
kern.num_threads: 10240
kern.num_taskthreads: 2048
kern.namecache_disabled: 0
kern.ignore_is_ssd: 0
kern.preheat_pages_max: 256
kern.preheat_pages_min: 8
kern.speculative_prefetch_max: 24576
kern.speculative_prefetch_max_iosize: 524288
kern.vm_page_free_target: 2000
kern.vm_page_free_min: 1500
kern.vm_page_free_reserved: 100
kern.vm_page_speculative_percentage: 5
kern.vm_page_speculative_q_age_ms: 500
kern.vm_max_delayed_work_limit: 32
kern.vm_max_batch: 256
kern.timer_coalescing_enabled: 1
kern.setthread_cpupercent: 0
kern.singleuser: 0
kern.affinity_sets_enabled: 1
kern.affinity_sets_mapping: 1
kern.slide: 0
kern.kdebug_thread_block: 0
kern.stack_size: 16384
kern.stack_depth_max: 7896
kern.ipc_portbt: 0
kern.sched: traditional
kern.msgbuf: 65536
kern.wq_yielded_threshold: 2000
kern.wq_yielded_window_usecs: 30000
kern.wq_stalled_window_usecs: 200
kern.wq_reduce_pool_window_usecs: 5000000
kern.wq_max_timer_interval_usecs: 50000
kern.wq_max_threads: 512
kern.wq_max_constrained_threads: 64
kern.secure_kernel: 0
kern.ostype = Darwin
kern.osrelease = 12.3.0
kern.osrevision = 199506
kern.version = Darwin Kernel Version 12.3.0: воскресенье, 21 июля 2013 г. 02:37:54 (MSK); root:xnu-2050.22.13_amd/BUILD/obj//RELEASE_X86_64
kern.maxvnodes = 66560
kern.maxproc = 1064
kern.maxfiles = 12288
kern.argmax = 262144
kern.securelevel = 0
kern.hostname = ccs-iMac.local
kern.hostid = 0
kern.clockrate: hz = 100, tick = 10000, profhz = 100, stathz = 100
Use pstat to view kern.vnode information
Use ps to view kern.proc information
Use pstat to view kern.file information
kernel is not compiled for profiling
kern.profiling: kern.posix1version = 200112
kern.ngroups = 16
kern.job_control = 1
kern.saved_ids = 1
kern.boottime = Sun Jul 21 01:23:56 2013

kern.nisdomainname =
kern.maxpartitions: no such MIB
kern.kdebug: value is not available
kern.update: no such MIB
kern.osreldate: no such MIB
kern.ntp_pll: no such MIB
kern.bootfile: no such MIB
kern.maxfilesperproc = 10240
kern.maxprocperuid = 709
kern.dumpdev: no such MIB
kern.ipc: no such MIB
kern.dummy: no such MIB
kern.dummy: no such MIB
kern.usrstack = 1602654208
kern.logsigexit: no such MIB
kern.symfile: Input/output error
kern.procargs: Invalid argument
kern.dummy: no such MIB
kern.netboot = 0
kern.panicinfo: no such MIB
kern.sysv: no such MIB
kern.dummy: no such MIB
kern.dummy: no such MIB
kern.aiomax = 90
kern.aioprocmax = 16
kern.aiothreads = 4
kern.procargs2: Invalid argument
kern.corefile = /cores/core.%P
kern.coredump = 1
kern.sugid_coredump = 0
kern.delayterm = 0
kern.shreg_private = 0
kern.proc_low_pri_io: no such MIB
kern.low_pri_window: no such MIB
kern.low_pri_delay: no such MIB
kern.posix: no such MIB
kern.usrstack64 = 140734796042240
kern.nx = 1
kern.tfp: no such MIB
kern.procname =
kern.threadsigaltstack: no such MIB
kern.speculative_reads_disabled = 0
kern.osversion = 12D78
kern.safeboot = 1
kern.lctx: no such MIB
kern.rage_vnode = 0
kern.tty: no such MIB
kern.check_openevt: Invalid argument
kern.thread_name = kern
hw.ncpu: 2
hw.byteorder: 1234
hw.memsize: 4294967296
hw.activecpu: 2
hw.physicalcpu: 2
hw.physicalcpu_max: 2
hw.logicalcpu: 2
hw.logicalcpu_max: 2
hw.cputype: 7
hw.cpusubtype: 4
hw.cpu64bit_capable: 1
hw.cpufamily: 16
hw.cacheconfig: 1 1 1 2 0 0 0 0 0 0
hw.cachesize: 65536 65536 524288 2097152 0 0 0 0 0 0
hw.pagesize: 4096
hw.busfrequency: 800000000
hw.busfrequency_min: 800000000
hw.busfrequency_max: 800000000
hw.cpufrequency: 3000000000
hw.cpufrequency_min: 3000000000
hw.cpufrequency_max: 3000000000
hw.cachelinesize: 64
hw.l1icachesize: 65536
hw.l1dcachesize: 65536
hw.l2cachesize: 524288
hw.l3cachesize: 2097152
hw.tbfrequency: 1000000000
hw.packages: 1
hw.optional.floatingpoint: 1
hw.optional.mmx: 1
hw.optional.sse: 1
hw.optional.sse2: 1
hw.optional.sse3: 1
hw.optional.supplementalsse3: 1
hw.optional.sse4_1: 0
hw.optional.sse4_2: 0
hw.optional.x86_64: 1
hw.optional.aes: 0
hw.optional.avx1_0: 0
hw.optional.rdrand: 0
hw.optional.f16c: 0
hw.optional.enfstrg: 0
hw.optional.patcher_opts: 48
hw.machine = x86_64
hw.model = iMac8,1
hw.ncpu = 2
hw.byteorder = 1234
hw.physmem = 2147483648
hw.usermem = 549613568
hw.pagesize = 4096
hw.disknames: no such MIB
hw.diskstats: no such MIB
hw.epoch = 0
hw.floatingpoint: no such MIB
hw.machinearch: no such MIB
hw.vectorunit = 1
hw.busfrequency = 800000000
hw.cpufrequency = 3000000000
hw.cachelinesize = 64
hw.l1icachesize = 65536
hw.l1dcachesize = 65536
hw.l2settings = 1
hw.l2cachesize = 524288
hw.l3settings = 1
hw.l3cachesize = 2097152
hw.tbfrequency = 1000000000
hw.memsize = 4294967296
hw.availcpu = 2
ccs-iMac:~ cc$ fortunes
-bash: fortunes: command not found
ccs-iMac:~ cc$

 

Link to comment
Share on other sites

are the last two kernels to Mountain Lion 10.8.4 compatible? :whistle:

Link to comment
Share on other sites

first I tested Mountain Lion 10.8.4 with the first Andy's amd_kernel and it boots, and a short time later, a KP. now I know first of all that my system is ready to test next test- kernel. Now I will test the last two kernel of Andy and Bronya than I will report :whistle:

Link to comment
Share on other sites

last Andys amd_kernel / SinetekBronzovkAnVoodoo_RC8.diff 

boot flag: npci=0x2000 PCIRootUID=0 -v -f -F, such a bother, it boots and when the white screen comes then comes the panic opemu_utrap, unfortunately, I have no possibility to make at the moment  a photo :whistle:

 

Edit:

 

next Test with bronyas kernel, kernel boots up very quickly but also with KP,


if I want to test something, then make a few suggestions


Unfortunately, the Beast does not make log file under Diagnostic folder

IMG_6186a.jpg

IMG_6187a.jpg

Edited by spakk
Link to comment
Share on other sites

test with last bronya kernel


FakeSMC GPUSupport does indeed bitching, but whatever :whistle:

 

This installation is on an external USB-IDE HDD


next Test with bronyas Kernel: boot flag: arch=i386  than ML reboot

k-IMG_6188.JPG

k-IMG_6189.JPG

k-IMG_6190.JPG

k-IMG_6191.JPG

k-IMG_6192.JPG

k-IMG_6193.JPG

k-IMG_6194.JPG

Edited by spakk
Link to comment
Share on other sites

I have put all possible boot flag , always the same KP! with andys+bronya kernel ( -x , -s etc)


bye for now, I'm going to bed :(

Link to comment
Share on other sites

 Share

×
×
  • Create New...