Just comment out the optimization code in the file
"/etc/rc.d/init.d/mandrake_everytime", and put in your
own optimization string, so that part of the file
looks like this (*note, I have posted here before that
the some Western Digital drives hang the machine if
you use the -d without the -X flags):
----------------------------------
# Optimisation of Hard drive.
#if grep -qi opti /proc/cmdline || [ -n "$HDPARM" ];
then
# if [ -x /sbin/hdparm ];then
# LIST_HD=$(grep '^hd.:' /var/log/dmesg|\
# grep -ivE
'(CD.*ROM|DVD.*ROM|FLOPPY|TAPE|STATUS)'|cut -d:
-f1|sort|uniq)
#
# if grep -i nohdparm /proc/cmdline >/dev/null ; then
# action "Hard Drive optimisations disabled" \
# echo ""
# else
# for i in $LIST_HD;do
# action "Starting Hard Drive optimisations for $i" \
# hdparm -q -c1 -q -A1 -q -m16 -q -d1 /dev/$i
# done
# fi
# fi
#fi
hdparm -q -c1 -q -A1 -q -u1 -q -m16 -q -d1 -q -X66
/dev/hda # WDC AC310100B 10.1GB DMA modes: mdma0 mdma1
mdma2 udma0 udma1 udma2
hdparm -q -c1 -q -A1 -q -u1 -q -m16 -q -d1 -q -X66
/dev/hdb # WDC WD307AA 30.7 GB DMA modes: mdma0 mdma1
mdma2 udma0 udma1 udma2 udma3 udma4
hdparm -q -c1 -q -A1 -q -u1 -q -m16 -q -d1 -q -X66
/dev/hdc # WDC AC310200R 10.2 GB DMA modes: mdma0
mdma1 mdma2 udma0 udma1 udma2 udma3 udma4
hdparm -q -c1 -q -A1 -q -u1 -q -m16 -q -d1 -q -X34
/dev/hdd # Maxtor 85120A8 DMA modes: mdma0 mdma1 mdma2
--------------------------------
Also note that Linux only support up to UDMA2, UDMA3
and UDMA4 are not yet supported. As a matter of fact I
don't know what these modes are, since I always though
ATA66 == UDMA2!
Anyone know what UDMA3 and UDMA4 are? May be ATA100?
Remember that if you activate dma without indicating a
proper -x flag, it will hang! At least the WD drives I
got.
--- Stratos Laspas <[EMAIL PROTECTED]> wrote:
> ML7.1 installes and runs ok, on a system with a
> Promise U66, provided that
> no disk optimization is employed.
=====
________________________
Eugenio Diaz, BSEE/BSCE
Linux Engineer
[EMAIL PROTECTED]
__________________________________________________
Do You Yahoo!?
Send instant messages with Yahoo! Messenger.
http://im.yahoo.com/