Skip to contentSkip to conversation

Reiserfs Bug on linux 3.4.9

DISCUSSION [email protected] 2 participants 2 messages Jul 23, 2015 Stable branch

lore
Share & tools
lore
#0 lore raw

Dears
i have the following bug on reiserfs on gentoo linux kernel 3.4.9 how
can i solve it
NOTE am not using NFS

[2292727.857807] kernel BUG at fs/reiserfs/stree.c:1474!
[2292727.857822] invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC
[2292727.857856] CPU 0
[2292727.857863] Modules linked in: e1000e(O) [2292727.857893]

kernel-3.4.9-gentoo

[2292727.858764]  [<ffffffff811d282b>]
reiserfs_cut_from_item+0x19b/0x6b0
[2292727.858764]  [<ffffffff819d76f6>] ?
__mutex_lock_slowpath+0x56/0x150
[2292727.858764]  [<ffffffff811d2f8f>] reiserfs_do_truncate+0x24f/0x600
[2292727.858764]  [<ffffffff819d74b6>] ? mutex_lock+0x26/0x40
[2292727.858764]  [<ffffffff811b7e0b>]
reiserfs_truncate_file+0x13b/0x2a0
[2292727.858764]  [<ffffffff811bc41c>] reiserfs_file_release+0x26c/0x340
[2292727.858764]  [<ffffffff81134f39>] __fput+0xb9/0x240
[2292727.858764]  [<ffffffff811350dd>] fput+0x1d/0x30
[2292727.858764]  [<ffffffff81131031>] filp_close+0x61/0x90
[2292727.858764]  [<ffffffff811310dc>] sys_close+0x7c/0xd0
[2292727.858764]  [<ffffffff819da162>] system_call_fastpath+0x16/0x1b
[2292727.858764] Code: 0c 49 d1 ea 4d 39 d1 0f 83 48 ff ff ff 48 39 c3
77 83 49 81 ec 68 01 00 00 49 c1 ec 02 4d 39 e1 0f 83 2f ff ff ff e9 6a
ff ff ff <0f> 0b 0f 0b 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 55 48
89
[2292727.858764] RIP  [<ffffffff811cfdbe>]

maybe_indirect_to_direct+0x13e/0x150 [2292727.858764] RSP <ffff880c3e5718e8>

regards
Ayham

begin:vcard
fn:Ayham Abou Afach
n:Abou Afach;Ayham
org:Hybridware
email;internet:[email protected]
title:System Supervisor
tel;cell:+963933665898
version:2.1
end:vcard

#1 lore raw

Hello,

Quoted 3 lines · On Thu, Jul 23, 2015 at 03:51:47AM -0500, [email protected] wrote:

Dears
i have the following bug on reiserfs on gentoo linux kernel 3.4.9 how
can i solve it

First, your kernel is totally outdated, you've been skipping 3 years of fixes in 100 updates roughly covering 4600 bugs :

$ git log --oneline v3.4.9..v3.4.108 | wc -l
4683

7 of them directly affect reiserfs, and it's very likely that a number of the other ones could as well :

$ git log --oneline v3.4.9..v3.4.108  -- fs/reiserfs/
15e5f90 reiserfs: fix race in readdir
b57644a reiserfs: Fix warning and inode leak when deleting inode with xattrs
a23d631 reiserfs: Protect reiserfs_quota_write() with write lock
8c7dcc4 reiserfs: Move quota calls out of write lock
8ed4d1c reiserfs: Protect reiserfs_quota_on() with write lock
394cbbc reiserfs: Fix lock ordering during remount
530258f tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking

So you first need to update your kernel to get the latest fixes. You're lucky, your branch is still maintained!

Best regards,
Willy