Chameleon

Issue 135: Kernel flags ignored

Reported by d00d, Aug 4, 2011

Kernel flags are ignored with v1187 and v1233, in both OS X software 
RAID0 (striped) and RAID1 (mirrored), and in both 10.6.8 and 10.7.0;
MacBook3,1 RAID1: arch=i386 and -v ignored.
MacPro5,1 RAID0: -v ignored.

Instead I get the grey apple screen.
However, if I hit return during the 3 second timeout and type in -v 
at the boot prompt, I do get verbose boot (MacPro5,1's 
org.chameleon.Boot.plist and bdmesg.out attached).

With r699 and 10.6.8 kernel flags were not ignored.

Comment 1 by Evan Lojewski, Aug 4, 2011

Status: Accepted

Comment 2 by d00d, Aug 5, 2011

Link to bug report at forum;
http://forum.voodooprojects.org/index.php/topic,2108.0.html

Comment 3 by Cosmosis Jones, Aug 5, 2011

Labels: Target:2.0

Comment 4 by Cosmosis Jones, Aug 7, 2011

confirmed this is not an issue on non raid setups.

Comment 5 by Cosmosis Jones, Aug 7, 2011

so kernel flags from helpers are not being loaded?

Comment 6 by Cosmosis Jones, Aug 7, 2011

int loadChameleonConfig(config_file_t *config)
{
	char *dirspec[] = {
		"rd(0,0)/Extra/org.chameleon.Boot.plist",
		"/Extra/org.chameleon.Boot.plist",
		"bt(0,0)/Extra/org.chameleon.Boot.plist",

Comment 7 by mozo, Aug 7, 2011

Yes. From disk1s3. Seems only kernel flags are not loaded. GUI=No - 
ok. Timeout=5 - ok. Default Partition=hd(0,3) - ok.

/dev/disk1
   #:                       TYPE NAME                    SIZE       
IDENTIFIER
   0:      GUID_partition_scheme                        *500.1 GB   
disk1
   1:                        EFI                         209.7 MB   
disk1s1
   2:                 Apple_RAID                         499.8 GB   
disk1s2
   3:                 Apple_Boot Boot OS X               134.2 MB   
disk1s3

Comment 8 by Evan Lojewski, Aug 8, 2011

Please test revision 1331.

Comment 9 by mozo, Aug 8, 2011

Could confirm it is working now.

Comment 10 by Evan Lojewski, Aug 8, 2011

Status: Fixed

Comment 11 by d00d, Aug 8, 2011

The kernel flag -v is still ignored on my RAID0 MacPro5,1 
(bdmesg_1331.out attached).

Comment 12 by d00d, Aug 8, 2011

...but kernel flags not ignored on RAID1 MacBook3,1 
(bdmesg_1331_raid1.out attached).

Comment 13 by d00d, Aug 9, 2011

If you update 
/Library/Preferences/SystemConfiguration/com.apple.Boot.plist with 
kernel flags, the OS will copy this file to the helper partitions.

The reason I can now boot with kernel flags is the r1331 fix allowed 
the helper partition's (disk0s3, disk1s3) /Volumes/Boot\ 
OSX/com.apple.boot.[P|R|S]/Library/Preferences/SystemConfiguration/co
m.apple.Boot.plist to be read.

However, the kernel flags in the helper partition's /Volumes/Boot\ 
OSX/Extra/org.chameleon.Boot.plist are still ignored with r1331, but 
weren't ignored with r699.

Created: 7 years 11 months ago by d00d

Updated: 7 years 11 months ago

Status: Fixed

Followed by: 3 persons

Labels:
Priority:Medium
Type:Defect
Target:2.0