EXT2-fs error (device ide0(3,1)): read_inode_bitmap: Cannot read inode bitmap - block_group = 129, inode_bitmap = 1056776 , kernel BUG at inode.c:886!
BlankTo all the kernel people,
Ok, this is probabally old news and has been fixed, but
the following happened in kernel 2.4.3 (ironically when i was deleting /usr/src/linux in order to extract the latest 2.4.5 :-)
Here it is:
However, it has a very slight sound of a more serious problem, to do with my disk (however, since i know nothing about this error message, i will take no sides)
May 29 01:36:35 toweringmeep kernel: hda: read_intr: status=0x59 {
DriveReady SeekComplete DataRequest Error }
May 29 01:36:35 toweringmeep kernel: hda: read_intr: error=0x40 {
UncorrectableError }, LBAsect=2113616, sector=2113553
May 29 01:36:35 toweringmeep kernel: end_request: I/O error, dev 03:01
(hda), sector 2113553
May 29 01:36:35 toweringmeep kernel: EXT2-fs error (device ide0(3,1)):
read_inode_bitmap: Cannot read inode bitmap - block_group = 129,
inode_bitmap = 1056776
May 29 01:36:35 toweringmeep kernel: kernel BUG at inode.c:886!
May 29 01:36:35 toweringmeep kernel: invalid operand: 0000
May 29 01:36:35 toweringmeep kernel: CPU: 0
May 29 01:36:35 toweringmeep kernel: EIP: 0010:[iput+218/348]
May 29 01:36:35 toweringmeep kernel: EFLAGS: 00010282
May 29 01:36:35 toweringmeep kernel: eax: 0000001b ebx: c04e12a0 ecx:
c1c8e000 edx: c0229808
May 29 01:36:35 toweringmeep kernel: esi: c022d440 edi: c1ca9f40 ebp:
c10e1fa4 esp: c10e1f50
May 29 01:36:35 toweringmeep kernel: ds: 0018 es: 0018 ss: 0018
May 29 01:36:35 toweringmeep kernel: Process rm (pid: 5838,
stackpage=c10e1000)
May 29 01:36:35 toweringmeep kernel: Stack: c01f11e5 c01f1265 00000376
c1ca9f40 c04e12a0 c013b9a8 c04e12a0 00000000
May 29 01:36:35 toweringmeep kernel: c04e10c0 c0135854 c1ca9f40
c1ca9f40 c1ca9f40 c1a05000 c013592b c04e10c0
May 29 01:36:35 toweringmeep kernel: c1ca9f40 c10e0000 08097753
00000000 bffff838 c0779540 c10ed7a0 c1a05000
May 29 01:36:35 toweringmeep kernel: Call Trace: [d_delete+76/108]
[vfs_unlink+276/324] [sys_unlink+167/284] [system_call+51/64]
May 29 01:36:35 toweringmeep kernel:
May 29 01:36:35 toweringmeep kernel: Code: 0f 0b 83 c4 0c eb 6f 39 1b 74 3bf6 83 f0 00 00 00 07 75 26
Incidently, could anyone tell me out of interest what the problem actually is / was ?
Thanks
Dave
PS: im now having a problem extracting the new kernel .... and find i have numerous of these
May 29 01:53:35 toweringmeep kernel: hda: read_intr: status=0x59 {
DriveReady SeekComplete DataRequest Error }
May 29 01:53:35 toweringmeep kernel: hda: read_intr: error=0x40 {
UncorrectableError }, LBAsect=2113616, sector=2113553
May 29 01:53:35 toweringmeep kernel: end_request: I/O error, dev 03:01
(hda), sector 2113553
May 29 01:53:35 toweringmeep kernel: EXT2-fs error (device ide0(3,1)):read_inode_bitmap: Cannot read inode bitmap - block_group = 129, inode_bitmap = 1056776
is this a nice catch 22 ? or is there a nasty problem with one of my disks ... im about to reboot and check the disk....
---------------------------------------
The information in this e-mail and any files sent with it is confidential to the ordinary user of the e-mail address to which it was addressed and may also be legally privileged. It is not to be relied upon by any person other than the addressee except with the sender's prior written approval. If no such approval is given, the sender will not accept liability (in negligence or otherwise) arising from any third party acting, or refraining from acting, on such information. If you are not the intended recipient of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please notify the sender immediately, destroy any copies and delete it from your computer system. Have a nice Day !
---------------------------------------------
[PATCH][REPOST] Re: EXT2-fs error (device ide0(3,1)): read_inode_bitmap
You write:
Quoted 3 lines
Ok, this is probabally old news and has been fixed, but
the following happened in kernel 2.4.3 (ironically when i was deleting/usr/src/linuxin order to extract the latest 2.4.5 :-)
Old news for me, fixed this bug in January, see:
http://marc.theaimsgroup.com/?l=linux-kernel&m=98339241223296&w=4
but the whole patch did not make it into the Linus kernel (not sure if it is in -ac or not).
Quoted 3 lines
However, it has a very slight sound of a more serious problem, to do with my disk (however, since i know nothing about this error message, i will take no sides)
However, there is still a problem in the ext2 code because it does not clear the in-memory inode on the error paths. Patch below will fix. Linus (and Alan, if needed), please apply.
Quoted 11 lines
May 29 01:36:35 toweringmeep kernel: hda: read_intr: status=0x59 {
DriveReady SeekComplete DataRequest Error }
May 29 01:36:35 toweringmeep kernel: hda: read_intr: error=0x40 {
UncorrectableError }, LBAsect=2113616, sector=2113553
May 29 01:36:35 toweringmeep kernel: end_request: I/O error, dev 03:01
(hda), sector 2113553
May 29 01:36:35 toweringmeep kernel: EXT2-fs error (device ide0(3,1)):
read_inode_bitmap: Cannot read inode bitmap - block_group = 129,
inode_bitmap = 1056776
May 29 01:36:35 toweringmeep kernel: kernel BUG at inode.c:886!Quoted 2 lines
is this a nice catch 22 ? or is there a nasty problem with one of my disks ... im about to reboot and check the disk....
You have a disk problem, which caused I/O failure (the hda: read_intr messages are first). Time for a backup (if you don't have one) and a new disk.
Cheers, Andreas
===========================================================================
fs/ext2/ialloc.c +9 -9
@@ -199,10 +199,15 @@lock_super (sb); es = sb->u.ext2_sb.s_es; -if (ino <EXT2_FIRST_INO (sb) || + is_directory =S_ISDIR (inode->i_mode); + +/* Do this BEFORE marking the inode not in use or returning an error */ +clear_inode (inode); + +if (ino <EXT2_FIRST_INO (sb) || ino >le32_to_cpu (es->s_inodes_count)) { -ext2_error (sb,"free_inode" , -"reserved inode or nonexistent inode" ); +ext2_error (sb,"ext2_free_inode" , +"reserved or nonexistent inode %lu" , ino); goto error_return; } block_group = (ino -1 ) /EXT2_INODES_PER_GROUP (sb);
@@ -210,13 +215,8 @@ bitmap_nr =load_inode_bitmap (sb, block_group);if (bitmap_nr <0 ) goto error_return; - + bh = sb->u.ext2_sb.s_inode_bitmap[bitmap_nr]; - - is_directory =S_ISDIR (inode->i_mode); - -/* Do this BEFORE marking the inode not in use */ -clear_inode (inode);/* Ok, now we can actually update the inode bitmaps.. */ if (!ext2_clear_bit (bit, bh->b_data))
Signature · 3 lines
Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto,
\ would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert