mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* HDIO_SET_DMA failed on a Dell Latitude C400 Laptop
@ 2004-07-12 13:07 Mark Watts
  2004-07-12 13:22 ` Mark Watts
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Watts @ 2004-07-12 13:07 UTC (permalink / raw)
  To: linux-kernel

-----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-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: HDIO_SET_DMA failed on a Dell Latitude C400 Laptop
  2004-07-12 13:07 HDIO_SET_DMA failed on a Dell Latitude C400 Laptop Mark Watts
@ 2004-07-12 13:22 ` Mark Watts
  2004-07-12 15:37   ` Bartlomiej Zolnierkiewicz
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Watts @ 2004-07-12 13:22 UTC (permalink / raw)
  To: linux-kernel

-----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

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-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: HDIO_SET_DMA failed on a Dell Latitude C400 Laptop
  2004-07-12 13:22 ` Mark Watts
@ 2004-07-12 15:37   ` Bartlomiej Zolnierkiewicz
  2004-07-13 10:41     ` Mark Watts
  0 siblings, 1 reply; 4+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2004-07-12 15:37 UTC (permalink / raw)
  To: Mark Watts; +Cc: linux-kernel


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.

On Monday 12 of July 2004 15:22, Mark Watts wrote:
> -----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
>
> Kernel is a 2.6.7 kernel...


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: HDIO_SET_DMA failed on a Dell Latitude C400 Laptop
  2004-07-12 15:37   ` Bartlomiej Zolnierkiewicz
@ 2004-07-13 10:41     ` Mark Watts
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Watts @ 2004-07-13 10:41 UTC (permalink / raw)
  To: linux-kernel; +Cc: Bartlomiej Zolnierkiewicz

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


> 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-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-07-13 10:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-12 13:07 HDIO_SET_DMA failed on a Dell Latitude C400 Laptop Mark Watts
2004-07-12 13:22 ` Mark Watts
2004-07-12 15:37   ` Bartlomiej Zolnierkiewicz
2004-07-13 10:41     ` Mark Watts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®