linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: ext4 file system corruption with v4.19.3 / v4.19.4
@ 2018-12-01 15:47 Huang Yan
  0 siblings, 0 replies; 27+ messages in thread
From: Huang Yan @ 2018-12-01 15:47 UTC (permalink / raw)
  To: linux-kernel

On Tue, 27 Nov 2018 23:15:55 -0500, Theodore Y. Ts'o wrote:
> I'm trying to figure out common factors from those people who are
> reporting problems.

Hello, I experienced the ext4-randomly-switching-to-read-only issue
with Linux kernel 4.19.5 (from
http://kernel.ubuntu.com/~kernel-ppa/mainline/ ; also with the
previous minor versions) on Ubuntu 18.04 - on two laptops (SATA HDD &
SATA SSD).

I noticed that the only thing I've changed from the default Ubuntu
configuration was enabling *write cache* for the disk with the ext4
root partition. Perhaps this information will help.

Best regards,
Yan Huang (Johnny)

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: ext4 file system corruption with v4.19.3 / v4.19.4
@ 2018-12-03 21:47 Michael Hennig
  0 siblings, 0 replies; 27+ messages in thread
From: Michael Hennig @ 2018-12-03 21:47 UTC (permalink / raw)
  To: linux-kernel

I'm suffering from ext4 corruption too.
(Ubuntu 18.10, 4.19.6-041906-generic, 64 bit)

22:00:01 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484759: comm rm: bad extra_isize 58853 (inode size 256)
22:00:01 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484759: comm rm: bad extra_isize 58853 (inode size 256)
22:00:01 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484754: comm rm: bad extra_isize 58853 (inode size 256)
22:00:01 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484755: comm rm: bad extra_isize 58853 (inode size 256)
22:00:01 kernel: EXT4-fs error (device sda4): ext4_iget:4851: inode
#42484768: comm rm: checksum invalid
22:00:01 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484767: comm rm: bad extra_isize 58853 (inode size 256)
22:00:01 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484763: comm rm: bad extra_isize 58853 (inode size 256)
22:00:01 kernel: EXT4-fs error (device sda4): ext4_iget:4851: inode
#42484766: comm rm: checksum invalid
22:00:01 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484761: comm rm: bad extra_isize 58853 (inode size 256)
22:00:01 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484764: comm rm: bad extra_isize 58853 (inode size 256)
22:00:01 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484765: comm rm: bad extra_isize 58853 (inode size 256)
21:00:48 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484759: comm rm: bad extra_isize 58853 (inode size 256)
21:00:48 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484754: comm rm: bad extra_isize 58853 (inode size 256)
21:00:48 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484755: comm rm: bad extra_isize 58853 (inode size 256)
21:00:48 kernel: EXT4-fs error (device sda4): ext4_iget:4851: inode
#42484768: comm rm: checksum invalid
21:00:48 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484767: comm rm: bad extra_isize 58853 (inode size 256)
21:00:48 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484763: comm rm: bad extra_isize 58853 (inode size 256)
21:00:48 kernel: EXT4-fs error (device sda4): ext4_iget:4851: inode
#42484766: comm rm: checksum invalid
21:00:48 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484761: comm rm: bad extra_isize 58853 (inode size 256)
21:00:48 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484764: comm rm: bad extra_isize 58853 (inode size 256)
21:00:48 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484765: comm rm: bad extra_isize 58853 (inode size 256)
21:00:32 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484762: comm rsync: bad extra_isize 58853 (inode size 256)
21:00:32 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484761: comm rsync: bad extra_isize 58853 (inode size 256)
21:00:32 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484760: comm rsync: bad extra_isize 54976 (inode size 256)
21:00:32 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484759: comm rsync: bad extra_isize 58853 (inode size 256)
21:00:32 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484758: comm rsync: bad extra_isize 58853 (inode size 256)
21:00:32 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484757: comm rsync: bad extra_isize 58853 (inode size 256)
21:00:32 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484756: comm rsync: bad extra_isize 63008 (inode size 256)
21:00:32 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484755: comm rsync: bad extra_isize 58853 (inode size 256)
21:00:31 kernel: EXT4-fs error (device sda4): ext4_iget:4831: inode
#42484754: comm rsync: bad extra_isize 58853 (inode size 256)
21:00:31 kernel: EXT4-fs error (device sda4): ext4_iget:4851: inode
#42484753: comm rsync: checksum invalid


Checked some of the defective inodes only to find timeshift back-upped
files through rsync:

