Kernel compilation errors

Mark Hymers markh at linuxfromscratch.org
Wed Nov 14 15:36:12 PST 2001


On Thu, 15, Nov, 2001 at 12:23:15AM +0100, Matthias Benkmann spoke thus..
> On 14 Nov 2001, at 20:42, Rune Dueholm wrote:
> 
> > to recompile _with_ loopback support, and this is where my problem occurs.
> > It seems the "make bzImage" fails when i try to compile with loopback
> > support. If load the exact same configuration and remove the loopback
> > support, kernel compiles without problems. Anyone got any ideas why this
> > happens?
> 
> AFAIK 2.4.14's loopback support is broken. Get a newer (or older) kernel.
Or apply this patch to 2.4.14 from the kernel mailing list, it's a simple 'un!

HTH

Mark

--- 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;





-- 
Mark Hymers					 BLFS Editor
markh at linuxfromscratch.org
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list