Skip to contentSkip to conversation

HDIO_SET_DMA failed on a Dell Latitude C400 Laptop

DISCUSSION Mark Watts 2 participants 4 messages Jul 12, 2004 – Jul 13, 2004

lore
Share & tools
lore

Mark Watts

author
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've just burnt a cd for the first time on a Dell Latitude C400 laptop and I noticed that the system was quite sluggish while the burn was happening. (mouse pointer erratic, window redraw slow etc).

Remembering a similar issue with a desktop system, I did the following to enable DMA on the hard drive (hdparm was giving ~3MB/sec read)

# hdparm -c1 -d1 /dev/hda

/dev/hda
setting 32-bit IO_support flag to 1
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
IO_support = 1 (32-bit)
using_dma = 0 (off)

hdparm now reports ~7MB/sec which is better but still prety poor.

Any ideas why I couldn't set DMA on the drive?

CPU = Mobile Pentum 3 @1.2GHz (800MHz when booted with no power cord) Ram = 256MB
HDD = IBM Travelstar (IC25N020ATDA04-0) 20GB
BIOS Rev = A12

- --
Mark Watts
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services group
GPG Public Key ID: 455420ED

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA8o0CBn4EFUVUIO0RAtrMAKCW7sohHS2muGZjJ8rqTEuCOMlD7wCfRB4T D+rI56ie5zpMtj/ed7Bz78g=
=z33I
-----END PGP SIGNATURE-----

author
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 20 lines

I've just burnt a cd for the first time on a Dell Latitude C400 laptop and I noticed that the system was quite sluggish while the burn was happening. (mouse pointer erratic, window redraw slow etc).

Remembering a similar issue with a desktop system, I did the following to enable DMA on the hard drive (hdparm was giving ~3MB/sec read)

# hdparm -c1 -d1 /dev/hda

/dev/hda
setting 32-bit IO_support flag to 1
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
IO_support = 1 (32-bit)
using_dma = 0 (off)

hdparm now reports ~7MB/sec which is better but still prety poor.

Quoted 7 lines

Any ideas why I couldn't set DMA on the drive?

CPU = Mobile Pentum 3 @1.2GHz (800MHz when booted with no power cord) Ram = 256MB
HDD = IBM Travelstar (IC25N020ATDA04-0) 20GB
BIOS Rev = A12

Kernel is a 2.6.7 kernel...

- --
Mark Watts
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services group
GPG Public Key ID: 455420ED

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA8pB4Bn4EFUVUIO0RAjmoAJ93XBQpvOhfi3PNWvNDIHDvT6WASQCcDmlI TI0LXhd4IxLKE6sMK3W7mls=
=rzX2
-----END PGP SIGNATURE-----

#2 lore raw

Make sure that you have the driver for your IDE chipset compiled-in or (if you are using IDE as module) that you load it and not ide-generic.

Quoted 32 lines · Mark Watts

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 20 lines

I've just burnt a cd for the first time on a Dell Latitude C400 laptop and I noticed that the system was quite sluggish while the burn was happening. (mouse pointer erratic, window redraw slow etc).

Remembering a similar issue with a desktop system, I did the following to enable DMA on the hard drive (hdparm was giving ~3MB/sec read)

# hdparm -c1 -d1 /dev/hda

/dev/hda
setting 32-bit IO_support flag to 1
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
IO_support = 1 (32-bit)
using_dma = 0 (off)

hdparm now reports ~7MB/sec which is better but still prety poor.

Quoted 7 lines

Any ideas why I couldn't set DMA on the drive?

CPU = Mobile Pentum 3 @1.2GHz (800MHz when booted with no power cord) Ram = 256MB
HDD = IBM Travelstar (IC25N020ATDA04-0) 20GB
BIOS Rev = A12

Kernel is a 2.6.7 kernel...

author
#3 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 2 lines

Make sure that you have the driver for your IDE chipset compiled-in or (if you are using IDE as module) that you load it and not ide-generic.

Fixed - thanks.

Mark.

- --
Mark Watts
Senior Systems Engineer
QinetiQ Trusted Information Management
Trusted Solutions and Services group
GPG Public Key ID: 455420ED

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA87xRBn4EFUVUIO0RAtzHAJkBflHLY/ZwYPaBUanexrmOxJlF5gCg61cD SlpyH+LHjozE6FUGZNSRjrI=
=wh7k
-----END PGP SIGNATURE-----