Bionic / Testing
======

modified
--------

$ uname -rv
4.15.0-110-generic #111+lp1867916.1 SMP Mon Jul 6 19:09:14 -03 2020

$ sudo make-bcache --bdev $DEV --block 8k
[   22.066760] bcache: bcache_device_init() bcache0: sb/logical block size 
(8192) greater than page size (4096) falling back to device logical block size 
(512)
[   22.070587] bcache: register_bdev() registered backing device loop0

original
--------

$ uname -rv
4.15.0-110-generic #111-Ubuntu SMP Fri Jul 3 09:14:40 UTC 2020

$ sudo make-bcache --bdev $DEV --block 8k
[   16.457709] bcache: register_bdev() registered backing device loop0
[   16.460954] BUG: unable to handle kernel NULL pointer dereference at 
0000000000000008
[   16.463150] IP: create_empty_buffers+0x29/0xf0
[   16.464548] PGD 800000012aa90067 P4D 800000012aa90067 PUD 12aa91067 PMD 0
[   16.466582] Oops: 0000 [#1] SMP PTI
[   16.467702] Modules linked in: bcache isofs kvm_intel kvm irqbypass joydev 
input_leds serio_raw ib_iser rdma_cm iw_cm ib_cm ib_core iscsi
_tcp libiscsi_tcp libiscsi scsi_transport_iscsi autofs4 btrfs xor zstd_compress 
raid6_pq psmouse virtio_net virtio_blk floppy
[   16.472651] CPU: 0 PID: 1467 Comm: bcache-register Not tainted 
4.15.0-110-generic #111-Ubuntu
[   16.474238] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
1.10.2-1ubuntu1 04/01/2014
[   16.475756] RIP: 0010:create_empty_buffers+0x29/0xf0
[   16.476715] RSP: 0018:ffffa9a740abb838 EFLAGS: 00010246
[   16.477745] RAX: 0000000000000000 RBX: ffffebd404aa77c0 RCX: 000000000000000d
[   16.479113] RDX: 0000000000000000 RSI: 0000000000002000 RDI: ffffebd404aa77c0
[   16.480422] RBP: ffffa9a740abb850 R08: 0000000000026d60 R09: 0000000000000687
[   16.481742] R10: 0000000000000002 R11: ffff91e6bffd2000 R12: 0000000000000000
[   16.482976] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200
[   16.484304] FS:  00007f2c87adb700(0000) GS:ffff91e6bfc00000(0000) 
knlGS:0000000000000000
[   16.485929] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   16.487084] CR2: 0000000000000008 CR3: 000000012a994000 CR4: 00000000000006f0
[   16.488488] Call Trace:
[   16.489042]  create_page_buffers+0x51/0x60
[   16.489924]  block_read_full_page+0x4e/0x3a0
[   16.490820]  ? set_init_blocksize+0x80/0x80
[   16.491680]  ? pagevec_lru_move_fn+0xc3/0xe0
[   16.492560]  ? __lru_cache_add+0x58/0x70
[   16.493418]  blkdev_readpage+0x18/0x20
[   16.494219]  do_read_cache_page+0x2a3/0x580
[   16.495090]  ? blkdev_writepages+0x40/0x40
[   16.495937]  ? __switch_to_asm+0x35/0x70
[   16.496768]  ? __switch_to_asm+0x41/0x70
[   16.497611]  ? __switch_to_asm+0x35/0x70
[   16.498455]  ? __switch_to_asm+0x41/0x70
[   16.499297]  read_cache_page+0x15/0x20
[   16.500086]  read_dev_sector+0x2d/0xe0
[   16.500858]  read_lba+0x130/0x220
[   16.501603]  ? kmem_cache_alloc_trace+0x15d/0x1d0
[   16.502557]  efi_partition+0x138/0x790
[   16.503344]  ? string+0x60/0x90
[   16.504003]  ? vsnprintf+0xfb/0x510
[   16.504729]  ? snprintf+0x45/0x70
[   16.505436]  ? is_gpt_valid.part.6+0x420/0x420
[   16.506310]  check_partition+0x130/0x230
[   16.507116]  ? is_gpt_valid.part.6+0x420/0x420
[   16.508045]  ? check_partition+0x130/0x230
[   16.508891]  rescan_partitions+0xaa/0x350
[   16.509728]  bdev_disk_changed+0x53/0x60
[   16.510524]  __blkdev_get+0x34a/0x510
[   16.511283]  blkdev_get+0x129/0x320
[   16.511998]  ? wake_up_bit+0x42/0x50
[   16.512736]  ? unlock_new_inode+0x4c/0x80
[   16.513593]  ? bdget+0x108/0x120
[   16.514280]  device_add_disk+0x38b/0x490
[   16.515106]  ? vprintk_default+0x29/0x50
[   16.515939]  bch_cached_dev_run.part.28+0x42/0x1a0 [bcache]
[   16.517033]  register_bcache+0x8ab/0x1110 [bcache]
[   16.518012]  ? __handle_mm_fault+0xf43/0x1290
[   16.518869]  kobj_attr_store+0x12/0x20
[   16.519661]  ? kobj_attr_store+0x12/0x20
[   16.520449]  sysfs_kf_write+0x3c/0x50
[   16.521204]  kernfs_fop_write+0x125/0x1a0
[   16.522036]  __vfs_write+0x1b/0x40
[   16.522754]  vfs_write+0xb1/0x1a0
[   16.523458]  SyS_write+0x5c/0xe0
[   16.524176]  do_syscall_64+0x73/0x130
[   16.524933]  entry_SYSCALL_64_after_hwframe+0x41/0xa6
[   16.525919] RIP: 0033:0x7f2c875eb2c0
[   16.526636] RSP: 002b:00007ffe51b11878 EFLAGS: 00000246 ORIG_RAX: 
0000000000000001
[   16.528107] RAX: ffffffffffffffda RBX: 000000000000000b RCX: 00007f2c875eb2c0
[   16.529490] RDX: 000000000000000b RSI: 0000000000cdd010 RDI: 0000000000000003
[   16.530829] RBP: 0000000000cdd010 R08: 0000000000000000 R09: 000000000000000b
[   16.532156] R10: 000000000000000a R11: 0000000000000246 R12: 000000000000000b
[   16.533487] R13: 0000000000000001 R14: 00007ffe51b118f0 R15: 0000000000000000
[   16.534841] Code: 00 00 0f 1f 44 00 00 55 48 89 e5 41 55 41 54 53 49 89 d5 
ba 01 00 00 00 48 89 fb e8 22 ff ff ff 49 89 c4 48 89 c2 eb 03
 48 89 ca <48> 8b 4a 08 4c 09 2a 48 85 c9 75 f1 4c 89 62 08 48 8b 43 08 48
[   16.538311] RIP: create_empty_buffers+0x29/0xf0 RSP: ffffa9a740abb838
[   16.539545] CR2: 0000000000000008
[   16.540247] ---[ end trace 88ea84610b23a19a ]---

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867916

Title:
  Regression in kernel 4.15.0-91 causes kernel panic with Bcache

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/1867916/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to