Kernel built fine at first, boots, runs, hunky-dory. Then I found that I needed to add a driver module for a Marvell 88SX7042 SATA card. Enabled ATA_SFF, ATA_BMDMA, and SATA_MV. Also noted the PATA_AMD driver, and wanted to see if that would work on this motherboard, so enabled that too. Seems like the drivers themselves compile, but maybe something weird is going on with a dependency? Reproducible: Always Steps to Reproduce: 1. Compile an SFF-free gentoo-sources-3.0.0 kernel 2. Enable ATA_SFF, ATA_BMDMA, and SATA_MV and/or PATA_AMD (other SFF drivers?) 3. 'make modules' Actual Results: Building modules, stage 2. MODPOST 248 modules ERROR: "ata_bmdma_port_ops" [drivers/ata/sata_mv.ko] undefined! ERROR: "ata_sff_port_ops" [drivers/ata/sata_mv.ko] undefined! ERROR: "ata_bmdma_port_intr" [drivers/ata/sata_mv.ko] undefined! ERROR: "ata_sff_queue_pio_task" [drivers/ata/sata_mv.ko] undefined! ERROR: "ata_bmdma_qc_issue" [drivers/ata/sata_mv.ko] undefined! ERROR: "ata_sff_softreset" [drivers/ata/sata_mv.ko] undefined! ERROR: "ata_sff_dma_pause" [drivers/ata/sata_mv.ko] undefined! ERROR: "ata_bmdma_port_ops" [drivers/ata/pata_amd.ko] undefined! ERROR: "ata_bmdma32_port_ops" [drivers/ata/pata_amd.ko] undefined! ERROR: "ata_pci_bmdma_init_one" [drivers/ata/pata_amd.ko] undefined! ERROR: "ata_sff_prereset" [drivers/ata/pata_amd.ko] undefined! ERROR: "ata_pci_bmdma_clear_simplex" [drivers/ata/pata_amd.ko] undefined! make[1]: *** [__modpost] Error 1 make: *** [modules] Error 2 Expected Results: Finished making the driver modules? Phenom II X4, 64-bit, gcc (Gentoo 4.4.5 p1.3, pie-0.4.5) 4.4.5, glibc-2.13-r4
The CONFIG_ATA_SFF and CONFIG_ATA_BMDMA options cause some functions to be built into the kernel itself. Thus, simply running 'make modules' failed, because those functions were not present. Running a full 'make' worked. Problem between keyboard and chair, I suppose.