*** This bug is a duplicate of bug 1809748 ***
https://bugs.launchpad.net/bugs/1809748
I agree that this looks much more like a kernel bug.
You could have added a task here - but I'll make it a dup so that overall only
bug 1809748 to look at.
There as a hint I think the kernel Team usually
after doing a wipefs on the cache drive the BUG still occured; wipefs's
the backing drive corrected that. I haven't yet tried wiping just the
backing drive.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
sb.magicok
sb.first_sector 8 [match]
sb.csum 5A3217E583DB5B86 [match]
sb.version 0 [cache device]
dev.label (empty)
dev.uuid2a9e0dfd-acd0-4750-85ae-b347d7580e2b
dev.sectors_per_block 16
dev.sectors_per_bucket
This should perhaps be moved to the kernel; its not clear that userspace
is doing anything wrong. I've filed #1809748 for now.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1662407
Title:
bcache
[ 2938.649666] bcache: register_bcache() error /dev/nvme0n1p2: Bad block/bucket
size
[ 2945.532897] bcache: register_bdev() registered backing device md127
[ 2945.533124] BUG: unable to handle kernel NULL pointer dereference at
0008
[ 2945.533863] PGD 0 P4D 0
[ 2945.535162] Oops:
I can reproduce adding such a cache triggering an OOPS in 18.10:
make-bcache -o 7741440 -w 8k -B /dev/md127 -C /dev/nvme0n1p2
RIP 0010:create_empty_buffers+0x29/0x110
CallTrace
create_page_buffers
block_read_full_page
check_disk_change
__add_to_page_cache_locked
blkdev_readpage
...
--
You
** Changed in: bcache-tools (Ubuntu)
Status: New => Incomplete
** Changed in: bcache-tools (Ubuntu)
Status: Incomplete => Triaged
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1662407
Oddly I get this error that you would this should apply to the failure
case:
# make-bcache -C /dev/nvme0n1p5 -B /dev/sda4 --discard --writeback -w 4K -b 2048
Bucket size cannot be smaller than block size
P.S. pool/main/b/bcache-tools/bcache-tools_1.0.8-2_amd64.deb
--
You received this bug