linux-l: Festplatte mit DMA

Michael Müller mueller_michael at nikocity.de
Fr Jul 21 22:35:23 CEST 2000


On Fri, Jul 21, 2000 at 11:03:42AM +0200, Boris Reyher wrote:
> Hi Leute
> 
> ich habe einen neuen Rechner mit einem ASUS K7V-Board und einer
> IBM-DTLA-307030 Platte. Nun habe ich versucht, den DMA-Modus
> mittels 'hdparm -X34 -d1 /dev/hda' einzuschalten, das geht erstmal
> ohne Fehlermeldung, allerdings steigt die Leserate überhaupt nicht.
> (Nach wie vor lächerliche 4 MB/sec). In den Bootmeldungen habe ich
> jetzt folgendes entdeckt:
> 
> hda: timeout waiting for DMA
> hda: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
> hda: DMA disabled
> ide0: reset: success
> 
> Wie kann ich denn nun den DMA-Modus nutzen? Muss ich erst einen
> entsprechenden Kernel bauen, und wenn ja, was muss ich da einstellen?
Ich habe auch ein K7V und die IBM-DTLA-307015. Beim Booten lasse ich
folgende Zeile ausführen:
/sbin/hdparm -c1 -d1 -X66 -m16 -k1 -K1 /dev/hda

Im 2.4.0er Kernel kann man unter IDE, ATA and ATAPI Block devices
Unterstützung für den MB-Chipssatz (VIA82CXXX chipset support)
aktivieren. Die Hilfe dazu sagt:

CONFIG_BLK_DEV_VIA82CXXX:

This allows you to to configure your chipset for a better use while
running (U)DMA: it will allow you to enable efficiently the second
channel dma usage, as it may not be set by BIOS. It allows you to
pass a kernel command line at boot time in order to set fifo
config. If no command line is provided, it will try to set fifo
configuration at its best. It will allow you to get information from
/proc/ide/via provided you enabled "proc" support.

grizzly:/home/mm# hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:  64 MB in  3.49 seconds = 18.34 MB/sec
grizzly:/home/mm# hdparm -T /dev/hda

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.99 seconds =129.29 MB/sec

Ist doch okay, oder?

Michael



Mehr Informationen über die Mailingliste linux-l