Re: downgrade ata udma mode at boot time?

Artur Jasowicz (arturj@mousebusiness.com)
Mon, 13 May 2002 21:30:17 -0500


I am having problems with building/resyncing RAID as well. Here's what I did
for my two RH 7.2 machines:
In /etc/sysconfig/ I created new file called hdparm.cfg with following
content

-d 0 /dev/hde
-d 0 /dev/hdg
-d 0 /dev/hdi
-d 0 /dev/hdk

In /etc/rc.d/rc.sysinit right before root partition gets remounted r/w
(there may be a better spot for that, suggestions, anyone?) I added the
following:

# adjust hd parameters
if [ -e /etc/sysconfig/hdparm.cfg -a -x /sbin/hdparm ]; then
action $"Adjusting hdparm:" /sbin/hdparm $(/bin/cat
/etc/sysconfig/hdparm.cfg)
fi

Crude, but works.

Artur

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/