Jump to content

Chameleon 2.4svn Official PKG Installer


ErmaC
 Share

4,261 posts in this topic

Recommended Posts

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

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

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

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

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

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

  • Like 1
Link to comment
Share on other sites

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

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.

  • Like 1
Link to comment
Share on other sites

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 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

:blush: 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

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

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):

post-150972-0-78881900-1390655691_thumb.png

 

So my problem is that there is no "DMI Motherboard Asset tag", etc. lines there? Right?

Link to comment
Share on other sites

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

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):

attachicon.gifKé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

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

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!  :thumbsup_anim:

No more empty fields.

 

AAAAAnd I'm getting the processor tray serial number line in System Profiler now B) :

post-150972-0-38205900-1390742633_thumb.jpg

  • Like 2
Link to comment
Share on other sites

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 attachicon.gif2346-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

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

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!  :thumbsup_anim:

No more empty fields.

 

AAAAAnd I'm getting the processor tray serial number line in System Profiler now B) :

attachicon.gifgsdsgs.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

 Share

×
×
  • Create New...