debugfs 1.44.4 (18-Aug-2018)
debugfs:  ncheck 42484759
Inode	Pathname
42484759
/timeshift/snapshots/2018-11-28_20-00-02/localhost/var/lib/dpkg/info/libxcb1:i386.symbols
42484759
/timeshift/snapshots/2018-11-30_18-00-01/localhost/var/lib/dpkg/info/libxcb1:i386.symbols
42484759
/timeshift/snapshots/2018-12-02_21-00-01/localhost/var/lib/dpkg/info/libxcb1:i386.symbols
42484759
/timeshift/snapshots/2018-12-01_21-00-01/localhost/var/lib/dpkg/info/libxcb1:i386.symbols
debugfs:  ncheck 42484754
Inode	Pathname
debugfs:  ncheck 42484755
Inode	Pathname
42484755
/timeshift/snapshots/2018-11-28_20-00-02/localhost/var/lib/dpkg/info/libxcb1:amd64.triggers
42484755
/timeshift/snapshots/2018-11-30_18-00-01/localhost/var/lib/dpkg/info/libxcb1:amd64.triggers
42484755
/timeshift/snapshots/2018-12-02_21-00-01/localhost/var/lib/dpkg/info/libxcb1:amd64.triggers
42484755
/timeshift/snapshots/2018-12-01_21-00-01/localhost/var/lib/dpkg/info/libxcb1:amd64.triggers
debugfs:  ncheck 42484768
Inode	Pathname
42484768
/timeshift/snapshots/2018-11-28_20-00-02/localhost/var/lib/dpkg/info/libxft2:amd64.list
42484768
/timeshift/snapshots/2018-11-30_18-00-01/localhost/var/lib/dpkg/info/libxft2:amd64.list
42484768
/timeshift/snapshots/2018-12-02_21-00-01/localhost/var/lib/dpkg/info/libxft2:amd64.list
42484768
/timeshift/snapshots/2018-12-01_21-00-01/localhost/var/lib/dpkg/info/libxft2:amd64.list
debugfs:  ncheck 42484767
Inode	Pathname
42484767
/timeshift/snapshots/2018-11-28_20-00-02/localhost/var/lib/dpkg/info/libxft-dev:amd64.md5sums
42484767
/timeshift/snapshots/2018-11-30_18-00-01/localhost/var/lib/dpkg/info/libxft-dev:amd64.md5sums
42484767
/timeshift/snapshots/2018-12-02_21-00-01/localhost/var/lib/dpkg/info/libxft-dev:amd64.md5sums
42484767
/timeshift/snapshots/2018-12-01_21-00-01/localhost/var/lib/dpkg/info/libxft-dev:amd64.md5sums
debugfs:  ncheck 42484763
Inode	Pathname
42484763
/timeshift/snapshots/2018-11-28_20-00-02/localhost/var/lib/dpkg/info/libxdo3:amd64.shlibs
42484763
/timeshift/snapshots/2018-11-30_18-00-01/localhost/var/lib/dpkg/info/libxdo3:amd64.shlibs
42484763
/timeshift/snapshots/2018-12-02_21-00-01/localhost/var/lib/dpkg/info/libxdo3:amd64.shlibs
42484763
/timeshift/snapshots/2018-12-01_21-00-01/localhost/var/lib/dpkg/info/libxdo3:amd64.shlibs
debugfs:  ncheck 42484753
Inode	Pathname
42484753
/timeshift/snapshots/2018-11-28_20-00-02/localhost/var/lib/dpkg/info/libxcb1:amd64.shlibs
42484753
/timeshift/snapshots/2018-11-30_18-00-01/localhost/var/lib/dpkg/info/libxcb1:amd64.shlibs
42484753
/timeshift/snapshots/2018-12-02_21-00-01/localhost/var/lib/dpkg/info/libxcb1:amd64.shlibs
42484753
/timeshift/snapshots/2018-12-01_21-00-01/localhost/var/lib/dpkg/info/libxcb1:amd64.shlibs

Maybe timeshifts rsync is related to this?


Kind regards
Michael Hennig

^ permalink raw reply	[flat|nested] 27+ messages in thread
* Re: ext4 file system corruption with v4.19.3 / v4.19.4
@ 2018-12-04  7:33 Gunter Königsmann
  0 siblings, 0 replies; 27+ messages in thread
From: Gunter Königsmann @ 2018-12-04  7:33 UTC (permalink / raw)
  To: linux-kernel

After upgrading my kernel to 4.19 I got a corruption on nearly every
reboot or resume from suspend on my Acer s7-391 [UEFI boot].

Going to my UEFI setup and changing IDE mode from IDE to ATA seems to
have resolved the issue for me.

Don't know, though, if that is a valid data point or if it was a mere
accident (tested only on one computer) or just avoids the Bad Timing by
a few nanoseconds....



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

end of thread, other threads:[~2018-12-13 11:09 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <065643a0-f9aa-a361-715a-03ca978d9228@roeck-us.net>
2018-11-27 14:32 ` ext4 file system corruption with v4.19.3 / v4.19.4 Guenter Roeck
2018-11-27 14:48   ` Marek Habersack
2018-11-27 17:31     ` Guenter Roeck
2018-11-27 18:55     ` Rainer Fiebig
2018-11-27 21:22       ` Guenter Roeck
2018-11-28  1:57         ` Vito Caputo
2018-11-28  9:56         ` Rainer Fiebig
2018-11-27 15:50   ` Rainer Fiebig
2018-11-28  0:16   ` Andrey Jr. Melnikov
2018-11-28  4:15     ` Theodore Y. Ts'o
2018-11-28  8:02       ` Marek Habersack
2018-11-28 10:02       ` Andrey Jr. Melnikov
2018-11-28 15:56         ` Rainer Fiebig
2018-11-28 16:10           ` Theodore Y. Ts'o
2018-11-28 16:18             ` Marek Habersack
2018-11-28 17:01             ` Rainer Fiebig
2018-11-28 21:13           ` Andrey Melnikov
2018-11-28 22:09             ` Rainer Fiebig
2018-12-02 20:19               ` Andrey Melnikov
2018-12-02 22:13                 ` Rainer Fiebig
2018-12-05 12:58                   ` Andrey Melnikov
2018-12-11  0:11                     ` Pavel Machek
2018-12-13 10:38                       ` Andrey Jr. Melnikov
2018-11-28 13:28       ` Andrey Melnikov
2018-12-01 15:47 Huang Yan
2018-12-03 21:47 Michael Hennig
2018-12-04  7:33 Gunter Königsmann

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).