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.284 / U:1.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site