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

Bug#336153: marked as done (kernel-image-2.6.8-2-386: Filesystem errors while writing to DM disk)



Your message dated Mon, 28 May 2007 23:06:04 +0000
with message-id <E1HsoHs-0005iP-2o@ries.debian.org>
and subject line Bug#336153: fixed in kernel-image-2.6.8-alpha 2.6.8-17
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: kernel-image-2.6.8-2-386
Severity: critical
Justification: causes serious data loss


Szenario:
    While copying some GBs to the filesystem under heavy load the filesystem
    gets corrupted.

    The SMART Status of all disks is "passed", they are all new. The hardware
    components of the server should work fine too, used this server (cpu,
    motherboard, etc) before, just exchanged the harddisks.
            
Error Message:
    Oct 27 23:36:34 localhost kernel: init_special_inode: bogus i_mode (4152)
    Oct 27 23:36:34 localhost kernel: init_special_inode: bogus i_mode (117230)
    Oct 27 23:36:45 localhost kernel: attempt to access beyond end of device
    Oct 27 23:36:45 localhost kernel: dm-0: rw=0, want=20177444552, limit=962598144
    (last 2 lines repeating nonstop)

Versions:
    - Unmodified Debian Sarge Kernel 2.6.8-2-386
    - Debian Sarge utils last updated 27.10.05

Filesystem Layout:
    - ext2 (was ext3, but removed the journal with tune2fs)
        on top of
    - dmcrypt (aes-plain)       /dev/mapper/croot
        on top of
    - RAID5                     /dev/md2
        on top of
    - 4x 160GB IDE              /dev/hd[abcd]3

blacksheep:~# fdisk -l /dev/hd[abcd]
Disk /dev/hda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          13      104391   fd  Linux raid autodetect
/dev/hda2              14          50      297202+  fd  Linux raid autodetect
/dev/hda3              51       20023   160433122+  fd  Linux raid autodetect

Disk /dev/hdb: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1          13      104391   fd  Linux raid autodetect
/dev/hdb2              14          50      297202+  fd  Linux raid autodetect
/dev/hdb3              51       20023   160433122+  fd  Linux raid autodetect

Disk /dev/hdc: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdc1   *           1          13      104391   fd  Linux raid autodetect
/dev/hdc2              14          50      297202+  fd  Linux raid autodetect
/dev/hdc3              51       20023   160433122+  fd  Linux raid autodetect

Disk /dev/hdd: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdd1   *           1          13      104391   fd  Linux raid autodetect
/dev/hdd2              14          50      297202+  fd  Linux raid autodetect
/dev/hdd3              51       20023   160433122+  fd  Linux raid autodetect

blacksheep:~# cat /proc/mdstat
Personalities : [raid1] [raid5]
md0 : active raid1 hdd1[3] hda1[0] hdc1[2] hdb1[1]
      104320 blocks [4/4] [UUUU]

md1 : active raid5 hdd2[3] hda2[0] hdc2[2] hdb2[1]
      891264 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]

md2 : active raid5 hdd3[4] hda3[0] hdc3[2] hdb3[1]
      481299072 blocks level 5, 64k chunk, algorithm 2 [4/3] [UUU_]
      [====>................]  recovery = 20.6% (33203840/160433024) finish=339.4min speed=6246K/sec
unused devices: <none>

blacksheep:~# dmsetup info croot
Name:              croot
State:             ACTIVE
Tables present:    LIVE
Open count:        1
Event number:      0
Major, minor:      254, 0
Number of targets: 1

blacksheep:~# dmsetup status croot
0 962598144 crypt

blacksheep:~# dmsetup table croot
0 962598144 crypt aes-plain <perhapsthatsmysecretkeyidontknow> 0 9:2 0

blacksheep:~# cat /etc/crypttab
# <target device> <source device> <key file> <options>
cswap           /dev/md1        /dev/random     swap
croot           /dev/md2        none            cipher=aes-plain

blacksheep:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/mapper/cswap none          swap    sw              0       0
/dev/mapper/croot /             ext2    defaults,errors=remount-ro 0       1
/dev/md0        /boot           ext3    defaults        0       2

blacksheep:~# uname -a
Linux blacksheep 2.6.8-2-386 #1 Thu May 19 17:40:50 JST 2005 i686 GNU/Linux


--- End Message ---
--- Begin Message ---
Source: kernel-image-2.6.8-alpha
Source-Version: 2.6.8-17

We believe that the bug you reported is fixed in the latest version of
kernel-image-2.6.8-alpha, which is due to be installed in the Debian FTP archive:

