overdue-scratch

Author Topic: ChameleonPrefPane revived  (Read 25874 times)

0 Members and 1 Guest are viewing this topic.

rekursor

  • VoodooLabs
  • Posts: 47
ChameleonPrefPane revived
« on: November 19, 2011, 03:00:54 AM »
Hi folks,
it's been a while I didn't have a look to our booter+preference pane app,

I'd like to get some feedback if possible on my recent changes, I'm currently implementing a new partition extractor engine based on more advanced objc API, so now I don't rely on diskutil anymore.

Now I can efficiently extract Volume UUID for each partitions,  but I noticed uuid implementation on chameleons is unfortunately not compatible for windows partitions with those uuids calculated for hfs partitions. it looks like only a 32 bits portion of  the uuid is stored internally at chameleon boot time making impossible to match these windows (i.e.) NTFS partitions uuids with the ones that are available on OSX (4-2-2-2-6 sequences of bytes )

That's too bad because if we could harmonize the way we construct uuid's in the booter with the uuids available once  in OSX ; I could setup automatically this uuid to match and therefore avoid nasty side effects of hd(x,y) part numbers not matching once in OSX with those at chameleon boot time ...

Once this is sorted out, it is a piece of cake to add more intuitive features (like partitions renaming and even hide/show partitions from the table list view on clean fundations.

Use of UUIDs for the preference panel is an old idea and I think we could do it now, then freeze functionality won't be necessary anymore as unique ids will be the preferred way to specify a particular partition ;-)


If other devs wants to participate here, they are welcome.

-Rek
« Last Edit: November 19, 2011, 03:04:42 AM by rekursor »

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: ChameleonPrefPane revived
« Reply #1 on: November 19, 2011, 10:51:43 AM »
Welcome back Rek. It's been a long time!

I've been very busy this last couple of weeks with a major project in my day job and will be for probably another week or two so I've had little time for anything hack related.  As a result I didn't realise you've been working on the prefpane again. Nice.

To be honest I haven't used your prefpane in a long time so it will be nice to get involved again, though at a basic level as I'm not a dev, which brings me to how do I compile it for testing?  I've currently got Xcode 4.2 installed.  :P

I won't be able to give my full attention for a while but at least I could provide piecemeal feedback over the next couple of weeks if that's any help to you?

Hopefully others will join and help you.

Regards
blackosx
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: ChameleonPrefPane revived
« Reply #2 on: November 20, 2011, 10:59:46 AM »
Testing the latest build (commit 364) from the forge:
http://forge.voodooprojects.org/p/chameleonApplications/source/tree/HEAD/trunk/ChameleonPrefPane/bin/OSX106

I no longer user 10.6 so I am testing on 10.7. It won't run as I receive the following:
Preferences Error, Could not load Chameleon preference pane.

Screenshot attached.
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: ChameleonPrefPane revived
« Reply #3 on: November 21, 2011, 11:31:13 PM »
Rek - Here's dump from system log when Chameleon pref pane fails to load in 10.7.2
Code: [Select]
Nov 21 22:29:31 Blackosxs-Mac-Pro System Preferences[539]: unlockFocus called too many time.
Nov 21 22:29:31: --- last message repeated 1 time ---
Nov 21 22:29:31 Blackosxs-Mac-Pro System Preferences[539]: org.chameleon.Chameleon failed to load.
NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds
Nov 21 22:29:31 Blackosxs-Mac-Pro System Preferences[539]: NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds
Nov 21 22:29:31 Blackosxs-Mac-Pro System Preferences[539]: (
0   CoreFoundation                      0x00007fff94397286 __exceptionPreprocess + 198
1   libobjc.A.dylib                     0x00007fff8b304d5e objc_exception_throw + 43
2   CoreFoundation                      0x00007fff943970ba +[NSException raise:format:arguments:] + 106
3   CoreFoundation                      0x00007fff94397044 +[NSException raise:format:] + 116
4   Foundation                          0x00007fff8e49433d -[NSRLEArray objectAtIndex:effectiveRange:] + 117
5   Foundation                          0x00007fff8e494281 -[NSConcreteAttributedString attributesAtIndex:effectiveRange:] + 48
6   Chameleon                           0x000000010c1eeec5 -[CenteredTextFieldCell drawInteriorWithFrame:inView:] + 180
7   AppKit                              0x00007fff8fb81b66 -[NSTableView drawRow:clipRect:] + 1647
8   AppKit                              0x00007fff8fb81343 -[NSTableView drawRowIndexes:clipRect:] + 565
9   AppKit                              0x00007fff8fb7f465 -[NSTableView drawRect:] + 1390
10  AppKit                              0x00007fff8fc69782 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] + 1435
11  AppKit                              0x00007fff8fc87a26 __-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke_1 + 94
12  AppKit                              0x00007fff8fc876d4 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2001
13  QuartzCore                          0x00007fff8ef109bc -[CALayer drawInContext:] + 145
14  QuartzCore                          0x00007fff8ef0fb05 CABackingStoreUpdate_ + 3221
15  QuartzCore                          0x00007fff8ef0ea14 _ZN2CA5Layer8display_Ev + 1086
16  QuartzCore                          0x00007fff8ef06724 _ZN2CA5Layer17display_if_neededEPNS_11TransactionE + 560
17  QuartzCore                          0x00007fff8ef056d7 _ZN2CA7Context18commit_transactionEPNS_11TransactionE + 319
18  QuartzCore                          0x00007fff8ef05454 _ZN2CA11Transaction6commitEv + 274
19  QuartzCore                          0x00007fff8ef04a55 _ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv + 63
20  CoreFoundation                      0x00007fff94356f37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
21  CoreFoundation                      0x00007fff94356e96 __CFRunLoopDoObservers + 374
22  CoreFoundation                      0x00007fff9432bb02 CFRunLoopRunSpecific + 258
23  HIToolbox                           0x00007fff88ba23d3 RunCurrentEventLoopInMode + 277
24  HIToolbox                           0x00007fff88ba958f ReceiveNextEventCommon + 181
25  HIToolbox                           0x00007fff88ba94ca BlockUntilNextEventMatchingListInMode + 62
26  AppKit                              0x00007fff8fa9a3f1 _DPSNextEvent + 659
27  AppKit                              0x00007fff8fa99cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
28  AppKit                              0x00007fff8fa9662d -[NSApplication run] + 470
29  AppKit                              0x00007fff8fd1580c NSApplicationMain + 867
30  System Preferences                  0x0000000108e79dbc System Preferences + 7612
31  ???                                 0x0000000000000002 0x0 + 2
)
Nov 21 22:29:31 Blackosxs-Mac-Pro System Preferences[539]: unlockFocus called too many time.
Nov 21 22:29:31: --- last message repeated 1 time ---
Nov 21 22:29:31 Blackosxs-Mac-Pro System Preferences[539]: NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds
Nov 21 22:29:31 Blackosxs-Mac-Pro System Preferences[539]: (
0   CoreFoundation                      0x00007fff94397286 __exceptionPreprocess + 198
1   libobjc.A.dylib                     0x00007fff8b304d5e objc_exception_throw + 43
2   CoreFoundation                      0x00007fff943970ba +[NSException raise:format:arguments:] + 106
3   CoreFoundation                      0x00007fff94397044 +[NSException raise:format:] + 116
4   Foundation                          0x00007fff8e49433d -[NSRLEArray objectAtIndex:effectiveRange:] + 117
5   Foundation                          0x00007fff8e494281 -[NSConcreteAttributedString attributesAtIndex:effectiveRange:] + 48
6   Chameleon                           0x000000010c1eeec5 -[CenteredTextFieldCell drawInteriorWithFrame:inView:] + 180
7   AppKit                              0x00007fff8fb81b66 -[NSTableView drawRow:clipRect:] + 1647
8   AppKit                              0x00007fff8fb81343 -[NSTableView drawRowIndexes:clipRect:] + 565
9   AppKit                              0x00007fff8fb7f465 -[NSTableView drawRect:] + 1390
10  AppKit                              0x00007fff8fc69782 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] + 1435
11  AppKit                              0x00007fff8fc87a26 __-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke_1 + 94
12  AppKit                              0x00007fff8fc876d4 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2001
13  QuartzCore                          0x00007fff8ef109bc -[CALayer drawInContext:] + 145
14  QuartzCore                          0x00007fff8ef0fb05 CABackingStoreUpdate_ + 3221
15  QuartzCore                          0x00007fff8ef0ea14 _ZN2CA5Layer8display_Ev + 1086
16  AppKit                              0x00007fff8fc228be -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 163
17  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
18  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
19  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
20  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
21  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
22  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
23  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
24  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
25  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
26  AppKit                              0x00007fff8fc22541 -[NSView(NSLayerKitGlue) _drawRectAsLayerTree:] + 128
27  AppKit                              0x00007fff8fae624f -[NSView _drawRect:clip:] + 4382
28  AppKit                              0x00007fff8fb138c4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1583
29  AppKit                              0x00007fff8fb13cf0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
30  AppKit                              0x00007fff8fae35ba -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 1032
31  AppKit                              0x00007fff8fae2ab3 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 270
32  AppKit                              0x00007fff8faddec9 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4755
33  AppKit                              0x00007fff8fad693e -[NSView displayIfNeeded] + 1676
34  AppKit                              0x00007fff8fad607d _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 648
35  CoreFoundation                      0x00007fff94356f37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
36  CoreFoundation                      0x00007fff94356e96 __CFRunLoopDoObservers + 374
37  CoreFoundation                      0x00007fff9432c159 __CFRunLoopRun + 825
38  CoreFoundation                      0x00007fff9432bae6 CFRunLoopRunSpecific + 230
39  HIToolbox                           0x00007fff88ba23d3 RunCurrentEventLoopInMode + 277
40  HIToolbox                           0x00007fff88ba958f ReceiveNextEventCommon + 181
41  HIToolbox                           0x00007fff88ba94ca BlockUntilNextEventMatchingListInMode + 62
42  AppKit                              0x00007fff8fa9a3f1 _DPSNextEvent + 659
43  AppKit                              0x00007fff8fa99cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
44  AppKit                              0x00007fff8fa9662d -[NSApplication run] + 470
45  AppKit                              0x00007fff8fd1580c NSApplicationMain + 867
46  System Preferences                  0x0000000108e79dbc System Preferences + 7612
47  ???                                 0x0000000000000002 0x0 + 2
)
Nov 21 22:29:31 Blackosxs-Mac-Pro System Preferences[539]: unlockFocus called too many time.
Nov 21 22:29:31: --- last message repeated 1 time ---
Nov 21 22:29:31 Blackosxs-Mac-Pro System Preferences[539]: NSMutableRLEArray objectAtIndex:effectiveRange:: Out of bounds
Nov 21 22:29:31 Blackosxs-Mac-Pro System Preferences[539]: (
0   CoreFoundation                      0x00007fff94397286 __exceptionPreprocess + 198
1   libobjc.A.dylib                     0x00007fff8b304d5e objc_exception_throw + 43
2   CoreFoundation                      0x00007fff943970ba +[NSException raise:format:arguments:] + 106
3   CoreFoundation                      0x00007fff94397044 +[NSException raise:format:] + 116
4   Foundation                          0x00007fff8e49433d -[NSRLEArray objectAtIndex:effectiveRange:] + 117
5   Foundation                          0x00007fff8e494281 -[NSConcreteAttributedString attributesAtIndex:effectiveRange:] + 48
6   Chameleon                           0x000000010c1eeec5 -[CenteredTextFieldCell drawInteriorWithFrame:inView:] + 180
7   AppKit                              0x00007fff8fb81b66 -[NSTableView drawRow:clipRect:] + 1647
8   AppKit                              0x00007fff8fb81343 -[NSTableView drawRowIndexes:clipRect:] + 565
9   AppKit                              0x00007fff8fb7f465 -[NSTableView drawRect:] + 1390
10  AppKit                              0x00007fff8fc69782 -[NSView(NSInternal) _recursive:displayRectIgnoringOpacity:inContext:topView:] + 1435
11  AppKit                              0x00007fff8fc87a26 __-[NSView(NSLayerKitGlue) drawLayer:inContext:]_block_invoke_1 + 94
12  AppKit                              0x00007fff8fc876d4 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 2001
13  QuartzCore                          0x00007fff8ef109bc -[CALayer drawInContext:] + 145
14  QuartzCore                          0x00007fff8ef0fb05 CABackingStoreUpdate_ + 3221
15  QuartzCore                          0x00007fff8ef0ea14 _ZN2CA5Layer8display_Ev + 1086
16  AppKit                              0x00007fff8fc228be -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 163
17  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
18  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
19  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
20  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
21  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
22  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
23  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
24  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
25  AppKit                              0x00007fff8fc229d4 -[NSView(NSInternal) _recursiveDisplayViewsIntoLayersIfNeeded] + 441
26  AppKit                              0x00007fff8fc22541 -[NSView(NSLayerKitGlue) _drawRectAsLayerTree:] + 128
27  AppKit                              0x00007fff8fae624f -[NSView _drawRect:clip:] + 4382
28  AppKit                              0x00007fff8fb138c4 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1583
29  AppKit                              0x00007fff8fb13cf0 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 2651
30  AppKit                              0x00007fff8fae35ba -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 1032
31  AppKit                              0x00007fff8fae2ab3 -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 270
32  AppKit                              0x00007fff8faddec9 -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 4755
33  AppKit                              0x00007fff8fad693e -[NSView displayIfNeeded] + 1676
34  AppKit                              0x00007fff8fad607d _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 648
35  CoreFoundation                      0x00007fff94356f37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
36  CoreFoundation                      0x00007fff94356e96 __CFRunLoopDoObservers + 374
37  CoreFoundation                      0x00007fff9432c159 __CFRunLoopRun + 825
38  CoreFoundation                      0x00007fff9432bae6 CFRunLoopRunSpecific + 230
39  HIToolbox                           0x00007fff88ba23d3 RunCurrentEventLoopInMode + 277
40  HIToolbox                           0x00007fff88ba958f ReceiveNextEventCommon + 181
41  HIToolbox                           0x00007fff88ba94ca BlockUntilNextEventMatchingListInMode + 62
42  AppKit                              0x00007fff8fa9a3f1 _DPSNextEvent + 659
43  AppKit                              0x00007fff8fa99cf5 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
44  AppKit                              0x00007fff8fa9662d -[NSApplication run] + 470
45  AppKit                              0x00007fff8fd1580c NSApplicationMain + 867
46  System Preferences                  0x0000000108e79dbc System Preferences + 7612
47  ???                                 0x0000000000000002 0x0 + 2
)
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

