lkml.org 
[lkml]   [2002]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: downgrade ata udma mode at boot time?
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.029 / U:12.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site