Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Set Automatic Acoustic Management level on hard drives' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Set Automatic Acoustic Management level on hard drives
Authored by: g00ner on Oct 19, '04 02:37:46PM
I've tried the inital commands and hey preston it works, and it really does make a difference, although there is definatley a performance dip, but I like the silence so I'll stick with it.

My question is though, does anyone know what the commands would be for 4x Drives? I've used the following:

0 0 0 here 428000 , ef , 4000 1 apply ata-command hd .

And it works fine, but trying the same and using the Hard Drive names in place of hd comes back with a can't apply message.

I have 4x 120gb WD drives in my MDD 2x1Ghz and have no idea what commands to use to enable the AAM on the other 3x Drives.

Can anyone help? g00er.

[ Reply to This | # ]

Set Automatic Acoustic Management level on hard drives
Authored by: roldok on Oct 20, '04 07:46:46AM

Would this be possible from Virtual PC using one of the availble apps from the hard drive maker?



[ Reply to This | # ]
Set Automatic Acoustic Management level on hard drives
Authored by: alexwegel on Oct 23, '04 11:56:50PM

Hi
Sorry for the delay..

Basically, if the drive supports the AAM feature set, and you manage to send the command to the drive, then it should work.

You should read my correction for applying the command to a slave-drive (which boil down to having to use "10ef" instead of "ef" in the command line, in addition to the changed drive address).

To get the correct address for the second drive, you could try to find the address of the first drive (the one that worked, using the "hd" alias), and either typing a modified version of it (the same path, but with "disk@1" instead of "disk@0" at the end).
There might also be an alias defined for that second drive (see below), which you could use to save most of the typing (i found one called "ultra1" here).

For the other two drives, i'm not sure - how are they connected?

To find some or all of the information needed, while being in OpenFirmware, you can use the following commands:

devalias

Shows all defined shortcuts and the paths they point to
("hd" should be among them)

dev /
show-devs
device-end

- First "change directory" to the root of the device tree
- Then dump all devices from there, recursively (use ctrl-S and ctrl-Q to
pause and continue listing)
- As the last thing, get out of the device tree, to have the normal OFW
environment available again.

Maybe this helps finding the path to drives 3 and 4.

For the drive 2, there's a chance that the line i also posted in my correction just works:


0 0 0 here 428000 , 10ef , 4000 1 apply ata-command ultra1 .

As an example how the command might look given a full path instead of an alias:

0 0 0 here 428000 , ef , 4000 1
apply ata-command /pci@f2000000/pci-bridge@D/mac-io@7/ata-4@1f000/disk@0 .

(If you enter the command on two lines, make sure you keep "apply ata-command" and the device alias/path all on the same line).

HTH
Alex



[ Reply to This | # ]