* 2.4.14 compiling failed
@ 2001-11-18 0:44 Peter Jay Salzman
2001-11-18 1:14 ` Adrian Bunk
0 siblings, 1 reply; 2+ messages in thread
From: Peter Jay Salzman @ 2001-11-18 0:44 UTC (permalink / raw)
To: linux-kernel
this is probably known already, but just in case, 2.4.14 compiling just
failed on me:
make[1]: Leaving directory `/usr/src/linux-2.4.14/arch/i386/lib'
ld -m elf_i386 -T /usr/src/linux-2.4.14/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o \
drivers/parport/driver.o drivers/char/char.o drivers/block/block.o
drivers/misc/misc.o drivers/net/net.o drivers/media/media.o
drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o
drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o
drivers/pci/driver.o drivers/pnp/pnp.o
drivers/video/video.o \
net/network.o \
/usr/src/linux-2.4.14/arch/i386/lib/lib.a
/usr/src/linux-2.4.14/lib/lib.a /usr/src/linux-2.4.14/arch/i386/lib/lib.a \
--end-group \
-o vmlinux
drivers/block/block.o: In function `lo_send':
drivers/block/block.o(.text+0xa57f): undefined reference to `deactivate_page'
drivers/block/block.o(.text+0xa5c9): undefined reference to `deactivate_page'
make: *** [vmlinux] Error 1
i wanted to upgrade because 2.4.13 has been flaky. earlier today, my
system became very sloooow. i killed just about every process with no
effect. top reported that kswapd was taking 99% of the cpu.
then just a few minutes ago, my system hung (couldn't ssh in either). at
the time, all i was running was g++ and mp3blaster. wasn't even running X.
so i went to update to 2.4.14. and the compile just failed.
no big deal -- i can live with it until 2.4.15 comes out, but i thought
someone should know about this.
no response is required. i know how busy everyone here is.
pete (not subscribed)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.4.14 compiling failed
2001-11-18 0:44 2.4.14 compiling failed Peter Jay Salzman
@ 2001-11-18 1:14 ` Adrian Bunk
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2001-11-18 1:14 UTC (permalink / raw)
To: Peter Jay Salzman; +Cc: linux-kernel
On Sat, 17 Nov 2001, Peter Jay Salzman wrote:
> this is probably known already, but just in case, 2.4.14 compiling just
> failed on me:
>...
> drivers/block/block.o: In function `lo_send':
> drivers/block/block.o(.text+0xa57f): undefined reference to `deactivate_page'
> drivers/block/block.o(.text+0xa5c9): undefined reference to `deactivate_page'
> make: *** [vmlinux] Error 1
>...
> so i went to update to 2.4.14. and the compile just failed.
>
> no big deal -- i can live with it until 2.4.15 comes out, but i thought
> someone should know about this.
>
> no response is required. i know how busy everyone here is.
I hope you don't mind that I respond. ;-)
This is a known bug.
If you want to run 2.4.14 the following simple patch solves the problem:
--- 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;
> pete (not subscribed)
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-18 1:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-18 0:44 2.4.14 compiling failed Peter Jay Salzman
2001-11-18 1:14 ` 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®