Amanda-Users

Re: hdd makes problems --> dma

2004-09-21 04:13:16
Subject: Re: hdd makes problems --> dma
From: Martijn Posthuma <martijn.posthuma AT pharmapartners DOT nl>
To: amanda-users AT amanda DOT org
Date: Tue, 21 Sep 2004 10:05:48 +0200
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>