[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Installing Kernel Problem





> drivers/block/block.o(.text+0x894f): undefined reference to `deactivate_page'
> drivers/block/block.o(.text+0x8999): undefined reference to `deactivate_page'
> make: *** [vmlinux] Error 1
> 
> Can anyone tell me what I can do to solve this problem?
> 
> Darrell
> 

Known problem in 2.4.14 ... either get a 2.4.15pre, wait for 2.4.15, or apply 
the following patch:

=== start: snip here ===================================================

--- linux-2.4.14/drivers/block/loop.c   Thu Oct 25 13:58:34 2001
+++ linux-2.4.14-loop/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;

=== end: snip here ====================================================

Patch obtained from LKML, and for location, here's the relevent bits of the 
header of the post:

	From: Eyal Lebedinsky <eyal [at] eyal.emu.id.au>
	Subject: Re: It's me again ...
	Date: Sat, 17 Nov 2001 02:24:30 GMT
	To: linux-kernel [at] vger.kernel.org

There are several other posts with the same patch. Search the linux-kernel 
archives for more :)

Chris...

-- 
\ Chris Johnson           \
 \ cej [at] nccnet.co.uk        \
  \ www.nccnet.co.uk/~cej/  ~-----------------------------------------,
   \ Redclaw chat - http://redclaw.org.uk - telnet redclaw.org.uk 2000 \____


___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.