LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-06-2006, 10:08 AM   #1
newio
Member
 
Registered: May 2006
Location: Sydney
Distribution: Slackware 11.0
Posts: 39

Rep: Reputation: 15
DMA and 2.6.18


As suggested in another thread, i've downgraded from 2.6.19 to 2.6.18, but im still having problems with DMA and my HDD. Its really causing a lot of performance issues.

I've tried setting the DMA using hdparm, but it says it can't be done. Weird this was, it was enabled with the 2.4.33 kernel (Default slack11 install).

Is there a kernel parameter I may be missing?

Error when trying to set dma

Code:
root@slack:~# hdparm -d1 /dev/hda

/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma    =  0 (off)

Heres the output from hdparm

Code:
root@slack:~# hdparm /dev/hda
/dev/hda:
 multcount    = 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq    =  0 (off)
 using_dma    =  0 (off)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 65535/16/63, sectors = 120103200, start = 0
and the HDD info

Code:
root@slack:~# hdparm -Ii /dev/hda

/dev/hda:

 Model=Maxtor 6Y060L0, FwRev=YAR41BY0, SerialNo=Y273436E
 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=120103200
 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
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-7 T13 1532D revision 0:  _
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


ATA device, with non-removable media
        Model Number:       Maxtor 6Y060L0
        Serial Number:      Y273436E
        Firmware Revision:  YAR41BY0
Standards:
        Used: ATA/ATAPI-7 T13 1532D revision 0
        Supported: 7 6 5 4
Configuration:
        Logical         max     current
        cylinders       16383   16383
        heads           16      16
        sectors/track   63      63
        --
        CHS current addressable sectors:   16514064
        LBA    user addressable sectors:  120103200
        device size with M = 1024*1024:       58644 MBytes
        device size with M = 1000*1000:       61492 MBytes (61 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        Standby timer values: spec'd by Standard, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 16
        Advanced power management level: unknown setting (0x0000)
        Recommended acoustic management value: 192, current value: 254
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    SMART feature set
                Security Mode feature set
           *    Power Management feature set
           *    Write cache
           *    Look-ahead
           *    Host Protected Area feature set
           *    WRITE_VERIFY command
           *    WRITE_BUFFER command
           *    READ_BUFFER command
           *    NOP cmd
           *    DOWNLOAD_MICROCODE
                Advanced Power Management feature set
                SET_MAX security extension
           *    Automatic Acoustic Management feature set
           *    Device Configuration Overlay feature set
           *    Mandatory FLUSH_CACHE
           *    FLUSH_CACHE_EXT
           *    SMART error logging
           *    SMART self-test
Security:
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
                frozen
        not     expired: security count
        not     supported: enhanced erase
HW reset results:
        CBLID- above Vih
        Device num = 0 determined by the jumper
Checksum: correct

Last edited by newio; 12-06-2006 at 10:10 AM.
 
Old 12-06-2006, 10:13 AM   #2
newio
Member
 
Registered: May 2006
Location: Sydney
Distribution: Slackware 11.0
Posts: 39

Original Poster
Rep: Reputation: 15
I did find this in dmesg:

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx

and have heard that idebus should be set to 66. Where do i set this parameter?
 
Old 12-06-2006, 10:37 AM   #3
newio
Member
 
Registered: May 2006
Location: Sydney
Distribution: Slackware 11.0
Posts: 39

Original Poster
Rep: Reputation: 15
Posted too soon!!! i didn't have the ATI support thingo compiled, so the kernel wasn't using any of its cool features. My Slack box is absolutly humming along now... and im luvin it!

It also fixed my sound problems too...

(Sorry for jumping the gun)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard Drive Problems: timeout waiting for DMA; error waiting for DMA mintee Linux - Hardware 10 09-21-2007 05:06 AM
Dma jefffq Linux - Hardware 3 07-01-2005 07:27 AM
DMA works but not by default (despite "use DMA by default" kernel) mehlkelm Linux - Hardware 7 04-11-2005 03:29 PM
Suse 8.2 change my DMA setting on my DVD-R drive to off & IDE DMA MODE NOT SHOWING IT maximalred Linux - General 0 08-23-2003 04:58 AM
Dma InsaneBob Linux - Software 7 07-16-2003 05:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration