ErmaC Posted January 20, 2014 Author Share Posted January 20, 2014 why i can't compile the source code from enoch branches? nvidia.c:1654:21: error: use of undeclared identifier 'kNvidiaGeneric' if ((getBoolForKey(kNvidiaGeneric, &showGeneric, &bootInfo->chameleonConfig) && show... ^ 1 error generated. Sorry... my fault... I'm working on a new features and I "forgot" to clean that part into SVN... So an easy and quick fix would be (/i386/libsaio/nvidia.c) comment the line 1653,1654,1655 like this //ErmaC added selector for Chameleon "old" style in System Profiler // if ((getBoolForKey(kNvidiaGeneric, &showGeneric, &bootInfo->chameleonConfig) && showGeneric) == true) { // DBG("- TEST - NOT YET IMPLEMENTED.\n"); // } Fabio Link to comment Share on other sites More sharing options...
Regi Yassin Posted January 20, 2014 Share Posted January 20, 2014 Sorry... my fault... I'm working on a new features and I "forgot" to clean that part into SVN... So an easy and quick fix would be (/i386/libsaio/nvidia.c) comment the line 1653,1654,1655 like this //ErmaC added selector for Chameleon "old" style in System Profiler // if ((getBoolForKey(kNvidiaGeneric, &showGeneric, &bootInfo->chameleonConfig) && showGeneric) == true) { // DBG("- TEST - NOT YET IMPLEMENTED.\n"); // } Fabio yap, also bool showGeneric Link to comment Share on other sites More sharing options...
shilohhh Posted January 22, 2014 Share Posted January 22, 2014 CPU reports as Unknown in about this mac with versions after 2.2svn r2266 Link to comment Share on other sites More sharing options...
Gringo Vermelho Posted January 22, 2014 Share Posted January 22, 2014 lol What CPU? Link to comment Share on other sites More sharing options...
ErmaC Posted January 22, 2014 Author Share Posted January 22, 2014 CPU reports as Unknown in about this mac with versions after 2.2svn r2266 lol What CPU? Yep! What CPU? (Some spec pls) Until 2265 (inclusive) is correctly identified? From the rev 2266 there is the XCode 5 compiling compatibility... Let we know. Fabio Link to comment Share on other sites More sharing options...
shilohhh Posted January 22, 2014 Share Posted January 22, 2014 Sorry guys. That was dumb. Lol. I7 3930k Rampage IV Extreme. In smbios smcpu type 1281 for 10.8.5 w MacPro5,1 and smcpu type 2561 for MP6,1 w 10.9.2. Both report unknow until I revert back to 2266. 2266 or earlier shows 6 core Xeon or E5 as expected. All versions I've tried after 2266 show unknown. Thanks for the awesome work!!!! Link to comment Share on other sites More sharing options...
ErmaC Posted January 23, 2014 Author Share Posted January 23, 2014 Still experiencing system reset with r2245 when booting 32bit mode... CPU is Xeon (Irwindale) 2Mo L2 cache FSB800 @3.8GHz.@Hervé Have you the possibility to compile and test one by one the changes made by chucko ? I'm referring to his branch (where the changes came from)... Starting from 2291 to 2320? svn co -r 2xxx http://forge.voodooprojects.org/svn/chameleon/branches/chucko/I know are a lot of compile and install and test but this way can be extremely easy find the problem.. Fabio Link to comment Share on other sites More sharing options...
ErmaC Posted January 23, 2014 Author Share Posted January 23, 2014 Yes, I can compile and test those one by one. Will start tonight. For info, last "Trunk" branch I tried without issue was 2317, but I don't know if that pulled a true 2317 or a previous version... The Main trunk until 2317 (included) is exactly the same since 2290... the rev number grow but the changes into the main trunk code not So on main trunk from 2290 to 2317 is the same code. On 2318 I merge from chucko branch his improvements... This is the reason why I ask you to try from 2291 to 2316(or 2320) but not the main trunk the chucko branch Fabio 1 Link to comment Share on other sites More sharing options...
nyolc8 Posted January 24, 2014 Share Posted January 24, 2014 Using r2344, now my processor somehow getting a serial number (it only showed a "?" in bdmesg before) and also my processor part number shows now "Not specified" (it was just a "?" too before). So this is good. But I still getting the same problem with base board infos, like before with all versions. So: Base Board Information: Manufacturer: Apple Inc. Product Name: Mac-F42C88C8 Version: Proto1 Serial Number: ** PRIVATE ** Asset Tag: Location In Chassis: Type: <OUT OF SPEC> "Asset Tag" and "Location on chassis" are empty. "Type" shows "<out of specs>" - this was a number before as I remember. Here's my smbios.plist: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>SMbiosdate</key> <string>02/29/08</string> <key>SMbiosvendor</key> <string>Apple Computer, Inc.</string> <key>SMbiosversion</key> <string>MP31.88Z.006C.B05.0802291410</string> <key>SMboardassettag</key> <string>Mac-F42C88C8</string> <key>SMboardchassismanufacturer</key> <string>Apple Inc.</string> <key>SMboardlocation</key> <string>Part Component</string> <key>SMboardmanufacturer</key> <string>Apple Inc.</string> <key>SMboardproduct</key> <string>Mac-F42C88C8</string> <key>SMboardproductname</key> <string>MacPro3,1</string> <key>SMboardserial</key> <string>*****************</string> <key>SMboardtype</key> <string>11</string> <key>SMboardversion</key> <string>Proto1</string> <key>SMchassisassettag</key> <string>Pro-Enclosure</string> <key>SMchassismanufacturer</key> <string>Apple Inc.</string> <key>SMchassisserial</key> <string>***********</string> <key>SMchassistype</key> <string>7</string> <key>SMchassisversion</key> <string>Mac-F42C88C8</string> <key>SMcpuassettag</key> <string>Intel(R) Core2Duo(TM) E6750 CPU @ 3.15GHz</string> <key>SMcpumanufacturer</key> <string>Intel(R) Corporation</string> <key>SMcpuserial</key> <string>*****************</string> <key>SMcpusocket</key> <string>LGA775</string> <key>SMfamily</key> <string>MacPro</string> <key>SMmanufacturer</key> <string>Apple Inc.</string> <key>SMmemspeed</key> <string>800</string> <key>SMproductname</key> <string>MacPro3,1</string> <key>SMserial</key> <string>***********</string> <key>SMskunumber</key> <string>Mac-F42C88C8</string> <key>SMsystemversion</key> <string>1.0</string> </dict> </plist> Am I doing wrong something in my smbios.plist? Someone told me that base board getting empty fields because my processor doesn't shows serial number. But now it does, so I don't understand what is the problem. Link to comment Share on other sites More sharing options...
Bungo Posted January 24, 2014 Share Posted January 24, 2014 Chameleon still can't add/patch fields not presented in your original smbios e.g older smbioses (I'm workin on solution), this may be a cause. Chack your original smbios if entries you try to patch are present there. 1 Link to comment Share on other sites More sharing options...
Bungo Posted January 24, 2014 Share Posted January 24, 2014 Sorry guys. That was dumb. Lol. I7 3930k Rampage IV Extreme. In smbios smcpu type 1281 for 10.8.5 w MacPro5,1 and smcpu type 2561 for MP6,1 w 10.9.2. Both report unknow until I revert back to 2266. 2266 or earlier shows 6 core Xeon or E5 as expected. All versions I've tried after 2266 show unknown. Thanks for the awesome work!!!! More info, please (signature, bdmesg, plists, .ioreg etc.). BTW. If you're using SMcputype key, notice it's replaced by SMoemcputype. Link to comment Share on other sites More sharing options...
shilohhh Posted January 24, 2014 Share Posted January 24, 2014 More info, please (signature, bdmesg, plists, .ioreg etc.). BTW. If you're using SMcputype key, notice it's replaced by SMoemcputype. Hi Bungo, What doe you mean by "signature"? And I assume you just want bdmesg, & ioreg from the broken version and not 2266? <plist version="1.0"> <dict> <key>SMbiosvendor</key> <string>Apple Inc.</string> <key>SMbiosversion</key> <string>MP61.0116.B02</string> <key>SMboardproduct</key> <string>Mac-F60DEB81FF30ACF6</string> <key>SMfamily</key> <string>Mac Pro</string> <key>SMproductname</key> <string>MacPro6,1</string> <key>SMserial</key> <string>**PRIVATE**</string> <key>SMcputype</key> <string>2561</string> </dict> </plist> Link to comment Share on other sites More sharing options...
ErmaC Posted January 24, 2014 Author Share Posted January 24, 2014 I'm so ashamed, 'feel like a total noob!!! It was not a Chameleon issue per sé, it was a kernel cache issue from the very beginning! I have not sussed out the reason why kernel cache causes this issue but, at least, I can use the workaround of booting without kernel cache and everything is Ok. I have amended my Chameleon boot plist accordingly... I can now load trunk r2345 without problems. Sorry for the confusion guys. LOL No problem I'm going also to close the ticket on forge then... ErmaC Link to comment Share on other sites More sharing options...
Bungo Posted January 25, 2014 Share Posted January 25, 2014 Hi Bungo, What doe you mean by "signature"?] Most of us use it as info, look at bottom of my post. And I assume you just want bdmesg, & ioreg from the broken version and not 2266? Yes, I meant broken one. <plist version="1.0"><dict> <key>SMbiosvendor</key> <string>Apple Inc.</string> <key>SMbiosversion</key> <string>MP61.0116.B02</string> <key>SMboardproduct</key> <string>Mac-F60DEB81FF30ACF6</string> <key>SMfamily</key> <string>Mac Pro</string> <key>SMproductname</key> <string>MacPro6,1</string> <key>SMserial</key> <string>**PRIVATE**</string> <key>SMcputype</key> <string>2561</string> </dict> </plist> What here doesn't match? Find by your self comparng to another plists (even in this topic) Link to comment Share on other sites More sharing options...
nyolc8 Posted January 25, 2014 Share Posted January 25, 2014 Chameleon still can't add/patch fields not presented in your original smbios e.g older smbioses (I'm workin on solution), this may be a cause. Chack your original smbios if entries you try to patch are present there.How can I check the original smbios? Should I look it from Windows? I have aida64 but I can't find an option to make an smbios dump. edit: I found some values (the ones with the red arrow are all empty): So my problem is that there is no "DMI Motherboard Asset tag", etc. lines there? Right? Link to comment Share on other sites More sharing options...
Gringo Vermelho Posted January 25, 2014 Share Posted January 25, 2014 That's not what you have to look at. You have to look at an SMBIOS dump from the Mac Model that you're using in smbios.plist. I posted two links earlier in this thread where you can find a bunch of those, back on page 96 or something. To inject "not specified" add the key but leave the string blank. There's nothing you can do about the values that can't be injected by Chameleon, unless you want to investigate patching your DMI data directly in your motherboard BIOS, I know it can be done but I don't know what the implications are when booting Windows or Linux for example. /EDIT oh damn, sorry, I think I misunderstood. Anyway, try using a blank string with the chassis asset tag key and see what happens. Link to comment Share on other sites More sharing options...
Bungo Posted January 25, 2014 Share Posted January 25, 2014 How can I check the original smbios? Should I look it from Windows? I have aida64 but I can't find an option to make an smbios dump. edit: I found some values (the ones with the red arrow are all empty): Képernyőfelvétel (66).png So my problem is that there is no "DMI Motherboard Asset tag", etc. lines there? Right? There are some ways to get and decode smbios, I prefer the same method as for a patched one described here and here. Notice, blank lines may not be "blank" but may contain space char(s). "Not Specified" means no any string is provided - "blank" as you said, if some field (string index) is set to 0. May be I have a cure for your (and others) problem, try please 2346-test.zip Any feedback is welcome. Link to comment Share on other sites More sharing options...
Gringo Vermelho Posted January 25, 2014 Share Posted January 25, 2014 Another way is to boot a Linux Live DVD and just run dmidecode from a command prompt. This one is great: http://www.linuxmint.com/download.php Whichever distro you pick it probably won't include dmidecode, so use whatever means available (app manager, apt-get or whatever they call it) to pull down dmidecode, then use the "open command line window here" shortcut on the desktop and then just do dmidecode > smbiosdump.txt and there it is. Then save it to a flash drive if you don't have any writeable hard drive partitions to save it to, or you can email it to yourself using web mail. Link to comment Share on other sites More sharing options...
nyolc8 Posted January 25, 2014 Share Posted January 25, 2014 Thanks guys @Bungo: I'll try it as soon as I get to my hackintosh. Link to comment Share on other sites More sharing options...
nyolc8 Posted January 26, 2014 Share Posted January 26, 2014 r2346 test: Type: 1, Length: 27, Handle: 0x0001 System Information: Manufacturer: Apple Inc. Product Name: MacPro3,1 Version: 1.0 Serial Number: ** PRIVATE ** UUID: ** PRIVATE ** Wake-up Type: Power Switch SKU Number: Mac-F42C88C8 Family: MacPro Type: 2, Length: 15, Handle: 0x0002 Base Board Information: Manufacturer: Apple Inc. Product Name: Mac-F42C88C8 Version: Proto1 Serial Number: ** PRIVATE ** Asset Tag: Mac-F42C88C8 Location In Chassis: Part Component Type: Processor+Memory Module Type: 3, Length: 20, Handle: 0x0003 Chassis Information: Manufacturer: Apple Inc. Type: Tower Version: Mac-F42C88C8 Serial Number: ** PRIVATE ** Asset Tag: Pro-Enclosure Works like charm! No more empty fields. AAAAAnd I'm getting the processor tray serial number line in System Profiler now : 2 Link to comment Share on other sites More sharing options...
Smith@@™ Posted January 26, 2014 Share Posted January 26, 2014 There are some ways to get and decode smbios, I prefer the same method as for a patched one described here and here. Notice, blank lines may not be "blank" but may contain space char(s). "Not Specified" means no any string is provided - "blank" as you said, if some field (string index) is set to 0. May be I have a cure for your (and others) problem, try please 2346-test.zip Any feedback is welcome. I have no processor serial number on my hp laptop, with all chameleon versions. But all works good with Apple services, on mbp there is that information in info system? Because in all mbp 8.x smbios i never seen this info about processor serial number.. Link to comment Share on other sites More sharing options...
nyolc8 Posted January 26, 2014 Share Posted January 26, 2014 I have no processor serial number on my hp laptop, with all chameleon versions. But all works good with Apple services, on mbp there is that information in info system? Because in all mbp 8.x smbios i never seen this info about processor serial number..I think processor tray serialnumber is only present on macpro-s, so it shouldn't appear on a macbookpro smbios model. Link to comment Share on other sites More sharing options...
Bungo Posted January 26, 2014 Share Posted January 26, 2014 I have no processor serial number on my hp laptop, with all chameleon versions. But all works good with Apple services, on mbp there is that information in info system? Because in all mbp 8.x smbios i never seen this info about processor serial number.. I've never seen cpu sn in real MB(P)'s SysProf. If you still need it in your SysProf do this trick r2346 test: Works like charm! No more empty fields. AAAAAnd I'm getting the processor tray serial number line in System Profiler now : gsdsgs.jpg r2346 test fixes only Base Board (table type 2) entries now. Next I'll apply it for rest important tables. Link to comment Share on other sites More sharing options...
ErmaC Posted January 28, 2014 Author Share Posted January 28, 2014 TEST VERSION. Before merge the latest Bungo's changes (length of DMI tables) into the main trunk I will post here a precompiled version: PLS test it. (SMBIOS changes credits to Bungo) here the next coming 2354 --> i386_v2354-TEST.zip ErmaC Link to comment Share on other sites More sharing options...
nyolc8 Posted January 28, 2014 Share Posted January 28, 2014 Can we get some information to know what we need to focus for in this new test version? Link to comment Share on other sites More sharing options...
Recommended Posts