Re: Can any one please help me..

From: Adam Voigt (adam@cryptocomm.com)
Date: Thu Jan 23 2003 - 09:21:13 EST


A. You must be logged in as root.
B. Your device is /dev/hda for your first hard drive.

Enjoy!

On Thu, 2003-01-23 at 09:09, Santosh Kumar Cheekatmalla wrote:
    Hi Everyone,
    
    Can you please help me enable DMA on my machine.
    
    I am new to linux , so can you be little elaborate in your reply
    thanks..
    
    I am using RED HAT Linux 7.3 ...
    
    when i tried to set DMA on
    
    # /sbin/hdparm -d 1 /hda/hdb
    
    I get following message.
    
    /dev/hdb:
    setting using_dma to 1 (on)
    HDIO_SET_DMA failed: Operation not permitted
    using_dma = 0 (off)
    
    I am using Intelchipset motherborad, and Maxtor hard
    drive
    
    # /sbin/hdparm -iv /dev/hdb
    
    /dev/hdb:
    multcount = 16 (on)
    I/O support = 3 (32-bit w/sync)
    unmaskirq = 0 (off)
    using_dma = 0 (off)
    keepsettings = 0 (off)
    nowerr = 0 (off)
    readonly = 0 (off)
    readahead = 8 (on)
    geometry = 79656/16/63, sectors = 80293248, start
    = 0
    
    Model=Maxtor 2F040J0, FwRev=VAM51JJ0,
    SerialNo=F12WD7TE
    Config={ Fixed }
    RawCHS=16383/16/63, TrkSize=0, SectSize=0,ECCbytes=57
    BuffType=DualPortCache, BuffSize=2048kB,MaxMultSect=16, MultSect=16
    CurCHS=16383/16/63, CurSects=16514064, LBA=yes,LBAsects=80293248
    IORDY=on/off, tPIO={min:120,w/IORDY:120},tDMA={min:120,rec:120}
    PIO modes: pio0 pio1 pio2 pio3 pio4
    DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3udma4 *udma5
    udma6
    AdvancedPM=yes: disabled (255) WriteCache=enabled
    Drive Supports : ataATA-1 ATA-2 ATA-3 ATA-4 ATA-5ATA-6 ATA-7
    
    busstate = 1 (on)
    
    
    Can you please tell me what should i do to enable DMA
    support.
    
    
    
    Thanks
    Santosh
    
    _________________________________________________________________
    The new MSN 8: advanced junk mail protection and 2 months FREE*
    http://join.msn.com/?page=features/junkmail
    
    -
    To unsubscribe from this list: send the line "unsubscribe
    linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

-- 
Adam Voigt (adam@cryptocomm.com)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:31 EST