Nemoznost zapnut DMA na novom HDD Seagate

Sekcia: Hardware a Drivery 23.12.2006 | 17:33
Ondrej Liptak   Návštevník
Zdravim, kupil som si disk Seagate 200GB, ATA. Pri boote vsak vyhadzuje toto: [17179596.068000] hda: dma_timer_expiry: dma status == 0x20 [17179596.068000] hda: DMA timeout retry [17179596.068000] hda: timeout waiting for DMA [17179596.072000] hda: status error: status=0x58 { DriveReady SeekComplete DataRequest } [17179596.072000] ide: failed opcode was: unknown [17179596.072000] hda: drive not ready for command [17179601.076000] hda: status timeout: status=0xd0 { Busy } [17179601.076000] ide: failed opcode was: unknown [17179601.076000] hda: drive not ready for command [17179601.220000] ide0: reset: success [17179621.224000] hda: dma_timer_expiry: dma status == 0x20 [17179621.224000] hda: DMA timeout retry [17179621.224000] hda: timeout waiting for DMA [17179621.224000] hda: status error: status=0x58 { DriveReady SeekComplete DataRequest } [17179621.224000] ide: failed opcode was: unknown [17179621.224000] hda: drive not ready for command [17179626.228000] hda: status timeout: status=0xd0 { Busy } [17179626.228000] ide: failed opcode was: unknown [17179626.228000] hda: drive not ready for command [17179626.420000] ide0: reset: success [17179646.428000] hda: dma_timer_expiry: dma status == 0x20 [17179646.428000] hda: DMA timeout retry [17179646.428000] hda: timeout waiting for DMA [17179646.428000] hda: status error: status=0x58 { DriveReady SeekComplete DataRequest } [17179646.428000] ide: failed opcode was: unknown [17179646.428000] hda: drive not ready for command [17179651.432000] hda: status timeout: status=0xd0 { Busy } [17179651.432000] ide: failed opcode was: unknown [17179651.432000] hda: drive not ready for command [17179651.624000] ide0: reset: success [17179671.628000] hda: dma_timer_expiry: dma status == 0x20 [17179671.628000] hda: DMA timeout retry [17179671.628000] hda: timeout waiting for DMA [17179671.628000] hda: status error: status=0x58 { DriveReady SeekComplete DataRequest } [17179671.628000] ide: failed opcode was: unknown [17179671.628000] hda: drive not ready for command [17179676.632000] hda: status timeout: status=0xd0 { Busy } [17179676.632000] ide: failed opcode was: unknown [17179676.632000] hda: drive not ready for command [17179676.824000] ide0: reset: success Prikaz hdparm -Tt /dev/hda ukazuje toto (co je dost bieda): /dev/hda: Timing cached reads: 648 MB in 2.01 seconds = 322.47 MB/sec Timing buffered disk reads: 10 MB in 3.01 seconds = 3.32 MB/sec Ak zapnem rucne DMA, tak hdparm -Tt /dev/hda vyhodi takmer navlas rovnake hodnoty. Kopirovanie ide potom pomaly, vsetko seka... Mate prosim nejake napady, co s tym? Dakujem
    • Re: Nemoznost zapnut DMA na novom HDD Seagate 28.10.2006 | 21:54
      WlaSaTy   Návštevník
      kabel je aky? len nepovedz ze 40 zilovy. radic, typ disku a pouzity ovladac ...
    • Re: Nemoznost zapnut DMA na novom HDD Seagate 22.12.2006 | 14:46
      Ondrej Liptak   Návštevník
      Tu je vypis z hdparmu: $ sudo hdparm /dev/hda /dev/hda: multcount = 0 (off) IO_support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) keepsettings = 0 (off) readonly = 0 (off) readahead = 256 (on) geometry = 24321/255/63, sectors = 390721968, start = 0 A kabel mam 100 zilovy... Disk je IDE.
      • Re: Re: Nemoznost zapnut DMA na novom HDD Seagate 22.12.2006 | 15:46
        Avatar uid0 Debian  Používateľ
        80-zilovy co vypise hdparm -c1 -d1 -u -X70 /dev/hda
        Debian. apt-get into it…
        • Re: Re: Re: Nemoznost zapnut DMA na novom HDD Seag 22.12.2006 | 15:48
          Avatar uid0 Debian  Používateľ
          hdparm -c1 -d1 -u1 -X70 /dev/hda pripadne -X69
          Debian. apt-get into it…
          • Re: Re: Re: Re: Nemoznost zapnut DMA na novom HDD 23.12.2006 | 11:03
            Ondrej Liptak   Návštevník
            $ sudo hdparm -c1 -d1 -u1 -X70 /dev/hda /dev/hda: setting 32-bit IO_support flag to 1 setting unmaskirq to 1 (on) setting using_dma to 1 (on) setting xfermode to 70 (UltraDMA mode6) HDIO_DRIVE_CMD(setxfermode) failed: Input/output error IO_support = 0 (default 16-bit) unmaskirq = 0 (off) using_dma = 0 (off) Ale po tomto prikaze je aj tak DMA vypnute. Pri -X69 cely system uplne zatuhol, pomohol iba tvrdy restart...
      • Re: Re: Nemoznost zapnut DMA na novom HDD Seagate 22.12.2006 | 17:13
        WlaSaTy   Návštevník
        pokial nie je dany radic podporeny ovladacom ktory mu vyhovuje, tak sa DMA neda pouzit. takze uz vieme ze sa jedna o ATA disk, ze je od vyrobcu seagate ale stale nevieme aky typ disku to je a nevieme aky je to radic (hdparm -i /dev/hda, dmesg | grep -i hd, lspci, ...) . mozno ten radic vyzaduje specianly ovladac ktory sa hada s standardnym diskovym ovladacom, mozno sa neznesie ten dany disk s tym ovladacom. a mozno sa snazi ten disk vnutit moc vykonny (M/U)DMA prenosovy mod, taky co dany radic nedokaze spracovat (ako uz bolo navrhnute cez argumenty k hdparm). predpokladam ze bol ten disk testovany pod inym operacnym systemom alebo distribuciou, popripade v inom pocitaci aby sme vedeli ze je OK. no nic, stastne a vesele.
        • Re: Re: Re: Nemoznost zapnut DMA na novom HDD Seag 23.12.2006 | 11:14
          Ondrej LIptak   Návštevník
          $ sudo hdparm -i /dev/hda /dev/hda: Model=ST3200820A, FwRev=3.AAD, SerialNo=9QE02T15 Config={ HardSect NotMFM HdSw<15uSec Fixed DTR<10Mbs RotSpdTol<.5% } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=unknown, BuffSize=8192kB, MaxMultSect=16, MultSect=off CurCHS=4047/16/255, CurSects=16511760, LBA=yes, LBAsects=268435455 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 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 AdvancedPM=no WriteCache=enabled Drive conforms to: Unspecified: ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7 * signifies the current active mode $ dmesg | grep -i hd [17179569.184000] Kernel command line: root=/dev/hda1 ro quiet splash [17179572.388000] ide0: BM-DMA at 0xfc00-0xfc07, BIOS settings: hda:DMA, hdb:pio [17179572.388000] ide1: BM-DMA at 0xfc08-0xfc0f, BIOS settings: hdc:DMA, hdd:DMA [17179572.804000] hda: ST3200820A, ATA DISK drive [17179574.340000] hdc: HL-DT-ST DVDRAM GSA-4167B, ATAPI CD/DVD-ROM drive [17179575.132000] hdd: Memorex DVD-MAXX 1648 AJ, ATAPI CD/DVD-ROM drive [17179575.204000] hda: max request size: 512KiB [17179575.248000] hda: 390721968 sectors (200049 MB) w/8192KiB Cache, CHS=24321/255/63, UDMA(100) [17179575.276000] hda: cache flushes supported [17179575.276000] hda: hda1 hda2 hda3 [17179575.332000] hdc: ATAPI 48X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache, UDMA(33) [17179575.340000] hdd: ATAPI 48X DVD-ROM drive, 512kB Cache, UDMA(33) [17179597.176000] hda: dma_timer_expiry: dma status == 0x20 [17179597.176000] hda: DMA timeout retry [17179597.176000] hda: timeout waiting for DMA [17179597.180000] hda: status error: status=0x58 { DriveReady SeekComplete DataRequest } [17179597.180000] hda: drive not ready for command [17179602.184000] hda: status timeout: status=0xd0 { Busy } [17179602.184000] hda: drive not ready for command [17179622.380000] hda: dma_timer_expiry: dma status == 0x20 [17179622.380000] hda: DMA timeout retry [17179622.380000] hda: timeout waiting for DMA [17179622.380000] hda: status error: status=0x58 { DriveReady SeekComplete DataRequest } [17179622.380000] hda: drive not ready for command [17179627.384000] hda: status timeout: status=0xd0 { Busy } [17179627.384000] hda: drive not ready for command [17179647.588000] hda: dma_timer_expiry: dma status == 0x20 [17179647.588000] hda: DMA timeout retry [17179647.588000] hda: timeout waiting for DMA [17179647.588000] hda: status error: status=0x58 { DriveReady SeekComplete DataRequest } [17179647.588000] hda: drive not ready for command [17179652.592000] hda: status timeout: status=0xd0 { Busy } [17179652.592000] hda: drive not ready for command [17179652.940000] hda: dma_intr: status=0x51 { DriveReady SeekComplete Error } [17179652.940000] hda: dma_intr: error=0x84 { DriveStatusError BadCRC } [17179672.940000] hda: dma_timer_expiry: dma status == 0x20 [17179672.940000] hda: DMA timeout retry [17179672.940000] hda: timeout waiting for DMA [17179672.940000] hda: status error: status=0x58 { DriveReady SeekComplete DataRequest } [17179672.940000] hda: drive not ready for command [17179677.944000] hda: status timeout: status=0xd0 { Busy } [17179677.944000] hda: drive not ready for command [17179681.536000] EXT3-fs: hda1: orphan cleanup on readonly fs [17179681.536000] EXT3-fs: hda1: 6 orphan inodes deleted [17179705.532000] EXT3 FS on hda1, internal journal [17179711.572000] EXT3 FS on hda2, internal journal Tak som to tu trocha zahltil vypismi :) Dakujem vsetkym zatial za pomoc a prajem pekne sviatky ;)
          • Re: Re: Re: Re: Nemoznost zapnut DMA na novom HDD 23.12.2006 | 11:28
            Avatar uid0 Debian  Používateľ
            sorry, ja by som to videl skor na chybu hardware (radic, disk). v nejakom inom systeme funguje dobre? alebo mas nejaku velmi novu dosku?
            Debian. apt-get into it…
            • Re: Re: Re: Re: Re: Nemoznost zapnut DMA na novom 23.12.2006 | 12:23
              Ondrej Liptak   Návštevník
              Hmm, v inom systeme som to nemal moznost vyskusat. A dosku mam skor trochu starsiu...
              • Re: Re: Re: Re: Re: Re: Nemoznost zapnut DMA na no 23.12.2006 | 15:19
                WlaSaTy   Návštevník
                co znamena trochu starsiu? akosi tu nevidime vypis lspci ako volo pozadovane takze nemozeme posudit. a divime sa ze disk znasilnil mod *udma5 ked ho doska mozno ani nezvlada. myslim ze by som to znizil na udma2. viac sa k tomu jednoducho neda vyjadrit, nepozname okolnosti a dosledok hovori ze je nieco pokazene.
                • lspci 23.12.2006 | 16:58
                  Ondrej Liptak   Návštevník
                  Nech sa paci :) $ lspci 00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333] 00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP] 00:0b.0 Communication controller: Agere Systems 56k WinModem (rev 01) 00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) 00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) 00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80) 00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82) 00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge 00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) 00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50) 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74) 01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a2)
                  • Re: lspci 23.12.2006 | 17:10
                    Avatar uid0 Debian  Používateľ
                    ja mam rovnaky6 chipset a vsetko je ok. skus ten disk v inom PC s liveCD alebo tak...
                    Debian. apt-get into it…
                  • Re: lspci 23.12.2006 | 17:33
                    WlaSaTy   Návštevník
                    vyborne, hned prvy odkaz v google : hovoril nieco o CONFIG_BLK_DEV_VIA82CXXX, teda o ovladaci pre dany radic diskov. a na to sme sa pytali pred dvoma mesiacmi. teraz uz plne chapem odpovede typu vyskusaj inu distribuciu, mozno to pojde ... kto chce, moze vysusat ine distro. kto chce, moze si skompilovat na mieru vlastne jadro. oboje je jednoduche a oboje ma svoje klady a zapory. mimochodom, tie spravy znamenaju ze disk nedodal nacas data pomocou dma. bud koli tomu ze ten chipset (alebo omylom pouzity ovladac) nedokaze take dma ako chcel disk (da sa prestavit) alebo preto ze je ten kabel vadny, popripade preto ze je nedostatocny zdroj (moznosti je vela) a mozno aj preto ze odchadza doska.
          • Re: Re: Re: Re: Nemoznost zapnut DMA na novom HDD 23.12.2006 | 17:17
            Avatar Tomáš Srnka Barz čo, už asi všetko  Administrátor
            Viem, ze ta asi moc nepotesim, ale su to az moc podobne vypisy ako pri Problem s mrznutim PC. btw. vsetkym prajem vesele Vianoce :)
            Dlho som robil linuxos.sk, neskôr založil vpsFree.cz, posledných pár rokov ako tech. riaditeľ vo Websupporte