* PROBLEM: The module loop.o has an unresolved dependency: deactivate_page()
@ 2001-11-09 18:34 Roby
2001-11-09 20:38 ` Adrian Bunk
0 siblings, 1 reply; 2+ messages in thread
From: Roby @ 2001-11-09 18:34 UTC (permalink / raw)
To: linux-kernel
Kernel 2.4.14
[1.] The module loop.o has an unresolved dependency: deactivate_page()
[2.] If I compile the module loop.o as a module it compiles fine,but then it
has un unresolved dependency: deactivate_page(). This function once was in
the source file mm/swap.c, but in the kernel 2.4.14 it disappeared. I know
the function existed in the kernel 2.4.10.
[3.] module, deactivate_page(), loop.o, swap.c
[4.] Kernel 2.4.14, downloaded from www.kernel.org (vanilla, no ac patch)
[7.2] processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 4
model name : AMD Athlon(tm) Processor
stepping : 2
cpu MHz : 1109.919
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips : 2215.11
[8.] The function deactivate_page() is not defined elsewhere. What have I to
do for having the loop block device?
[9.] ]$ cat version
Linux version 2.4.14 (root@darkstar) (gcc version egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)) #6 Wed Nov 7 22:22:30 CET 2001
--
Roby
email
robylit@inwind.it
robylit@tiscali.it
WEB Page
http://web.tiscali.it/robylit
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PROBLEM: The module loop.o has an unresolved dependency: deactivate_page()
2001-11-09 18:34 PROBLEM: The module loop.o has an unresolved dependency: deactivate_page() Roby
@ 2001-11-09 20:38 ` Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2001-11-09 20:38 UTC (permalink / raw)
To: Roby; +Cc: linux-kernel
On Fri, 9 Nov 2001, Roby wrote:
> Kernel 2.4.14
>
> [1.] The module loop.o has an unresolved dependency: deactivate_page()
> [2.] If I compile the module loop.o as a module it compiles fine,but then it
> has un unresolved dependency: deactivate_page(). This function once was in
> the source file mm/swap.c, but in the kernel 2.4.14 it disappeared. I know
> the function existed in the kernel 2.4.10.
>...
This is a known bug.
The following patch fixes it:
--- 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;
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-09 20:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-09 18:34 PROBLEM: The module loop.o has an unresolved dependency: deactivate_page() Roby
2001-11-09 20:38 ` Adrian Bunk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®