Skip to contentSkip to conversation

2.6.0 build issues

DISCUSSION Rusty Russell 1 participant 1 message Nov 28, 2003 1 message not in the archive libata

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

In message <[email protected]> you write:

Quoted 5 lines

*** Warning: "ide_pci_unregister_driver" [drivers/ide/pci/via82cxxx.ko] undefined! *** Warning: "ide_pci_register_driver" [drivers/ide/pci/via82cxxx.ko] undefined! *** Warning: "ide_setup_pci_device" [drivers/ide/pci/via82cxxx.ko] undefined! *** Warning: "ide_pci_register_host_proc" [drivers/ide/pci/via82cxxx.ko] undefined! *** Warning: "ide_pci_unregister_driver" [drivers/ide/pci/trm290.ko] undefined

!

Thanks for the report, Eyal!

It's an IDE Makefile problem (sorry Bart!). You've set CONFIG_IDE=m, but CONFIG_BLK_DEV_IDEDMA_PCI=y. That might be OK, but the kernel only goes into the drivers/ide dir for modules:

drivers/Makefile: obj-$(CONFIG_IDE) += ide/

But making this obj-y reveals that setup-pci.c's ide_match_hwif() needs ide_hwifs, which is in ide.c, so maybe the Kconfig is wrong?

Help!
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.