Voodooprojects

Chameleon => Bug Reports => Topic started by: alvin_a_garcia on November 22, 2010, 06:58:44 AM

Title: SpeedStep doesn't work with trunk build, but does in mozodojo branch build
Post by: alvin_a_garcia on November 22, 2010, 06:58:44 AM
Hello,

I was previously using a build off of the "mozodojo" SVN branch of Chameleon to use automatic P-state and C-state generation.  With this version of Chameleon, I was successfully able to get SpeedStep working on my hackintosh (DELL E1505 w/ 1.83GHz Intel Core Duo running Mac OS X 10.6.5). 

 noticed that the trunk in the Chameleon SVN tree recently (?) added automatic P-state and C-state generation, and so I built Chameleon from the trunk and installed it.  Although P-States and C-States are both generated successfully (according to the "bdmesg" utility, SpeedStep does not appear to be working:  my laptop's two CPU cores remain stuck at 1.0GHz, as reported by MSR Tools, whereas with Chameleon from the "mozodojo" branch, MSR Tools showed the speed of the two CPU cores changing dynamically. 

Any suggestions would be greatly appreciated.  Thank you. 
Title: Re: SpeedStep doesn't work with trunk build, but does in mozodojo branch build
Post by: alvin_a_garcia on November 27, 2010, 02:57:03 AM
I found the problem: 

In the mozodojo branch, the default path for the smbios.plist file is /Extra/smbios.plist.  However, in the trunk, the default path for the smbios.plist is /Extra/SMBIOS.plist.  Since I had /Extra/smbios.plist and not /Extra/SMBIOS.plist, my smbios.plist was being ignored, along with its setting of MacBook5,1 as SMproductname.  Instead, it was using the MacBookPro4,1 default in smbios_patcher.c.  Renaming /Extra/smbios.plist to /Extra/SMBIOS.plist got SpeedStep working again, now with the trunk build of Chameleon.
Title: Re: SpeedStep doesn't work with trunk build, but does in mozodojo branch build
Post by: Gringo Vermelho on November 27, 2010, 04:43:59 AM
Are you sure it wasn't something else, your smbios.plist was corrupt perhaps?

2.0 RC5 trunk r647 with /Extra/smbios.plist (all lowercase) works for me.
Title: Re: SpeedStep doesn't work with trunk build, but does in mozodojo branch build
Post by: alvin_a_garcia on November 27, 2010, 07:42:29 AM
Are you sure it wasn't something else, your smbios.plist was corrupt perhaps?

2.0 RC5 trunk r647 with /Extra/smbios.plist (all lowercase) works for me.
Hello,

Thanks for your response. 

Yes, I am fairly certain.  All I did was copy my existing /Extra/smbios.plist to /Extra/SMBIOS.plist, and then my trunk build of Chameleon (2.0 RC5 trunk r650) let SpeedStep work, as monitored with MSR Tools. 

I am using a case-sensitive filesystem.  Is it possible that you are using a non-case-sensitive filesystem?  If so, might that account for why the lowercase smbios.plist works for you but not for me?
Title: Re: SpeedStep doesn't work with trunk build, but does in mozodojo branch build
Post by: Gringo Vermelho on November 27, 2010, 10:33:32 PM
Wow, yes, non-case sensitive ftw.

Why add more things that can go wrong on purpose?  :P
Title: Re: SpeedStep doesn't work with trunk build, but does in mozodojo branch build
Post by: Azimutz on December 03, 2010, 06:13:19 AM
I am using a case-sensitive filesystem.  Is it possible that you are using a non-case-sensitive filesystem?  If so, might that account for why the lowercase smbios.plist works for you but not for me?
hum... interesting...
Somehow i was under the impression that Chameleon doesn't care for filesystem case-sensitivity,
but after all it seems to respect it!? (... were did i red that stuff..??...)
Can you confirm this Alvin? :)
The file name used to be lower case (smbios.plist); Zef changed it on rev 450, i don't know if on purpose?!
Thanks for posting this; it made me go read some :P