reiserfs-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* reiser4 oops
@ 2006-07-01 20:08 Łukasz Mierzwa
  2006-07-01 20:13 ` Łukasz Mierzwa
  2006-07-03  4:24 ` Jake Maciejewski
  0 siblings, 2 replies; 12+ messages in thread
From: Łukasz Mierzwa @ 2006-07-01 20:08 UTC (permalink / raw)
  To: reiserfs-list@namesys.com

I'm running x86 gentoo system with / on reiser4, I'm using
suspend-sources-2.6.16-r8 kernel with 2.6.16-4 patch. Today I run emerge
--sync, after that I started to compile new xine-lib while browsing net,
when xine-lib was finishing I got this errors:

kernel BUG at fs/inode.c:253!
invalid opcode: 0000 [#1]
PREEMPT
Modules linked in: ndiswrapper fglrx acer_acpi nsc_ircc irda crc_ccitt
snd_atiixp snd_ac97_codec snd_ac97_bus yenta_socket rsrc_nonstatic
pcmcia_core tifm_7xx1 tifm_core
CPU:    0
EIP:    0060:[<c017bc56>]    Tainted: P      VLI
EFLAGS: 00010206   (2.6.16-suspend2-r8 #2)
EIP is at clear_inode+0x16/0xb0
eax: 00000003   ebx: d5245d20   ecx: 00000000   edx: d5245df8
esi: df2099c0   edi: c2a3a000   ebp: c2a3a000   esp: c2a3be94
ds: 007b   es: 007b   ss: 0068
Process emerge (pid: 9123, threadinfo=c2a3a000 task=c2a0ba70)
Stack: <0>df2099c0 d5245d20 df2099c0 c01db519 c017a385 00000000 00000400
d5245e28
         d5245d20 c2a3a000 d415c114 d5245d20 c01db4e0 c017bd59 d5245d20
dfe9b000
                c017b81c d415c114 c017a431 00000000 dfe9b000 df533000
c2a3bf50 c0172d74
                Call Trace:
                 [<c01db519>] reiser4_delete_inode+0x39/0xc0
                  [<c017a385>] dput+0x25/0x170
                   [<c01db4e0>] reiser4_delete_inode+0x0/0xc0
                    [<c017bd59>] generic_delete_inode+0x69/0x100
                     [<c017b81c>] iput+0x5c/0x70
                      [<c017a431>] dput+0xd1/0x170
                       [<c0172d74>] sys_renameat+0x1c4/0x1f0
                        [<c0172dc7>] sys_rename+0x27/0x30
                         [<c0102ef3>] sysenter_past_esp+0x54/0x75
                         Code: 80 98 00 00 00 8b 40 38 eb c4 8d 74 26 00 8d
bc 27 00 00 00 00 56 53 89 c3 83 ec 04 e8 14 b0 fe ff 8b 83 c4 00 00 00 85
c0 74 08 <0f> 0b fd 00 ab d4 37 c0 8b 83 20 01 00 00 a8 10 75 08 0f 0b ff
                          <4>reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?
                          reiser4[emerge(9123)]: release_unix_file
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                          WARNING: out of memory?

I rebooted, remounted / read only and run fsck --fix, I had to run fsck
--build-fs becouse of fatal corruptions, I got whole lot of errors
referring to /usr/portage dir but fs is now ok.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: reiser4 oops
  2006-07-01 20:08 reiser4 oops Łukasz Mierzwa
@ 2006-07-01 20:13 ` Łukasz Mierzwa
  2006-07-03  4:24 ` Jake Maciejewski
  1 sibling, 0 replies; 12+ messages in thread
From: Łukasz Mierzwa @ 2006-07-01 20:13 UTC (permalink / raw)
  To: reiserfs-list@namesys.com

Dnia Sat, 01 Jul 2006 22:08:23 +0200, £ukasz Mierzwa  
<prymitive@pcserwis.net> napisa³:

> I'm running x86 gentoo system with / on reiser4, I'm using
> suspend-sources-2.6.16-r8 kernel with 2.6.16-4 patch. Today I run emerge
> --sync, after that I started to compile new xine-lib while browsing net,
> when xine-lib was finishing I got this errors:
>
> kernel BUG at fs/inode.c:253!
> invalid opcode: 0000 [#1]
> PREEMPT

I tried to build new xine-lib again and at the end I got this again:

kernel BUG at fs/inode.c:253!
invalid opcode: 0000 [#1]
PREEMPT
Modules linked in: nls_iso8859_2 nls_cp852 vfat fat nls_base ndiswrapper  
fglrx acer_acpi nsc_ircc irda crc_ccitt snd_atiixp snd_ac97_codec  
snd_ac97_bus yenta_socket rsrc_nonstatic pcmcia_core tifm_7xx1 tifm_core
CPU:    0
EIP:    0060:[<c017bc56>]    Tainted: P      VLI
EFLAGS: 00010206   (2.6.16-suspend2-r8 #2)
EIP is at clear_inode+0x16/0xb0
eax: 00000003   ebx: dcdfc3a0   ecx: 00000000   edx: dcdfc478
esi: dfd09180   edi: ceb7a000   ebp: ceb7a000   esp: ceb7be94
ds: 007b   es: 007b   ss: 0068
Process emerge (pid: 18073, threadinfo=ceb7a000 task=c4745550)
Stack: <0>dfd09180 dcdfc3a0 dfd09180 c01db519 c017a385 00000000 00000400  
dcdfc4a8
        dcdfc3a0 ceb7a000 d2f894f4 dcdfc3a0 c01db4e0 c017bd59 dcdfc3a0  
df339000
               c017b81c d2f894f4 c017a431 00000000 df339000 df029000  
ceb7bf50 c0172d74
               Call Trace:
                [<c01db519>] reiser4_delete_inode+0x39/0xc0
                 [<c017a385>] dput+0x25/0x170
                  [<c01db4e0>] reiser4_delete_inode+0x0/0xc0
                   [<c017bd59>] generic_delete_inode+0x69/0x100
                    [<c017b81c>] iput+0x5c/0x70
                     [<c017a431>] dput+0xd1/0x170
                      [<c0172d74>] sys_renameat+0x1c4/0x1f0
                       [<c0172dc7>] sys_rename+0x27/0x30
                        [<c0102ef3>] sysenter_past_esp+0x54/0x75
                        Code: 80 98 00 00 00 8b 40 38 eb c4 8d 74 26 00 8d  
bc 27 00 00 00 00 56 53 89 c3 83 ec 04 e8 14 b0 fe ff 8b 83 c4 00 00 00 85  
c0 74 08 <0f> 0b fd 00 ab d4 37 c0 8b 83 20 01 00 00 a8 10 75 08 0f 0b ff
                         <4>reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?
                         reiser4[emerge(18073)]: release_unix_file  
(fs/reiser4/plugin/file/file.c:2294)[vs-44]:
                         WARNING: out of memory?

It happend while portage was merging files from temporary build dir to  
system dirs:

>>> /usr/lib/xine/plugins/1.1.2/vidix/pm2_vid.so
>>> /usr/lib/xine/plugins/1.1.2/vidix/pm3_vid.so
>>> /usr/lib/xine/plugins/1.1.2/vidix/radeon_vid.so
>>> /usr/lib/xine/plugins/1.1.2/vidix/rage128_vid.so
>>> /usr/lib/xine/plugins/1.1.2/vidix/savage_vid.so
>>> /usr/lib/xine/plugins/1.1.2/vidix/sis_vid.so
>>> /usr/lib/xine/plugins/1.1.2/vidix/unichrome_vid.so
>>> /usr/lib/xine/plugins/1.1.2/xineplug_ao_out_alsa.so
>>> /usr/lib/xine/plugins/1.1.2/xineplug_ao_out_file.so
>>> /usr/lib/xine/plugins/1.1.2/xineplug_ao_out_none.so
>>> /usr/lib/xine/plugins/1.1.2/xineplug_ao_out_oss.so
Naruszenie ochrony pamiêci (memory protection fault)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: reiser4 oops
  2006-07-01 20:08 reiser4 oops Łukasz Mierzwa
  2006-07-01 20:13 ` Łukasz Mierzwa
@ 2006-07-03  4:24 ` Jake Maciejewski
       [not found]   ` <1151921448.6335.42.camel@tribesman.namesys.com>
  1 sibling, 1 reply; 12+ messages in thread
From: Jake Maciejewski @ 2006-07-03  4:24 UTC (permalink / raw)
  To: Łukasz Mierzwa; +Cc: reiserfs-list@namesys.com

I'm seeing this on 2.6.16.20 with the -4 patch, amd64 with preempt. The
OOM killer was called even though I have 1GB RAM and 4GB swap. My logs
are available at:

http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060702/oom.txt.gz

Both affected filesystems (rsync was using one filesystem, cc1 the
other) came up clean with fsck.

On Sat, 2006-07-01 at 22:08 +0200, £ukasz Mierzwa wrote:
> I'm running x86 gentoo system with / on reiser4, I'm using
> suspend-sources-2.6.16-r8 kernel with 2.6.16-4 patch. Today I run emerge
> --sync, after that I started to compile new xine-lib while browsing net,
> when xine-lib was finishing I got this errors:
> 
> kernel BUG at fs/inode.c:253!
> invalid opcode: 0000 [#1]
> PREEMPT
> Modules linked in: ndiswrapper fglrx acer_acpi nsc_ircc irda crc_ccitt
> snd_atiixp snd_ac97_codec snd_ac97_bus yenta_socket rsrc_nonstatic
> pcmcia_core tifm_7xx1 tifm_core
> CPU:    0
> EIP:    0060:[<c017bc56>]    Tainted: P      VLI
> EFLAGS: 00010206   (2.6.16-suspend2-r8 #2)
> EIP is at clear_inode+0x16/0xb0
> eax: 00000003   ebx: d5245d20   ecx: 00000000   edx: d5245df8
> esi: df2099c0   edi: c2a3a000   ebp: c2a3a000   esp: c2a3be94
> ds: 007b   es: 007b   ss: 0068
> Process emerge (pid: 9123, threadinfo=c2a3a000 task=c2a0ba70)
> Stack: <0>df2099c0 d5245d20 df2099c0 c01db519 c017a385 00000000 00000400
> d5245e28
>          d5245d20 c2a3a000 d415c114 d5245d20 c01db4e0 c017bd59 d5245d20
> dfe9b000
>                 c017b81c d415c114 c017a431 00000000 dfe9b000 df533000
> c2a3bf50 c0172d74
>                 Call Trace:
>                  [<c01db519>] reiser4_delete_inode+0x39/0xc0
>                   [<c017a385>] dput+0x25/0x170
>                    [<c01db4e0>] reiser4_delete_inode+0x0/0xc0
>                     [<c017bd59>] generic_delete_inode+0x69/0x100
>                      [<c017b81c>] iput+0x5c/0x70
>                       [<c017a431>] dput+0xd1/0x170
>                        [<c0172d74>] sys_renameat+0x1c4/0x1f0
>                         [<c0172dc7>] sys_rename+0x27/0x30
>                          [<c0102ef3>] sysenter_past_esp+0x54/0x75
>                          Code: 80 98 00 00 00 8b 40 38 eb c4 8d 74 26 00 8d
> bc 27 00 00 00 00 56 53 89 c3 83 ec 04 e8 14 b0 fe ff 8b 83 c4 00 00 00 85
> c0 74 08 <0f> 0b fd 00 ab d4 37 c0 8b 83 20 01 00 00 a8 10 75 08 0f 0b ff
>                           <4>reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
>                           reiser4[emerge(9123)]: release_unix_file
> (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
>                           WARNING: out of memory?
> 
> I rebooted, remounted / read only and run fsck --fix, I had to run fsck
> --build-fs becouse of fatal corruptions, I got whole lot of errors
> referring to /usr/portage dir but fs is now ok.
-- 
Jake Maciejewski <maciejej@msoe.edu>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: reiser4 oops
       [not found]   ` <1151921448.6335.42.camel@tribesman.namesys.com>
@ 2006-07-03 11:51     ` Łukasz Mierzwa
  2006-07-03 23:23     ` Jake Maciejewski
  1 sibling, 0 replies; 12+ messages in thread
From: Łukasz Mierzwa @ 2006-07-03 11:51 UTC (permalink / raw)
  To: Vladimir V. Saveliev, reiserfs-list@namesys.com

Dnia Mon, 03 Jul 2006 12:10:48 +0200, Vladimir V. Saveliev  
<vs@namesys.com> napisa³:


> would you please check whether this patch helps?
> ftp://ftp.ru.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17/2.6.17-mm5/broken-out/reiser4-run-truncate_inode_pages-in-reiser4_delete_inode.patch

I have deleted some old files, unmerged xine from my system and compiled  
it again and this time there was no problem, but I'm rebuilding my whole  
system so I will aplly this patch and see if I get another one oops.

thanks

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: reiser4 oops
       [not found]   ` <1151921448.6335.42.camel@tribesman.namesys.com>
  2006-07-03 11:51     ` Łukasz Mierzwa
@ 2006-07-03 23:23     ` Jake Maciejewski
  2006-07-07  7:18       ` Jake Maciejewski
  1 sibling, 1 reply; 12+ messages in thread
From: Jake Maciejewski @ 2006-07-03 23:23 UTC (permalink / raw)
  To: Vladimir V. Saveliev; +Cc: Łukasz Mierzwa, reiserfs-list@namesys.com

Thanks for the patch. I don't think I'll be able to test it before
Wednesday, though.

On Mon, 2006-07-03 at 14:10 +0400, Vladimir V. Saveliev wrote:
> Hello
> 
> On Sun, 2006-07-02 at 22:24 -0600, Jake Maciejewski wrote:
> > I'm seeing this on 2.6.16.20 with the -4 patch, amd64 with preempt. The
> > OOM killer was called even though I have 1GB RAM and 4GB swap. My logs
> > are available at:
> > 
> > http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060702/oom.txt.gz
> > 
> > Both affected filesystems (rsync was using one filesystem, cc1 the
> > other) came up clean with fsck.
> > 
> > On Sat, 2006-07-01 at 22:08 +0200, £ukasz Mierzwa wrote:
> > > I'm running x86 gentoo system with / on reiser4, I'm using
> > > suspend-sources-2.6.16-r8 kernel with 2.6.16-4 patch. Today I run emerge
> > > --sync, after that I started to compile new xine-lib while browsing net,
> > > when xine-lib was finishing I got this errors:
> > > 
> > > kernel BUG at fs/inode.c:253!
> 
> would you please check whether this patch helps?
> ftp://ftp.ru.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17/2.6.17-mm5/broken-out/reiser4-run-truncate_inode_pages-in-reiser4_delete_inode.patch
> 
> 
> > > invalid opcode: 0000 [#1]
> > > PREEMPT
> > > Modules linked in: ndiswrapper fglrx acer_acpi nsc_ircc irda crc_ccitt
> > > snd_atiixp snd_ac97_codec snd_ac97_bus yenta_socket rsrc_nonstatic
> > > pcmcia_core tifm_7xx1 tifm_core
> > > CPU:    0
> > > EIP:    0060:[<c017bc56>]    Tainted: P      VLI
> > > EFLAGS: 00010206   (2.6.16-suspend2-r8 #2)
> > > EIP is at clear_inode+0x16/0xb0
> > > eax: 00000003   ebx: d5245d20   ecx: 00000000   edx: d5245df8
> > > esi: df2099c0   edi: c2a3a000   ebp: c2a3a000   esp: c2a3be94
> > > ds: 007b   es: 007b   ss: 0068
> > > Process emerge (pid: 9123, threadinfo=c2a3a000 task=c2a0ba70)
> > > Stack: <0>df2099c0 d5245d20 df2099c0 c01db519 c017a385 00000000 00000400
> > > d5245e28
> > >          d5245d20 c2a3a000 d415c114 d5245d20 c01db4e0 c017bd59 d5245d20
> > > dfe9b000
> > >                 c017b81c d415c114 c017a431 00000000 dfe9b000 df533000
> > > c2a3bf50 c0172d74
> > >                 Call Trace:
> > >                  [<c01db519>] reiser4_delete_inode+0x39/0xc0
> > >                   [<c017a385>] dput+0x25/0x170
> > >                    [<c01db4e0>] reiser4_delete_inode+0x0/0xc0
> > >                     [<c017bd59>] generic_delete_inode+0x69/0x100
> > >                      [<c017b81c>] iput+0x5c/0x70
> > >                       [<c017a431>] dput+0xd1/0x170
> > >                        [<c0172d74>] sys_renameat+0x1c4/0x1f0
> > >                         [<c0172dc7>] sys_rename+0x27/0x30
> > >                          [<c0102ef3>] sysenter_past_esp+0x54/0x75
> > >                          Code: 80 98 00 00 00 8b 40 38 eb c4 8d 74 26 00 8d
> > > bc 27 00 00 00 00 56 53 89 c3 83 ec 04 e8 14 b0 fe ff 8b 83 c4 00 00 00 85
> > > c0 74 08 <0f> 0b fd 00 ab d4 37 c0 8b 83 20 01 00 00 a8 10 75 08 0f 0b ff
> > >                           <4>reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > >                           reiser4[emerge(9123)]: release_unix_file
> > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > >                           WARNING: out of memory?
> > > 
> > > I rebooted, remounted / read only and run fsck --fix, I had to run fsck
> > > --build-fs becouse of fatal corruptions, I got whole lot of errors
> > > referring to /usr/portage dir but fs is now ok.
> 
-- 
Jake Maciejewski <maciejej@msoe.edu>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: reiser4 oops
  2006-07-03 23:23     ` Jake Maciejewski
@ 2006-07-07  7:18       ` Jake Maciejewski
       [not found]         ` <1152278167.6236.21.camel@tribesman.namesys.com>
  0 siblings, 1 reply; 12+ messages in thread
From: Jake Maciejewski @ 2006-07-07  7:18 UTC (permalink / raw)
  To: Vladimir V. Saveliev; +Cc: Łukasz Mierzwa, reiserfs-list@namesys.com

It doesn't look like this issue has been fixed:

http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060702/reiser4_kio_http.txt.gz

Again fsck showed a clean filesystem. Should I try -mm?

This is somewhat difficult to reproduce because the critical factor
seems to be using all available memory, however in doing so the system
quickly becomes unresponsive.

On Mon, 2006-07-03 at 17:23 -0600, Jake Maciejewski wrote:
> Thanks for the patch. I don't think I'll be able to test it before
> Wednesday, though.
> 
> On Mon, 2006-07-03 at 14:10 +0400, Vladimir V. Saveliev wrote:
> > Hello
> > 
> > On Sun, 2006-07-02 at 22:24 -0600, Jake Maciejewski wrote:
> > > I'm seeing this on 2.6.16.20 with the -4 patch, amd64 with preempt. The
> > > OOM killer was called even though I have 1GB RAM and 4GB swap. My logs
> > > are available at:
> > > 
> > > http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060702/oom.txt.gz
> > > 
> > > Both affected filesystems (rsync was using one filesystem, cc1 the
> > > other) came up clean with fsck.
> > > 
> > > On Sat, 2006-07-01 at 22:08 +0200, £ukasz Mierzwa wrote:
> > > > I'm running x86 gentoo system with / on reiser4, I'm using
> > > > suspend-sources-2.6.16-r8 kernel with 2.6.16-4 patch. Today I run emerge
> > > > --sync, after that I started to compile new xine-lib while browsing net,
> > > > when xine-lib was finishing I got this errors:
> > > > 
> > > > kernel BUG at fs/inode.c:253!
> > 
> > would you please check whether this patch helps?
> > ftp://ftp.ru.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17/2.6.17-mm5/broken-out/reiser4-run-truncate_inode_pages-in-reiser4_delete_inode.patch
> > 
> > 
> > > > invalid opcode: 0000 [#1]
> > > > PREEMPT
> > > > Modules linked in: ndiswrapper fglrx acer_acpi nsc_ircc irda crc_ccitt
> > > > snd_atiixp snd_ac97_codec snd_ac97_bus yenta_socket rsrc_nonstatic
> > > > pcmcia_core tifm_7xx1 tifm_core
> > > > CPU:    0
> > > > EIP:    0060:[<c017bc56>]    Tainted: P      VLI
> > > > EFLAGS: 00010206   (2.6.16-suspend2-r8 #2)
> > > > EIP is at clear_inode+0x16/0xb0
> > > > eax: 00000003   ebx: d5245d20   ecx: 00000000   edx: d5245df8
> > > > esi: df2099c0   edi: c2a3a000   ebp: c2a3a000   esp: c2a3be94
> > > > ds: 007b   es: 007b   ss: 0068
> > > > Process emerge (pid: 9123, threadinfo=c2a3a000 task=c2a0ba70)
> > > > Stack: <0>df2099c0 d5245d20 df2099c0 c01db519 c017a385 00000000 00000400
> > > > d5245e28
> > > >          d5245d20 c2a3a000 d415c114 d5245d20 c01db4e0 c017bd59 d5245d20
> > > > dfe9b000
> > > >                 c017b81c d415c114 c017a431 00000000 dfe9b000 df533000
> > > > c2a3bf50 c0172d74
> > > >                 Call Trace:
> > > >                  [<c01db519>] reiser4_delete_inode+0x39/0xc0
> > > >                   [<c017a385>] dput+0x25/0x170
> > > >                    [<c01db4e0>] reiser4_delete_inode+0x0/0xc0
> > > >                     [<c017bd59>] generic_delete_inode+0x69/0x100
> > > >                      [<c017b81c>] iput+0x5c/0x70
> > > >                       [<c017a431>] dput+0xd1/0x170
> > > >                        [<c0172d74>] sys_renameat+0x1c4/0x1f0
> > > >                         [<c0172dc7>] sys_rename+0x27/0x30
> > > >                          [<c0102ef3>] sysenter_past_esp+0x54/0x75
> > > >                          Code: 80 98 00 00 00 8b 40 38 eb c4 8d 74 26 00 8d
> > > > bc 27 00 00 00 00 56 53 89 c3 83 ec 04 e8 14 b0 fe ff 8b 83 c4 00 00 00 85
> > > > c0 74 08 <0f> 0b fd 00 ab d4 37 c0 8b 83 20 01 00 00 a8 10 75 08 0f 0b ff
> > > >                           <4>reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > >                           WARNING: out of memory?
> > > > 
> > > > I rebooted, remounted / read only and run fsck --fix, I had to run fsck
> > > > --build-fs becouse of fatal corruptions, I got whole lot of errors
> > > > referring to /usr/portage dir but fs is now ok.
> > 
-- 
Jake Maciejewski <maciejej@msoe.edu>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: reiser4 oops
       [not found]         ` <1152278167.6236.21.camel@tribesman.namesys.com>
@ 2006-07-11  6:43           ` Jake Maciejewski
  0 siblings, 0 replies; 12+ messages in thread
From: Jake Maciejewski @ 2006-07-11  6:43 UTC (permalink / raw)
  To: Vladimir V. Saveliev; +Cc: Łukasz Mierzwa, reiserfs-list@namesys.com

I tried 2.6.17-mm6 (was the latest at the time) and reiser4 still always
fails when it runs out of memory. My test has been building a kernel
with enough jobs to exhaust memory. Expecting problems, I began by
testing reiser4 with debugging enabled.

The first time, I got the panic below after running "while true ; do
make mrproper && zcat /proc/config.gz > .config && make -j64 ; done" in
linux-2.6.17-mm6 (on a fresh test filesystem) for an unknown duration of
time.

        reiser4 panicked cowardly: reiser4[cc1(12238)]: page_bio (fs/reiser4/page_cache.c:434)[nikita-2276]:
        Kernel panic - not syncing: reiser4[cc1(12238)]: page_bio (fs/reiser4/page_cache.c:434)[nikita-2276]:

The next two times, after about half an hour of the above command I got
the panic below (except the second time was with cc1 instead of fixdep).

        reiser4 panicked cowardly: reiser4[fixdep(19463)]: sibling_list_remove (fs/reiser4/tree_walk.c:813)[zam-32245]:
        Kernel panic - not syncing: reiser4[fixdep(19463)]: sibling_list_remove (fs/reiser4/tree_walk.c:813)[zam-32245]:

The third time the filesystem wasn't clean after a reboot. fsck.reiser4
--check logged:
http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060711/fsck3_--check.txt.gz
        
fsck.reiser4 --fix logged:
http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060711/fsck3_--fix.txt.gz

Another --check turned up clean: 
http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060711/fsck3_--check_after_--fix.txt.gz

Things got slightly more interesting with debugging disabled. The first
time I got the following OOPS after some "flushing like mad" messages. A
bunch of cc1 process were stuck in the D state.

http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060711/messages4.txt.gz
http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060711/fsck4_--check.txt.gz
http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060711/fsck4_--fix.txt.gz
http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060711/fsck4_--check_after_--fix.txt.gz

The second time I got:

http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060711/messages5.txt.gz
http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060711/fsck5_--check.txt.gz
http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060711/fsck5_--fix.txt.gz
http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060711/fsck5_--check_after_--fix.txt.gz

On Fri, 2006-07-07 at 17:16 +0400, Vladimir V. Saveliev wrote:
> Hello
> 
> On Fri, 2006-07-07 at 01:18 -0600, Jake Maciejewski wrote:
> > It doesn't look like this issue has been fixed:
> > 
> > http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060702/reiser4_kio_http.txt.gz
> > 
> > Again fsck showed a clean filesystem. Should I try -mm?
> > 
> 
> Yes, please try to check whether latest mm has this problem.
> 
> > This is somewhat difficult to reproduce because the critical factor
> > seems to be using all available memory, however in doing so the system
> > quickly becomes unresponsive.
> > 
> > On Mon, 2006-07-03 at 17:23 -0600, Jake Maciejewski wrote:
> > > Thanks for the patch. I don't think I'll be able to test it before
> > > Wednesday, though.
> > > 
> > > On Mon, 2006-07-03 at 14:10 +0400, Vladimir V. Saveliev wrote:
> > > > Hello
> > > > 
> > > > On Sun, 2006-07-02 at 22:24 -0600, Jake Maciejewski wrote:
> > > > > I'm seeing this on 2.6.16.20 with the -4 patch, amd64 with preempt. The
> > > > > OOM killer was called even though I have 1GB RAM and 4GB swap. My logs
> > > > > are available at:
> > > > > 
> > > > > http://people.msoe.edu/~maciejej/patches/AMD64_reiser4_debug/20060702/oom.txt.gz
> > > > > 
> > > > > Both affected filesystems (rsync was using one filesystem, cc1 the
> > > > > other) came up clean with fsck.
> > > > > 
> > > > > On Sat, 2006-07-01 at 22:08 +0200, £ukasz Mierzwa wrote:
> > > > > > I'm running x86 gentoo system with / on reiser4, I'm using
> > > > > > suspend-sources-2.6.16-r8 kernel with 2.6.16-4 patch. Today I run emerge
> > > > > > --sync, after that I started to compile new xine-lib while browsing net,
> > > > > > when xine-lib was finishing I got this errors:
> > > > > > 
> > > > > > kernel BUG at fs/inode.c:253!
> > > > 
> > > > would you please check whether this patch helps?
> > > > ftp://ftp.ru.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.17/2.6.17-mm5/broken-out/reiser4-run-truncate_inode_pages-in-reiser4_delete_inode.patch
> > > > 
> > > > 
> > > > > > invalid opcode: 0000 [#1]
> > > > > > PREEMPT
> > > > > > Modules linked in: ndiswrapper fglrx acer_acpi nsc_ircc irda crc_ccitt
> > > > > > snd_atiixp snd_ac97_codec snd_ac97_bus yenta_socket rsrc_nonstatic
> > > > > > pcmcia_core tifm_7xx1 tifm_core
> > > > > > CPU:    0
> > > > > > EIP:    0060:[<c017bc56>]    Tainted: P      VLI
> > > > > > EFLAGS: 00010206   (2.6.16-suspend2-r8 #2)
> > > > > > EIP is at clear_inode+0x16/0xb0
> > > > > > eax: 00000003   ebx: d5245d20   ecx: 00000000   edx: d5245df8
> > > > > > esi: df2099c0   edi: c2a3a000   ebp: c2a3a000   esp: c2a3be94
> > > > > > ds: 007b   es: 007b   ss: 0068
> > > > > > Process emerge (pid: 9123, threadinfo=c2a3a000 task=c2a0ba70)
> > > > > > Stack: <0>df2099c0 d5245d20 df2099c0 c01db519 c017a385 00000000 00000400
> > > > > > d5245e28
> > > > > >          d5245d20 c2a3a000 d415c114 d5245d20 c01db4e0 c017bd59 d5245d20
> > > > > > dfe9b000
> > > > > >                 c017b81c d415c114 c017a431 00000000 dfe9b000 df533000
> > > > > > c2a3bf50 c0172d74
> > > > > >                 Call Trace:
> > > > > >                  [<c01db519>] reiser4_delete_inode+0x39/0xc0
> > > > > >                   [<c017a385>] dput+0x25/0x170
> > > > > >                    [<c01db4e0>] reiser4_delete_inode+0x0/0xc0
> > > > > >                     [<c017bd59>] generic_delete_inode+0x69/0x100
> > > > > >                      [<c017b81c>] iput+0x5c/0x70
> > > > > >                       [<c017a431>] dput+0xd1/0x170
> > > > > >                        [<c0172d74>] sys_renameat+0x1c4/0x1f0
> > > > > >                         [<c0172dc7>] sys_rename+0x27/0x30
> > > > > >                          [<c0102ef3>] sysenter_past_esp+0x54/0x75
> > > > > >                          Code: 80 98 00 00 00 8b 40 38 eb c4 8d 74 26 00 8d
> > > > > > bc 27 00 00 00 00 56 53 89 c3 83 ec 04 e8 14 b0 fe ff 8b 83 c4 00 00 00 85
> > > > > > c0 74 08 <0f> 0b fd 00 ab d4 37 c0 8b 83 20 01 00 00 a8 10 75 08 0f 0b ff
> > > > > >                           <4>reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > >                           reiser4[emerge(9123)]: release_unix_file
> > > > > > (fs/reiser4/plugin/file/file.c:2294)[vs-44]:
> > > > > >                           WARNING: out of memory?
> > > > > > 
> > > > > > I rebooted, remounted / read only and run fsck --fix, I had to run fsck
> > > > > > --build-fs becouse of fatal corruptions, I got whole lot of errors
> > > > > > referring to /usr/portage dir but fs is now ok.
> > > > 
> 
-- 
Jake Maciejewski <maciejej@msoe.edu>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Reiser4 oops
@ 2009-07-02  8:34 Piotr Sawuk
  0 siblings, 0 replies; 12+ messages in thread
From: Piotr Sawuk @ 2009-07-02  8:34 UTC (permalink / raw)
  To: Reiserfs devel

I'm running 2.6.28.8, so it's old. and it's not reproducible.
as can be seen below, hdc5 is my reiser4 drive. it did not
show any errors in fsck on the next boot. SMP is turned on,
but I did only use a single processor at that time. does this
problem sound familiar to anyone? is it already fixed in 2.6.30?

while compiling mozilla I got the following (and I hope the
ps ax snippet will also help):

klogd[1353]: segfault at 4 ip 0804afb3 sp bfa8eff4 error 4 in klogd[8048000+5000]
BUG: unable to handle kernel NULL pointer dereference at 00000028
IP: [<c01fd1f4>] search_one_bitmap_forward+0x54/0x190
*pde = 00000000
Oops: 0000 [#1] SMP
last sysfs file: /sys/power/state
Modules linked in: evdev psmouse 3c59x mii 8250 serial_core button processor 
thermal_sys w83627hf hwmon_vid hid_logitech i2c_amd756 usbhid ff_memless 
i2c_core hid joydev ohci_hcd ehci_hcd usbcore vfat fat
...
Pid: 1714, comm: ktxnmgrd:hdc5:r Not tainted (2.6.28.8-Reiser4 #3) MS-6501
EIP: 0060:[<c01fd1f4>] EFLAGS: 00010246 CPU: 0
EIP is at search_one_bitmap_forward+0x54/0x190
EAX: 00000000 EBX: 00000001 ECX: e0cfc340 EDX: e0cfc340
ESI: 00000000 EDI: df3d3cfc EBP: df3d3cfc ESP: df3d3ca4
...
Process ktxnmgrd:hdc5:r (pid: 1714, ti=df3d2000 task=df9bb2a0 task.ti=df3d2000)
Stack:
  dba1c004 df3d3cfc e0cfc340 00000000 dba1c000 0000001a 00000000 df3d3cfc
  00000001 c01fd3d0 00007fe0 00000001 00000001 df3d3d38 00007fe0 061c9e6f
  00000000 00000c3c 00000000 0000001a 00000000 000025f0 00000000 df3d3d30
Call Trace:
  [<c01fd3d0>] bitmap_alloc_forward+0xa0/0x130
  [<c01fd634>] reiser4_alloc_blocks_bitmap+0x1d4/0x360
  [<c02aa778>] ide_intr+0xd8/0x1f0
  [<c01da07e>] plugin_by_unsafe_id+0x1e/0xf0
  [<c01fc060>] item_body_by_coord_hard+0x10/0x20
  [<c01f3286>] internal_at+0x16/0x20
  [<c01c697e>] reiser4_grab+0xbe/0x100
  [<c01c70ae>] reiser4_alloc_blocks+0x7e/0x240
  [<c01cc44d>] allocate_znode_update+0x8d/0x250
  [<c01c6688>] grabbed2free+0x28/0x50
  [<c01bd6f7>] jload_gfp+0x77/0x140
  [<c01cc667>] allocate_znode+0x57/0x210
  [<c01cdd11>] flush_current_atom+0x931/0xa70
  [<c01c92b0>] reiser4_txn_end+0x190/0x510
  [<c01c9638>] reiser4_txn_restart+0x8/0x20
  [<c01c9a7e>] commit_some_atoms+0xfe/0x130
  [<c01d35ac>] ktxnmgrd+0x14c/0x190
  [<c01d3460>] ktxnmgrd+0x0/0x190
  [<c01375e2>] kthread+0x42/0x70
  [<c01375a0>] kthread+0x0/0x70
  [<c0104977>] kernel_thread_helper+0x7/0x10
Code: 24 08 8b 11 01 d0 89 44 24 08 e8 38 f8 ff ff 85 c0 89 44 24 0c 0f 85 d9 00 
00 00 8b 4c 24 08 8b 6c 24 04 bb 01 00 00 00 8b 41 10 <8b> 40 28 89 44 24 10 8b 
45 00 8b 49 18 39 c8 0f 87 1c 01 00 00
EIP: [<c01fd1f4>] search_one_bitmap_forward+0x54/0x190 SS:ESP 0068:df3d3ca4
---[ end trace 02e256bdb2bc00ba ]---


   PID TTY      STAT   TIME COMMAND
     1 ?        Ss     0:00 init [3]
     2 ?        S<     0:00 [kthreadd]
     3 ?        S<     0:00 [migration/0]
     4 ?        S<     0:00 [ksoftirqd/0]
     5 ?        S<     0:00 [events/0]
     6 ?        S<     0:00 [khelper]
     9 ?        S<     0:00 [kstop/0]
    53 ?        S<     0:00 [kintegrityd/0]
    54 ?        S<     0:00 [kblockd/0]
    56 ?        S<     0:00 [kacpid]
    57 ?        S<     0:00 [kacpi_notify]
   112 ?        S<     0:00 [kseriod]
   163 ?        S      0:00 [pdflush]
   164 ?        S      0:00 [pdflush]
   165 ?        S<     0:01 [kswapd0]
   208 ?        S<     0:00 [aio/0]
   932 ?        S<     0:00 [ksuspend_usbd]
   947 ?        S<     0:00 [khubd]
  1057 ?        S<     0:00 [hid_compat]
[...]
  1411 ?        S<     0:00 [kpsmoused]
[...]
  1675 tty3     Ss+    0:00 /sbin/agetty 38400 tty3 linux
  1676 tty4     Ss+    0:00 /sbin/agetty 38400 tty4 linux
  1677 tty5     Ss+    0:00 /sbin/agetty 38400 tty5 linux
  1678 tty6     Ss+    0:00 /sbin/agetty 38400 tty6 linux
  1715 ?        S<     0:00 [ent:hdc5.]
22056 tty1     S+     0:00 make
22768 tty1     S+     0:00 /usr/bin/make tier_9
22771 tty1     S+     0:00 /bin/sh -c set -e;   for d in [...]  accessible; do 
  if test ! -f $d/Makefile; then  /usr/bin/perl ./build/autoconf/make-makefile 
-t . -d .  $d/Makefile;  fi;  /usr/bin/make -C $d export;  done ;  for d in 
[...]  accessible; do   /usr/bin/make -C $d libs;  done
26765 tty1     S+     0:00 /usr/bin/make -C editor libs
26767 tty1     S+     0:00 /bin/sh -c set -e;  for d in public idl txtsvc 
libeditor txmgr composer; do  /usr/bin/make -C $d libs; done
26849 tty1     S+     0:00 /usr/bin/make -C libeditor libs
26851 tty1     S+     0:00 /bin/sh -c set -e;  for d in base text html build; do 
  /usr/bin/make -C $d libs; done
26852 tty1     S+     0:00 /usr/bin/make -C base libs
26855 tty1     S+     0:00 c++ -o nsEditor.o -c [...] -O9 -mtune=athlon-mp 
-march=athlon -fshort-wchar -pthread -pipe -DDEBUG -D_DEBUG -DDEBUG_root 
-DTRACING -g -fno-inline -O -I/usr/X11R6/include -DMOZILLA_CLIENT -include 
../../../mozilla-config.h -Wp,-MD,.deps/nsEditor.pp nsEditor.cpp
26856 tty1     D+     0:10 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/cc1plus -quiet 
[...] nsEditor.cpp -mtune=athlon-mp -march=athlon -auxbase-strip nsEditor.o -g 
-O9 -O [...] -o -
26857 tty1     D+     0:00 
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/as -Qy -o 
nsEditor.o -

P

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Reiser4 Oops
@ 2010-12-19 19:01 Андрей Колченко
  2010-12-19 22:33 ` Edward Shishkin
  0 siblings, 1 reply; 12+ messages in thread
From: Андрей Колченко @ 2010-12-19 19:01 UTC (permalink / raw)
  To: reiserfs-devel

[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]

Wanted to try reiser4. I have compiled a kernel with reiser4, format the 
partition and began to copy the folder /home.
After a short time the screen goes black and there was one console with 
the error output. After switching to other tty and back up continued. 
dmesg output copied to the pastebin (http://pastebin.com/XyDKWJ8J).
This was repeated several times and the computer hangs perfectly still.
I have ubuntu 10.10 on a laptop Acer Aspire 7720z.

[Rus]
Хотел попробовать reiser4. Я собрал ядро с поддержкой reiser4, 
отформатировал раздел и начал копировать папку /home.
Через небольшое время экран стал черным и осталась одна консоль с 
выводом ошибок. После переключения на другие tty и обратно, копирование 
продолжилось. Вывод dmesg скопировал на pastebin 
(http://pastebin.com/XyDKWJ8J).
Так повторилось несколько раз и компьютер намертво завис.
У меня ubuntu 10.10 на ноутбуке Acer Aspire 7720z.

[-- Attachment #2: oops.txt --]
[-- Type: text/plain, Size: 3759 bytes --]

[  160.348668] reiser4: sda4: found disk format 4.0.0.
[  246.776687] lo: Disabled Privacy Extensions
[  259.301354] exe (2663): /proc/2663/oom_adj is deprecated, please use /proc/2663/oom_score_adj instead.
[  278.060537] BUG: unable to handle kernel paging request at 4b1b5d0b
[  278.060621] IP: [<c0318767>] jbd2__journal_start+0x37/0xe0
[  278.060680] *pde = 00000000 
[  278.060714] Oops: 0000 [#1] SMP 
[  278.060754] last sysfs file: /sys/devices/system/cpu/cpu1/cpufreq/scaling_cur_freq
[  278.060821] Modules linked in: binfmt_misc parport_pc ppdev snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi arc4 snd_rawmidi ath5k mac80211 i915 drm_kms_helper joydev snd_seq_midi_event ath cfg80211 drm snd_seq r852 sm_common snd_timer nand nand_ids i2c_algo_bit nand_ecc video mtd psmouse uvcvideo intel_agp agpgart videodev lp snd_seq_device v4l1_compat serio_raw shpchp output snd soundcore snd_page_alloc parport usbhid hid ahci firewire_ohci btrfs tg3 sdhci_pci firewire_core sdhci crc_itu_t led_class libahci crc32c libcrc32c
[  278.061486] 
[  278.061508] Pid: 2505, comm: ent:sda4! Not tainted 2.6.36.reiser #3 Poyang   /Aspire 7720Z    
[  278.061591] EIP: 0060:[<c0318767>] EFLAGS: 00010286 CPU: 0
[  278.061644] EIP is at jbd2__journal_start+0x37/0xe0
[  278.061687] EAX: 4b1b5d0b EBX: f25b7eb8 ECX: 00000050 EDX: 00000008
[  278.061743] ESI: f6a08800 EDI: f5390000 EBP: f25b7d54 ESP: f25b7d40
[  278.061797]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[  278.061846] Process ent:sda4! (pid: 2505, ti=f25b6000 task=f5390000 task.ti=f25b6000)
[  278.061914] Stack:
[  278.061937]  00000000 00000008 f69ffe00 00000001 00000000 f25b7d5c c0318822 f25b7d98
[  278.062033] <0> c02f5858 00000000 00000000 00000000 00000000 00000008 f25b7d90 c02e0957
[  278.062136] <0> 00000218 f7227ddc 00000001 f7227ddc 00000001 00000000 f25b7e38 c02e47e3
[  278.062243] Call Trace:
[  278.062271]  [<c0318822>] ? jbd2_journal_start+0x12/0x20
[  278.062322]  [<c02f5858>] ? ext4_journal_start_sb+0xc8/0x100
[  278.062377]  [<c02e0957>] ? ext4_meta_trans_blocks+0x67/0xc0
[  278.062431]  [<c02e47e3>] ? ext4_da_writepages+0x203/0x560
[  278.062484]  [<c060fccd>] ? _raw_spin_lock+0xd/0x10
[  278.062530]  [<c0281ca2>] ? flush_some_atom+0x312/0x540
[  278.062578]  [<c02a4cdd>] ? writepages_cryptcompress+0x19d/0x220
[  278.062636]  [<c02913a8>] ? reiser4_writeout+0xa8/0x1a0
[  278.062684]  [<c022c186>] ? iput+0x36/0x270
[  278.062724]  [<c02367e4>] ? generic_writeback_sb_inodes+0xe4/0x150
[  278.062782]  [<c01dfaac>] ? do_writepages+0x1c/0x40
[  278.062826]  [<c0236125>] ? writeback_single_inode+0x85/0x250
[  278.062877]  [<c060fccd>] ? _raw_spin_lock+0xd/0x10
[  278.062921]  [<c028db64>] ? reiser4_writeback_inodes+0xa4/0x130
[  278.062974]  [<c02367b1>] ? generic_writeback_sb_inodes+0xb1/0x150
[  278.063031]  [<c0236c6b>] ? writeback_inodes_wb+0x10b/0x150
[  278.063082]  [<c0291d06>] ? entd_flush+0xa6/0xe0
[  278.063127]  [<c0291d40>] ? entd+0x0/0x240
[  278.063166]  [<c0291e51>] ? entd+0x111/0x240
[  278.063208]  [<c0165fd0>] ? autoremove_wake_function+0x0/0x50
[  278.064008]  [<c0291d40>] ? entd+0x0/0x240
[  278.067417]  [<c0165ba4>] ? kthread+0x74/0x80
[  278.067417]  [<c0165b30>] ? kthread+0x0/0x80
[  278.067417]  [<c010357e>] ? kernel_thread_helper+0x6/0x10
[  278.067417] Code: 89 7d fc 0f 1f 44 00 00 bb e2 ff ff ff 64 8b 3d ac b4 90 c0 89 c6 85 f6 89 55 f0 8b 87 14 04 00 00 74 14 85 c0 89 c3 74 23 8b 00 <3b> 30 0f 85 93 00 00 00 83 43 08 01 89 d8 8b 75 f8 8b 5d f4 8b 
[  278.067417] EIP: [<c0318767>] jbd2__journal_start+0x37/0xe0 SS:ESP 0068:f25b7d40
[  278.067417] CR2: 000000004b1b5d0b
[  278.115363] ---[ end trace fca38291408e395f ]---
[  328.901037] [drm:drm_mode_getfb] *ERROR* invalid framebuffer id

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Reiser4 Oops
  2010-12-19 19:01 Reiser4 Oops Андрей Колченко
@ 2010-12-19 22:33 ` Edward Shishkin
  2010-12-20 22:31   ` Edward Shishkin
  0 siblings, 1 reply; 12+ messages in thread
From: Edward Shishkin @ 2010-12-19 22:33 UTC (permalink / raw)
  To: Андрей Колченко
  Cc: reiserfs-devel

Андрей Колченко wrote:
> Wanted to try reiser4. I have compiled a kernel with reiser4, format
> the partition and began to copy the folder /home.
> After a short time the screen goes black and there was one console
> with the error output. After switching to other tty and back up
> continued. dmesg output copied to the pastebin
> (http://pastebin.com/XyDKWJ8J).
> This was repeated several times and the computer hangs perfectly still.
> I have ubuntu 10.10 on a laptop Acer Aspire 7720z. 

Yup, I see the bug:
instead of writing pages reiser4 kicks ext4 to do it,
and, I guess, doesn't clear journal_info (this is why
ext4 oopses).

[  278.062271]  [<c0318822>] ? jbd2_journal_start+0x12/0x20
[  278.062322]  [<c02f5858>] ? ext4_journal_start_sb+0xc8/0x100
[  278.062377]  [<c02e0957>] ? ext4_meta_trans_blocks+0x67/0xc0
[  278.062431]  [<c02e47e3>] ? ext4_da_writepages+0x203/0x560
[  278.062484]  [<c060fccd>] ? _raw_spin_lock+0xd/0x10
[  278.062530]  [<c0281ca2>] ? flush_some_atom+0x312/0x540
[  278.062578]  [<c02a4cdd>] ? writepages_cryptcompress+0x19d/0x220
[  278.062636]  [<c02913a8>] ? reiser4_writeout+0xa8/0x1a0
[  278.062684]  [<c022c186>] ? iput+0x36/0x270
[  278.062724]  [<c02367e4>] ? generic_writeback_sb_inodes+0xe4/0x150
[  278.062782]  [<c01dfaac>] ? do_writepages+0x1c/0x40
[  278.062826]  [<c0236125>] ? writeback_single_inode+0x85/0x250
[  278.062877]  [<c060fccd>] ? _raw_spin_lock+0xd/0x10
[  278.062921]  [<c028db64>] ? reiser4_writeback_inodes+0xa4/0x130
[  278.062974]  [<c02367b1>] ? generic_writeback_sb_inodes+0xb1/0x150
[  278.063031]  [<c0236c6b>] ? writeback_inodes_wb+0x10b/0x150


here should be writeback_sb_inodes() instead of writeback_inodes_wb


[  278.063082]  [<c0291d06>] ? entd_flush+0xa6/0xe0
[  278.063127]  [<c0291d40>] ? entd+0x0/0x240
[  278.063166]  [<c0291e51>] ? entd+0x111/0x240
[  278.063208]  [<c0165fd0>] ? autoremove_wake_function+0x0/0x50
[  278.064008]  [<c0291d40>] ? entd+0x0/0x240
[  278.067417]  [<c0165ba4>] ? kthread+0x74/0x80
[  278.067417]  [<c0165b30>] ? kthread+0x0/0x80
[  278.067417]  [<c010357e>] ? kernel_thread_helper+0x6/0x10


It is interesting that the path
entd -> writeback_inodes_wb -> ext4_da_writepages
has never been triggered on my testing machine (I also
have reiser4 and ext4 there). Perhaps, this is because
of different system configurations.

I'll try to fix it in the near future, so that you'll be able to
try reiser4.

Thanks for your report,
Edward.
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Reiser4 Oops
  2010-12-19 22:33 ` Edward Shishkin
@ 2010-12-20 22:31   ` Edward Shishkin
       [not found]     ` <AANLkTinbSRgNhi5heC2npLNzU4xsuUjzEXBD5qDBiYDw@mail.gmail.com>
  0 siblings, 1 reply; 12+ messages in thread
From: Edward Shishkin @ 2010-12-20 22:31 UTC (permalink / raw)
  To: Андрей Колченко
  Cc: reiserfs-devel

[-- Attachment #1: Type: text/plain, Size: 2990 bytes --]

Hello.

Could you please try the attached patch?

This patch is against reiser4-for-2.6.36.
Also please make sure you have the latest one
(I have updated the stuff  11-Dec-2010).

Report, if any problems.

Thanks,
Edward.


On Sun, Dec 19, 2010 at 11:33 PM, Edward Shishkin
<edward.shishkin@gmail.com> wrote:
> Андрей Колченко wrote:
>> Wanted to try reiser4. I have compiled a kernel with reiser4, format
>> the partition and began to copy the folder /home.
>> After a short time the screen goes black and there was one console
>> with the error output. After switching to other tty and back up
>> continued. dmesg output copied to the pastebin
>> (http://pastebin.com/XyDKWJ8J).
>> This was repeated several times and the computer hangs perfectly still.
>> I have ubuntu 10.10 on a laptop Acer Aspire 7720z.
>
> Yup, I see the bug:
> instead of writing pages reiser4 kicks ext4 to do it,
> and, I guess, doesn't clear journal_info (this is why
> ext4 oopses).
>
> [  278.062271]  [<c0318822>] ? jbd2_journal_start+0x12/0x20
> [  278.062322]  [<c02f5858>] ? ext4_journal_start_sb+0xc8/0x100
> [  278.062377]  [<c02e0957>] ? ext4_meta_trans_blocks+0x67/0xc0
> [  278.062431]  [<c02e47e3>] ? ext4_da_writepages+0x203/0x560
> [  278.062484]  [<c060fccd>] ? _raw_spin_lock+0xd/0x10
> [  278.062530]  [<c0281ca2>] ? flush_some_atom+0x312/0x540
> [  278.062578]  [<c02a4cdd>] ? writepages_cryptcompress+0x19d/0x220
> [  278.062636]  [<c02913a8>] ? reiser4_writeout+0xa8/0x1a0
> [  278.062684]  [<c022c186>] ? iput+0x36/0x270
> [  278.062724]  [<c02367e4>] ? generic_writeback_sb_inodes+0xe4/0x150
> [  278.062782]  [<c01dfaac>] ? do_writepages+0x1c/0x40
> [  278.062826]  [<c0236125>] ? writeback_single_inode+0x85/0x250
> [  278.062877]  [<c060fccd>] ? _raw_spin_lock+0xd/0x10
> [  278.062921]  [<c028db64>] ? reiser4_writeback_inodes+0xa4/0x130
> [  278.062974]  [<c02367b1>] ? generic_writeback_sb_inodes+0xb1/0x150
> [  278.063031]  [<c0236c6b>] ? writeback_inodes_wb+0x10b/0x150
>
>
> here should be writeback_sb_inodes() instead of writeback_inodes_wb
>
>
> [  278.063082]  [<c0291d06>] ? entd_flush+0xa6/0xe0
> [  278.063127]  [<c0291d40>] ? entd+0x0/0x240
> [  278.063166]  [<c0291e51>] ? entd+0x111/0x240
> [  278.063208]  [<c0165fd0>] ? autoremove_wake_function+0x0/0x50
> [  278.064008]  [<c0291d40>] ? entd+0x0/0x240
> [  278.067417]  [<c0165ba4>] ? kthread+0x74/0x80
> [  278.067417]  [<c0165b30>] ? kthread+0x0/0x80
> [  278.067417]  [<c010357e>] ? kernel_thread_helper+0x6/0x10
>
>
> It is interesting that the path
> entd -> writeback_inodes_wb -> ext4_da_writepages
> has never been triggered on my testing machine (I also
> have reiser4 and ext4 there). Perhaps, this is because
> of different system configurations.
>
> I'll try to fix it in the near future, so that you'll be able to
> try reiser4.
>
> Thanks for your report,
> Edward.
>

[-- Attachment #2: reiser4-fix-entd_flush.patch --]
[-- Type: application/octet-stream, Size: 2586 bytes --]

entd_flush: use __writeback_inodes_sb() instead of
writeback_inodes_wb. The last one also writes inodes,
which don't belong reiser4: this is not acceptable
in accordance with entd semantic (entd responds solely
to reiser4_writepage() and must not serve other file
systems).

Signed-off-by: Edward Shishkin <edward.shishkin@gmail.com>
---
 fs/fs-writeback.c         |   10 ++++++----
 fs/reiser4/entd.c         |   11 +++++++++--
 include/linux/writeback.h |    3 +++
 3 files changed, 18 insertions(+), 6 deletions(-)

--- linux-2.6.36.orig/fs/fs-writeback.c
+++ linux-2.6.36/fs/fs-writeback.c
@@ -560,17 +560,19 @@ void writeback_inodes_wb(struct bdi_writ
 }
 EXPORT_SYMBOL(writeback_inodes_wb);
 
-static void __writeback_inodes_sb(struct super_block *sb,
+void __writeback_inodes_sb(struct super_block *sb,
 		struct bdi_writeback *wb, struct writeback_control *wbc)
 {
-	WARN_ON(!rwsem_is_locked(&sb->s_umount));
-
 	spin_lock(&inode_lock);
 	if (!wbc->for_kupdate || list_empty(&wb->b_io))
 		queue_io(wb, wbc->older_than_this);
-	generic_writeback_sb_inodes(sb, wb, wbc, true);
+	if (sb->s_op->writeback_inodes)
+		sb->s_op->writeback_inodes(sb, wb, wbc, true);
+	else
+		generic_writeback_sb_inodes(sb, wb, wbc, true);
 	spin_unlock(&inode_lock);
 }
+EXPORT_SYMBOL(__writeback_inodes_sb);
 
 /*
  * The maximum number of pages to writeout in a single bdi flush/kupdate
--- linux-2.6.36.orig/fs/reiser4/entd.c
+++ linux-2.6.36/fs/reiser4/entd.c
@@ -242,8 +242,15 @@ static void entd_flush(struct super_bloc
 	if (rq->wbc->nr_to_write > 0) {
 		rq->wbc->range_start = 0;
 		rq->wbc->range_end = LLONG_MAX;
-		writeback_inodes_wb(&rq->mapping->backing_dev_info->wb,
-				    rq->wbc);
+		/*
+		 * we don't need to pin superblock for writeback:
+		 * this is implicitly pinned by write_page_by_ent
+		 * (via igrab), so that shutdown_super() will wait
+		 * (on reiser4_put_super) for entd completion.
+		 */
+		__writeback_inodes_sb(super,
+				      &rq->mapping->backing_dev_info->wb,
+				      rq->wbc);
 	}
 	rq->wbc->nr_to_write = ENTD_CAPTURE_APAGE_BURST;
 
--- linux-2.6.36.orig/include/linux/writeback.h
+++ linux-2.6.36/include/linux/writeback.h
@@ -70,6 +70,9 @@ int writeback_inodes_sb_if_idle(struct s
 void sync_inodes_sb(struct super_block *);
 void writeback_inodes_wb(struct bdi_writeback *wb,
 		struct writeback_control *wbc);
+void __writeback_inodes_sb(struct super_block *sb,
+			   struct bdi_writeback *wb,
+			   struct writeback_control *wbc);
 long wb_do_writeback(struct bdi_writeback *wb, int force_wait);
 void wakeup_flusher_threads(long nr_pages);
 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Reiser4 Oops
       [not found]     ` <AANLkTinbSRgNhi5heC2npLNzU4xsuUjzEXBD5qDBiYDw@mail.gmail.com>
@ 2011-01-05 12:10       ` Edward Shishkin
  0 siblings, 0 replies; 12+ messages in thread
From: Edward Shishkin @ 2011-01-05 12:10 UTC (permalink / raw)
  To: Dushan Tcholich; +Cc: reiserfs-devel

On 01/05/2011 12:04 PM, Dushan Tcholich wrote:
> Hello
>
> Can we have some version number after kernel version for fixups as
> latest upload for .36 on kernel.org is from 27-Dec-2010 21:17
> That's the 3rd version for .36 with same name, so there'll probably be
> some confusion :D
>    

Ok, I'll put additional ones suffixed with "-x" (x=1, 2, ...)

Edward.

> Thanks
>
> Dushan
>
> On Mon, Dec 20, 2010 at 11:31 PM, Edward Shishkin
> <edward.shishkin@gmail.com>  wrote:
>    
>> Hello.
>>
>> Could you please try the attached patch?
>>
>> This patch is against reiser4-for-2.6.36.
>> Also please make sure you have the latest one
>> (I have updated the stuff  11-Dec-2010).
>>
>> Report, if any problems.
>>
>> Thanks,
>> Edward.
>>
>>
>> On Sun, Dec 19, 2010 at 11:33 PM, Edward Shishkin
>> <edward.shishkin@gmail.com>  wrote:
>>      
>>> Андрей Колченко wrote:
>>>        
>>>> Wanted to try reiser4. I have compiled a kernel with reiser4, format
>>>> the partition and began to copy the folder /home.
>>>> After a short time the screen goes black and there was one console
>>>> with the error output. After switching to other tty and back up
>>>> continued. dmesg output copied to the pastebin
>>>> (http://pastebin.com/XyDKWJ8J).
>>>> This was repeated several times and the computer hangs perfectly still.
>>>> I have ubuntu 10.10 on a laptop Acer Aspire 7720z.
>>>>          
>>> Yup, I see the bug:
>>> instead of writing pages reiser4 kicks ext4 to do it,
>>> and, I guess, doesn't clear journal_info (this is why
>>> ext4 oopses).
>>>
>>> [  278.062271]  [<c0318822>] ? jbd2_journal_start+0x12/0x20
>>> [  278.062322]  [<c02f5858>] ? ext4_journal_start_sb+0xc8/0x100
>>> [  278.062377]  [<c02e0957>] ? ext4_meta_trans_blocks+0x67/0xc0
>>> [  278.062431]  [<c02e47e3>] ? ext4_da_writepages+0x203/0x560
>>> [  278.062484]  [<c060fccd>] ? _raw_spin_lock+0xd/0x10
>>> [  278.062530]  [<c0281ca2>] ? flush_some_atom+0x312/0x540
>>> [  278.062578]  [<c02a4cdd>] ? writepages_cryptcompress+0x19d/0x220
>>> [  278.062636]  [<c02913a8>] ? reiser4_writeout+0xa8/0x1a0
>>> [  278.062684]  [<c022c186>] ? iput+0x36/0x270
>>> [  278.062724]  [<c02367e4>] ? generic_writeback_sb_inodes+0xe4/0x150
>>> [  278.062782]  [<c01dfaac>] ? do_writepages+0x1c/0x40
>>> [  278.062826]  [<c0236125>] ? writeback_single_inode+0x85/0x250
>>> [  278.062877]  [<c060fccd>] ? _raw_spin_lock+0xd/0x10
>>> [  278.062921]  [<c028db64>] ? reiser4_writeback_inodes+0xa4/0x130
>>> [  278.062974]  [<c02367b1>] ? generic_writeback_sb_inodes+0xb1/0x150
>>> [  278.063031]  [<c0236c6b>] ? writeback_inodes_wb+0x10b/0x150
>>>
>>>
>>> here should be writeback_sb_inodes() instead of writeback_inodes_wb
>>>
>>>
>>> [  278.063082]  [<c0291d06>] ? entd_flush+0xa6/0xe0
>>> [  278.063127]  [<c0291d40>] ? entd+0x0/0x240
>>> [  278.063166]  [<c0291e51>] ? entd+0x111/0x240
>>> [  278.063208]  [<c0165fd0>] ? autoremove_wake_function+0x0/0x50
>>> [  278.064008]  [<c0291d40>] ? entd+0x0/0x240
>>> [  278.067417]  [<c0165ba4>] ? kthread+0x74/0x80
>>> [  278.067417]  [<c0165b30>] ? kthread+0x0/0x80
>>> [  278.067417]  [<c010357e>] ? kernel_thread_helper+0x6/0x10
>>>
>>>
>>> It is interesting that the path
>>> entd ->  writeback_inodes_wb ->  ext4_da_writepages
>>> has never been triggered on my testing machine (I also
>>> have reiser4 and ext4 there). Perhaps, this is because
>>> of different system configurations.
>>>
>>> I'll try to fix it in the near future, so that you'll be able to
>>> try reiser4.
>>>
>>> Thanks for your report,
>>> Edward.
>>>
>>>        
>>      

--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-01-05 12:10 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-01 20:08 reiser4 oops Łukasz Mierzwa
2006-07-01 20:13 ` Łukasz Mierzwa
2006-07-03  4:24 ` Jake Maciejewski
     [not found]   ` <1151921448.6335.42.camel@tribesman.namesys.com>
2006-07-03 11:51     ` Łukasz Mierzwa
2006-07-03 23:23     ` Jake Maciejewski
2006-07-07  7:18       ` Jake Maciejewski
     [not found]         ` <1152278167.6236.21.camel@tribesman.namesys.com>
2006-07-11  6:43           ` Jake Maciejewski
  -- strict thread matches above, loose matches on Subject: below --
2009-07-02  8:34 Reiser4 oops Piotr Sawuk
2010-12-19 19:01 Reiser4 Oops Андрей Колченко
2010-12-19 22:33 ` Edward Shishkin
2010-12-20 22:31   ` Edward Shishkin
     [not found]     ` <AANLkTinbSRgNhi5heC2npLNzU4xsuUjzEXBD5qDBiYDw@mail.gmail.com>
2011-01-05 12:10       ` Edward Shishkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).