Forcing DMA with Win98SE?

tweakr

Senior member
Mar 2, 2000
270
0
0
Hi Guys

Just put together a new system with a K6-2 550 and a Gigabyte Ga-5AX Motherboard (ALI Alladin 5 Chipset), along with a Fujitsu 13.5gb 5400rpm Hard Drive (The newest one)...Having problems getting the DMA box to remain ticked on reboots - I've tried all the hardware fixes recommended by Fujitsu and ALI, and 98SE keeps unticking the box. Anyone know a way to force this - the drive and chipset is DMA compatible, but doesn't seem to like it.

cheers
tweakr
 

tweakr

Senior member
Mar 2, 2000
270
0
0
Busta

Yes, everything's been checked about 10000000000 times....The hardware is all setup right, the BIOS detects the drive as UDMA33 compliant - it's just Win98SE that doesn't like to have DMA enabled. Also, I've tried ALI's IDE utility, but that doesn't make a difference to the DMA at all....:(

cheers
tweakr
 

Norssak

Member
Jun 27, 2000
179
0
0
ok, first i thought I had done this once, turns out my notes referred to a slightly different problem.

Here is a Tech-net article that seems to address exactly what you are discribeing.

I haven't tried it (don't have the problem) ...actually i didnt even read it all the way through. Maybe it helps.




PSS ID Number: Q159560
Article last modified on 01-29-1999

95

WINDOWS


======================================================================
-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Windows 98
- Microsoft Windows 95 OEM Service Release versions 2, 2.1
-------------------------------------------------------------------------------

SYMPTOMS
========

When you enable DMA support on the Settings tab in an IDE hard disk's
properties, the DMA check box in Device Manager may not remain checked even
though the IDE controller reportedly supports bus mastering and DMA.

CAUSE
=====

The hard disk may not support a multiple-word DMA protocol.

RESOLUTION
==========

To determine whether your IDE hard disk supports multiple-word DMA protocol,
follow these steps:

Testing the Primary IDE Drive:

1. Restart the computer. For Windows 95, when you see the "Starting Windows 95"
message, press the F8 key and then choose Command Prompt Only from the
Startup menu.

For Windows 98, restart your computer, press and hold down the CTRL key after
your computer completes the Power On Self Test (POST), and then choose
Command Prompt Only from the Startup menu.

2. At the command prompt, type:

debug

3. At the hyphen prompt, type the following lines, pressing ENTER after each
line. Do not type the semicolon (;) or the comment after the semicolon.

NOTE: The first character of each line is the letter o, not the numeral zero.

o 1f6 a0 ; a0 (a-zero) is for a master drive, use b0 for a slave.
o 1f2 22 ; 22 is for DMA mode 2, use 21 for DMA mode 1.
o 1f1 03 ; 03 (zero-3) is to program the hard disk timing.
o 1f7 ef ; ef is the set feature command for the hard disk.
i 1f1 ; Reads in the error status; a value is returned.

4. To quit Debug, type the letter "q" and press ENTER.

If the number returned after entering "i 1f1" is 00, the hard disk accepts the
DMA protocol timing that you have entered with the "o 1f2" statement, and the
hard disk supports DMA. A return value of 04 indicates that the hard disk
does not support a DMA multiple-word protocol. If the value returned is not
00 or 04, you may not have typed the characters correctly, or you may need to
quit Windows.

PIO mode 3 hard disks may support multiple-word DMA mode 1. PIO mode 4 hard
disks should support multiple-word DMA mode 2. If you have a PIO mode 4 drive
that does not support multiple-word DMA mode 2, it is possible that the hard
disk has a firmware problem. Contact the hard disk's manufacturer, and verify
the firmware version.

Testing the Secondary IDE Drive:

1. Restart the computer. When you see the "Starting Windows 95" message, press
the F8 key and then choose Command Prompt Only from the Startup menu.

2. At the command prompt, type:

debug

3. At the hyphen prompt, type the following lines, pressing ENTER after each
line. Do not type the semicolon (;) or the comment after the semicolon.

NOTE: The first character of each line is the letter o, not the numeral zero.

o 176 a0 ; a0 (a-zero) is for a master drive, use b0 for a slave.
o 172 22 ; 22 is for DMA mode 2, use 21 for DMA mode 1.
o 171 03 ; 03 (zero-3) is to program the hard disk timing.
o 177 ef ; ef is the set feature command for the hard disk.
i 171 ; Reads in the error status; a value is returned.

4. To quit Debug, type the letter "q" and press ENTER.

If the number returned after entering "i 171" is 00, the hard disk accepts the
DMA protocol timing that you have entered with the "o 172" statement, and the
hard disk supports DMA. A return value of 04 indicates that the hard disk
does not support a DMA multiple-word protocol.

If your drive does support a DMA multiple-word protocol and the DMA check box
will not remain enabled, the IDE controller may not be compatible with the
Microsoft IDE bus mastering driver.

MORE INFORMATION
================

DMA (also referred to as bus mastering) reduces CPU overhead by providing a
mechanism for data transfers that do not require monitoring by the CPU. The
transfer rate for a particular data transfer event will not noticeably increase.
However, overall CPU overhead should be reduced using DMA mode.

A disadvantage of implementing DMA data transfer operations has been that the
PC/AT and IDE hard disk controller evolved around PIO data transfer methods. As
a result, the system Int 13h BIOS and native operating system device drivers
evolved around PIO transfers instead of DMA transfers. Modifications to the
BIOS, as well as external device drivers, have been necessary to achieve the
incremental performance that DMA offers. Windows 95 OEM Service Release 2 offers
native operating system support for many bus mastering IDE controllers.

Additional query words: 95

======================================================================
Keywords : kbhw kbui osr2 win95 win98
Version : 95
Platform : WINDOWS
Issue type : kbprb
=============================================================================
Copyright Microsoft Corporation 1999.
 

tweakr

Senior member
Mar 2, 2000
270
0
0
Norssak

Thanks for the article, but I found out that the problem was that I had the ALI Driver installed for the parent controller, but the generic Microsoft drivers installed for the primary and secondary channels - this stopped me from using DMA. By changing the channel drivers to the ALI Busmastering ones, i fixed the problem :D

Thanks again
tweakr