Skip to contentSkip to conversation

release_unix_file (fs/reiser4/plugin/file/file.c:2365) BUG: unable to handle kernel paging request

DISCUSSION Edward Shishkin 1 participant 2 messages May 19, 2017 – May 22, 2017 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hello.

The Call Trace is not decoded, so hard to say.. Other warnings is just a side effect.
Important: it can be caused by silent corruptions made on kernels older than 4.10 because of the problem (ENOMEM during balancing) fixed in the Reiser4-for-4.9.3 stuff.

So, I would suggest:
1) check/repair your partition with fsck;
2) try to reproduce it on the kernel 4.10
3) report about results.
If you find out how to make Call Trace be decoded, it will be a big plus.

Thanks,
Edward.

Quoted 48 lines · dimas

Hello, Edward!
i sent this mail to the list, but it seems to get lost on its way (or still processing so long?), so i'm FW'ing to you
take a look, please

=================
Forwarded message
Date: 2017-05-19 11:06
From: dimas <[email protected]>
To: reiserfs-devel <[email protected]>
CC:
Subject: release_unix_file (fs/reiser4/plugin/file/file.c:2365) BUG: unable to handle kernel paging request

Quoted 33 lines

Hello!
while trying to update kernel on my file-server, i've experienced some strange bug, starting from somewhere between Linux 3.12 and 3.18 (3.12.7 is not affected by this, 3.18.x is, 4.8 and recent 4.10.x are also affected). when nmbd (Samba nameserver daemon) tries to start, i get the following:

     387 May 16 19:08:10 srv kernel: [  206.041388] BUG: unable to handle
kernel 387 paging request at 000b4db6
     388 May 16 19:08:10 srv kernel: [  206.041493] IP: [<b10f006f>] 0xb10f006f
     389 May 16 19:08:10 srv kernel: [  206.041558] *pde = 00000000
     390 May 16 19:08:10 srv kernel: [  206.041619] Oops: 0000 [#1]
[...]
     420 May 16 19:08:10 srv kernel: [  206.052558] reiser4[nmbd(1681)]:
release_    420 unix_file (fs/reiser4/plugin/file/file.c:2365)[vs-44]: 421
May 16 19:08:10 srv kernel: [  206.052558] WARNING: out of memory? 422 May 16

19:08:10 srv kernel: [ 206.053035] reiser4[nmbd(1681)]: release_ 422
unix_file (fs/reiser4/plugin/file/file.c:2365)[vs-44]: 423 May 16 19:08:10 srv kernel: [ 206.053035] WARNING: out of memory? 424 May 16 19:08:10 srv
kernel: [ 206.053135] reiser4[nmbd(1681)]: release_ 424 unix_file
(fs/reiser4/plugin/file/file.c:2365)[vs-44]: 425 May 16 19:08:10 srv kernel:

[  206.053135] WARNING: out of memory? 426 May 16 19:08:10 srv kernel:
[  206.053268] reiser4[nmbd(1681)]: release_    426 unix_file

(fs/reiser4/plugin/file/file.c:2365)[vs-44]:

and so on, see complete log attached, from line 387 and forth. at system boot nmbd starts successfully, but then i after a while (couple of days, maybe) i can find it not running. then it can restart one or two times without triggering any bugs, but afterwards the above bug occurs and nmbd fails to run.
i've tried vanilla kernels with nothing but reiser4 applied to ensure that it's not brought by other patches, but everything goes the same way. ah, my / is reiser4))
wtf is that? please let me know if any additional info is required

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 4 lines · dimas

thanks, seems that fsck fixed the problem. it was even reported during mount, actually, suggesting to fsck --fix, so i rebooted into another system, ran fsck and then fsck --fix, it reported and successfully repaired an error, and at least 3.18 seems to work great now,

No, it is only impression of great work!
Please, check it again with fsck, and use kernel 4.10.
If you need older kernels, then try to backport the following patch:

https://github.com/edward6/reiser4/commit/9eca07b7b992724446d5e7327c86bb0bf1f20a41

If any problems with porting, then let me know.

Thanks,
Edward.