On Jun 5, 2009, at 9:25 PM, Justin The Cynical wrote:

>> Am I missing something? Is "_"_"_lba-48"_property to be typed with
>> all the quotes?
>
> That's how I read it...
>
> nvedit
> dev_hd
> dev_..
> " " " lba-48" property
> device-end
>
> Will this work on a Yikes?  That I don't know.  Try it and let us  
> know.  :)

The patch works on systems which have a KeyLargo chip.

It may work on others.

The known-to-work patches are:


ATA4 (DA and early QS HD channel)

#! /bin/bash -

if      kextstat -lb com.apple.driver.KeyLargoATA | grep -F -q KeyLargoATA &&
        ! ioreg -rStp IODeviceTree -n ata-4 -w0 | grep -F -q lba-48
then    read -rd $'\000' nvram nvramrc <<< "`nvram nvramrc 2>&-`"
        if      sudo nvram 'use-nvramrc?=true'  \
        nvramrc='dev mac-io/ata-4 0 0 " lba-48" property device-end'" $nvramrc"
        then echo '48-bit LBA support will be enabled on the next reboot.'; fi
fi


ATA3 (DA and early QS optical channel, and some other HD channels)

#! /bin/bash -

if      kextstat -lb com.apple.driver.KeyLargoATA | grep -F -q KeyLargoATA &&
        ! ioreg -rStp IODeviceTree -n ata-3 -w0 | grep -F -q lba-48
then    read -rd $'\000' nvram nvramrc <<< "`nvram nvramrc 2>&-`"
        if      sudo nvram 'use-nvramrc?=true'  \
        nvramrc='dev mac-io/ata-3 0 0 " lba-48" property device-end'" $nvramrc"
        then echo '48-bit LBA support will be enabled on the next reboot.'; fi
fi


ATA2 (some other HD channels and some other optical channels)

#! /bin/bash -

if      kextstat -lb com.apple.driver.KeyLargoATA | grep -F -q KeyLargoATA &&
        ! ioreg -rStp IODeviceTree -n ata-2 -w0 | grep -F -q lba-48
then    read -rd $'\000' nvram nvramrc <<< "`nvram nvramrc 2>&-`"
        if      sudo nvram 'use-nvramrc?=true'  \
        nvramrc='dev mac-io/ata-2 0 0 " lba-48" property device-end'" $nvramrc"
        then echo '48-bit LBA support will be enabled on the next reboot.'; fi
fi


The point being:

Each channel is different, and has to be handled with its own patch,  
and it is possible to selectively enable LBA48 for either the HD  
channel or the optical channel, or both, at your option.

The patch "lives" in the non-volatile RAM of the machine, and it  
works across a power sequence or a boot sequence or a reset sequence.

It DOES NOT work across a "reset-nvram" sequence, however.

I've had the ATA4 and ATA3 patches persistent in my DA for nearly two  
years now.

Of course, I have avoided using "reset-nvram".

This is the best approach to large drive support for 10.5, as the  
"High Cap" product (or some versions of it) will not work on 10.5.

My DA is happily supporting 10.5.7 using the patch, as "High Cap" is  
not working.

And, as I have the patch on the machine, I have removed "High Cap"  
from the three other MacOSes which I support on this DA: 10.4.11,  
10.3.9 Server and 10.3.9.

In every case, I am using the latest updates to the respective systems.







http://groups.google.com/group/hq-a <+> A home for the Hackintosh  
community.

To subscribe to the HQ-A group, send email to hq-a 
[email protected]




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed Low End Mac's G3-5 List, a 
group for those using G3, G4, and G5 desktop Macs - with a particular focus on 
Power Macs.
The list FAQ is at http://lowendmac.com/lists/g-list.shtml and our netiquette 
guide is at http://www.lowendmac.com/lists/netiquette.shtml
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/g3-5-list?hl=en
Low End Mac RSS feed at feed://lowendmac.com/feed.xml
-~----------~----~----~----~------~----~------~--~---

Reply via email to