Per Øyvind Karlsen wrote:
I'd hope Mandrake would release a new kernel. If we are hitting this bug, I'm sure others are....Bryan Whitehead wrote:After working with SGI for the past week, with kdb backtraces and many rebuilds of the kernel. The problem with the xfs filesystem as mandrake ships it was found. Finally! Now I can use all the memory we bought for our machines!! :)ahh, great work, just came home after being away for the weekend, and that one made me very happy=)
I included a patch that needs to be dropped into the 2.4.19-q16/patches directory in the kernel source as shipped with mandrake 9.0.
Please apply and release a new kernel... :)
------------------------------------------------------------------------
diff -ru linux-2.4.19/fs/xfs.orig/pagebuf/page_buf_io.c linux-2.4.19/fs/xfs/pagebuf/page_buf_io.c
--- linux-2.4.19/fs/xfs.orig/pagebuf/page_buf_io.c 2002-11-13 17:25:21.000000000 -0800
+++ linux-2.4.19/fs/xfs/pagebuf/page_buf_io.c 2002-11-13 17:31:40.000000000 -0800
@@ -309,7 +309,8 @@
__pb_block_prepare_write_async(ip, page,
cpoff, cpoff+csize, at_eof, NULL,
pbmapp, PBF_WRITE);
- memset((void *) (kmap(page) + cpoff), 0, csize);
+ /* __pb_block_prepare_write already kmap'd the page */
+ memset((void *) (page_address(page) + cpoff), 0, csize);
pagebuf_commit_write_core(ip, page, cpoff, cpoff + csize);
pos = ((loff_t)page->index << PAGE_CACHE_SHIFT) +
cpoff + csize;
Only in linux-2.4.19/fs/xfs/pagebuf: page_buf_io.c.orig
--
Bryan Whitehead
SysAdmin - JPL - Interferometry Systems and Technology
Phone: 818 354 2903
[EMAIL PROTECTED]