public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* DMA in PCI chipset -- module vs. compiled-in
@ 2006-02-06  3:43 William Park
  2006-02-06  4:32 ` Lee Revell
  0 siblings, 1 reply; 11+ messages in thread
From: William Park @ 2006-02-06  3:43 UTC (permalink / raw)
  To: linux-kernel

Dear experts,

Normally, my PCI chipset (ie. via82cxxx, hpt366) are compiled in, and it
correctly enables DMA of my harddisk.

But, for experiment, I tried compiling in only the "generic" options,
and moved all specific PCI chipsets as modules.  Hotplug loads the
modules, but with all 'hdparm' options turned off.  When I tried turning
on DMA, 
    $ hdparm -m 16 -c 1 -u 1 -d 1 /dev/hda
I get
    /dev/hda:
     setting 32-bit IO_support flag to 1
     setting multcount to 16
     setting unmaskirq to 1 (on)
     setting using_dma to 1 (on)
     HDIO_SET_DMA failed: Operation not permitted
     multcount    = 16 (on)
     IO_support   =  1 (32-bit)
     unmaskirq    =  1 (on)
     using_dma    =  0 (off)

Is this normal?  How do I turn on DMA, if I load my PCI chipset as
module?

-- 
William Park <opengeometry@yahoo.ca>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
	   http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
	  http://freshmeat.net/projects/bashdiff/

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

end of thread, other threads:[~2006-02-08  4:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-06  3:43 DMA in PCI chipset -- module vs. compiled-in William Park
2006-02-06  4:32 ` Lee Revell
2006-02-06 19:31   ` Ingo Oeser
2006-02-06 20:26     ` Lee Revell
2006-02-06 19:49   ` Alan Cox
2006-02-06 20:25     ` Lee Revell
2006-02-07  8:14       ` Bartlomiej Zolnierkiewicz
2006-02-07 11:07         ` Alan Cox
2006-02-07 11:14           ` Bartlomiej Zolnierkiewicz
2006-02-08  4:37             ` William Park
2006-02-07  2:04     ` William Park

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