Gentoo Archives: gentoo-user

From: "Hemmann
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problem with hdparm and SATA-controller
Date: Thu, 15 Nov 2007 19:27:42
Message-Id: 200711152021.41500.volker.armin.hemmann@tu-clausthal.de
In Reply to: [gentoo-user] Problem with hdparm and SATA-controller by Marc Blumentritt
1 On Donnerstag, 15. November 2007, Marc Blumentritt wrote:
2 > Hi,
3 >
4 > I want to optimize the "sound output" of my shiny new sata disc, but I
5 > have some problems to set hdparm options. My options look like this:
6
7
8 > # SATA Disk
9 > sda_args="-d1 -c1 -u1 -A1 -S6 -M128 -B1"
10
11 which are all wrong for sata disks.
12
13 >
14 > hive linux # hdparm /dev/sda
15 >
16 > /dev/sda:
17 > IO_support = 0 (default 16-bit)
18 > readonly = 0 (off)
19 > readahead = 256 (on)
20 > geometry = 30394/255/63, sectors = 488281250, start = 0
21
22 look perfectly fine.
23
24
25 > * Running hdparm on /dev/sda ...
26 > HDIO_SET_32BIT failed: Invalid argument
27 > HDIO_SET_UNMASKINTR failed: Inappropriate ioctl for device
28 > HDIO_SET_DMA failed: Inappropriate ioctl for device
29 > HDIO_DRIVE_CMD failed: Input/output error
30
31 which is perfectly fine too.
32
33 You don't set 33bit mode for sata disks.
34 You don't set unmask interrupt for sata disks.
35 You don't set udma for sata disks (they use it anyway).
36
37 You use sdparm for sata disks.
38 --
39 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Re: Problem with hdparm and SATA-controller Marc Blumentritt <marc.blumentritt@×××××.de>