LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-15-2003, 03:22 PM   #1
mush
LQ Newbie
 
Registered: Dec 2003
Posts: 6

Rep: Reputation: 0
Cant set DMA mode with hdparm and SiS 5513 IDE


Hi there!

I am having the following problem with setting DMA mode on my SIS 5513 IDE. All help hugely appreciated.

hdparm -d 1 /dev/hda gives the following error:

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


cat /proc/pci says:

IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 0).
Master Capable. Latency=128.
I/O at 0x1000 [0x100f].
Bus 0, device 2, function 6:


hdparm -i /dev/hda says:

/dev/hda:

Model=HTS548060M9AT00, FwRev=MGBOA53A, SerialNo=MRLB20L4G85EPC
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=DualPortCache, BuffSize=7877kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=117210240
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
UDMA modes: udma0 udma1 *udma2 udma3 udma4 udma5
AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:


hdparm /dev/hda says:

/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 7296/255/63, sectors = 117210240, start = 0


and dmesg says:

ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
hda: HTS548060M9AT00, ATA DISK drive
hdc: UJDA740 DVD/CDRW, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 117210240 sectors (60012 MB) w/7877KiB Cache, CHS=7296/255/63
hdc: attached ide-cdrom driver.
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.12
Partition check:
hda: hda1 hda2 hda3


I am using the debian woody distribution on the latest stable kernel: 2.4.23

Thank you!

Last edited by mush; 12-15-2003 at 03:24 PM.
 
Old 12-15-2003, 08:35 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 57
You need to enable 5513 support in the kernel configuration in order to get DMA mode out of your IDE controller. From the kernel docs:
Quote:
CONFIG_BLK_DEV_SIS5513:

This driver ensures (U)DMA support for SIS5513 chipset family based
mainboards.

The following chipsets are supported:
ATA16: SiS5511, SiS5513
ATA33: SiS5591, SiS5597, SiS5598, SiS5600
ATA66: SiS530, SiS540, SiS620, SiS630, SiS640
ATA100: SiS635, SiS645, SiS650, SiS730, SiS735, SiS740,
SiS745, SiS750

If you say Y here, you need to say Y to "Use DMA by default when
available" as well.

Please read the comments at the top of drivers/ide/pci/sis5513.c.

Håkan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DMA Mode won't stay set to "ON". morrolan Linux - General 2 09-23-2005 04:55 AM
[SOLVED] Q1: Setting DMA Mode with hdparm mattz40 Debian 3 03-15-2005 05:52 PM
IDE Hardisk Problem when setting drive to standby mode with hdparm cwolf Linux - General 1 07-13-2004 01:17 AM
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 05:58 AM
hdparm/dma MightyKC Linux - Newbie 7 08-19-2003 09:43 AM


All times are GMT -5. The time now is 07:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration