[lkml]   [1998]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 2.1.78 - ide cannot be used as a module.
In linux.kernel you write:
Itai Nahshon <> writes:

>If I have CONFIG_PROC_FS=y and CONFIG_BLK_DEV_IDE=m I cannot use ide.

>The reason is that ide-proc.o tries to compile as a module
>but it has mutual dependencies with ide.o. Even if it did not, it does
>not include <linux/module.h>.

This has been the case for the past several kernels. A quick fix is
to link ide.o and ide-proc.o together into a "super-module", i.e.

cd /lib/modules/2.1.78/block
ld -r -o ide_mod.o ide.o ide-proc.o
rm -f ide.o ide-proc.o
/sbin/depmod -a 2.1.78

This makes IDE work as a module, except that /proc/ide comes up empty.

Henrik Storner

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