Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: dma and Intel PIIX (Triton) chipset, how to enable dma with Intel PIIX< Next Oldest | Next Newest >
holter Offline





Group: Members
Posts: 3
Joined: Feb. 2006
Posted: Feb. 24 2006,11:34 QUOTE

Hi folks,
I have installed DLS2.0 on an old Pentium Pro box.
All is ok, only dma for my hard drive can not be enabled.

Code Sample

root@0[root]# hdparm -d1 /dev/hda
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma    =  0 (off)


I guess the chipset/hd combination should be capable of doing dma
but somehow it can not be enabled.

lspci says:
Code Sample
0000:00:00.0 Host bridge: Intel Corp. 430FX - 82437FX TSC [Triton I] (rev 01)
0000:00:07.0 ISA bridge: Intel Corp. 82371FB PIIX ISA [Triton I] (rev 02)
0000:00:0d.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC 215IIC [Mach64 GT IIC] (rev 7a)
0000:00:0e.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)


hdparm -i says:
Code Sample

/dev/hda:

Model=SAMSUNG SP2514N, FwRev=VF100-33, SerialNo=S08BJ1NA164822
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=34902, SectSize=554, ECCbytes=4
BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
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=no WriteCache=enabled
Drive conforms to: unknown:

* signifies the current active mode


I guess the relevant part from dmesg ist
Code Sample

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIXa: IDE controller at PCI slot 00:07.0
PIIXa: chipset revision 2
PIIXa: not 100% native mode: will probe irqs later
PIIXa: neither IDE port enabled (BIOS)
hda: SAMSUNG SP2514N, ATA DISK drive
hdc: SAMSUNG DVD-ROM SD-616T, 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: 488397168 sectors (250059 MB) w/8192KiB Cache, CHS=30401/255/63
Partition check:
hda: hda1 hda2 hda3
ide: late registration of driver.


Am I missing any modules?

If anyone could give me anypointers what to do here, that would be great.

Thanks for your help
Back to top
Profile PM 
starcannon Offline





Group: Members
Posts: 100
Joined: Oct. 2005
Posted: Feb. 24 2006,17:07 QUOTE

Try this thread,
turning on DMA
Not sure if that willwork for your specific hardware or not, but its a place to start. Good Luck and hope it works

Rob


--------------
Damn Small Linux... Because size DOES matter...
Viva Le' Revolution!
Back to top
Profile PM 
holter Offline





Group: Members
Posts: 3
Joined: Feb. 2006
Posted: Feb. 24 2006,18:01 QUOTE

Thanks Rob,
but that thread only explains how to turn on dma in general. What I need to know is, why I get this error
Quote

HDIO_SET_DMA failed: Operation not permitted

And how to avoid it.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Feb. 25 2006,06:35 QUOTE

You probably have an old buggy IDE controller chip that does not support DMA properly.

I have a Pentium-I system and I cannot turn DMA on for this reason.

If so, you may see some messages elsewhere in your dmesg output to this effect. You also might even see an:

hda: Lost Interrupt

message in a terminal window every now and then during disk access.
Back to top
Profile PM 
holter Offline





Group: Members
Posts: 3
Joined: Feb. 2006
Posted: Feb. 27 2006,12:01 QUOTE

What I, hav done now:
I´ve install a PCI-IDE controller. Now I am able to turn on DMA
still I am quite slow. But for normal use as NAS it is sufficient:
Quote

root@1[root]# hdparm -t /dev/hda
/dev/hda:
Timing buffered disk reads:   26 MB in  3.11 seconds =   8.36 MB/sec

Thanks all
Back to top
Profile PM 
5 replies since Feb. 24 2006,11:34 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: dma and Intel PIIX (Triton) chipset

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code