rekursor

  • VoodooLabs
  • Posts: 47
Re: ChameleonPrefPane revived
« Reply #4 on: November 27, 2011, 09:25:53 PM »
Make sure you uninstalled and reinstall the prefpane, i most of the time only test the user local install (not the install for all users though I'm confident it should work as well).
The 368 fixes few more issues,notably with privileges for the rescue disk boot cd creator.
Make sure you use the bin/OSX106 folder content don't use your own builds yet until you have something working.

I'd like someone to check the international resources, something has been messed since I came back to it and haven't too much time to go to it.

There's also an absolute path dependency in the project currently, so to be able to build it , the easiest way right now should be to create a folder named exactly:
~/devl/OSX/voodoo/chameleonApplications/trunk/ChameleonPrefPane
and put the trunk source into it and build.
BTW I use XCode 3.2.6

If I remember you use an efi dedicated partition for install, that could be interesting to understand why your config has a problem with the prefpane ...
« Last Edit: November 27, 2011, 09:27:35 PM by rekursor »

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: ChameleonPrefPane revived
« Reply #5 on: November 29, 2011, 12:24:13 AM »
Make sure you uninstalled and reinstall the prefpane, i most of the time only test the user local install (not the install for all users though I'm confident it should work as well).
That was the first thing I tried. It makes no difference.
I've even tried on a backup 10.7.1 system here which never previously had the Chameleon pref pane installed and I still see the same error.

Make sure you use the bin/OSX106 folder content don't use your own builds yet until you have something working.
Yes. I'm using the binary from bin/OSX106.

There's also an absolute path dependency in the project currently, so to be able to build it , the easiest way right now should be to create a folder named exactly:
~/devl/OSX/voodoo/chameleonApplications/trunk/ChameleonPrefPane
and put the trunk source into it and build.
BTW I use XCode 3.2.6
I did spot the absolute path as one of the errors flagged by Xcode but I had no idea how to fix. Thanks for the pointer and I have now moved the source to the correct location, so that's one error less. I've attached a screenshot from Xcode 4.2 to show you what I see  :P

Though I no longer have the need to build it from source since you've now included an up to date binary.

If I remember you use an efi dedicated partition for install, that could be interesting to understand why your config has a problem with the prefpane ...
I'm using a separate standard 1GB disk partition dedicated for Chameleon. Not the EFI system partition.
« Last Edit: November 29, 2011, 12:26:31 AM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

rekursor

  • VoodooLabs
  • Posts: 47
Re: ChameleonPrefPane revived
« Reply #6 on: November 29, 2011, 02:54:56 AM »
The screenshot displays a Xcode 4.2 version and I said I only built it with 3.2.6
You can install 3.2.6 in Lion without problems, in fact I'm testing Lion right now on two 10.7.2 Lion machines  (including one genuine imac 27" !) and in both lion systems, that launches in the prefpane with no worries.

rekursor

  • VoodooLabs
  • Posts: 47
Re: ChameleonPrefPane revived
« Reply #7 on: November 29, 2011, 03:13:03 AM »
I got more feedback of the only other guy for whom it's not working ; it seems that some partition might cause a crash ...
If you can install Xcode 3.2.6 and then open the test_util project (a new unit testing project I recently added) and tell me if it crashes that would be great.
you might find easier to compile and run that small (console) project.

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: ChameleonPrefPane revived
« Reply #8 on: November 29, 2011, 08:25:46 PM »
The test util app builds and runs just fine. (I managed to do that  :P)
Here's the result:

Code: [Select]
2011-11-29 19:22:38.707 test_util[284:707] List of existing bsd disk partitions:
 (
    disk0,
    disk0s1,
    disk0s2,
    disk0s3,
    disk0s4,
    disk0s5,
    disk0s6,
    disk0s7,
    disk1,
    disk1s1,
    disk1s2,
    disk1s3,
    disk1s4
)
2011-11-29 19:22:38.717 test_util[284:707] PartionBootable = 1
(
  bsdName        (null)
  deviceProtocol SATA
  deviceInternal 1
  volumeName     HackBoot
  volumeKind     hfs
  volumeUUID     80CF3629-91E3-3F3F-B577-7D79DAFFB552
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT0@0/PMP@0/@0:2
  mediaRemovable 0
)
2011-11-29 19:22:38.717 test_util[284:707] PartionBootable = 1
(
  bsdName        (null)
  deviceProtocol SATA
  deviceInternal 1
  volumeName     MainSystem
  volumeKind     hfs
  volumeUUID     FE56DE3D-9461-364B-A6B1-447A18B47549
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT0@0/PMP@0/@0:3
  mediaRemovable 0
)
2011-11-29 19:22:38.718 test_util[284:707] PartionBootable = 0
(
  bsdName        (null)
  deviceProtocol SATA
  deviceInternal 1
  volumeName     WINDOWS
  volumeKind     msdos
  volumeUUID     
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT0@0/PMP@0/@0:4
  mediaRemovable 0
)
2011-11-29 19:22:38.718 test_util[284:707] PartionBootable = 1
(
  bsdName        (null)
  deviceProtocol SATA
  deviceInternal 1
  volumeName     BackupSystem
  volumeKind     hfs
  volumeUUID     C973B5A8-BA80-3139-B81D-4F9D46B05204
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT0@0/PMP@0/@0:5
  mediaRemovable 0
)
2011-11-29 19:22:38.719 test_util[284:707] PartionBootable = 1
(
  bsdName        (null)
  deviceProtocol SATA
  deviceInternal 1
  volumeName     Mac OS X Base System
  volumeKind     hfs
  volumeUUID     80315E1E-FC03-3082-A3C4-24FEF5048C4F
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT0@0/PMP@0/@0:6
  mediaRemovable 0
)
2011-11-29 19:22:38.719 test_util[284:707] PartionBootable = 0
(
  bsdName        (null)
  deviceProtocol SATA
  deviceInternal 1
  volumeName     Store
  volumeKind     hfs
  volumeUUID     2D73BAFD-2D77-3C2C-A62B-76F3ACDA85DE
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT0@0/PMP@0/@0:7
  mediaRemovable 0
)
2011-11-29 19:22:38.719 test_util[284:707] PartionBootable = 1
(
  bsdName        (null)
  deviceProtocol SATA
  deviceInternal 1
  volumeName     Mac
  volumeKind     hfs
  volumeUUID     E3EA05BB-E64C-3ED9-96C5-832B84677FE0
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT1@1/PMP@0/@0:2
  mediaRemovable 0
)
2011-11-29 19:22:38.720 test_util[284:707] PartionBootable = 0
(
  bsdName        (null)
  deviceProtocol SATA
  deviceInternal 1
  volumeName     SPARE
  volumeKind     msdos
  volumeUUID     
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT1@1/PMP@0/@0:4
  mediaRemovable 0
)
2011-11-29 19:22:38.721 test_util[284:707]  Rename part HackBoot -> Test
2011-11-29 19:22:38.721 test_util[284:707]  Rename part MainSystem -> Fantastic
2011-11-29 19:22:38.721 test_util[284:707]  Rename part WINDOWS -> A BC
2011-11-29 19:22:38.722 test_util[284:707]  Rename part HackBoot -> DEF
logout

[Process completed]
« Last Edit: November 29, 2011, 08:27:41 PM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

rekursor

  • VoodooLabs
  • Posts: 47
Re: ChameleonPrefPane revived
« Reply #9 on: December 01, 2011, 01:53:33 AM »
Wow this appears *not* to be  fine :)
Thank you, at least I fixed why we wouldn't see the bsdName in the data structure ...
I'm in the midst of finishing the BIOS feature by adding smbios info directly from IORegistry, so I'm not sure I'll build a new bin now :)

rekursor

  • VoodooLabs
  • Posts: 47
Re: ChameleonPrefPane revived
« Reply #10 on: December 01, 2011, 02:50:50 AM »
Please try latest r372 bin, might fix your problem now hopefully ...

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: ChameleonPrefPane revived
« Reply #11 on: December 01, 2011, 08:01:14 AM »
I had 10 minutes before work this morning so had a quick test.
Here's the latest result (now with SMBIOS info) from the new testutil:
Code: [Select]
2011-12-01 06:51:50.172 test_util[277:707] Found SMBIOS (5412) [00180000010200f0031f90de8b7f010000003305080fffff4170706c6520436f6d70757465722c20496e632e004d5034312e38385a2e303038312e4230342e303930333035313131330031312f30362f323030390000011b010001020304006f001e8c0000b91efa90e6ba9d20300605064170706c6520496e632e004d616350726f342c3100312e3000434b39323634343334504300546f2042652046696c6c6564204279204f2e452e4d2e004d616350726f0000020f02000102030405090603000a004170706c6520496e632e004d61632d46323231424543380052657620322e78780031303234333933313030303031323800546f2042652046696c6c6564204279204f2e452e4d2e00546f2042652046696c6c6564204279204f2e452e4d2e000003150300010302030403030303110000000001000043686173736973204d616e756661637475726500436861737369732056657273696f6e00436861737369732053657269616c204e756d6265720041737365742d313233343536373839300000042804000103c602a5060100fffbebbf038c85006e0a6a0a410105000600070004050604040804004c47413133363600496e74656c00496e74656c28522920436f726528544d292069372043505520393230204020322e363747487a00546f2042652046696c6c6564204279204f2e452e4d2e00546f2042652046696c6c6564204279204f2e452e4d2e00546f2042652046696c6c6564204279204f2e452e4d2e0000071305000180000001000101000100000403054c312d43616368650000071306000181000004000401000100000505074c322d43616368650000071307000182010020002001000100000505084c332d43616368650000051c0800060403030c0c000005020609000a000b000c000d000e00040000060c0900011f0100010b0b0044494d4d300000060c0a0001000002007f7f0044494d4d310000060c0b00013f0100010b0b0044494d4d320000060c0c0001000002007f7f0044494d4d330000060c0d00015f0100010b0b0044494d4d340000060c0e0001000002007f7f0044494d4d35000008090f000100020f0d50532f32204b6579626f6172640050532f32204b6579626f6172640000080910000100021210555342313200555342313200000809110001000212105553423334005553423334000008091200010002121055534235360055534235360000080913000100021210555342373800555342373800000809140001000221114945313339345f310049454545313339342031000008091500010002212045534154410045534154410000080916000100020b1f4c414e3100476245204c414e2031000008091700010002ff1d415544494f00415544494f0000080918000100021f1d417564696f204c696e65204f75743100417564696f204c696e65204f7574310000080919000100021f1d417564696f204c696e65204f75743200417564696f204c696e65204f757432000008091a000100021f1d417564696f204c696e65204f75743300417564696f204c696e65204f757433000008091b000100021f1d417564696f204c696e65204f75743400417564696f204c696e65204f757434000008091c000100021f1d417564696f204c696e65204f75743500417564696f204c696e65204f757435000008091d000100021f1d417564696f204c696e65204f75743600417564696f204c696e65204f757436000008091e0001220000205341544131000008091f00012200002053415441320000080920000122000020534154413300000809210001220000205341544134000008092200012200002053415441350000080923000122000020534154413600000809240001220000205052495f45494445000008092500011200001055534239313000000809260001120000105553423131313200000809270001120000105553423133313400000809280001210000114945313339345f32000008092900011c00001d4344000008092a00011f00001d41414650000008092b0001ff0000ff4350555f46414e000008092c0001ff0000ff4348415f46414e31000008092d0001ff0000ff4348415f46414e32000008092e00011c00001d53504449465f4f5554000008092f00011c00001d46505f415544494f0000090d300001a505040301000c01536c6f742d310000090d310001a505030302000c01536c6f742d320000090d320001a505030303000c01536c6f742d330000090d3300010605030304000c01536c6f742d3400000a0634008501204f6e626f6172642045746865726e657400000b05350004546f2042652046696c6c6564204279204f2e452e4d2e00546f2042652046696c6c6564204279204f2e452e4d2e00546f2042652046696c6c6564204279204f2e452e4d2e00546f2042652046696c6c6564204279204f2e452e4d2e00000d163600060000000000000000000000000000000001656e7c55537c69736f383835392d31007a687c5a487c69736f383835392d310064657c44457c69736f383835392d3100636e7c434e7c69736f383835392d310066727c46527c69736f383835392d31006a617c4a507c756e69636f64652d3100000f373700f00310201020a0010000000000c0fbff000102a004ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000100f380003030600008001feff06000000130f390000000000000000003800010000111b3a003800feff4800400000080900010218020037050304050644494d4d300042414e4b3000436f72736169720030303030303030300041737365745461674e756d3000434d33583247313333334339000014133b0000000000000000003a00390001ff020000111b3c003800feff4800400000000900010201020000000304050644494d4d310042414e4b31004e2f41004e2f410041737365745461674e756d31004e2f41000014133d0000000000000000003c00390001ff020000111b3e003800feff4800400000080900010218020037050304050644494d4d320042414e4b3200436f72736169720030303030303030300041737365745461674e756d3200434d33583247313333334339000014133f0000000000000000003e00390001ff020000111b40003800feff4800400000000900010201020000000304050644494d4d330042414e4b33004e2f41004e2f410041737365745461674e756d33004e2f4100001413410000000000000000004000390001ff020000111b42003800feff4800400000080900010218020037050304050644494d4d340042414e4b3400436f72736169720030303030303030300041737365745461674e756d3400434d3358324731333333433900001413430000000000000000004200390001ff020000111b44003800feff4800400000000900010201020000000304050644494d4d350042414e4b35004e2f41004e2f410041737365745461674e756d35004e2f4100001413450000000000000000004400390001ff020000201446000000000000000000000000000000000000008b5e4700001e8c0000b91efa04043255f800a202a10040634310848303df4080002000733c100800600f4310150420003c10000000431000000000000000000000000000fa1eb9ffff8c1e000400002333000000000000000000000000015631333934475549440000830647000107000084064800001900007f0449000000]

Type: 0, Length: 24, Handle: 0x0
BIOSInformation:
vendor: Apple Computer, Inc.
version: MP41.88Z.0081.B04.0903051113
releaseDate: 11/06/2009

Type: 1, Length: 27, Handle: 0x1
SystemInformation:
manufacturer: Apple Inc.
productName: MacPro4,1
version: 1.0
serialNumber: CK9524434PC
Type: 2, Length: 15, Handle: 0x2
BaseBoard:
manufacturer: Apple Inc.
product: Mac-F221BEC8
version: Rev 2.xx
serialNumber: 102439310000128
assetTagNumber: To Be Filled By O.E.M.
locationInChassis: To Be Filled By O.E.M.
boardType: 0xA

Type: 3, Length: 21, Handle: 0x3
SystemEnclosure:
manufacturer: Chassis Manufacture
type: 3
version: Chassis Version
serialNumber: Chassis Serial Number
assetTagNumber: Asset-1234567890

Type: 4, Length: 40, Handle: 0x4
ProcessorInformation:
socketDesignation: LGA1366
processorType: 3
processorFamily: 0xC6
manufacturer: Intel
processorID: 0xBFEBFBFF000106A5
processorVersion: Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz
externalClock: 133MHz
maximumClock: 2670MHz
currentClock: 2666MHz
Type: 7, Length: 19, Handle: 0x5
Type: 7, Length: 19, Handle: 0x6
Type: 7, Length: 19, Handle: 0x7
Type: 5, Length: 28, Handle: 0x8
Type: 6, Length: 12, Handle: 0x9
Type: 6, Length: 12, Handle: 0xa
Type: 6, Length: 12, Handle: 0xb
Type: 6, Length: 12, Handle: 0xc
Type: 6, Length: 12, Handle: 0xd
Type: 6, Length: 12, Handle: 0xe
Type: 8, Length: 9, Handle: 0xf
Type: 8, Length: 9, Handle: 0x10
Type: 8, Length: 9, Handle: 0x11
Type: 8, Length: 9, Handle: 0x12
Type: 8, Length: 9, Handle: 0x13
Type: 8, Length: 9, Handle: 0x14
Type: 8, Length: 9, Handle: 0x15
Type: 8, Length: 9, Handle: 0x16
Type: 8, Length: 9, Handle: 0x17
Type: 8, Length: 9, Handle: 0x18
Type: 8, Length: 9, Handle: 0x19
Type: 8, Length: 9, Handle: 0x1a
Type: 8, Length: 9, Handle: 0x1b
Type: 8, Length: 9, Handle: 0x1c
Type: 8, Length: 9, Handle: 0x1d
Type: 8, Length: 9, Handle: 0x1e
Type: 8, Length: 9, Handle: 0x1f
Type: 8, Length: 9, Handle: 0x20
Type: 8, Length: 9, Handle: 0x21
Type: 8, Length: 9, Handle: 0x22
Type: 8, Length: 9, Handle: 0x23
Type: 8, Length: 9, Handle: 0x24
Type: 8, Length: 9, Handle: 0x25
Type: 8, Length: 9, Handle: 0x26
Type: 8, Length: 9, Handle: 0x27
Type: 8, Length: 9, Handle: 0x28
Type: 8, Length: 9, Handle: 0x29
Type: 8, Length: 9, Handle: 0x2a
Type: 8, Length: 9, Handle: 0x2b
Type: 8, Length: 9, Handle: 0x2c
Type: 8, Length: 9, Handle: 0x2d
Type: 8, Length: 9, Handle: 0x2e
Type: 8, Length: 9, Handle: 0x2f
Type: 9, Length: 13, Handle: 0x30
Type: 9, Length: 13, Handle: 0x31
Type: 9, Length: 13, Handle: 0x32
Type: 9, Length: 13, Handle: 0x33
Type: 10, Length: 6, Handle: 0x34
Type: 11, Length: 5, Handle: 0x35
Type: 13, Length: 22, Handle: 0x36
Type: 15, Length: 55, Handle: 0x37
Type: 16, Length: 15, Handle: 0x38
Type: 19, Length: 15, Handle: 0x39
Type: 17, Length: 27, Handle: 0x3a
MemoryDevice:
deviceLocator: DIMM0
bankLocator: BANK0
memoryType: DDR3
memorySpeed: 1335MHz
manufacturer: Corsair
serialNumber: 00000000
assetTag: AssetTagNum0
partNumber: CM3X2G1333C9

Type: 20, Length: 19, Handle: 0x3b
Type: 17, Length: 27, Handle: 0x3c
MemoryDevice:
deviceLocator: DIMM1
bankLocator: BANK1
memoryType: RAM
memorySpeed: 0MHz
manufacturer: N/A
serialNumber: N/A
assetTag: AssetTagNum1
partNumber: N/A

Type: 20, Length: 19, Handle: 0x3d
Type: 17, Length: 27, Handle: 0x3e
MemoryDevice:
deviceLocator: DIMM2
bankLocator: BANK2
memoryType: DDR3
memorySpeed: 1335MHz
manufacturer: Corsair
serialNumber: 00000000
assetTag: AssetTagNum2
partNumber: CM3X2G1333C9

Type: 20, Length: 19, Handle: 0x3f
Type: 17, Length: 27, Handle: 0x40
MemoryDevice:
deviceLocator: DIMM3
bankLocator: BANK3
memoryType: RAM
memorySpeed: 0MHz
manufacturer: N/A
serialNumber: N/A
assetTag: AssetTagNum3
partNumber: N/A

Type: 20, Length: 19, Handle: 0x41
Type: 17, Length: 27, Handle: 0x42
MemoryDevice:
deviceLocator: DIMM4
bankLocator: BANK4
memoryType: DDR3
memorySpeed: 1335MHz
manufacturer: Corsair
serialNumber: 00000000
assetTag: AssetTagNum4
partNumber: CM3X2G1333C9

Type: 20, Length: 19, Handle: 0x43
Type: 17, Length: 27, Handle: 0x44
MemoryDevice:
deviceLocator: DIMM5
bankLocator: BANK5
memoryType: RAM
memorySpeed: 0MHz
manufacturer: N/A
serialNumber: N/A
assetTag: AssetTagNum5
partNumber: N/A

Type: 20, Length: 19, Handle: 0x45
Type: 32, Length: 20, Handle: 0x46
Type: 139, Length: 94, Handle: 0x47
Type: 131, Length: 6, Handle: 0x47
AppleProcessorType:
ProcessorType: 0x701

Type: 132, Length: 6, Handle: 0x48
AppleProcessorBusSpeed:
ProcessorBusSpeed (QPI): 6.4GT/s

Type: 127, Length: 4, Handle: 0x49

2011-12-01 06:51:50.178 test_util[277:707] List of existing bsd disk partitions:
 (
    disk0,
    disk0s1,
    disk0s2,
    disk0s3,
    disk0s4,
    disk0s5,
    disk0s6,
    disk0s7,
    disk1,
    disk1s1,
    disk1s2,
    disk1s3,
    disk1s4
)
2011-12-01 06:51:50.187 test_util[277:707] PartionBootable = 1
(
  bsdName        disk0s2
  deviceProtocol SATA
  deviceInternal 1
  volumeName     HackBoot
  volumeKind     hfs
  volumeUUID     80CF3629-91E3-3F3F-B577-7D79DAFFB552
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT0@0/PMP@0/@0:2
  mediaRemovable 0
)
2011-12-01 06:51:50.187 test_util[277:707] PartionBootable = 1
(
  bsdName        disk0s3
  deviceProtocol SATA
  deviceInternal 1
  volumeName     MainSystem
  volumeKind     hfs
  volumeUUID     FE56DE3D-9461-364B-A6B1-447A18B47549
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT0@0/PMP@0/@0:3
  mediaRemovable 0
)
2011-12-01 06:51:50.187 test_util[277:707] PartionBootable = 0
(
  bsdName        disk0s4
  deviceProtocol SATA
  deviceInternal 1
  volumeName     WINDOWS
  volumeKind     msdos
  volumeUUID     
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT0@0/PMP@0/@0:4
  mediaRemovable 0
)
2011-12-01 06:51:50.188 test_util[277:707] PartionBootable = 1
(
  bsdName        disk0s5
  deviceProtocol SATA
  deviceInternal 1
  volumeName     BackupSystem
  volumeKind     hfs
  volumeUUID     C973B5A8-BA80-3139-B81D-4F9D46B05204
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT0@0/PMP@0/@0:5
  mediaRemovable 0
)
2011-12-01 06:51:50.188 test_util[277:707] PartionBootable = 1
(
  bsdName        disk0s6
  deviceProtocol SATA
  deviceInternal 1
  volumeName     Mac OS X Base System
  volumeKind     hfs
  volumeUUID     80315E1E-FC03-3082-A3C4-24FEF5048C4F
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT0@0/PMP@0/@0:6
  mediaRemovable 0
)
2011-12-01 06:51:50.189 test_util[277:707] PartionBootable = 0
(
  bsdName        disk0s7
  deviceProtocol SATA
  deviceInternal 1
  volumeName     Store
  volumeKind     hfs
  volumeUUID     2D73BAFD-2D77-3C2C-A62B-76F3ACDA85DE
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT0@0/PMP@0/@0:7
  mediaRemovable 0
)
2011-12-01 06:51:50.189 test_util[277:707] PartionBootable = 1
(
  bsdName        disk1s2
  deviceProtocol SATA
  deviceInternal 1
  volumeName     Mac
  volumeKind     hfs
  volumeUUID     E3EA05BB-E64C-3ED9-96C5-832B84677FE0
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT1@1/PMP@0/@0:2
  mediaRemovable 0
)
2011-12-01 06:51:50.189 test_util[277:707] PartionBootable = 0
(
  bsdName        disk1s4
  deviceProtocol SATA
  deviceInternal 1
  volumeName     SPARE
  volumeKind     msdos
  volumeUUID     
  mediaPath      IODeviceTree:/PCI0@0/SATA@1F,2/PRT1@1/PMP@0/@0:4
  mediaRemovable 0
)
2011-12-01 06:51:50.190 test_util[277:707]  Rename part HackBoot -> Test
2011-12-01 06:51:50.190 test_util[277:707]  Rename part MainSystem -> Fantastic
2011-12-01 06:51:50.191 test_util[277:707]  Rename part WINDOWS -> A BC
2011-12-01 06:51:50.191 test_util[277:707]  Rename part HackBoot -> DEF
logout

[Process completed]


However, unfortunately, the latest pref pane still doesn't load.
The only thing I see in the system log now is:
Code: [Select]
Dec  1 06:58:24 Blackosxs-Mac-Pro System Preferences[424]: org.chameleon.Chameleon failed to load.
« Last Edit: December 01, 2011, 08:37:07 AM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

rekursor

  • VoodooLabs
  • Posts: 47
Re: ChameleonPrefPane revived
« Reply #12 on: December 02, 2011, 03:53:17 AM »
Did you test with a more common  mac pro 3.1 smbios.plist definition as opposed to a 4.1 definition (could matter, especially on Lion) ? 

rekursor

  • VoodooLabs
  • Posts: 47
Re: ChameleonPrefPane revived
« Reply #13 on: December 02, 2011, 04:08:18 AM »
EDIT: a problem with r372 happened and this was not the version I expected, please try now, (release build was old, only built in debug for which the batch that generates the bin has no effect).

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: ChameleonPrefPane revived
« Reply #14 on: December 02, 2011, 07:51:20 AM »
That's done it.. rev372 loads.
Thanks for spending the time to sort the problem. I haven't time to test it out this morning but I'll play with it later this evening.

:)
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB