Delian Krustev wrote:
On Wednesday 02 March 2005 11:50, Andrey Andreev wrote:
HDPARM(8):
-k Get/set the keep_settings_over_reset flag for the drive.
When this flag is set, the driver will preserve the -dmu
options over a soft reset, (as done during the error recov-
ery sequence). This flag defaults to off, to prevent drive
reset loops which could be caused by combinations of -dmu
settings. The -k flag should therefore only be set after
one has achieved confidence in correct system operation with
a chosen set of configuration settings. In practice, all
that is typically necessary to test a configuration (prior
to using -k) is to verify that the drive can be read/writ-
ten, and that no error logs (kernel messages) are generated
in the process (look in /var/adm/messages on most systems).
-K Set the drive's keep_features_over_reset flag. Setting this
enables the drive to retain the settings for -APSWXZ over a
soft reset (as done during the error recovery sequence).
Not all drives support this feature.
cibo:~# hdparm -k 1 -K 1 -d1 -u1 /dev/hdd
/dev/hdd:
setting unmaskirq to 1 (on)
setting using_dma to 1 (on)
setting keep_settings to 1 (on)
setting drive keep features to 1 (on)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 1 (on)
cibo:~# hdparm /dev/hdd
/dev/hdd:
IO_support = 0 (default 16-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 1 (on)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument
ÐÐÐÐ ÐÐÐÑÐ dmesg ÐÐÐÐ
hdd: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdd: drive_cmd: error=0x04Aborted Command
hdd: status error: status=0x58 { DriveReady SeekComplete DataRequest }
hdd: status error: error=0x00
hdd: drive not ready for command
Ð Ñ.Ð. ÐÐÐÑÐ ÐÑÐÐÐ, Ð ÑÐÐÐ ÐÐÐÑÐ:
cibo:~# hdparm /dev/hdd
/dev/hdd:
IO_support = 0 (default 16-bit)
unmaskirq = 1 (on)
using_dma = 0 (off)
keepsettings = 1 (on)
readonly = 0 (off)
readahead = 256 (on)
HDIO_GETGEO failed: Invalid argument
DMA ÐÐÐ Ð ÑÐÑÑÐÐ!
DVD-ÑÐÑÐÑÑÑ ÐÐ ÐÑÐÐÑÐÐ ÑÐÑÐ (ÑÐÐÐÐÑ ÑÐ ÐÐÑÐÐ Ð ÐÐ ÐÐÐÐÐÐÐÑ ÐÑ ÑÐÑÐÐ ÑÐ
ÐÐÐ ÐÑÐÑÐÐ Ð ÐÑÐÐÐÐÐÐ), ÐÐ ÐÐÐ DMA ÐÐ ÑÑÐÐÐ ÐÐ ÐÐÐÐÐÐÐ ÐÐ DVDÑÐ.
OÐÐÑÐÐ Ð Ñ ÐÑÑÐÐ DVD. ÐÑÐÐÐÑÐ ÐÐ ÐÐ ÐÐÐÑÐÑÐÐÐ ÐÐÑÐ, ÐÐÐ ÑÐÐÑÐ ÐÐÐÑÐ ÐÐ ÑÐ
ÐÐÑÐÐ Ñ ÑÑÑÑÐÐÑÑÐÐÑÐ.
ÐÑÐÐÐÐÑ, Ð Ð DVDÑÐ Ð ÑÐÑÑÐ ÐÐÐÐ Ð ÑÑÐÑÐÐ ÐÑÑÐÐÑÐÐ.
ÐÐÐÐÑÐÐÐ,
ÐÐÐÑÐ
--
Andrey Andreev
University of Helsinki
Dept. of Computer Science
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================