[lkml]   [2003]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.6.0-test2-(bk6 && mm5) Build Failure - "ide_setup_dma()" is MIA

On Thu, 7 Aug 2003, Ed Cogburn wrote:

> My .config for -bk6 is attached. The same error occurs with the -mm5 tree
> too.
> Update: Ok, I figured out the problem. I didn't have "Generic PCI
> bus-master DMA support" enabled. From reading its description I didn't
> think I needed it because I have no IDE drives on my system (I need IDE for
> 2 ATAPI devices, my hard drive is SCSI). On reflection, I may not need "PCI
> IDE chipset support" at all either.

You don't want to use DMA on your ATAPI devices?

If you want DMA on ATAPI and have PCI IDE chipset you need
"PCI IDE chipset support" + "Generic PCI bus-master DMA support"
+ driver for you chipset.

> In any event there seems to be a missing dependency here.
> CONFIG_BLK_DEV_IDEPCI ("PCI IDE chipset support") controls whether
> drivers/ide/setup_pci.c is compiled. That file calls ide_setup_dma(), but
> this function is in drivers/ide/ide_dma.c which is controlled
> by CONFIG_BLK_DEV_IDEDMA_PCI which is a *suboption* of IDEPCI. In other
> words, from my understanding of this, the latter config option, IDEDMA_PCI,
> should be automatically *required* if the first config option, IDEPCI,
> is selected.

Yep. Proper fix is to make setup_pci.c independent of ide_dma.c (requires
some more thought and work).

> Of course, I could be reading this wrong, I'm just providing this FWIW. :)

Thanks for reporting anyway.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.027 / U:4.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site