Subscribe to our RSS news feed
AAPL 199.94 (-1.25)

to Kernel Developer / Kernel Professionals / BIOS Modders :, hw.physicalcpu: 2 is wrong , must be 1
*********
  • Group: Members
  • Posts: 1,431
  • Joined: 26-May 07
  • From: Stuttgart / Germany
  • Member No.: 110,586
Hi,
i am on the way to evaluate why my "About this Mac" crashes / logout.
System Profiler runs with no problems, and all other things no problems.

It must be to do with BIOS of my MSI P965 NEO-F., CPU E2160 (Dual Core Pentium 1.8)
I do NOT need to set CPU=1 to boot without crash or to work.

Maybe my BIOS reports some CPU things not the way OS X can use it. XP or Vista may didnt worry about that.
So i know that there is an BIOS Mod thread, where nice KABYL works endless for modding such BIOSes.

So i list here my sysctl -a (lists all variables of kernel).
...
hw.logicalcpu_max: 2
hw.logicalcpu: 2 **** OK ****
hw.physicalcpu_max: 2
hw.physicalcpu: 2 ***** THATS WRONG *****

Setting hw.physicalcpu=1 with sysctl -w xxxx cant work because its read-only.

Is it possible to change something in the kernel to avoid hw.physicalcpu: 2, set it fixed to 1 ?
I think near non has 2 physical CPUs (most have non server mainboards).

Maybe that would be much easyer that to mod all those bioses - also mod them after each update.

Here my complete sysctl list

kern.bootargs: boot-uuid=99739A0B-3E1A-30D8-8EDD-76938AB74EEF rd=*uuid platform=ACPI
kern.msgbuf: 4096
kern.wq_timer_interval_msecs: 40
kern.wq_max_run_latency_usecs: 500
kern.wq_reduce_pool_window_usecs: 3000000
kern.wq_stalled_window_usecs: 20000
kern.secure_kernel: 0
kern.cpu_currentfreq: 1500
kern.cpu_log: 0
kern.cpu_minfreq: 1000
kern.cpu_maxfreq: 1500
kern.cpu_temp_is_valid: 1
kern.cpu_temp: 54

kern.coolbook2_bus: 200
kern.coolbook2_temp: 54
kern.coolbook2_vid: 12125
kern.coolbook2_div: 9
kern.coolbook2_ctl: 0
kern.coolbook2_stseax: 100665640
kern.coolbook2_stsedx: 153618728

hw.ncpu: 2
hw.byteorder: 1234
hw.memsize: 2147483648
hw.activecpu: 2
hw.optional.x86_64: 1
hw.optional.sse4_2: 0
hw.optional.sse4_1: 0
hw.optional.supplementalsse3: 1
hw.optional.sse3: 1
hw.optional.sse2: 1
hw.optional.sse: 1
hw.optional.mmx: 1
hw.optional.floatingpoint: 1
hw.packages: 1
hw.tbfrequency: 1000000000
hw.l2cachesize: 1048576
hw.l1dcachesize: 32768
hw.l1icachesize: 32768
hw.cachelinesize: 64
hw.cpufrequency_max: 1800000000
hw.cpufrequency_min: 1800000000
hw.cpufrequency: 1800000000
hw.busfrequency_max: 800000000
hw.busfrequency_min: 800000000
hw.busfrequency: 800000000
hw.pagesize: 4096
hw.cachesize: 2147483648 32768 1048576 0 0 0 0 0 0 0
hw.cacheconfig: 2 1 2 0 0 0 0 0 0 0
hw.cpufamily: 1114597871
hw.cpu64bit_capable: 1
hw.cpusubtype: 4
hw.cputype: 7
hw.logicalcpu_max: 2
hw.logicalcpu: 2
hw.physicalcpu_max: 2
hw.physicalcpu: 2
machdep.pmap.hashmax: 11
machdep.pmap.hashcnts: 944925
machdep.pmap.hashwalks: 893564
machdep.cpu.address_bits.virtual: 48
machdep.cpu.address_bits.physical: 36
machdep.cpu.cache.size: 1024
machdep.cpu.cache.L2_associativity: 4
machdep.cpu.cache.linesize: 64
machdep.cpu.arch_perf.fixed_width: 40
machdep.cpu.arch_perf.fixed_number: 3
machdep.cpu.arch_perf.events: 0
machdep.cpu.arch_perf.events_number: 7
machdep.cpu.arch_perf.width: 40
machdep.cpu.arch_perf.number: 2
machdep.cpu.arch_perf.version: 2
machdep.cpu.thermal.ACNT_MCNT: 1
machdep.cpu.thermal.thresholds: 2
machdep.cpu.thermal.dynamic_acceleration: 0
machdep.cpu.thermal.sensor: 1
machdep.cpu.mwait.sub_Cstates: 544
machdep.cpu.mwait.extensions: 3
machdep.cpu.mwait.linesize_max: 64
machdep.cpu.mwait.linesize_min: 64
machdep.cpu.cores_per_package: 2
machdep.cpu.logical_per_package: 2
machdep.cpu.extfeatures: XD EM64T
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 SSE3 MON DSCPL EST TM2 SSSE3 CX16 TPR PDCM
machdep.cpu.brand: 0
machdep.cpu.signature: 1789
machdep.cpu.extfeature_bits: 537919488 1
machdep.cpu.feature_bits: -1075053569 58269
machdep.cpu.stepping: 13
machdep.cpu.extfamily: 0
machdep.cpu.extmodel: 0
machdep.cpu.model: 15
machdep.cpu.family: 6
machdep.cpu.brand_string: Intel® Pentium® Dual CPU E2160 @ 1.80GHz
machdep.cpu.vendor: GenuineIntel




Also i added an screen output of IOREGISTRY of the CPU section.
CPU2 + CPU3 are listed but empty ?

How looks your IOGEGISTRY output on an mainboard with Dual Core CPU, also CPU2+CPU3 listed ?
PM Profile Card
Go to the top of the page
+ Quote Post


Reply to this topic Start new topic

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version Time is now: 21st November 2009 - 12:56 PM