linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ricky Ng-Adam <rngadam@yahoo.com>
To: linux-fsdevel@vger.kernel.org
Subject: kernel 2.6.10-rc3-mm1/reiserfs4 bug?
Date: Wed, 22 Dec 2004 23:45:45 -0500	[thread overview]
Message-ID: <cqdihl$fo5$3@sea.gmane.org> (raw)

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

Hello!

I'm having a bit of a problem... I've just transferred my /var files to
a new reiserfs4 partition on top of a LVM volume and getting kernel
errors.  I tried doing /sbin/fsck.reiser4 on the filesystem but it
didn't help.

--------------------
kernel BUG at fs/reiser4/plugin/file/tail_conversion.c:58!
invalid operand: 0000 [#2]
PREEMPT
Modules linked in: i2c_viapro i2c_core psmouse floppy pcspkr evdev
videodev uhci_hcd usbcore parport_pc parport dm_mod rtc eth1394 unix
CPU:    0
EIP:    0060:[<c027168b>]    Not tainted VLI
EFLAGS: 00010286   (2.6.10-rc3-mm1-20041214)
EIP is at get_nonexclusive_access+0x4b/0x60
eax: d67e905c   ebx: d42cfd78   ecx: 00000000   edx: d4a4ba80
esi: d42cfdd0   edi: d42cfd78   ebp: d4305bc4   esp: d4305bb8
ds: 007b   es: 007b   ss: 0068
Process apt-get (pid: 2527, threadinfo=d4304000 task=d74c51d0)
Stack: d42cfe30 d42cfdd0 d42cfe30 d4305ca8 c0270234 d42cfd78 0000002b
00000000
         c1286c20 00000000 00000000 00000000 00000000 00000000 00000000
00000000
         00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
Call Trace:
   [<c0104c4f>] show_stack+0x7f/0xa0
   [<c0104df6>] show_registers+0x156/0x1c0
   [<c0105076>] die+0x156/0x2d0
   [<c010558c>] do_invalid_op+0xbc/0xd0
   [<c010476f>] error_code+0x2b/0x30
   [<c0270234>] unix_file_filemap_nopage+0x64/0xc0
   [<c0168e1e>] do_no_page+0x11e/0x640
   [<c0169612>] handle_mm_fault+0x142/0x340
   [<c016672d>] get_user_pages+0x1bd/0x650
   [<c026f6c7>] reiser4_get_user_pages+0xb7/0xf0
   [<c026fd7f>] read_unix_file+0x2ff/0x320
   [<c023b2fb>] reiser4_read+0x6b/0xb0
   [<c017fe8f>] vfs_read+0xcf/0x170
   [<c01801cb>] sys_read+0x4b/0x80
   [<c0103cc7>] syscall_call+0x7/0xb
Code: 20 85 c0 75 26 c7 04 24 48 20 49 c0 b9 2b 00 00 00 89 4c 24 04 e8
36 d6 ea ff 89 d8 ff 00 0f 88 06 12 00 00 8b 5d fc 89 ec 5d c3 <0f> 0b
3a 00 00 47 4a c0 eb d0 8d 74 26 00 8d bc 27 00 00 00 00
   <3>Slab corruption: start=d4304000, len=8192
1f20: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 04 91 7e d6
Slab corruption: start=d4304000, len=8192
1f20: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 04 91 7e d6
--------------------

On reboot:

--------------------
kernel BUG at fs/reiser4/plugin/file/tail_conversion.c:58!
invalid operand: 0000 [#3]
PREEMPT
Modules linked in: i2c_viapro i2c_core psmouse floppy pcspkr evdev
videodev uhci_hcd usbcore parport_pc parport dm_mod rtc eth1394 unix
CPU:    0
EIP:    0060:[<c027168b>]    Not tainted VLI
EFLAGS: 00010286   (2.6.10-rc3-mm1-20041214)
EIP is at get_nonexclusive_access+0x4b/0x60
eax: d67e905c   ebx: d42cfd78   ecx: 00000000   edx: d4a4b270
esi: d42cfdd0   edi: d42cfd78   ebp: d434bbc4   esp: d434bbb8
ds: 007b   es: 007b   ss: 0068
Process apt-get (pid: 2531, threadinfo=d434a000 task=d7460670)
Stack: d42cfe30 d42cfdd0 d42cfe30 d434bca8 c0270234 d42cfd78 0000002b
00000000
         c12879a0 00000000 00000000 00000000 00000000 00000000 00000000
00000000
         00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
Call Trace:
   [<c0104c4f>] show_stack+0x7f/0xa0
   [<c0104df6>] show_registers+0x156/0x1c0
   [<c0105076>] die+0x156/0x2d0
   [<c010558c>] do_invalid_op+0xbc/0xd0
   [<c010476f>] error_code+0x2b/0x30
   [<c0270234>] unix_file_filemap_nopage+0x64/0xc0
   [<c0168e1e>] do_no_page+0x11e/0x640
   [<c0169612>] handle_mm_fault+0x142/0x340
   [<c016672d>] get_user_pages+0x1bd/0x650
   [<c026f6c7>] reiser4_get_user_pages+0xb7/0xf0
   [<c026fd7f>] read_unix_file+0x2ff/0x320
   [<c023b2fb>] reiser4_read+0x6b/0xb0
   [<c017fe8f>] vfs_read+0xcf/0x170
   [<c01801cb>] sys_read+0x4b/0x80
   [<c0103cc7>] syscall_call+0x7/0xb
Code: 20 85 c0 75 26 c7 04 24 48 20 49 c0 b9 2b 00 00 00 89 4c 24 04 e8
36 d6 ea ff 89 d8 ff 00 0f 88 06 12 00 00 8b 5d fc 89 ec 5d c3 <0f> 0b
3a 00 00 47 4a c0 eb d0 8d 74 26 00 8d bc 27 00 00 00 00
   <3>Slab corruption: start=d434a000, len=8192
1f20: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 04 91 7e d6
--------------------

strace:

--------------------
warren:~# strace apt-get dist-upgrade
[...]
stat64("/var/lib/apt/lists/localhost:9999_debian_dists_unstable_contrib_binary-i386_Packages", 

{st_mode=S_IFREG|0644, st_size=271045, ...}) = 0
stat64("/var/lib/apt/lists/localhost:9999_debian_dists_unstable_contrib_binary-i386_Packages", 

{st_mode=S_IFREG|0644, st_size=271045, ...}) = 0
stat64("/var/lib/apt/lists/www.coker.com.au_newselinux_._Packages",
{st_mode=S_IFREG|0644, st_size=16071, ...}) = 0
stat64("/var/lib/apt/lists/www.coker.com.au_newselinux_._Packages",
{st_mode=S_IFREG|0644, st_size=16071, ...}) = 0
stat64("/var/lib/apt/lists/debian.tu-bs.de_knoppix_nx_slh-debian_._Packages", 

{st_mode=S_IFREG|0644, st_size=19194, ...}) = 0
stat64("/var/lib/apt/lists/debian.tu-bs.de_knoppix_nx_slh-debian_._Packages", 

{st_mode=S_IFREG|0644, st_size=19194, ...}) = 0
munmap(0xb6bb3000, 5731073)             = 0
close(6)                                = 0
open("/var/cache/apt/srcpkgcache.bin", O_RDONLY) = 6
fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=5731073, ...}) = 0
fstat64(6, {st_mode=S_IFREG|0644, st_size=5731073, ...}) = 0
read(6,  <unfinished ...>
+++ killed by SIGSEGV +++
--------------------

Mounted like this:

--------------------
/dev/vghda4/lv-var  /var reiser4    noatime,user,owner,rw,exec  0  0
--------------------

Strangely, I can't trigger the error with this for example:

warren:~# find /var -type f -exec cat {} > /dev/null \;

but if I `cp -rp /var` to somewhere else:

--------------------
Slab corruption: start=c26f3f18, len=52
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<00000000>](0x0)
010: 6b 6b 6b 6b 6c 1e 47 d6 6b 6b 6b 6b 6b 6b 6b 6b
Prev obj: start=c26f3ed8, len=52
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<00000000>](0x0)
000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
Next obj: start=c26f3f58, len=52
Redzone: 0x170fc2a5/0x170fc2a5.
Last user: [<c02b468f>](avc_alloc_node+0x1f/0x420)
000: 01 00 00 00 03 00 00 00 06 00 00 00 02 00 00 00
010: 02 00 00 00 00 00 00 00 ff ff ff ff 00 00 00 00
Slab corruption: start=c26f3f18, len=52
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<c02b454d>](avc_node_free+0x1d/0x60)
010: 6b 6b 6b 6b 6c 1e 47 d6 6b 6b 6b 6b 6b 6b 6b 6b
Prev obj: start=c26f3ed8, len=52
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<00000000>](0x0)
000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
Next obj: start=c26f3f58, len=52
Redzone: 0x170fc2a5/0x170fc2a5.
Last user: [<c02b468f>](avc_alloc_node+0x1f/0x420)
000: 01 00 00 00 03 00 00 00 07 00 00 00 00 00 10 00
010: 00 00 10 00 00 00 00 00 ff ff ff ff 00 00 00 00
Slab corruption: start=c26f3f18, len=52
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<c02b454d>](avc_node_free+0x1d/0x60)
010: 6b 6b 6b 6b 6c 1e 47 d6 6b 6b 6b 6b 6b 6b 6b 6b
Prev obj: start=c26f3ed8, len=52
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<c02b454d>](avc_node_free+0x1d/0x60)
000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
Next obj: start=c26f3f58, len=52
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<c02b454d>](avc_node_free+0x1d/0x60)
000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
Slab corruption: start=c26f3f14, len=160
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<00000000>](0x0)
010: 6b 6b 6b 6b 6b 6b 6b 6b 6c 1e 47 d6 6b 6b 6b 6b
Prev obj: start=c26f3e68, len=160
Redzone: 0x5a2cf071/0x5a2cf071.
Last user: [<00000000>](0x0)
000: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
010: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b
--------------------

Thanks,

Ricky Ng-Adam


[-- Attachment #2: config.gz --]
[-- Type: application/octet-stream, Size: 8825 bytes --]

                 reply	other threads:[~2004-12-23  4:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='cqdihl$fo5$3@sea.gmane.org' \
    --to=rngadam@yahoo.com \
    --cc=linux-fsdevel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).