linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Kernel 2.4.14 link error
@ 2001-11-07  5:14 Richard
  2001-11-07 12:01 ` Adrian Bunk
  0 siblings, 1 reply; 2+ messages in thread
From: Richard @ 2001-11-07  5:14 UTC (permalink / raw)
  To: linux-kernel

This is my first nervous attempt at kernel stuff (sweat, panic...)

Kernel 2.4.14 does not link if loopback device is enabled. The link fails
with unresolved extern reference "deactivate_page" in block.o

This function is called from drivers/block/loop.c and is located in
in mm/swap.c for kernel 2.4.13 but not for 2.4.14.
I made a copy of loop.c commented out the references (2) to deactivate_page
and compiled as a module, which seems to work just fine.

Hope this helps


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Kernel 2.4.14 link error
  2001-11-07  5:14 Kernel 2.4.14 link error Richard
@ 2001-11-07 12:01 ` Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2001-11-07 12:01 UTC (permalink / raw)
  To: Richard; +Cc: linux-kernel

On Wed, 7 Nov 2001, Richard wrote:

> This is my first nervous attempt at kernel stuff (sweat, panic...)
>
> Kernel 2.4.14 does not link if loopback device is enabled. The link fails
> with unresolved extern reference "deactivate_page" in block.o
>
> This function is called from drivers/block/loop.c and is located in
> in mm/swap.c for kernel 2.4.13 but not for 2.4.14.
> I made a copy of loop.c commented out the references (2) to deactivate_page
> and compiled as a module, which seems to work just fine.

This is a known bug and you did the right thing to fix it.

> Hope this helps

cu
Adrian

-- 

Get my GPG key: finger bunk@debian.org | gpg --import

Fingerprint: B29C E71E FE19 6755 5C8A  84D4 99FC EA98 4F12 B400



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-07 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-07  5:14 Kernel 2.4.14 link error Richard
2001-11-07 12:01 ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).