This fix is released for bionic and disco. Setting both as such.
For some reason the SRU machinery didn't pick it to this LP bug.
Bionic:
~/git/ubuntu-bionic$ git log --oneline origin/master -- drivers/md/bcache/ |
grep 'bcache: only set BCACHE_DEV_WB_RUNNING when cached device attached'
474349a
This bug was fixed in the package linux - 5.0.0-27.28
---
linux (5.0.0-27.28) disco; urgency=medium
* disco/linux: 5.0.0-27.28 -proposed tracker (LP: #1840816)
* [Potential Regression] System crashes when running ftrace test in
ubuntu_kernel_selftests (LP: #1840750)
- x86
Verification successful with bionic-proposed.
No warning nor oops anymore.
# uname -rv
4.15.0-59-generic #66-Ubuntu SMP Wed Aug 14 10:56:44 UTC 2019
# ./setup-bcache-wb_percent-before-attach.sh >/dev/null 2>&1
[ 105.696881] bcache: register_bdev() registered backing device loop0
[ 105.703809] b
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
bionic' to 'verification-done-bionic'. If the problem still exists,
change the tag 'verifica
Verification successful with disco-proposed.
No warning nor oops anymore.
# rmadison -s disco-proposed linux
linux | 5.0.0-26.27 | disco-proposed | source
# uname -rv
5.0.0-26-generic #27-Ubuntu SMP Tue Aug 13 17:47:39 UTC 2019
# ./setup-bcache-wb_percent-before-attach.sh >/dev/null 2>&1
[ 171
This bug is awaiting verification that the kernel in -proposed solves
the problem. Please test the kernel and update this bug with the
results. If the problem is solved, change the tag 'verification-needed-
disco' to 'verification-done-disco'. If the problem still exists, change
the tag 'verificati
** Changed in: linux (Ubuntu Disco)
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1837788
Title:
bcache kernel warning when attaching device
To manage no
Patches sent to the kernel-team mailing list:
[B][PATCH] bcache: only set BCACHE_DEV_WB_RUNNING when cached device attached
https://lists.ubuntu.com/archives/kernel-team/2019-July/102653.html
[D][PATCH] bcache: only set BCACHE_DEV_WB_RUNNING when cached device attached
https://lists.ubuntu.com/ar
Attaching test-case script.
** Attachment added: "setup-bcache-wb_percent-before-attach.sh"
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1837788/+attachment/5279850/+files/setup-bcache-wb_percent-before-attach.sh
--
You received this bug notification because you are a member of Ubunt
Tested with disco-proposed + patch (problem does not happen)
---
# uname -rv
5.0.0-22-generic #23+test20190725b1 SMP Mon Jul 29 14:43:55 -03 2019
# ./setup-bcache-wb_percent-before-attach.sh >/dev/null 2>&1
[ 69.567775] bcache: register_bdev() registered backing device loop0/null
2>&1
[ 69.
Tested with bionic-proposed + patch (problem does not happen)
---
Test kernel available in:
https://people.canonical.com/~mfo/lp1837788/linux_4.15.0-56.62+test20190725b1_amd64/
# uname -rv
4.15.0-56-generic #62+test20190725b1 SMP Thu Jul 25 12:44:16 -03 2019
# ./setup-bcache-wb_percent-before
** Also affects: linux (Ubuntu Eoan)
Importance: Undecided
Assignee: Mauricio Faria de Oliveira (mfo)
Status: Confirmed
** Also affects: linux (Ubuntu Disco)
Importance: Undecided
Status: New
** Also affects: linux (Ubuntu Bionic)
Importance: Undecided
Status: N
Tested with disco-proposed (problem exists)
-
# uname -rv
5.0.0-22-generic #23-Ubuntu SMP Tue Jul 23 17:23:54 UTC 2019
# ./setup-bcache-wb_percent-before-attach.sh >/dev/null 2>&1
[ 57.992319] bcache: register_bdev() registered backing device loop0/null 2>&1
[ 57.997331] bcache: run_cache
Tested with eoan-proposed (problem does not exist)
root@bionic-bcache:~# uname -rv
5.2.0-9-generic #10-Ubuntu SMP Sat Jul 20 14:05:52 UTC 2019
# ./setup-bcache-wb_percent-before-attach.sh >/dev/null 2>&1
[ 54.032674] bcache: register_bdev() registered backing device loop0
[ 54.036972] bc
Tested with bionic-proposed (problem exists)
---
# uname -rv
4.15.0-56-generic #62-Ubuntu SMP Wed Jul 24 20:18:55 UTC 2019
# ./setup-bcache-wb_percent-before-attach.sh >/dev/null 2>&1
[ 39.096888] bcache: register_bdev() registered backing device loop0/null 2>&1
[ 39.109511] bcache: run_cache
This is the warning trigger line:
int bch_cached_dev_writeback_start(struct cached_dev *dc)
...
WARN_ON(test_and_set_bit(BCACHE_DEV_WB_RUNNING, &dc->disk.flags));
...
This commit fixes this problem:
commit 1f0ffa67349c56ea54c03ccfd1e073c990e7411e
Author: Coly Li
For reference, this is the Warning in the CurrentDmesg.txt file.
[ 71.925684] WARNING: CPU: 8 PID: 2977 at
/build/linux-jmOa1Y/linux-4.15.0/drivers/md/bcache/writeback.c:603
bch_cached_dev_writeback_start+0x13f/0x1af [bcache]
[ 71.925686] Modules linked in: ebtable_filter ebtables ip6table_f
** Changed in: linux (Ubuntu)
Assignee: (unassigned) => Mauricio Faria de Oliveira (mfo)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1837788
Title:
bcache kernel warning when attaching device
18 matches
Mail list logo