Jump to content

Chameleon RC4 is out!


Poco
 Share

1,054 posts in this topic

Recommended Posts

I'm glad to introduces a new Chameleon dedicated os x application (probably the first ?) :

Wow! Thank you.

I will try it now and report back :(

 

EDIT:

It loads, but ...

Crashes if I try to scroll down the list.

Clicking the lock icon doesn't do anything.

Clicking Restart doesn't do anything (To be exact, it does show a dialog window asking me if I'm sure I want to restart, but then clicking OK doesn't do anything)

Link to comment
Share on other sites

Yes, this pre-release is only for SL 32/64, sorry :)

blackosx did you test it on on SL ?

Yep. 10.6.2. Currently running in 64-bit mode, shall I try in 32-bit mode?

 

EDIT: No joy in 32-bit mode either

And for the record, I get the same data in Crash Reporter as pontifex22 has posted below.

Link to comment
Share on other sites

Folks,

I'm glad to introduces a new Chameleon dedicated os x application (probably the first ?) :

A System Preference Pane permitting to select the boot partition ...

 

Great to see some progress, but:

Same here, it installs but crashes as soon as click on it in the systemprefs. :)

 

Some detail from the crash info if it helps:

 

Process:		 System Preferences [1811]
Path:			/Applications/System Preferences.app/Contents/MacOS/System Preferences
Identifier:	  com.apple.systempreferences
Version:		 7.0 (7.0)
Build Info:	  SystemPrefsApp-1750100~6
Code Type:	   X86-64 (Native)
Parent Process:  launchd [140]

PlugIn Path:	   /Library/PreferencePanes/Chameleon.prefPane/Contents/MacOS/Chameleon
PlugIn Identifier: com.chameleon.Chameleon
PlugIn Version:	1.0 (1.0)

Date/Time:	   2010-01-18 08:30:09.676 +0100
OS Version:	  Mac OS X 10.6.2 (10C540)
Report Version:  6

Interval Since Last Report:		  235058 sec
Crashes Since Last Report:		   3
Per-App Interval Since Last Report:  145 sec
Per-App Crashes Since Last Report:   3
Anonymous UUID:					  78DCD9CA-8104-492F-9BC1-B11C2F5A09FE

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Link to comment
Share on other sites

Good point. Also got Chameleon on EFI-Partition (Disk0s1 not s2).

Shouldnt matter.

 

blackosx, where is located your com.apple.Boot.plist ?

 

I checked the 10.5 env and noticed the sequence of message calls is not the same on 10.5 and 10.6 for the TableView controller ...

I fixed that and it should at least start now on 10.5 and hopefully 10.6

 

EDIT: I added more com.boot.apple.plist (now seeking in

/ /Extra /Library/Preferences/SystemConfiguration /V/EFI/E /V/Cham/E)

 

Fixed some security access issues and added Alert message boxes when boot conf is not found or boot conf has not been parsed successfully -> malformed xml file.

 

See in the annoucement topic for these versions (beta 4)

 

Thanks for early testing this toy !

Link to comment
Share on other sites

Cheers Rekursor, 106 version, installs but crashes when I click on a partition to load.

 

Error report

 

 Process:         System Preferences [306]
 Path:            /Applications/System <a class="linkification-ext" href=
