[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#467405: Reiserfs: kernel panic with corrupted home filesystem



Package: linux-image-2.6.18-6-k7
Version: 2.6.18.dfsg.1-18etch1
Severity: normal

I've a crypted reiserfs filesystem mounted on /home, but instead of throwing an error message, the kernel crashed.
The crash occurred when I launched Thunderbird. The panic message is not on syslog, so I took a photo of the console and copied it.
I don't know how to get the full error message on a file, and I don't know what information is useful. I can reproduce this bug by launching Thunderbird with the corrupted home filesystem.

To have this trace, I launched Thunderbird from a tty. The error was longer than the console. On the error there is this trace (note that I didn't copy the addresses because I manually copied the screen):
Process: icedove-bin (pid: 3398, ti:c6a0e000 task:e74a9000 task.ti: c6a0e000)
Stack: (24 addresses that I didn't copy)
Call Trace:
 run_timer_softirq
 __do_softirq+0x5a/0xbb
 do_softirq+0x36/0x3a
 apic_timer_interrupt+0x1f/0x24
 _mmx_memcpy+0x84/0x128
 leaf_copy_items_entirely [reiserfs]
 leaf_move_items [reiserfs]
 leaf_shift_left [reiserfs]
 do_balance [reiserfs]
 __find_get_block
 search_by_key [reiserfs]
 __getblk
 __bread
 get_neighbors [reiserfs]
 reiserfs_prepare_for_journal [reiserfs]
 fix_nodes [reiserfs]
 reiserfs_insert_item [reiserfs]
 indirect2direct [reiserfs]
 reiserfs_cut_from_item [reiserfs]
 pathrelse [reiserfs]
 inode_setattr
 reiserfs_do_truncate [reiserfs]
 reiserfs_truncate_file [reiserfs]
 do_journal_begin_r [reiserfs]
 reiserfs_file_release+0x35a/0x37a [reiserfs]
 __fput+0x8a/0x13f
 filp_close+0x4e/0x54
 sysenter_past_esp+0x56/0x79
Code: Bad EIP value.
EIP: [<00000000>] _stext+0x3feffd6c/0x3c SS:ESP 0068:c6a0f734
 <0>Kernel panic - not syncing: Fatal exception in interrupt

After, I launched Thunderbird from the desktop and switched to a tty before it is launched. It crashed with this error:
skb_over_panic: text: ee86bdcd len:101 put:101 head:00000000 tail:00000065 end:00000000 dev:<NULL>

Note: /home is an encrypted filesystem using aes loop device.

I think the filesystem is corrupt because when I try to mount it, it sometimes fails with this error:
linux kernel: Buffer I/O error on device loop2, logical block 32813
linux kernel: lost page write due to I/O error on loop2
linux kernel: ReiserFS: loop2: warning: journal-1226: REPLAY FAILURE, fsck required! buffer write failed
linux kernel: ReiserFS: loop2: warning: Replay Failure, unable to mount

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages linux-image-2.6.18-6-k7 depends on:
ii  coreutils                    5.97-5.3    The GNU core utilities
ii  debconf [debconf-2.0]        1.5.11etch1 Debian configuration management sy
ii  initramfs-tools [linux-initr 0.85h       tools for generating an initramfs
ii  module-init-tools            3.3-pre4-2  tools for managing Linux kernel mo

Versions of packages linux-image-2.6.18-6-k7 recommends:
ii  libc6-i686             2.3.6.ds1-13etch5 GNU C Library: Shared libraries [i

-- debconf information:
  linux-image-2.6.18-6-k7/preinst/initrd-2.6.18-6-k7:
  linux-image-2.6.18-6-k7/preinst/abort-install-2.6.18-6-k7:
  shared/kernel-image/really-run-bootloader: true
  linux-image-2.6.18-6-k7/prerm/removing-running-kernel-2.6.18-6-k7: true
  linux-image-2.6.18-6-k7/postinst/kimage-is-a-directory:
  linux-image-2.6.18-6-k7/postinst/create-kimage-link-2.6.18-6-k7: true
  linux-image-2.6.18-6-k7/postinst/old-dir-initrd-link-2.6.18-6-k7: true
  linux-image-2.6.18-6-k7/postinst/depmod-error-2.6.18-6-k7: false
  linux-image-2.6.18-6-k7/postinst/bootloader-test-error-2.6.18-6-k7:
  linux-image-2.6.18-6-k7/preinst/lilo-has-ramdisk:
  linux-image-2.6.18-6-k7/preinst/abort-overwrite-2.6.18-6-k7:
* linux-image-2.6.18-6-k7/preinst/already-running-this-2.6.18-6-k7:
  linux-image-2.6.18-6-k7/preinst/elilo-initrd-2.6.18-6-k7: true
  linux-image-2.6.18-6-k7/preinst/failed-to-move-modules-2.6.18-6-k7:
  linux-image-2.6.18-6-k7/prerm/would-invalidate-boot-loader-2.6.18-6-k7: true
  linux-image-2.6.18-6-k7/preinst/lilo-initrd-2.6.18-6-k7: true
  linux-image-2.6.18-6-k7/postinst/depmod-error-initrd-2.6.18-6-k7: false
  linux-image-2.6.18-6-k7/preinst/bootloader-initrd-2.6.18-6-k7: true
  linux-image-2.6.18-6-k7/postinst/old-system-map-link-2.6.18-6-k7: true
  linux-image-2.6.18-6-k7/preinst/overwriting-modules-2.6.18-6-k7: true
  linux-image-2.6.18-6-k7/postinst/bootloader-error-2.6.18-6-k7:
  linux-image-2.6.18-6-k7/postinst/old-initrd-link-2.6.18-6-k7: true

--
Pierre Renié

Reply to: