>>>>> "Sridhar" == Sridhar M A <[EMAIL PROTECTED]> writes:

    Sridhar> Hello, Has anybody faced any problem with the latest
    Sridhar> 2.4.14 kernel?  Everything compiles fine. But during
    Sridhar> bootup, I find that there is an unresolved dependency
    Sridhar> problem for the loop.o module. Checking modules.dep shows
    Sridhar> no dependencey. But still I get the same problem.
    Sridhar> Modprobe loop also gives the same error. Perchance, is it
    Sridhar> a bug?

Yes. I too have the same problem. Looks like a bug to me.

binand@binand[~]:(37) sudo 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

binand@binand[/usr/src/linux]:(43) find . -name \*.c | xargs grep deactivate_page
./drivers/block/loop.c:         deactivate_page(page);
./drivers/block/loop.c: deactivate_page(page);

Thats all. The function deactivate_page seems to have been removed in
this kernel version, and all references to it have been deleted (this,
after checking the patch from 2.4.13 to 2.4.14). Someone probably
forgot about loop.c.

I don't have the time to recompile right now, but check out if this
patch helps you. Post the results on this list please.

Binand

cd /usr/src/linux; patch -p0 < this.mail

--- ./drivers/block/loop.c.old  Sat Nov 10 12:50:19 2001
+++ ./drivers/block/loop.c      Sat Nov 10 12:50:28 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;

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to