"[url="http://Preferences.app/Contents/MacOS/System"]http://Preferences.app/Contents/MacOS/System[/url]" 
title="Linkification: [url="http://Preferences.app/Contents/MacOS/System"]http://Preferences.app/Contents/MacOS/System[/url]"
>[url="http://Preferences.app/Contents/MacOS/System"]Preferences.app/Contents/MacOS/System[/url]</a> 
Preferences
 Identifier:      com.apple.systempreferences
 Version:         7.0 (7.0)
 Build Info:      SystemPrefsApp-1750100~6
 Code Type:       X86-64 (Native)
 Parent Process:  launchd [160]

 PlugIn Path:       /Users/josh/Library/PreferencePanes/Chameleon.prefPane/Contents/MacOS/Chameleon
 PlugIn Identifier: com.chameleon.Chameleon
 PlugIn Version:    1.0 (1.0)

 Date/Time:       2010-01-18 08:49:46.934 +0000
 OS Version:      Mac OS X 10.6.2 (10C540)
 Report Version:  6

 Exception Type:  EXC_BREAKPOINT (SIGTRAP)
 Exception Codes: 0x0000000000000002, 0x0000000000000000
 Crashed Thread:  0  Dispatch queue: com.apple.main-thread

 Application Specific Information:
 objc[306]: garbage collection is ON

 Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
 0   com.apple.CoreFoundation          0x00007fff843b10a1 CFBasicHashReplaceValue + 257
 1   com.apple.CoreFoundation          0x00007fff843b0e77 CFDictionaryReplaceValue + 199
 2   com.chameleon.Chameleon           0x00000001137bf966 PropertyList::setStringForKey(char const*,
char const*) + 142
 3   com.chameleon.Chameleon           0x00000001137be7f4 -[ChameleonPrefPane tableViewSelectionDidChange:] + 259
 4   com.apple.Foundation              0x00007fff85ee785a _nsnote_callback + 167
 5   com.apple.CoreFoundation          0x00007fff84378e3a __CFXNotificationPost + 954
 6   com.apple.CoreFoundation          0x00007fff843653e8 _CFXNotificationPostNotification + 200
 7   com.apple.Foundation              0x00007fff85ede7c4 -[NSNotificationCenter 

postNotificationName:object:userInfo:] + 101
 8   com.apple.AppKit                  0x00007fff811be0f8 -[NSTableView _enableSelectionPostingAndPost] + 581
 9   com.apple.AppKit                  0x00007fff8127fd06 -[NSTableView mouseDown:] + 4536
 10  com.apple.AppKit                  0x00007fff8122168f -[NSWindow sendEvent:] + 5409
 11  com.apple.systempreferences       0x000000010000732a 0x100000000 + 29482
 12  com.apple.AppKit                  0x00007fff81156e22 -[NSApplication sendEvent:] + 4719
 13  com.apple.systempreferences       0x000000010000724e 0x100000000 + 29262
 14  com.apple.AppKit                  0x00007fff810ed796 -[NSApplication run] + 474
 15  com.apple.AppKit                  0x00007fff810e6468 NSApplicationMain + 364
 16  com.apple.systempreferences       0x0000000100001cf4 0x100000000 + 7412

 Thread 1:  Dispatch queue: com.apple.libdispatch-manager
 0   libSystem.B.dylib                 0x00007fff87a20bba kevent + 10
 1   libSystem.B.dylib                 0x00007fff87a22a85 _dispatch_mgr_invoke + 154
 2   libSystem.B.dylib                 0x00007fff87a2275c _dispatch_queue_invoke + 185
 3   libSystem.B.dylib                 0x00007fff87a22286 _dispatch_worker_thread2 + 244
 4   libSystem.B.dylib                 0x00007fff87a21bb8 _pthread_wqthread + 353
 5   libSystem.B.dylib                 0x00007fff87a21a55 start_wqthread + 13

 Thread 2:
 0   libSystem.B.dylib                 0x00007fff87a219da __workq_kernreturn + 10
 1   libSystem.B.dylib                 0x00007fff87a21dec _pthread_wqthread + 917
 2   libSystem.B.dylib                 0x00007fff87a21a55 start_wqthread + 13

 Thread 0 crashed with X86 Thread State (64-bit):
   rax: 0x00000000000000c0  rbx: 0x0000000200519ea0  rcx: 0x0000000000000000  rdx: 0x00000002002c1b80
   rdi: 0x0000000200519ea0  rsi: 0x0000000200073e80  rbp: 0x00007fff5fbfef20  rsp: 0x00007fff5fbfee80
    r8: 0x00000000000000c8   r9: 0x00000000000000c8  r10: 0x00007fff8443fab5  r11: 0x00007fff8444ddf6
   r12: 0x0000000200073e80  r13: 0x00000002002c1b80  r14: 0x00007fff5fbfefa0  r15: 0x0000000200519ea0
   rip: 0x00007fff843b10a1  rfl: 0x0000000000000202  cr2: 0x00000001000f6000


