hi ya jelte

On Wed, 6 Nov 2002, Jelte Liebrand wrote:

> Hi all,
> 
> I'm trying to set the DMA to on for my hd without much success. I have 
> pasted below all the information I think is relevant. I'm doing all the 
> below as root, and as you can see, somehow setting the DMA is not 
> permitted. My computer is about 6 months old, and I'm running the 
> 2.4.18-k7 kernel.
> 
> The error I get when using "hdparm -d1 /dev/hda" as root (root should be 
> allowed to do this right??):

the typical reason why hdparm would fail is because the chipset on
the motherboard or ide controller connected to the disk drive is
NOT "completely" supported by the kernel
        - check the manufacturer and part number of the ide controller
        and enable those part numbers in the ide/ata/dma section of the
        kernel configs

and yes.. yoour drive is already set to run at udma5 ( ata100 )
basd on the * next to udma5  in your listing below
        - just fix up your kernel or modules and you're all set

for more ata fun
        http://wwww.Linux-1U.net/Disks
        
have fun
alvin

> /dev/hda:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Operation not permitted
>  using_dma    =  0 (off)
> 
> The chipset and other info about my hd from dmesg:
> hda: IC35L080AVVA07-0, ATA DISK drive
> hda: 160836480 sectors (82348 MB) w/1863KiB Cache, CHS=159560/16/63
> 
> Result of "hdparm /dev/hda":
> /dev/hda:
>  multcount    = 16 (on)
>  I/O support  =  3 (32-bit w/sync)
>  unmaskirq    =  1 (on)
>  using_dma    =  0 (off)
>  keepsettings =  0 (off)
>  nowerr       =  0 (off)
>  readonly     =  0 (off)
>  readahead    =  8 (on)
>  geometry     = 10011/255/63, sectors = 160836480, start = 0
>  busstate     =  1 (on)
> 
> and the result of "hdparm -i /dev/hda":
> /dev/hda:
> 
>  Model=IC35L080AVVA07-0, FwRev=VA4OA50K, SerialNo=VNC400A4G4PMSA
>  Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
>  RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=52
>  BuffType=DualPortCache, BuffSize=1863kB, MaxMultSect=16, MultSect=16
>  CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=160836480
>  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 *udma5
>  AdvancedPM=yes: disabled (255) WriteCache=enabled
>  Drive Supports : ATA/ATAPI-5 T13 1321D revision 1 : ATA-2 ATA-3 ATA-4 
> ATA-5
> 
> and the result of "hdparm -tT /dev/hda":
> /dev/hda:
>  Timing buffer-cache reads:   128 MB in  0.50 seconds =256.00 MB/sec
>  Timing buffered disk reads:  64 MB in  9.97 seconds =  6.42 MB/sec
> 
> 
> Any help would be mostly appreciated
> /Jelte
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to