View previous topic :: View next topic |
Author |
Message |
Matyy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Oct 2004 Posts: 18 Location: Germany, Hungary
|
Posted: Sat Nov 06, 2004 4:57 pm Post subject: Kein DMA: hdparm -Tt /dev/hda => 1,7 MB/s |
|
|
Hallo,
Ich hab heute mal hdparm emerged und damit meine Platte getestet. Es kommen dabei Werte zwischen 1,7 bis 5 MB/s heraus.
Als erstes ist DMA nicht aktiviert... doch dass kann ich auch nicht ändern:
Code: | bash-2.05b# hdparm -d 1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma = 0 (off) |
Ich verwende die gentoo-dev-sources, "linux-2.6.9-gentoo-r1"
Ich habe einen AMD Chipsatz, (AMD 761, ich glaub das war die genaue Bezeichnung) und habe desshalb zu erst die Unterstützung für diesen Chipsatz unter "Device Drivers ---> ATA/ATAPI/MFM/RLL support ---> AMD and nVidia IDE support" aktiviert.
"Generic PCI bus-master DMA support" hatte ich schon aktiviert. "Intel PIIXn chipsets support " war auch schon standardmäßig aktiviert. Auch "Use PCI DMA by default when available" ist aktiviert.
Und jetzt weiß ich nicht mehr weiter.
Kann mir jemand Helfen ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Matyy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Oct 2004 Posts: 18 Location: Germany, Hungary
|
Posted: Sat Nov 06, 2004 5:03 pm Post subject: |
|
|
#gentoo.de: (17:33:33) xmt wrote: | Matyy, vieleicht solltest du auch hdparm -I /dev/hda posten |
Code: | bash-2.05b# hdparm -I /dev/hda
/dev/hda:
ATA device, with non-removable media
powers-up in standby; SET FEATURES subcmd spins-up.
Model Number: IC35L060AVER07-0
Serial Number: SZPTZ1Y4841
Firmware Revision: ER6OA46A
Standards:
Used: ATA/ATAPI-5 T13 1321D revision 1
Supported: 5 4 3 2 & some of 6
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 120103200
device size with M = 1024*1024: 58644 MBytes
device size with M = 1000*1000: 61492 MBytes (61 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 40 Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: unknown setting (0x0000)
Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
Release interrupt
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
* SMART feature set
* Device Configuration Overlay feature set
Automatic Acoustic Management feature set
SET MAX security extension
Address Offset Reserved Area Boot
SET FEATURES subcommand required to spinup after power up
Power-Up In Standby feature set
Advanced Power Management feature set
* READ/WRITE DMA QUEUED
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
46min for SECURITY ERASE UNIT.
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Matyy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Oct 2004 Posts: 18 Location: Germany, Hungary
|
Posted: Sat Nov 06, 2004 5:08 pm Post subject: |
|
|
ein Auszug aus der ausgabe von dmesg:
Code: | Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: IC35L060AVER07-0, ATA DISK drive
Probing IDE interface ide1...
hdc: LTN403, ATAPI CD/DVD-ROM drive
hdd: ST380011A, ATA DISK drive
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 120103200 sectors (61492 MB) w/1916KiB Cache, CHS=65535/16/63
hda: cache flushes not supported
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3
hdd: max request size: 1024KiB
hdd: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63
hdd: cache flushes supported
/dev/ide/host1/bus0/target1/lun0: p1 p2 < p5 > |
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Matyy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Oct 2004 Posts: 18 Location: Germany, Hungary
|
Posted: Sat Nov 06, 2004 5:18 pm Post subject: |
|
|
Ok, im Chat wurde der Fehler gefunden:
lspci|grep IDE --> 0000:00:07.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
#gentoo.de (17:49:43) qfh wrote: | via82cxx heißt der chipsatz im kernel |
Dann versuch ich das jetzt mal. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Matyy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Oct 2004 Posts: 18 Location: Germany, Hungary
|
Posted: Sat Nov 06, 2004 5:34 pm Post subject: |
|
|
Code: | bash-2.05b# hdparm -Tt /dev/hda
/dev/hda:
Timing cached reads: 800 MB in 2.00 seconds = 399.26 MB/sec
Timing buffered disk reads: 118 MB in 3.05 seconds = 38.75 MB/sec |
=) Vielen dank qfh ausm #gentoo.de chat |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cin0l Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Southpark/avatar33.gif)
Joined: 29 Feb 2004 Posts: 182
|
Posted: Tue Nov 09, 2004 3:55 pm Post subject: |
|
|
Matyy wrote: | Code: | bash-2.05b# hdparm -Tt /dev/hda
/dev/hda:
Timing cached reads: 800 MB in 2.00 seconds = 399.26 MB/sec
Timing buffered disk reads: 118 MB in 3.05 seconds = 38.75 MB/sec |
=) Vielen dank qfh ausm #gentoo.de chat |
what did you do to make timing like you wrote?
i've got same hda like you, but my timings are (kernel-2.6.7):
Code: | # hdparm -Tt /dev/hda
/dev/hda:
Timing cached reads: 772 MB in 2.00 seconds = 385.87 MB/sec
Timing buffered disk reads: 50 MB in 3.07 seconds = 16.31 MB/sec |
if I remember good, on kernel 2.4.x my timings were just like yours now, so I wonder what you did to make your hd run properly..
ps. please in english |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Matyy n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Oct 2004 Posts: 18 Location: Germany, Hungary
|
Posted: Wed Nov 10, 2004 8:03 am Post subject: |
|
|
my settings are:
Code: | /dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 61492838400, start = 0 |
I don't really know much about hdparm... these where the default settings with my installation. I hope this will help you.
My kernel is "linux-2.6.9-gentoo-r1" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|