On Tue, 2006-05-30 at 12:39 +0400, Paul Drynoff wrote:
> I have 2.6.16-gentoo-r7, compiled without any debug support,
> but recently I found in my log such strange messages,
> what may be wrong?
This could be caused by a corrupted directory on disk. This patch
should do a better job of detecting what the problem is. You should be
able to fix the problem by running "fsck -f" against the partition.
I don't know what the cause of the corruption may be. I'd be interested
if it is reproducible after fixing it with fsck (assuming fsck does fix
it).
> May 30 12:20:05 localhost [<c01b3026>] __get_metapage+0x3c/0x3a1
> May 30 12:20:05 localhost [<e18680a1>] _nv002668rm+0x1d/0x2c [nvidia]
> May 30 12:20:05 localhost [<e18680a1>] _nv002668rm+0x1d/0x2c [nvidia]
> May 30 12:20:05 localhost [<c01ae86c>] dtSearch+0x15b/0x7b3
> May 30 12:20:05 localhost [<c0156005>] __d_lookup+0x85/0xbc
> May 30 12:20:05 localhost [<c01ac5dd>] get_UCSname+0x3d/0xe9
> May 30 12:20:05 localhost [<c019f5fa>] jfs_lookup+0xa2/0x15e
> May 30 12:20:05 localhost [<c01521de>] poll_freewait+0x35/0x3e
> May 30 12:20:05 localhost [<c0159359>] mntput_no_expire+0x14/0x59
> May 30 12:20:05 localhost [<c014fdac>] link_path_walk+0xb0/0xbb
> May 30 12:20:05 localhost [<c014efd7>] __lookup_hash+0xad/0xc9
> May 30 12:20:05 localhost [<c015037c>] do_unlinkat+0x5a/0x122
> May 30 12:20:05 localhost [<c01199c5>] sys_gettimeofday+0x23/0x51
> May 30 12:20:05 localhost [<c01029e3>] sysenter_past_esp+0x54/0x75
diff -Nurp linux-2.6.16/fs/jfs/jfs_dtree.c linux/fs/jfs/jfs_dtree.c
--- linux-2.6.16/fs/jfs/jfs_dtree.c 2006-03-19 23:53:29.000000000 -0600
+++ linux/fs/jfs/jfs_dtree.c 2006-05-30 10:05:04.000000000 -0500
@@ -793,6 +793,12 @@ int dtSearch(struct inode *ip, struct co
/* unpin the parent page */
DT_PUTPAGE(mp);
+
+ if (psize > PSIZE) {
+ printk(KERN_ERR "dtSearch: bad psize %d\n", psize);
+ rc = -EIO;
+ break;
+ }
}
out:
--
David Kleikamp
IBM Linux Technology Center
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
Jfs-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jfs-discussion