kernel-headers-2.6.8-4-generic_2.6.8-17_alpha.deb
  to pool/main/k/kernel-image-2.6.8-alpha/kernel-headers-2.6.8-4-generic_2.6.8-17_alpha.deb
kernel-headers-2.6.8-4-smp_2.6.8-17_alpha.deb
  to pool/main/k/kernel-image-2.6.8-alpha/kernel-headers-2.6.8-4-smp_2.6.8-17_alpha.deb
kernel-headers-2.6.8-4_2.6.8-17_alpha.deb
  to pool/main/k/kernel-image-2.6.8-alpha/kernel-headers-2.6.8-4_2.6.8-17_alpha.deb
kernel-image-2.6.8-4-generic_2.6.8-17_alpha.deb
  to pool/main/k/kernel-image-2.6.8-alpha/kernel-image-2.6.8-4-generic_2.6.8-17_alpha.deb
kernel-image-2.6.8-4-smp_2.6.8-17_alpha.deb
  to pool/main/k/kernel-image-2.6.8-alpha/kernel-image-2.6.8-4-smp_2.6.8-17_alpha.deb
kernel-image-2.6.8-alpha_2.6.8-17.dsc
  to pool/main/k/kernel-image-2.6.8-alpha/kernel-image-2.6.8-alpha_2.6.8-17.dsc
kernel-image-2.6.8-alpha_2.6.8-17.tar.gz
  to pool/main/k/kernel-image-2.6.8-alpha/kernel-image-2.6.8-alpha_2.6.8-17.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 336153@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
