Verification results:
ubuntu@d05-6:~$ sudo ./stress
+ umount /tmp/mnt
umount: /tmp/mnt: not mounted.
+ /bin/true
+ mkdir -p /tmp/mnt
+ mkfs.ext4 -F /dev/sda1
mke2fs 1.44.1 (24-Mar-2018)
/dev/sda1 contains a ext4 file system
last mounted on Wed Jul 11 23:26:23 2018
/dev/sda1 alignment is offset by 244736 bytes.
This may result in very poor performance, (re)-partitioning suggested.
Creating filesystem with 1953124855 4k blocks and 244142080 inodes
Filesystem UUID: 7aa77e9b-8518-4b64-9507-b65d09aa6382
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848, 512000000, 550731776, 644972544, 1934917632
Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Writing superblocks and filesystem accounting information: done
+ mount /dev/sda1 /tmp/mnt
+ dir=/tmp/mnt/tmp/disk_stress_ng_f70f0f26-b332-4c48-9e07-67c529770e3d
+ mkdir -p /tmp/mnt/tmp/disk_stress_ng_f70f0f26-b332-4c48-9e07-67c529770e3d
+ stress-ng --aggressive --verify --timeout 240 --temp-path
/tmp/mnt/tmp/disk_stress_ng_f70f0f26-b332-4c48-9e07-67c529770e3d --chdir 0
--hdd-opts dsync --readahead-bytes 16M -k
stress-ng: info: [2670] dispatching hogs: 64 chdir
stress-ng: info: [2670] cache allocate: using built-in defaults as unable to
determine cache details
stress-ng: info: [2670] successful run completed in 244.71s (4 mins, 4.71 secs)
ubuntu@d05-6:~$ cat /proc/version
Linux version 4.15.0-27-generic (buildd@bos02-arm64-027) (gcc version 7.3.0
(Ubuntu/Linaro 7.3.0-16ubuntu3)) #29-Ubuntu SMP Wed Jul 11 08:20:51 UTC 2018
** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1780137
Title:
[Regression] EXT4-fs error (device sda1):
ext4_validate_inode_bitmap:99: comm stress-ng: Corrupt inode bitmap
Status in linux package in Ubuntu:
Fix Committed
Status in linux source package in Bionic:
Fix Committed
Bug description:
[Impact]
We're seeing a very reproducible regression in the bionic kernel triggered by
the stress-ng chdir test performed by the Ubuntu certification suite. We see
this on both the HiSilicon D05 arm64 server and the HiSilicon D06 arm64 server.
We have been unable to reproduce on other servers so far.
[Test Case]
$ sudo apt-add-repository -y ppa:hardware-certification/public
$ sudo apt install -y canonical-certification-server
$ sudo mkfs.ext4 /dev/sda1 (Obviously, this should not be your root disk!!)
$ sudo /usr/lib/plainbox-provider-checkbox/bin/disk_stress_ng sda --base-time
240 --really-run
This test runs a series of stress-ng tests against /dev/sda, and fails
on the "chdir" test. To speed up reproduction, reduce the test list to
just "chdir" in the disk_stress_ng script. Attempts to reproduce this
directly with stress-ng have failed - presumably because of other
environment setup that this script performs (e.g. setting aio-max-nr
to 524288).
Our reproduction test is to use a non-root disk because it can lead to
corruption, and mkfs.ext4'ing the partition just before running the
test, to get to a pristine fs state.
[Fix]
I bisected this down to the following commit:
commit 555bc9b1421f10d94a1192c7eea4a59faca3e711
Author: Theodore Ts'o <[email protected]>
Date: Mon Feb 19 14:16:47 2018 -0500
ext4: don't update checksum of new initialized bitmaps
BugLink: http://bugs.launchpad.net/bugs/1773233
commit 044e6e3d74a3d7103a0c8a9305dfd94d64000660 upstream.
Reverting that fixes the problem. Meanwhile, a proposed fix has been posted
upstream:
https://www.spinics.net/lists/linux-ext4/msg61578.html
[Regression Risk]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1780137/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp