can't build IDE as modules in BK 2.5.69

Peter Chubb (peter@chubb.wattle.id.au)
Tue, 13 May 2003 13:44:12 +1000


With the 2.5 bk linux as of 2003.05.13, and config options below,
modutils seems to go into a seemingly infinite loop when trying to
buld modules.dep on the resulting module set (and creates an extremely
large modules.dep file -- 95M before the filesystem filled up)

Any ideas?

I'm using gcc 3.2.3 and ld 2.13.90.0.18

CONFIG_IDE=m
CONFIG_BLK_DEV_IDE=m
CONFIG_BLK_DEV_IDEDISK=m
CONFIG_BLK_DEV_IDESCSI=m
CONFIG_BLK_DEV_FLOPPY=m
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_ADMA=y
CONFIG_BLK_DEV_PIIX=m
CONFIG_IDEDMA_AUTO=y

depmod -a output:

WARNING: /lib/modules/2.5.69/kernel/drivers/ide/pci/piix.ko needs
unknown symbol ide_setup_pci_device
WARNING: /lib/modules/2.5.69/kernel/drivers/ide/pci/piix.ko needs
unknown symbol ide_pci_register_host_proc
WARNING: /lib/modules/2.5.69/kernel/drivers/ide/pci/piix.ko needs
unknown symbol ide_setup_dma
WARNING: /lib/modules/2.5.69/kernel/drivers/ide/pci/piix.ko needs
unknown symbol ide_pci_unregister_driver
WARNING: /lib/modules/2.5.69/kernel/drivers/ide/ide-probe.ko needs
unknown symbol ide_bus_type
WARNING: /lib/modules/2.5.69/kernel/drivers/ide/ide-probe.ko needs
unknown symbol do_ide_request
WARNING: /lib/modules/2.5.69/kernel/drivers/ide/ide-probe.ko needs
unknown symbol ide_add_generic_settings
WARNING: /lib/modules/2.5.69/kernel/drivers/ide/ide-floppy.ko needs
unknown symbol proc_ide_read_geometry
WARNING: /lib/modules/2.5.69/kernel/drivers/ide/ide-disk.ko needs
unknown symbol proc_ide_read_geometry
WARNING: Module /lib/modules/2.5.69/kernel/drivers/scsi/ide-scsi.ko
ignored, due to loop
WARNING: Module /lib/modules/2.5.69/kernel/drivers/ide/pci/piix.ko
ignored, due to loop
WARNING: Module /lib/modules/2.5.69/kernel/drivers/ide/ide.ko ignored,
due to loop
WARNING: Module /lib/modules/2.5.69/kernel/drivers/ide/ide-taskfile.ko
ignored, due to loop
WARNING: Module /lib/modules/2.5.69/kernel/drivers/ide/ide-probe.ko
ignored, due to loop

# ls -l /lib/modules/2.5.69
total 93592
lrwxrwxrwx 1 root staff 25 May 13 13:39 build ->
/usr/src/linux-2.5-wombat
drwxr-xr-x 8 root staff 4096 May 13 13:39 kernel
-rw-r--r-- 1 root staff 0 May 13 13:39 modules.alias
-rw-r--r-- 1 root staff 0 May 13 13:39 modules.ccwmap
-rw-r--r-- 1 root staff 95735808 May 13 13:39 modules.dep
-rw-r--r-- 1 root staff 0 May 13 13:39 modules.pcimap
-rw-r--r-- 1 root staff 0 May 13 13:39 modules.symbols
-rw-r--r-- 1 root staff 0 May 13 13:39 modules.usbmap

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/