On Wed, 14 Nov 2001, Hetz Ben Hamo wrote:

> Hi people,
>
> I'm trying to compile loop.o module inside my kernel, and I get this weird
> message - does someone knows about this anything?
>
>  hetz]# modprobe loop
> /lib/modules/2.4.14/kernel/drivers/block/loop.o: unresolved symbol
> deactivate_page
> /lib/modules/2.4.14/kernel/drivers/block/loop.o: insmod
> /lib/modules/2.4.14/kernel/drivers/block/loop.o failed
> /lib/modules/2.4.14/kernel/drivers/block/loop.o: insmod loop failed
>
> I checked all the usual places - didn't find anything special....

you didnt check well enough. there were at least 50 messages on linux
kernel in regards to this problem.

short answer: get 2.4.15pre-something (some of them were expermintal, so
be careful which pre you grab)

real answer:
--- linux-2.4.14-broken/drivers/block/loop.c    Thu Oct 25 13:58:34 2001
+++ linux-2.4.14/drivers/block/loop.c   Mon Nov  5 17:06:08 2001
@@ -207,7 +207,6 @@
                index++;
                pos += size;
                UnlockPage(page);
-               deactivate_page(page);
                page_cache_release(page);
        }
        return 0;
@@ -218,7 +217,6 @@
        kunmap(page);
 unlock:
        UnlockPage(page);
-       deactivate_page(page);
        page_cache_release(page);
 fail:
        return -1;

-- 
mulix

http://www.pointer.co.il/~mulix/
http://syscalltrack.sf.net/





=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to