Menu

#255 kernel BUG at fs/jfs/jfs_metapage.c:750

bug
open
kernel (207)
5
2007-05-04
2007-05-04
Anonymous
No

BUG at fs/jfs/jfs_metapage.c:750 assert(mp->count)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_metapage.c:750!
invalid opcode: 0000 [#1]
SMP Modules linked in: udf binfmt_misc ipv6 ppdev cpufreq_userspace ... fbcon tileblit font bitblit softcursor vesafb capability commoncap
CPU: 0
EIP: 0060:[<d0bf9c3a>] Not tainted VLI
EFLAGS: 00010296 (2.6.20-15-generic #2)
EIP is at release_metapage+0xfa/0x160 [jfs]
eax: 00000045 ebx: cb422648 ecx: 00000096 edx: 00000000
esi: c1059ac0 edi: c05710ae ebp: 00000001 esp: c15c5d34
ds: 007b es: 007b ss: 0068
Process beagled (pid: 6271, ti=c15c4000 task=cc5a0a90 task.ti=c15c4000)
Stack: d0c0408c d0c0406c 000002ee d0c04082 00000000 c0571000 d0c0244f c15c5dac
ce3917fc c0d8e6dc ce3917fc 000000ae c15c5e40 c34032b4 004a17fc c0571000
c0571004 c057102e 0000002a 000000ae 000000ae 0000000f 00000000 00000001
Call Trace:
[<d0c0244f>] __jfs_setxattr+0x61f/0x660 [jfs]
[<d0bfcfc1>] txBegin+0x21/0x370 [jfs]
[<d0c026f8>] jfs_setxattr+0x88/0xe0 [jfs]
[<d0c02670>] jfs_setxattr+0x0/0xe0 [jfs]
[vfs_setxattr+193/576] vfs_setxattr+0xc1/0x240
[setxattr+164/272] setxattr+0xa4/0x110
[__link_path_walk+2527/3696] __link_path_walk+0x9df/0xe70
[link_path_walk+101/192] link_path_walk+0x65/0xc0
[mntput_no_expire+36/160] mntput_no_expire+0x24/0xa0
[link_path_walk+101/192] link_path_walk+0x65/0xc0
[do_path_lookup+131/448] do_path_lookup+0x83/0x1c0
[getname+167/208] getname+0xa7/0xd0
[__user_walk_fd+73/96] __user_walk_fd+0x49/0x60
[sys_lsetxattr+72/96] sys_lsetxattr+0x48/0x60
[sysenter_past_esp+105/169] sysenter_past_esp+0x69/0xa9
=======================
Code: 5b 5e e9 fa 4a 56 ef c7 44 24 0c 82 40 c0 d0 c7 44 24 08 ee 02 00 00 c7 44 24 04 6c 40 c0 d0 c7 04 24 8c 40 c0 d0 e8 d6 cf 52 ef <0f> 0b eb fe 0f 0b eb fe 89 d8 e8 e7 f9 ff ff 8b 43 18 85 c0 75
EIP: [<d0bf9c3a>] release_metapage+0xfa/0x160 [jfs] SS:ESP 0068:c15c5d34
Ubuntu kernel 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

Gnu C 4.1.2
Gnu make 3.81
binutils 2.17.50
util-linux 2.12r
mount 2.12r
module-init-tools 3.3-pre2
e2fsprogs 1.40-WIP
jfsutils 1.1.11
reiserfsprogs 3.6.19
reiser4progs 1.0.5
xfsprogs 2.8.18
pcmciautils 014
pcmcia-cs 3.2.8
PPP 2.4.4
Linux C Library > libc.2.5
Dynamic linker (ldd) 2.5
Procps 3.2.7
Net-tools 1.60
Console-tools 0.2.3
Sh-utils 5.97
udev 108
wireless-tools 28

Related

Patches: #1

Discussion

  • David Kleikamp

    David Kleikamp - 2007-05-04
    • milestone: --> bug
    • assigned_to: nobody --> shaggyk
     
  • David Kleikamp

    David Kleikamp - 2007-05-04

    Logged In: YES
    user_id=422440
    Originator: NO

    Was this also following a resize of the file system (as in bug 1713025)?

    Could you attach the output of "fsck -nd /home"? (Assuming this is the same volume as the other bug)

    Thanks

     
  • Nobody/Anonymous

    Logged In: NO

    Yes, it's the same volume as the other bug and here's the output of "fsck -nd /home":
    fsck 1.40-WIP (14-Nov-2006)
    fsck.jfs version 1.1.11, 05-Jun-2006
    processing started: 5/6/2007 15.11.52
    The current device is: /dev/mapper/vg01-home [xchkdsk.c:1520]
    Open(...READONLY...) returned rc = 0 [fsckpfs.c:3199]
    Primary superblock is valid. [fsckmeta.c:1551]
    The type of file system for the device is JFS. [xchkdsk.c:1537]
    Block size in bytes: 4096 [xchkdsk.c:1850]
    Filesystem size in blocks: 3932160 [xchkdsk.c:1857]
    **Phase 1 - Check Blocks, Files/Directories, and Directory Entries [xchkdsk.c:1989]
    **Phase 2 - Count links [xchkdsk.c:2080]
    **Phase 3 - Duplicate Block Rescan and Directory Connectedness [xchkdsk.c:2113]
    One or more directory entry found for unallocated inode F86242. [xchkdsk.c:593]
    One or more directory entry found for unallocated inode F86243. [xchkdsk.c:593]
    One or more directory entry found for unallocated inode F86244. [xchkdsk.c:593]
    One or more directory entry found for unallocated inode F86245. [xchkdsk.c:593]
    One or more directory entry found for unallocated inode F86246. [xchkdsk.c:593]
    One or more directory entry found for unallocated inode F86247. [xchkdsk.c:593]
    Directory entries for unallocated files have been detected. [xchkdsk.c:755]
    **Phase 4 - Report Problems [xchkdsk.c:2191]
    File system object FF86242 is linked as: /raphael/src/pgp263/doc/pgp.1 [fsckino.c:336]
    The path(s) refer to an unallocated file. [xchkdsk.c:1173]
    File system object FF86243 is linked as: /raphael/src/pgp263/doc/politic.doc [fsckino.c:336]
    The path(s) refer to an unallocated file. [xchkdsk.c:1173]
    File system object FF86244 is linked as: /raphael/src/pgp263/doc/appnote.doc [fsckino.c:336]
    The path(s) refer to an unallocated file. [xchkdsk.c:1173]
    File system object FF86245 is linked as: /raphael/src/pgp263/doc/blurb.txt [fsckino.c:336]
    The path(s) refer to an unallocated file. [xchkdsk.c:1173]
    File system object FF86246 is linked as: /raphael/src/pgp263/doc/mitlicen.txt [fsckino.c:336]
    The path(s) refer to an unallocated file. [xchkdsk.c:1173]
    File system object FF86247 is linked as: /raphael/src/pgp263/doc/przon26i.asc [fsckino.c:336]
    The path(s) refer to an unallocated file. [xchkdsk.c:1173]
    **Phase 5 - Check Connectivity [xchkdsk.c:2223]
    **Phase 6 - Perform Approved Corrections [xchkdsk.c:2252]
    **Phase 7 - Verify File/Directory Allocation Maps [xchkdsk.c:2386]
    Discrepancies detected in the pmap for Inode Allocation Group F21. [fsckimap.c:2355]
    Inode Allocation Group 13484328221 has an invalid Free Inode Summary. [fsckimap.c:2377]
    Inode Allocation Group F21 has an inconsistent count for number of free inodes. [fsckimap.c:2387]
    Inode Allocation Group F21 is inconsistent. [fsckimap.c:2950]
    The Inode Allocation Map has an incorrect number of free inodes value (F). [fsckimap.c:3153]
    The Inode Allocation Map control information has an incorrect number of free inodes value for AG F0. [fsckimap.c:3168]
    Errors detected in the Fileset File/Directory Allocation Map control information. (F) [fsckimap.c:3177]
    Errors detected in the Fileset File/Directory Allocation Map. (F) [fsckimap.c:3181]
    **Phase 8 - Verify Disk Allocation Maps [xchkdsk.c:2421]
    2 consecutive blocks observed available but pmap (40, 37, 19) indicates they are allocated. [fsckbmap.c:517]
    1 consecutive blocks observed available but pmap (40, 37, 24) indicates they are allocated. [fsckbmap.c:517]
    3 consecutive blocks observed available but pmap (40, 37, 27) indicates they are allocated. [fsckbmap.c:517]
    4 consecutive blocks observed available but pmap (40, 37, 31) indicates they are allocated. [fsckbmap.c:517]
    6 consecutive blocks observed available but pmap (40, 38, 7) indicates they are allocated. [fsckbmap.c:517]
    Incorrect number free detected in dmap 40. [fsckbmap.c:856]
    Incorrect internal (1) value detected in DM page 40. [fsckbmap.c:1444]
    Incorrect internal (7) value detected in DM page 40. [fsckbmap.c:1444]
    Incorrect internal (30) value detected in DM page 40. [fsckbmap.c:1444]
    Incorrect leaf (122) value detected in DM page 40. [fsckbmap.c:1455]
    Incorrect leaf (123) value detected in DM page 40. [fsckbmap.c:1455]
    Incorrect number of free blocks detected in Block Map Control Page. [fsckbmap.c:246]
    Incorrect number of free blocks in AG 10 detected in Block Map Control Page. [fsckbmap.c:340]
    Descrepancies detected between observed block allocations and pmaps. [fsckbmap.c:1652]
    Inconsistencies detected in leaf values (DM). [fsckbmap.c:1655]
    Inconsistencies detected in internal values (DM). [fsckbmap.c:1658]
    Incorrect data detected in pages (DM). [fsckbmap.c:1661]
    Discrepancies detected in the Block Map Control Page AG free count list. [fsckbmap.c:1691]
    Incorrect data detected in the Block Map Control Page. [fsckbmap.c:1694]
    Incorrect data detected in disk allocation structures. [fsckbmap.c:1704]
    Incorrect data detected in disk allocation control structures. [fsckbmap.c:1708]
    Filesystem Summary: [xchkdsk.c:1009]
    Blocks in use for inodes: 12240 [xchkdsk.c:1014]
    Inode count: 97920 [xchkdsk.c:1016]
    File count: 68740 [xchkdsk.c:1018]
    Directory count: 7885 [xchkdsk.c:1020]
    Block count: 3932160 [xchkdsk.c:1022]
    Free block count: 654029 [xchkdsk.c:1024]
    15728640 kilobytes total disk space. [xchkdsk.c:1067]
    32270 kilobytes in 7885 directories. [xchkdsk.c:1070]
    12978710 kilobytes in 68740 user files. [xchkdsk.c:1073]
    54752 kilobytes in extended attributes [xchkdsk.c:1075]
    0 kilobytes in access control lists [xchkdsk.c:1077]
    111332 kilobytes reserved for system use. [xchkdsk.c:1079]
    2616116 kilobytes are available for use. [xchkdsk.c:1081]
    File system checked READ ONLY. [xchkdsk.c:446]
    ERRORS HAVE BEEN DETECTED. Run fsck with the -f parameter to repair. [xchkdsk.c:449]
    Filesystem is dirty. [fsckmeta.c:142]
    Filesystem is dirty but is marked clean. In its present state,
    the results of accessing /dev/mapper/vg01-home (except by this utility) are undefined. [fsckmeta.c:148]
    processing terminated: 5/6/2007 15:14:12 with return code: 0 exit code: 4. [xchkdsk.c:468]

    The filesystem could be fixed with "fsck -fd /home" so hopefully my computer won't crash again.