* can't build IDE as modules in BK 2.5.69
@ 2003-05-13 3:44 Peter Chubb
2003-05-13 4:55 ` Rusty Russell
2003-05-13 5:45 ` Rusty Russell
0 siblings, 2 replies; 3+ messages in thread
From: Peter Chubb @ 2003-05-13 3:44 UTC (permalink / raw)
To: linux-kernel; +Cc: rusty
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: can't build IDE as modules in BK 2.5.69
2003-05-13 3:44 can't build IDE as modules in BK 2.5.69 Peter Chubb
@ 2003-05-13 4:55 ` Rusty Russell
2003-05-13 5:45 ` Rusty Russell
1 sibling, 0 replies; 3+ messages in thread
From: Rusty Russell @ 2003-05-13 4:55 UTC (permalink / raw)
To: Peter Chubb; +Cc: linux-kernel
In message <16064.27148.819310.962984@wombat.chubb.wattle.id.au> you write:
>
> 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)
Grrr... I thought that was fixed. What version of depmod you using
(depmod -V).
Real problem is actual dependency loop in IDE modules, but depmod
should just report that and ignore the modules involved.
> 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
Thanks for the report,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: can't build IDE as modules in BK 2.5.69
2003-05-13 3:44 can't build IDE as modules in BK 2.5.69 Peter Chubb
2003-05-13 4:55 ` Rusty Russell
@ 2003-05-13 5:45 ` Rusty Russell
1 sibling, 0 replies; 3+ messages in thread
From: Rusty Russell @ 2003-05-13 5:45 UTC (permalink / raw)
To: Peter Chubb; +Cc: linux-kernel
In message <16064.27148.819310.962984@wombat.chubb.wattle.id.au> you write:
>
> 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)
OK, reproduced here. I've simplified the depmod loop detection logic:
I was trying to be too clever.
I've just released 0.9.12, which won't help your IDE problem, but will
terminate 8)
http://www.kernel.org/pub/linux/people/rusty/modules/module-init-tools-testsuite-0.9.12.tar.gz
Thanks for the report!
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-05-13 7:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-13 3:44 can't build IDE as modules in BK 2.5.69 Peter Chubb
2003-05-13 4:55 ` Rusty Russell
2003-05-13 5:45 ` Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).