Link to comment
Share on other sites

blackosx, where is located your com.apple.Boot.plist ?

I have had to leave for work so unfortunately I can't continue testing for you until this evening.

But to answer your question, my com.apple.Boot.plist is located in /Volumes/Cham/Extra/

 

If it's any use, I took this screenshot earlier. Note, disk1 is the one I am using.

post-331032-1263805559_thumb.png

 

I will keep my eye on the progression of this though :(

Link to comment
Share on other sites

Version 1 Beta 2 for 10.6 does not crash.

I can change and restart fine.

But: it does not show any effect for me. :(

 

System starts on the same partition as always.

No changes noticed in /Library/Preferences/SystemConfiguration/com.apple.Boot.plist or

Volumes/EFI/Extra/com.apple.Boot.plist

 

Do I have to look for anything else or some other place?

Link to comment
Share on other sites

Version 1 Beta 2 for 10.6 does not crash.

I can change and restart fine.

But: it does not show any effect for me. :(

 

System starts on the same partition as always.

No changes noticed in /Library/Preferences/SystemConfiguration/com.apple.Boot.plist or

Volumes/EFI/Extra/com.apple.Boot.plist

 

Do I have to look for anything else or some other place?

I realize that those who boot on EFI partition wont see anything right now, I need to localize com.apple.Boot.plist and for now I don't seek /Volumes/EFI/Extra or /Volumes/Cham/Extra I will add that one too and an error message if it is not found ...

If it does not take effect in the boot config, this is probably because it cant find it to save it, I'll check that too especially in 10.5.

Link to comment
Share on other sites

I realize that those who boot on EFI partition wont see anything right now, I need to localize com.apple.Boot.plist and for now I don't seek /Volumes/EFI/Extra or /Volumes/Cham/Extra I will add that one too and an error message if it is not found ...

If it does not take effect in the boot config, this is probably because it cant find it to save it, I'll check that too especially in 10.5.

 

Same things for me, my com.apple.boot.plist is in the /extras directory on a dedicated partition (/Volumes/BootLoaders)

Link to comment
Share on other sites

Yes, Lizard is not the cleanest app made, but i published sources here:

http://code.google.com/p/lizard-app/

 

and lastest bin here:

http://dl.dropbox.com/u/1034555/lizard/Lizard-custom.zip

 

the app page is here, but link is not up to date:

http://darwinx86.org/software/darwinx86_software.html

 

Hope it helps

I'll have a look to the sources thanks,

I posted a beta 3 in my edited previous post, should fix and clarify quite some things,

but there is still some work to do, I'll see that later, need to sleep.

Link to comment
Share on other sites

Yes, Lizard is not the cleanest app made, but i published sources here:

http://code.google.com/p/lizard-app/

 

and lastest bin here:

http://dl.dropbox.com/u/1034555/lizard/Lizard-custom.zip

 

the app page is here, but link is not up to date:

http://darwinx86.org/software/darwinx86_software.html

 

Hope it helps

By cleanest do you mean UI or code? I think it visually looks pretty dam good. I must be living under a rock because I've never seen either of your apps before.
Link to comment
Share on other sites

See below for these versions BETA 3

 

 

 

 

Thanks for early testing this toy !

Thanks, rekursor!

Great little utility. Nice to have something to replace the useless Startup Disk prefpane. (Which makes me wonder if it's possible to actually replace the existing Startup Disk prefpane with this one entirely?)

 

Here's an observation on my end.

1. I find that the Lock doesn't always appear until I start scrolling. Additionally, the partition list is not grayed out at first, until I start scrolling. Looks to be a cache thing.

3. I have a script I use to install bootloaders for EFI or standard Extra installs. When I'm testing or not using a EFI partition anymore, I erase it as "Free Space," so they don't automount. (Which I knew how to return it to the original non-HFS status.) However, these partitions show up in the prefpane. Would it be a big deal to be able to ignore any partition using that formatting scheme?

 

Thanks, again, guys for all you do.

MAJ

Link to comment
Share on other sites

Thanks, rekursor!

Great little utility. Nice to have something to replace the useless Startup Disk prefpane. (Which makes me wonder if it's possible to actually replace the existing Startup Disk prefpane with this one entirely?)

Thanks,

Yes you should be able remove the system preference startup panel in /S/L/PreferencePanes/StartupDisk.prefPane

Though I never did it yet ...

Here's an observation on my end.

1. I find that the Lock doesn't always appear until I start scrolling. Additionally, the partition list is not grayed out at first, until I start scrolling. Looks to be a cache thing.

Weird, does it happen in SL/ L or both ?

3. I have a script I use to install bootloaders for EFI or standard Extra installs. When I'm testing or not using a EFI partition anymore, I erase it as "Free Space," so they don't automount. (Which I knew how to return it to the original non-HFS status.) However, these partitions show up in the prefpane. Would it be a big deal to be able to ignore any partition using that formatting scheme?

 

Thanks, again, guys for all you do.

MAJ

It should be ok to filter them as I filter other partitions already, please report your diskutil list content here and I'll have a look.

Link to comment
Share on other sites

Hi rekursor, just an update from where I left off this morning.

 

I have now tried Chameleon.prefPane106B3 and I can report the following:

• The lock icon doesn't appear until I scroll the list (Same as digital_dreamer).

• The listed items are not greyed out until scrolling has started (Same as digital_dreamer).

• Clicking the lock allows me to select a partition.

• I choose my BackupSL partition, then click the Restart Now button and after confirming the choice, my system reboots.

• Chameleon presents the SnowLeopard partition as it was previously. So no change happened.

 

I don't know if it makes a difference or not, but I have to set in my com.apple.Boot.plist the Default Partition boot option to hd(0,3) for Chameleon to load my SnowLeopard partition. Even though it's shown as disk1s3 on Diskutil and your PrefPane. I think that's maybe because I default my second HDD as the boot drive in BIOS.

 

Screenshot attached

post-331032-1263843487_thumb.png

Link to comment
Share on other sites

Please don't force the reboot, people might have documents still opne/unsaved etc!

(And is there any reason for the disknames to be editable?)

I use then reboot command to reboot, without any other options, if you have other api to recommend on cocoa, please do :D

I'm an embedded system developer originally, did that for a decade and also lot of windows programming but I'm new to the cocoa API so I'll appreciate any recommendation ...

Yes there is a reason for it, I hope I'll get the time soon to explain more but in few words, the panel will be aware in my next releases to also change the name displayed by updating the Rename partition option int the boot config, of course it also implies that I will take this latter option in account when first displaying the parts, which is not yet the case (it's a one day programming effort that you are currently testing ;-)

 

 

Hi rekursor, just an update from where I left off this morning.

 

I have now tried Chameleon.prefPane106B3 and I can report the following:

�€� The lock icon doesn't appear until I scroll the list (Same as digital_dreamer).

�€� The listed items are not greyed out until scrolling has started (Same as digital_dreamer).

�€� Clicking the lock allows me to select a partition.

�€� I choose my BackupSL partition, then click the Restart Now button and after confirming the choice, my system reboots.

�€� Chameleon presents the SnowLeopard partition as it was previously. So no change happened.

 

I don't know if it makes a difference or not, but I have to set in my com.apple.Boot.plist the Default Partition boot option to hd(0,3) for Chameleon to load my SnowLeopard partition. Even though it's shown as disk1s3 on Diskutil and your PrefPane. I think that's maybe because I default my second HDD as the boot drive in BIOS.

 

Screenshot attached

Thanks for this feedback blackosx, if it does not change anything at reboot, and you dont have an alert message saying that there's a pb with your boot config, it might be because you have more than one boot config file from your boot config.

the current seek order for com.apple.plist is:

/

/E

/L/P/S

/V/EFI/E

/V/Cham/E

 

We should improve this and also probably permit to provide an option BootConfig key in the panel properties ...

Link to comment
Share on other sites

I use then reboot command to reboot, without any other options, if you have other api to recommend on cocoa, please do :D

 

A better way would be too use

osascript -e 'tell application "System Events" to restart'

instead of

sudo reboot

This allows gui apps to intervene in case they need more time, have unsaved files etc.

Link to comment
Share on other sites

Thanks,

Yes you should be able remove the system preference startup panel in /S/L/PreferencePanes/StartupDisk.prefPane

Though I never did it yet ...

 

Weird, does it happen in SL/ L or both ?

 

It should be ok to filter them as I filter other partitions already, please report your diskutil list content here and I'll have a look.

I don't have L, so can't test for it. Just SL.

Here's my diskutil list:

/dev/disk0
  #:					   TYPE NAME					SIZE	   IDENTIFIER
  0:	 FDisk_partition_scheme						*250.1 GB   disk0
  1:			   Windows_NTFS WIN_7				  250.1 GB   disk0s1
/dev/disk1
  #:					   TYPE NAME					SIZE	   IDENTIFIER
  0:	  GUID_partition_scheme						*1.0 TB	 disk1
  1:				 Apple_Free						 209.7 MB   disk1s1
  2:						EFI						 209.7 MB   disk1s2
  3:				  Apple_HFS Macalem_i7			  999.7 GB   disk1s3
/dev/disk2
  #:					   TYPE NAME					SIZE	   IDENTIFIER
  0:	  GUID_partition_scheme						*640.1 GB   disk2
  1:				  Apple_HFS EFI					 209.7 MB   disk2s1
  2:						EFI						 209.7 MB   disk2s2
  3:				  Apple_HFS Doctor_Mac			  31.8 GB	disk2s3
  4:				  Apple_HFS Time Machine			607.7 GB   disk2s4
/dev/disk3
  #:					   TYPE NAME					SIZE	   IDENTIFIER
  0:	  GUID_partition_scheme						*500.1 GB   disk3
  1:				 Apple_Free						 209.7 MB   disk3s1
  2:				 Apple_RAID						 499.8 GB   disk3s2
  3:				 Apple_Boot Boot OSX				134.2 MB   disk3s3
/dev/disk4
  #:					   TYPE NAME					SIZE	   IDENTIFIER
  0:	  GUID_partition_scheme						*1.0 TB	 disk4
  1:				 Apple_Free						 209.7 MB   disk4s1
  2:				 Apple_RAID						 999.9 GB   disk4s2
  3:				 Apple_Boot Boot OSX				134.2 MB   disk4s3
/dev/disk5
  #:					   TYPE NAME					SIZE	   IDENTIFIER
  0:				  Apple_HFS MacRAID				*499.8 GB   disk5

Now, you'll notice a few "Apple_Free" partitions where the EFI partition once was (diskXs1).

The EFI partition on disk 1 and 2 are curious and weird. This is what happens when you erase the EFI partition as "Apple_Free", and later use DU to erase the Mac OS X partition. DU will add a "EFI" partition as diskXs2. I don't consider it valid and ignore it, always using diskXs1 as the official EFI partition.

The only EFI partition that's in use as a boot partition is disk2s1, as you can see it's Apple_HFS.

 

Question: There's a "2" following the WIN_7 partition and a "*" following the RAID partition. What's that about?

Screen-shot1.jpg

Screen-shot2.jpg

 

best of wishes,

MAJ

Link to comment
Share on other sites

 Share

×
×
  • Create New...