lkml.org 
[lkml]   [1998]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.1.78 - ide cannot be used as a module.
In linux.kernel you write:
Itai Nahshon <nahshon@actcom.co.il> 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:0.037 / U:0.256 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site