dann frazier <dannf@debian.org> (supplier of updated kernel-image-2.6.8-alpha package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 26 May 2007 03:54:13 -0600
Source: kernel-image-2.6.8-alpha
Binary: kernel-headers-2.6.8-4 kernel-image-2.6.8-4-smp kernel-headers-2.6.8-4-smp kernel-image-2.6.8-4-generic kernel-headers-2.6.8-4-generic
Architecture: source alpha
Version: 2.6.8-17
Distribution: oldstable
Urgency: high
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Changed-By: dann frazier <dannf@debian.org>
Description: 
 kernel-headers-2.6.8-4 - Header files related to Linux kernel version 2.6.8
 kernel-headers-2.6.8-4-generic - Linux kernel headers 2.6.8 on Alpha
 kernel-headers-2.6.8-4-smp - Linux kernel headers 2.6.8 on Alpha SMP
 kernel-image-2.6.8-4-generic - Linux kernel image for version 2.6.8 on Alpha.
 kernel-image-2.6.8-4-smp - Linux kernel image for version 2.6.8 on Alpha SMP.
Closes: 311357 317286 321442 323557 336153 349774 354493 372621
Changes: 
 kernel-image-2.6.8-alpha (2.6.8-17) oldstable; urgency=high
 .
   * Rebuild against kernel-tree-2.6.8-17
     [ Simon Horman ]
     * drivers-net-via-rhine-wol-oops.dpatch (removed):
       This patch breaks the via-rhine driver and 2.6.8 and is
       completely bogus for this version of the kernel
       (closes: #311357)
 .
     * drivers-media-vidio-bttv-vc100xp-detect.dpatch
       Allow Leadtek WinFast VC100 XP cards to work.
 .
     * fs-jbd-checkpoint-assertion.dpatch
       Fix possible false assertion failure in log_do_checkpoint(). We might fail
       to detect that we actually made a progress when cleaning up the checkpoint
       lists if we don't retry after writing something to disk.
 .
     * mm-rmap-out-of-bounds-pte.dpatch
       Stop try_to_unmap_cluster() passing out-of-bounds pte to pte_unmap()
 .
     * net-ipv4-netfilter-ip_queue-deadlock.dpatch
       Fix deadlock with ip_queue and tcp local input path.
 .
     * asm-i386-mem-clobber.dpatch:
       Make sure gcc doesn't reorder memory accesses in strncmp and friends on
       i386.
 .
     * drivers-acpi-pci_irq-elcr.dpatch:
       Make sure we call acpi_register_gsi() even for default PCI interrupt
       assignment. That's the part that keeps track of the ELCR register, and we
       want to make sure that the PCI interrupts are properly marked level/low.
 .
     [ dann frazier ]
     * Merge in applicable fixes from 2.6.12.4
        - netfilter-deadlock-ip6_queue.dpatch
        - rocket_c-fix-ldisc-ref-count.dpatch
        - early-vlan-fix.dpatch
 .
     [ Simon Horman ]
     * drivers-sata-promise-sataii_tx2_tx4.dpatch
       Add SATAII TX2 and TX2/TX4 support to sata promise driver
       (Closes: #317286)
 .
     * module-per-cpu-alignment-fix.dpatch
       Module per-cpu alignment cannot always be met
       From 2.6.12.5
 .
     * genelink-usbnet-skb-typo.dpatch
       fix gl_skb/skb type error in genelink driver in usbnet
       Backported From 2.6.12.6
 .
     * drivers-ide-ppp-pmac-build.dpatch
       Make sure BLK_DEV_IDEDMA_PCI is defined for pmac ide driver builds
       (closes: #321442)
 .
     * fs-ext3-nfs-parent-fix.dpatch
       ext3 file systems mounted over nfs may lookup .. in dx directories
       causing an oops.
       (closes: #323557)
 .
     * sparc-request_irq-in-RTC-fix.dpatch
       Use SA_SHIRQ in sparc specific code.
       From 2.6.13.1
 .
     * forcedeth-init-link-settings-in-nv_open.patch
       forcedeth: Initialize link settings in every nv_open()
       From 2.6.13.2
 .
     * fix-MPOL_F_VERIFY.patch
       Fix MPOL_F_VERIFY
       From 2.6.13.2
 .
     * fix-more-byte-to-dword-writes-to-PCI_ROM_ADDRESS-config-word.patch
       Fix up more strange byte writes to the PCI_ROM_ADDRESS config word
       From 2.6.13.2
 .
     * yenta-oops-fix.patch
       yenta oops fix
       From 2.6.13.3
 .
     * fix-de_thread-BUG_ON.patch
       Fix fs/exec.c:788 (de_thread()) BUG_ON
       From 2.6.13.3
 .
     * ipv6-fix-per-socket-multicast-filtering.patch
       fix IPv6 per-socket multicast filtering in exact-match case
       From 2.6.13.3
 .
     * ipvs-ip_vs_ftp-breaks-connections.patch
       ipvs: ip_vs_ftp breaks connections using persistence
       From 2.6.13.3
 .
     * ieee1394-sbp2-fixes-for-hot-unplug-and-module-unloading.dpatch
       ieee1394/sbp2: fixes for hot-unplug and module unloading
       From 2.6.13.4
 .
     * fix-sparc64-fpu-register-corruption.dpatch
       [SPARC64]: Fix userland FPU state corruption.
       From 2.6.13.4
 .
     [ dann frazier ]
     * drivers-block-raw-ioctl2.dpatch, drivers-block-ioctl-enotty.dpatch:
       Fix a bug in the block layer that causes a bootloader installation
       error under certain conditions - breaks installation on cciss devices.
       (closes: #354493)
     * Fix data corruption with dm-crypt over RAID5 (closes: #336153)
     * Fix VLAN support for 3c59x/90x series hardware (closes: #349774)
     * Fix erroneous calculation of 'len' parameter to NLMSG_PUT resulting in
       bogus 'error during NLMSG_PUT' messages (closes: #372621)
     * hp-diva-rmp3.dpatch, hp-diva-hurricane.dpatch:
       Add PCI IDs for newer Diva console ports
Files: 
 184e70602bc70722600b17151b6b3682 794 devel optional kernel-image-2.6.8-alpha_2.6.8-17.dsc
 fe2080ee58be271ccf2863707a4462e4 43471 devel optional kernel-image-2.6.8-alpha_2.6.8-17.tar.gz
 2ccc9a76b651e7fd43d7bbf0c482decc 2764346 devel optional kernel-headers-2.6.8-4_2.6.8-17_alpha.deb
 29cad43517fe591c1c75cec81a5684fe 231226 devel optional kernel-headers-2.6.8-4-smp_2.6.8-17_alpha.deb
 0822aafa80b13a9d70c5ce8c6c34578d 20093036 base optional kernel-image-2.6.8-4-smp_2.6.8-17_alpha.deb
 fa97a433cc5f05a3bb35484a7b01ea21 236948 devel optional kernel-headers-2.6.8-4-generic_2.6.8-17_alpha.deb
 f97cc65dfd0e69000ff9ee19dd7bf1ec 20245352 base optional kernel-image-2.6.8-4-generic_2.6.8-17_alpha.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGWwJnhuANDBmkLRkRAqsFAJ9sNDkMRZzYne2VoiI5S2RJyiqg/gCdGAL7
VrlK40Xv0UJEtw2jIIlUavo=
=niUL
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: