2009/6/4 Dave Chinner <david@xxxxxxxxxxxxx>: > On Mon, Jun 01, 2009 at 07:22:56PM +0400, Alexander Beregalov wrote: >> Hi >> >> Assertion failed: *nmap >= 1, file: fs/xfs/xfs_bmap.c, line: 4846 > ..... >> Call Trace: >> [<ffffffff803d6bad>] xfs_bmapi+0xad/0x1ad0 >> [<ffffffff803ee5c0>] xfs_dir2_leaf_getdents+0x640/0x7b0 >> [<ffffffff803e975c>] xfs_readdir+0x12c/0x140 >> [<ffffffff80430b57>] xfs_file_readdir+0x47/0x70 >> [<ffffffff802ec500>] vfs_readdir+0xd0/0xf0 >> [<ffffffff802ec6b6>] sys_getdents+0x96/0x110 >> [<ffffffff8020ba6b>] system_call_fastpath+0x16/0x1b > > I'd say this indicates a corrupted directory. Can you run > 'xfs_repair -n' over the filesystem and see if it finds a bad > directory? Hi Dave It is a rootfs. xfs_repair found and fixed all errors, but after reboot the problem still persists (but at another stage of running `emerge`). localhost ~ # echo s > /proc/sysrq-trigger localhost ~ # echo s > /proc/sysrq-trigger localhost ~ # echo u > /proc/sysrq-trigger localhost ~ # xfs_repair -nd /dev/sda2 Phase 1 - find and verify superblock... Phase 2 - using internal log - scan filesystem freespace and inode maps... - found root inode chunk Phase 3 - for each AG... - scan (but don't clear) agi unlinked lists... - process known inodes and perform inode discovery... - agno = 0 - agno = 1 - agno = 2 - agno = 3 - agno = 4 - agno = 5 - agno = 6 - agno = 7 - agno = 8 - agno = 9 - agno = 10 - agno = 11 - agno = 12 - agno = 13 - agno = 14 - agno = 15 - process newly discovered inodes... Phase 4 - check for duplicate blocks... - setting up duplicate extent list... - check for inodes claiming duplicate blocks... - agno = 0 - agno = 1 - agno = 2 - agno = 4 - agno = 3 - agno = 5 - agno = 6 - agno = 7 - agno = 8 - agno = 9 - agno = 10 - agno = 11 - agno = 12 - agno = 13 - agno = 14 - agno = 15 No modify flag set, skipping phase 5 Phase 6 - check inode connectivity... - traversing filesystem ... - traversal finished ... - moving disconnected inodes to lost+found ... Phase 7 - verify link counts... No modify flag set, skipping filesystem flush and exiting. -- To unsubscribe from this list: send the line "unsubscribe kernel-testers" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html