How to boot directly into linux on an OldWorld Mac

Gary Shelton yellowdog-general@lists.terrasoftsolutions.com
Mon Jun 2 10:28:01 2003


Under Darwin, use the following command to display your processor 
information:
/usr/sbin/sysctl -a hw

You should see an entry in hw.l2cachesize and hw.l2settings. 
Unfortunately, I can't offer any advice on what values to put into 
hw.l2settings. Perhaps someone who's running Darwin on an upgraded 
computer can tell you what they've got...

Just FYI, under YDL (presumably under any other PPC Linux as well), the 
cache can be enabled by adding the following entry in 
/etc/rc.d/rc.local or typing in the following command as root:
/sbin/sysctl -w kernel.l2cr="0xa9000000"
where 0xa9000000 = the clock speed of your cache (0xa9 is half 
processor speed, 0xad is 5:2). As someone mentioned, you can get these 
values from any cache control software.

if you want to find out your processor and L2 cache status, you can 
'cat /proc/cpuinfo'

On Sunday, Jun 1, 2003, at 22:02 America/Los_Angeles, Dan A. Milisic 
wrote:

> You need to grab the L2CR setting from your OS9 Cache enabler, then 
> pass an
> additional kernel argument:
>
> l2cr=0xa9000000
>        ^---- Not this exact value, your specific cache setting!
>
> BootX does this automagically when you check the "Enable G3 Cache" 
> box.  I
> needed to do something similar in Darwin to set the G3 Cache on my 
> 8600.
>
> D.
>
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general