Public bug reported:
# make-bcache -C /dev/nvme0n1p5 -B /dev/sda4 --discard --writeback -w 8K
--wipe-bcache
UUID: 77b47d90-77df-4c72-ac98-f4016cbb637b
Set UUID: de69c5aa-4cd1-41e9-86c2-48054c36bca9
version: 0
nbuckets: 24576
block_size: 16
bucket_size: 1024
nr_in_set: 1
nr_this_dev: 0
first_bucket: 1
UUID: cfcf5483-7ae5-4bf7-aaa1-e80a7ed3e49b
Set UUID: de69c5aa-4cd1-41e9-86c2-48054c36bca9
version: 1
block_size: 16
data_offset: 16
Results in:
...
Feb 7 03:42:09 ubuntu kernel: [ 654.832820] bcache: bch_journal_replay()
journal replay done, 0 keys in 1 entries, seq 1
Feb 7 03:42:09 ubuntu kernel: [ 654.833029] bcache: register_cache()
registered cache device nvme0n1p5
Feb 7 03:42:50 ubuntu kernel: [ 695.322129] bcache: cache_set_free() Cache
set 3382ccca-4893-4933-b4f1-8286d7e09d20 unregistered
Feb 7 03:43:17 ubuntu kernel: [ 722.935068] bcache: bch_journal_replay()
journal replay done, 0 keys in 1 entries, seq 2
Feb 7 03:43:17 ubuntu kernel: [ 722.937292] bcache: register_cache()
registered cache device nvme0n1p5
Feb 7 03:44:35 ubuntu kernel: [ 800.815538] bcache: cache_set_free() Cache
set 3382ccca-4893-4933-b4f1-8286d7e09d20 unregistered
Feb 7 03:44:57 ubuntu kernel: [ 822.495862] bcache: register_bcache() error
opening /dev/nvme0n1p5: Bad block/bucket size
Feb 7 03:44:57 ubuntu kernel: [ 822.511403] bcache: register_bdev()
registered backing device sda4
Feb 7 03:44:57 ubuntu kernel: [ 822.512207] BUG: unable to handle kernel NULL
pointer dereference at 0000000000000098
Feb 7 03:44:57 ubuntu kernel: [ 822.512235] IP: [<ffffffff812482f0>]
bdev_read_page+0x10/0xb0
Feb 7 03:44:57 ubuntu kernel: [ 822.512256] PGD 0
Feb 7 03:44:57 ubuntu kernel: [ 822.512263] Oops: 0000 [#1] SMP
Feb 7 03:44:57 ubuntu kernel: [ 822.512275] Modules linked in: bcache drbg
ansi_cprng ctr ccm rfcomm bnep hid_multitouch snd_hda_codec_hdmi
i2c_designware_platform i2c_designware_core dell_wmi dell_led
snd_hda_codec_realtek snd_hda_codec_generic arc4 dell_rbtn dell_laptop dcdbas
dell_smm_hwmon intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp
snd_hda_intel snd_hda_codec snd_hda_core kvm_intel snd_hwdep kvm snd_pcm
irqbypass crct10dif_pclmul iwlmvm crc32_pclmul aesni_intel mac80211 aes_x86_64
lrw gf128mul glue_helper ablk_helper cryptd snd_seq_midi snd_seq_midi_event
snd_rawmidi iwlwifi rtsx_pci_ms snd_seq memstick cfg80211 snd_seq_device
input_leds joydev snd_timer serio_raw snd uvcvideo videobuf2_vmalloc
videobuf2_memops videobuf2_v4l2 soundcore videobuf2_core v4l2_common videodev
cdc_acm media btusb btrtl idma64 mei_me virt_dma mei shpchp
processor_thermal_device intel_soc_dts_iosf intel_lpss_pci int3403_thermal
hci_uart btbcm btqca btintel bluetooth intel_hid dell_smo880
0 sparse_keymap int3402_thermal int340x_thermal_zone intel_lpss_acpi
int3400_thermal acpi_als intel_lpss mac_hid acpi_pad acpi_thermal_rel kfifo_buf
industrialio parport_pc ppdev lp parport autofs4 overlay nls_utf8 isofs
nls_iso8859_1 dm_mirror dm_region_hash dm_log uas usb_storage rtsx_pci_sdmmc
nouveau i915_bpo mxm_wmi intel_ips ttm i2c_algo_bit psmouse drm_kms_helper
syscopyarea sysfillrect sysimgblt nvme fb_sys_fops rtsx_pci drm ahci libahci
i2c_hid hid pinctrl_sunrisepoint pinctrl_intel wmi video fjes
Feb 7 03:44:57 ubuntu kernel: [ 822.512758] CPU: 7 PID: 14484 Comm:
systemd-udevd Not tainted 4.4.0-31-generic #50-Ubuntu
Feb 7 03:44:57 ubuntu kernel: [ 822.512781] Hardware name: Dell Inc.
Precision 5510/08R8KJ, BIOS 1.2.19 12/22/2016
Feb 7 03:44:57 ubuntu kernel: [ 822.512802] task: ffff880891ac3b00 ti:
ffff8800340a0000 task.ti: ffff8800340a0000
Feb 7 03:44:57 ubuntu kernel: [ 822.512822] RIP: 0010:[<ffffffff812482f0>]
[<ffffffff812482f0>] bdev_read_page+0x10/0xb0
Feb 7 03:44:57 ubuntu kernel: [ 822.512846] RSP: 0018:ffff8800340a3a80
EFLAGS: 00010287
Feb 7 03:44:57 ubuntu kernel: [ 822.512861] RAX: 0000000000000004 RBX:
0000000000000000 RCX: 0000000000000004
Feb 7 03:44:57 ubuntu kernel: [ 822.512880] RDX: ffffea001f190c40 RSI:
fff88081a9189200 RDI: 0000000000000000
Feb 7 03:44:57 ubuntu kernel: [ 822.512899] RBP: ffff8800340a3aa0 R08:
ffff8800340a3bb8 R09: ffff8800340a3bb0
Feb 7 03:44:57 ubuntu kernel: [ 822.512918] R10: ffff8808922a1130 R11:
fff88081a9189200 R12: 0000000000000000
Feb 7 03:44:57 ubuntu kernel: [ 822.512937] R13: 0000000000000000 R14:
0000000000000000 R15: 0000000000000000
Feb 7 03:44:57 ubuntu kernel: [ 822.512956] FS: 00007f9af701e8c0(0000)
GS:ffff8808bddc0000(0000) knlGS:0000000000000000
Feb 7 03:44:57 ubuntu kernel: [ 822.512978] CS: 0010 DS: 0000 ES: 0000 CR0:
0000000080050033
Feb 7 03:44:57 ubuntu kernel: [ 822.512994] CR2: 0000000000000098 CR3:
00000000340bb000 CR4: 00000000003406e0
Feb 7 03:44:57 ubuntu kernel: [ 822.513013] DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
Feb 7 03:44:57 ubuntu kernel: [ 822.513032] DR3: 0000000000000000 DR6:
00000000fffe0ff0 DR7: 0000000000000400
Feb 7 03:44:57 ubuntu kernel: [ 822.513051] Stack:
Feb 7 03:44:57 ubuntu kernel: [ 822.513058] 0000000000000000
0000000000000000 0000000000000000 0000000000000000
Feb 7 03:44:57 ubuntu kernel: [ 822.513082] ffff8800340a3b78
ffffffff8124ef9b ffff8800340a3ae0 ffff8800340a3ba8
Feb 7 03:44:57 ubuntu kernel: [ 822.513105] 0000000000000000
ffff8800340a3bb8 ffff8800340a3bb0 ffffffff81247c20
Feb 7 03:44:57 ubuntu kernel: [ 822.513129] Call Trace:
Feb 7 03:44:57 ubuntu kernel: [ 822.513139] [<ffffffff8124ef9b>]
do_mpage_readpage+0x52b/0x7a0
Feb 7 03:44:57 ubuntu kernel: [ 822.513156] [<ffffffff81247c20>] ?
I_BDEV+0x20/0x20
Feb 7 03:44:57 ubuntu kernel: [ 822.513172] [<ffffffff8119e5de>] ?
lru_cache_add+0xe/0x10
Feb 7 03:44:57 ubuntu kernel: [ 822.513188] [<ffffffff8124f322>]
mpage_readpages+0x112/0x190
Feb 7 03:44:57 ubuntu kernel: [ 822.513204] [<ffffffff81247c20>] ?
I_BDEV+0x20/0x20
Feb 7 03:44:57 ubuntu kernel: [ 822.513218] [<ffffffff81247c20>] ?
I_BDEV+0x20/0x20
Feb 7 03:44:57 ubuntu kernel: [ 822.513234] [<ffffffff811e11ac>] ?
alloc_pages_current+0x8c/0x110
Feb 7 03:44:57 ubuntu kernel: [ 822.513252] [<ffffffff812487bd>]
blkdev_readpages+0x1d/0x20
Feb 7 03:44:57 ubuntu kernel: [ 822.513268] [<ffffffff8119c686>]
__do_page_cache_readahead+0x196/0x230
Feb 7 03:44:57 ubuntu kernel: [ 822.513288] [<ffffffff810e7dc7>] ?
call_rcu_sched+0x17/0x20
Feb 7 03:44:57 ubuntu kernel: [ 822.513304] [<ffffffff813f6d52>] ?
radix_tree_lookup_slot+0x22/0x50
Feb 7 03:44:57 ubuntu kernel: [ 822.513323] [<ffffffff8119ca8a>]
force_page_cache_readahead+0xaa/0x100
Feb 7 03:44:57 ubuntu kernel: [ 822.513342] [<ffffffff8119cb1f>]
page_cache_sync_readahead+0x3f/0x50
Feb 7 03:44:57 ubuntu kernel: [ 822.513360] [<ffffffff8118f5bd>]
generic_file_read_iter+0x4ad/0x5c0
Feb 7 03:44:57 ubuntu kernel: [ 822.513379] [<ffffffff815c357a>] ?
sd_ioctl+0x4a/0x110
Feb 7 03:44:57 ubuntu kernel: [ 822.513394] [<ffffffff81248a95>]
blkdev_read_iter+0x35/0x40
Feb 7 03:44:57 ubuntu kernel: [ 822.513411] [<ffffffff8120cbc4>]
new_sync_read+0x94/0xd0
Feb 7 03:44:57 ubuntu kernel: [ 822.513427] [<ffffffff8120cc26>]
__vfs_read+0x26/0x40
Feb 7 03:44:57 ubuntu kernel: [ 822.513442] [<ffffffff8120d1e6>]
vfs_read+0x86/0x130
Feb 7 03:44:57 ubuntu kernel: [ 822.513457] [<ffffffff8120df35>]
SyS_read+0x55/0xc0
Feb 7 03:44:57 ubuntu kernel: [ 822.513472] [<ffffffff8182db32>]
entry_SYSCALL_64_fastpath+0x16/0x71
Feb 7 03:44:57 ubuntu kernel: [ 822.513489] Code: 83 f8 a1 0f 45 d8 89 d8 5b
41 5c 5d c3 0f 1f 40 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89
e5 41 56 41 55 41 54 53 <48> 8b 87 98 00 00 00 4c 8b b0 c0 03 00 00 49 83 7e 10
00 74 77
Feb 7 03:44:57 ubuntu kernel: [ 822.513603] RIP [<ffffffff812482f0>]
bdev_read_page+0x10/0xb0
Feb 7 03:44:57 ubuntu kernel: [ 822.513621] RSP <ffff8800340a3a80>
Feb 7 03:44:57 ubuntu kernel: [ 822.513631] CR2: 0000000000000098
Feb 7 03:44:57 ubuntu kernel: [ 822.520392] ---[ end trace 2180ab74f37e6694
]---
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
Linux ubuntu 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC
2016 x86_64 x86_64 x86_64 GNU/Linux
** Affects: bcache-tools (Ubuntu)
Importance: Undecided
Status: New
--
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 kernel oops if creating with 8K block size
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bcache-tools/+bug/1662407/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs