Amanda-Users

AW: hdd makes problems --> dma

2004-09-21 04:21:29
Subject: AW: hdd makes problems --> dma
From: Sebastian Kösters <skoesters AT sino DOT de>
To: "'Martijn Posthuma'" <martijn.posthuma AT pharmapartners DOT nl>, <amanda-users AT amanda DOT org>
Date: Tue, 21 Sep 2004 10:20:12 +0200
Thank you!

I tried it

/dev/hda:
 setting xfermode to 66 (UltraDMA mode2)

but the read timing is as slow as before :(

/dev/hda:
 Timing buffered disk reads:  64 MB in 11.38 seconds =  5.62 MB/sec

Or is this speed normal?

Regards
Sebastian

-----Ursprüngliche Nachricht-----
Von: owner-amanda-users AT amanda DOT org [mailto:owner-amanda-users AT amanda 
DOT org] Im Auftrag von Martijn Posthuma
Gesendet: Dienstag, 21. September 2004 10:06
An: amanda-users AT amanda DOT org
Betreff: Re: hdd makes problems --> dma

On Tuesday 21 September 2004 09:07, Sebastian Kösters wrote:
> Hi together,
>
> i tried to setup a new amanda server but the hdd makes problems. It's not
> possible for me to activate the DMA-Mode.
>
>
> Hdparm –d1 /dev/hda
>
> /dev/hda:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Operation not permitted
>  using_dma    =  0 (off)
>
>
> dmesg | grep had
>
> hda: ST340015A, ATA DISK drive
> hda: host protected area => 1
> hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63
>  hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 >
> hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error } ← ??????
> hda: drive_cmd: error=0x04 { DriveStatusError } ← ??????
>

Not really amanda related, but what the hell.

I get the same problems on a harddrive in my laptop. The drive is in fine 
working order, it seems to be a relatively harmless driver (timing) problem. 
Being unable to set dma transfers is normal for an udma drive, try to use
        hdparm -X 66 /dev/hd<?>
 
Have fun,
MaPo




<Prev in Thread] Current Thread [Next in Thread>