Hallo Liste! Folgende Situation: Ich habe 2 Festplatten an ide0 angeschlossen. Bei hda kann ich den DMA-Modus aktivieren (erhöht bei mir die Datenrate um das vierfache und reduziert die CPU-Auslastung erheblich). Bei hdb bekomme ich bei Aktivierung von dma durch hdparm -d 1 /dev/hdb folgende Kernelmeldung: Oct 27 18:08:11 sharmrokk kernel: hdb: timeout waiting for DMA Oct 27 18:08:11 sharmrokk kernel: ide_dmaproc: chipset supported ide_dma_timeout func only: 14 Oct 27 18:08:11 sharmrokk kernel: hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest } Oct 27 18:08:11 sharmrokk kernel: hdb: drive not ready for command Kernel 2.4.18 (Vanilla) Folgende Option steht auf Y CONFIG_BLK_DEV_VIA82CXXX: This allows you to configure your chipset for a better use while running PIO/(U)DMA, it will allow you to enable efficiently the second channel dma usage, as it may not be set by BIOS. 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 file system" support. sharmrokk:/usr/src/linux # cat /proc/ide/via ----------VIA BusMastering IDE Configuration---------------- Driver Version: 3.29 South Bridge: VIA vt82c686b Revision: ISA 0x40 IDE 0x6 Highest DMA rate: UDMA100 BM-DMA base: 0xe000 PCI clock: 33MHz Master Read Cycle IRDY: 0ws Master Write Cycle IRDY: 0ws BM IDE Status Register Read Retry: yes Max DRDY Pulse Width: No limit -----------------------Primary IDE-------Secondary IDE------ Read DMA FIFO flush: yes yes End Sector FIFO flush: no no Prefetch Buffer: no no Post Write Buffer: no no Enabled: yes yes Simplex only: no no Cable Type: 80w 40w -------------------drive0----drive1----drive2----drive3----- Transfer Mode: UDMA PIO PIO PIO Address Setup: 30ns 30ns 30ns 30ns Cmd Active: 90ns 90ns 90ns 90ns Cmd Recovery: 30ns 30ns 30ns 30ns Data Active: 90ns 90ns 90ns 90ns Data Recovery: 30ns 30ns 30ns 30ns Cycle Time: 60ns 120ns 120ns 120ns Transfer Rate: 33.0MB/s 16.5MB/s 16.5MB/s 16.5MB/s sharmrokk:/usr/src/linux # hdparm -i /dev/hda /dev/hda: Model=ST34321A, FwRev=3.04, SerialNo=GTD01882 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5%} RawCHS=8894/15/63, TrkSize=0, SectSize=0, ECCbytes=0 BuffType=unknown, BuffSize=128kB, MaxMultSect=32, MultSect=32 CurCHS=8894/15/63, CurSects=1063125120, LBA=yes, LBAsects=8404830 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 *udma0 udma1 udma2 AdvancedPM=no Drive Supports : Reserved : ATA-1 ATA-2 ATA-3 ATA-4 Kernel Drive Geometry LogicalCHS=523/255/63 PhysicalCHS=8894/15/63 sharmrokk:/usr/src/linux # hdparm -i /dev/hdb /dev/hdb: Model=ST320423A, FwRev=3.02, SerialNo=7EJ0BSX5 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5%} RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=unknown, BuffSize=512kB, MaxMultSect=32, MultSect=32 CurCHS=16383/16/63, CurSects=-66060037, LBA=yes, LBAsects=40011300 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 *udma4 AdvancedPM=yes: unknown setting Drive Supports : Reserved : ATA-1 ATA-2 ATA-3 ATA-4 ATA-5 Kernel Drive Geometry LogicalCHS=2490/255/63 PhysicalCHS=39693/16/63 Vielleicht hat ja jemand den gleichen Chipsatz und DMA zum Laufen gekriegt. Danke im Voraus, Mfg, Michael -- Turnfest in München! Ist das toll?! Eine tolle Sache: München ist wieder Hauptstadt der Bewegung... -- Harald Schmidt