Cgyba pri zaoinani dma

Sekcia: Hardware a Drivery 10.05.2006 | 20:14
geno   Návštevník
Helou. Dnes som pozeral, ze ci mam dma zapnute na disku a nic mi nevypisalo. Ked som sa ho snazil zapnut, tak mi vyhodilo chybovu hlasku: geno geno # hdparm /dev/sda /dev/sda: IO_support = 0 (default 16-bit) readonly = 0 (off) readahead = 256 (on) geometry = 14946/255/63, sectors = 122942324736, start = 0 geno geno # hdparm /dev/sda /dev/sda: IO_support = 0 (default 16-bit) readonly = 0 (off) readahead = 256 (on) geometry = 14946/255/63, sectors = 122942324736, start = 0 geno geno # hdparm /dev/sda1 /dev/sda1: IO_support = 0 (default 16-bit) readonly = 0 (off) readahead = 256 (on) geometry = 14946/255/63, sectors = 15726703104, start = 63 geno geno # hdparm -d1 /dev/sda /dev/sda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Inappropriate ioctl for device geno geno # hdparm -t /dev/sda /dev/sda: Timing buffered disk reads: 162 MB in 3.02 seconds = 53.58 MB/sec HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device geno geno # lspci 0000:00:00.0 Host bridge: VIA Technologies, Inc. KT880 Host Bridge 0000:00:00.1 Host bridge: VIA Technologies, Inc. KT880 Host Bridge 0000:00:00.2 Host bridge: VIA Technologies, Inc. KT880 Host Bridge 0000:00:00.3 Host bridge: VIA Technologies, Inc. KT880 Host Bridge 0000:00:00.4 Host bridge: VIA Technologies, Inc. KT880 Host Bridge 0000:00:00.7 Host bridge: VIA Technologies, Inc. KT880 Host Bridge 0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge 0000:00:0b.0 Ethernet controller: VIA Technologies, Inc. VT6120/VT6121/VT6122 Gigabit Ethernet Adapter (rev 11) 0000:00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80) 0000:00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) 0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) 0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South] 0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60) 0000:01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AS [Radeon 9550] 0000:01:00.1 Display controller: ATI Technologies Inc RV350 ?? [Radeon 9550] (Secondary) Neviete mi niekto poradit, co je s tym ? Mam AMD s maxtor sata diskom a MSI maticnou KT880 Delta. Vdaka za odpoved
    • Re: Cgyba pri zaoinani dma 10.05.2006 | 17:02
      Avatar nardew debian  Používateľ
      nejak nevidim kde si zapol... :) geno geno # hdparm /dev/sda je len vypis aktualnych nastaveni skus geno geno # hdparm -d1 /dev/sda
      • Re: Re: Cgyba pri zaoinani dma 10.05.2006 | 17:25
        geno   Návštevník
        je to hore, ale troska neprehladne: geno geno # hdparm -d1 /dev/sda /dev/sda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Inappropriate ioctl for device
    • Re: Cgyba pri zaoinani dma 10.05.2006 | 19:43
      Avatar bananomet Gentoo  Používateľ
      nejak do toho nevidim ale nemaju nahodou sata disky v sebe uz dma defaultne dane architekturou tj netreba to nikde zapinat? tiez mam nejaky ten komp so sata a narazil som na toto ale keby tam to dma nebolo tak to urcite nevytiahne taku rychlost prenosu dat a urcite by stuplo aj vytazenie.
      • Re: Re: Cgyba pri zaoinani dma 10.05.2006 | 20:06
        Avatar Tomáš Srnka Barz čo, už asi všetko  Administrátor
        hej, myslim, ze by to mali mat zapnute, ale aj tak mi to ide tiez dost ubuho nato, ze mam SATA2 radic a SATA2 disk: /dev/sda: Timing cached reads: 3656 MB in 2.00 seconds = 1827.89 MB/sec Timing buffered disk reads: 180 MB in 3.02 seconds = 59.52 MB/sec....
        Dlho som robil linuxos.sk, neskôr založil vpsFree.cz, posledných pár rokov ako tech. riaditeľ vo Websupporte
        • Re: Re: Re: Cgyba pri zaoinani dma 10.05.2006 | 20:12
          Avatar uid0 Debian  Používateľ
          to je uboho? ja sa teda v benchmarkoch nevyznam, ale 160GB UDMA6 disk: /dev/hda: Timing cached reads: 960 MB in 2.00 seconds = 478.88 MB/sec Timing buffered disk reads: 114 MB in 3.04 seconds = 37.44 MB/sec
          Debian. apt-get into it…
          • Re: Re: Re: Re: Cgyba pri zaoinani dma 10.05.2006 | 20:14
            Avatar Tomáš Srnka Barz čo, už asi všetko  Administrátor
            no uz som videl aj nieco okolo 120MB/s na sata2 disku a sata2 radici... Preto hovorim ;). Velmi podobne vysledky dostanem aj na servri, kde mam sata radiv v PCI-32bit... By som povedal, ze to onboard bude mat lepsie vysledky (osobne si myslim, ze to je vec jadra..)
            Dlho som robil linuxos.sk, neskôr založil vpsFree.cz, posledných pár rokov ako tech. riaditeľ vo Websupporte