1 |
Hi, |
2 |
|
3 |
I want to optimize the "sound output" of my shiny new sata disc, but I |
4 |
have some problems to set hdparm options. My options look like this: |
5 |
|
6 |
# SATA Disk |
7 |
sda_args="-d1 -c1 -u1 -A1 -S6 -M128 -B1" |
8 |
|
9 |
I don't know, if I really want it to spin down, since my system is |
10 |
running on it. But that's not the real problem. I think I have a problem |
11 |
with my sata driver, since the output of hdparm looks like this: |
12 |
|
13 |
hive linux # hdparm /dev/sda |
14 |
|
15 |
/dev/sda: |
16 |
IO_support = 0 (default 16-bit) |
17 |
readonly = 0 (off) |
18 |
readahead = 256 (on) |
19 |
geometry = 30394/255/63, sectors = 488281250, start = 0 |
20 |
hive linux # hdparm -i /dev/sda |
21 |
|
22 |
/dev/sda: |
23 |
|
24 |
Model=SAMSUNG SP2504C , FwRev=VT100-52, |
25 |
SerialNo= S0WRJ1PP510578 |
26 |
Config={ Fixed } |
27 |
RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4 |
28 |
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=?16? |
29 |
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455 |
30 |
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120} |
31 |
PIO modes: pio0 pio1 pio2 pio3 pio4 |
32 |
DMA modes: mdma0 mdma1 mdma2 |
33 |
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 |
34 |
AdvancedPM=no WriteCache=enabled |
35 |
Drive conforms to: unknown: ATA/ATAPI-1,2,3,4,5,6,7 |
36 |
|
37 |
* signifies the current active mode |
38 |
|
39 |
|
40 |
This was AFTER starting hdparm with the options given above. I also have |
41 |
these error messages after starting hdparm: |
42 |
|
43 |
* Running hdparm on /dev/sda ... |
44 |
HDIO_SET_32BIT failed: Invalid argument |
45 |
HDIO_SET_UNMASKINTR failed: Inappropriate ioctl for device |
46 |
HDIO_SET_DMA failed: Inappropriate ioctl for device |
47 |
HDIO_DRIVE_CMD failed: Input/output error |
48 |
|
49 |
|
50 |
This the output of lspci: |
51 |
hive linux # lspci |
52 |
00:00.0 Host bridge: Intel Corporation DRAM Controller (rev 02) |
53 |
00:01.0 PCI bridge: Intel Corporation PCI Express Root Port (rev 02) |
54 |
00:1a.0 USB Controller: Intel Corporation USB UHCI Controller #4 (rev 02) |
55 |
00:1a.1 USB Controller: Intel Corporation USB UHCI Controller #5 (rev 02) |
56 |
00:1a.2 USB Controller: Intel Corporation USB UHCI Controller #6 (rev 02) |
57 |
00:1a.7 USB Controller: Intel Corporation USB2 EHCI Controller #2 (rev 02) |
58 |
00:1b.0 Audio device: Intel Corporation HD Audio Controller (rev 02) |
59 |
00:1c.0 PCI bridge: Intel Corporation PCI Express Port 1 (rev 02) |
60 |
00:1c.4 PCI bridge: Intel Corporation PCI Express Port 5 (rev 02) |
61 |
00:1c.5 PCI bridge: Intel Corporation PCI Express Port 6 (rev 02) |
62 |
00:1d.0 USB Controller: Intel Corporation USB UHCI Controller #1 (rev 02) |
63 |
00:1d.1 USB Controller: Intel Corporation USB UHCI Controller #2 (rev 02) |
64 |
00:1d.2 USB Controller: Intel Corporation USB UHCI Controller #3 (rev 02) |
65 |
00:1d.7 USB Controller: Intel Corporation USB2 EHCI Controller #1 (rev 02) |
66 |
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92) |
67 |
00:1f.0 ISA bridge: Intel Corporation LPC Interface Controller (rev 02) |
68 |
00:1f.2 IDE interface: Intel Corporation 2 port SATA IDE Controller (rev 02) |
69 |
00:1f.3 SMBus: Intel Corporation SMBus Controller (rev 02) |
70 |
00:1f.5 IDE interface: Intel Corporation 2 port SATA IDE Controller (rev 02) |
71 |
01:00.0 VGA compatible controller: nVidia Corporation Unknown device |
72 |
0421 (rev a1) |
73 |
02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit |
74 |
Ethernet Adapter (rev b0) |
75 |
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 |
76 |
AHCI Controller (rev 03) |
77 |
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 |
78 |
AHCI Controller (rev 03) |
79 |
05:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host |
80 |
Controller (rev c0) |
81 |
|
82 |
(Motherboard is an ASUS P5K) |
83 |
|
84 |
What is the correct driver for my SATA devices? And what is wrong with |
85 |
the hdparm output? |
86 |
|
87 |
Thanks for any help and hints, |
88 |
Marc |
89 |
|
90 |
-- |
91 |
gentoo-user@g.o mailing list |