BTW, for future searchers, I've uploaded dmesg.202004081903 separately,
and pasted the crash here:

[  194.444436] bcache: bch_journal_replay() journal replay done, 3 keys in 6 
entries, seq 23285862
[  194.444622] bcache: register_cache() registered cache device sdb1
[  194.448381] bcache: register_bdev() registered backing device md0
[  194.602075] BUG: unable to handle kernel NULL pointer dereference at 
0000000000000008
[  194.602100] IP: create_empty_buffers+0x29/0xf0
[  194.602110] PGD 0 P4D 0 
[  194.602121] Oops: 0000 [#1] SMP NOPTI
[  194.602137] Modules linked in: bcache ebtable_filter ebtables 
ip6table_filter ip6_tables devlink iptable_filter pps_ldisc aufs overlay cmac 
bnep bonding bridge stp llc arc4 snd_hda_codec_hdmi nls_iso8859_1 edac_mce_amd 
kvm_amd kvm irqbypass rtl8xxxu mac80211 btusb btrtl btbcm snd_hda_intel btintel 
snd_hda_codec bluetooth cfg80211 eeepc_wmi snd_hda_core asus_wmi joydev 
sparse_keymap snd_hwdep wmi_bmof input_leds snd_pcm ecdh_generic snd_timer snd 
soundcore ccp k10temp shpchp mac_hid sch_fq_codel ib_iser rdma_cm iw_cm ib_cm 
ib_core nfsd iscsi_tcp libiscsi_tcp auth_rpcgss libiscsi nfs_acl 
scsi_transport_iscsi lockd grace sunrpc ip_tables x_tables autofs4 btrfs 
zstd_compress algif_skcipher af_alg dm_crypt raid10 raid1 raid0 multipath 
linear raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx
[  194.602323]  xor raid6_pq libcrc32c hid_logitech_hidpp hid_logitech_dj 
hid_generic usbhid hid nouveau crct10dif_pclmul crc32_pclmul 
ghash_clmulni_intel pcbc mxm_wmi video ttm drm_kms_helper aesni_intel 
syscopyarea sysfillrect igb sysimgblt aes_x86_64 fb_sys_fops crypto_simd 
glue_helper dca cryptd i2c_algo_bit drm i2c_piix4 ptp ahci nvme pps_core 
libahci nvme_core gpio_amdpt wmi gpio_generic
[  194.602406] CPU: 1 PID: 4403 Comm: bcache-register Not tainted 
4.15.0-91-generic #92-Ubuntu
[  194.602425] Hardware name: System manufacturer System Product Name/PRIME 
X370-PRO, BIOS 4207 12/08/2018
[  194.602447] RIP: 0010:create_empty_buffers+0x29/0xf0
[  194.602459] RSP: 0018:ffffa833cc37f7a8 EFLAGS: 00010246
[  194.602471] RAX: 0000000000000000 RBX: fffff6227c3f4c00 RCX: 0000000000000013
[  194.602487] RDX: 0000000000000000 RSI: 0000000000080000 RDI: fffff6227c3f4c00
[  194.602503] RBP: ffffa833cc37f7c0 R08: 0000000000000001 R09: dead0000000000ff
[  194.602519] R10: ffff8976ca4f7aa0 R11: 0000000000000000 R12: 0000000000000000
[  194.602535] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000200
[  194.602551] FS:  00007f51c3bb2500(0000) GS:ffff89771ec40000(0000) 
knlGS:0000000000000000
[  194.602569] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  194.602582] CR2: 0000000000000008 CR3: 0000000f24aea000 CR4: 00000000003406e0
[  194.602598] Call Trace:
[  194.602606]  create_page_buffers+0x51/0x60
[  194.602616]  block_read_full_page+0x4e/0x370
[  194.602626]  ? set_init_blocksize+0x80/0x80
[  194.602636]  blkdev_readpage+0x18/0x20
[  194.602646]  do_read_cache_page+0x2a2/0x580
[  194.602656]  ? blkdev_writepages+0x40/0x40
[  194.602667]  ? update_load_avg+0x57f/0x6e0
[  194.602676]  read_cache_page+0x15/0x20
[  194.602687]  read_dev_sector+0x2d/0xd0
[  194.602696]  read_lba+0x130/0x220
[  194.602704]  ? efi_partition+0x11a/0x790
[  194.602713]  efi_partition+0x138/0x790
[  194.602723]  ? string+0x60/0x90
[  194.602731]  ? vsnprintf+0xfb/0x510
[  194.602740]  ? snprintf+0x45/0x70
[  194.602748]  ? is_gpt_valid.part.6+0x420/0x420
[  194.602760]  check_partition+0x130/0x230
[  194.603304]  ? check_partition+0x130/0x230
[  194.603837]  rescan_partitions+0xaa/0x350
[  194.604372]  bdev_disk_changed+0x53/0x60
[  194.604895]  __blkdev_get+0x34a/0x510
[  194.605413]  blkdev_get+0x129/0x320
[  194.605930]  ? wake_up_bit+0x42/0x50
[  194.606445]  ? unlock_new_inode+0x4c/0x80
[  194.606947]  ? bdget+0x108/0x120
[  194.607432]  device_add_disk+0x38b/0x490
[  194.607909]  ? bcache_dev_sectors_dirty_add+0xb0/0xb0 [bcache]
[  194.608373]  bch_cached_dev_run.part.28+0x42/0x1a0 [bcache]
[  194.608821]  ? wait_woken+0x80/0x80
[  194.609258]  bch_cached_dev_attach+0x3b5/0x4f0 [bcache]
[  194.609681]  ? vprintk_func+0x47/0xc0
[  194.610088]  ? printk+0x52/0x6e
[  194.610479]  register_bcache+0x864/0x1110 [bcache]
[  194.610861]  ? register_bcache+0x864/0x1110 [bcache]
[  194.611227]  kobj_attr_store+0x12/0x20
[  194.611580]  ? kobj_attr_store+0x12/0x20
[  194.611925]  sysfs_kf_write+0x3c/0x50
[  194.612259]  kernfs_fop_write+0x125/0x1a0
[  194.612595]  __vfs_write+0x1b/0x40
[  194.612921]  vfs_write+0xb1/0x1a0
[  194.613245]  SyS_write+0x5c/0xe0
[  194.613565]  do_syscall_64+0x73/0x130
[  194.613886]  entry_SYSCALL_64_after_hwframe+0x3d/0xa2
[  194.614212] RIP: 0033:0x7f51c36b8154
[  194.614530] RSP: 002b:00007ffd27009a58 EFLAGS: 00000246 ORIG_RAX: 
0000000000000001
[  194.614858] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 00007f51c36b8154
[  194.615183] RDX: 0000000000000009 RSI: 0000560160a77260 RDI: 0000000000000003
[  194.615506] RBP: 0000560160a77260 R08: 0000000000000000 R09: 00007f51c37163a0
[  194.615831] R10: 00000000fffffff8 R11: 0000000000000246 R12: 00007ffd27009af0
[  194.616157] R13: 0000000000000009 R14: 00007f51c39902a0 R15: 00007f51c398f760
[  194.616486] 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 
[  194.617194] RIP: create_empty_buffers+0x29/0xf0 RSP: ffffa833cc37f7a8
[  194.617557] CR2: 0000000000000008


** Attachment added: "dmesg.202004081903"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1867916/+attachment/5349895/+files/dmesg.202004081903

-- 
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/1867916

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

Status in linux package in Ubuntu:
  In Progress

Bug description:
  After upgrading from kernel 4.15.0-88 to 4.15.0-91 one of our systems
  does not boot any longer. It always crashes during boot with a kernel
  panic.

  I suspect that this crash might be related to Bcache because this is
  the only one of our systems where we use Bcache and the kernel panic
  appears right after Bcache initialization.

  I already checked that this bug still exists in the 4.15.0-92.93
  kernel from proposed.

  Unfortunately, I cannot do a bisect because this is a critical
  production system and we do not have any other system with a similar
  configuration.

  I attached a screenshot with the trace of the kernel panic.

  The last message that appears before the kernel panic (or rather the
  last one that I can see - there is a rather long pause between that
  message and the panic and I cannot scroll up far enough to ensure that
  there are no other messages in between) is:

  bcache: register_bcache() error /dev/dm-0: device already registered

  When booting with kernel 4.15.0-88 that does not have this problem,
  the next message is

  bcache: register_bcache() error /dev/dm-12: device already registered
  (emitting change event)

  After that the next message is:

  Begin: Loading essential drivers ... done

  This message also appears after the kernel panic, but the boot process
  stalls and the system can only be recovered by doing a hardware reset.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-88-generic 4.15.0-88.88
  ProcVersionSignature: Ubuntu 4.15.0-88.88-generic 4.15.18
  Uname: Linux 4.15.0-88-generic x86_64
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Mar 17 21:08 seq
   crw-rw---- 1 root audio 116, 33 Mar 17 21:08 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.9-0ubuntu7.11
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 
'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', 
'/dev/snd/timer'] failed with exit code 1:
  Date: Wed Mar 18 12:55:18 2020
  HibernationDevice: RESUME=UUID=40512ea2-9fce-40f5-8362-5daf955cc26a
  InstallationDate: Installed on 2013-07-02 (2450 days ago)
  InstallationMedia: Ubuntu-Server 12.04.2 LTS "Precise Pangolin" - Release 
amd64 (20130214)
  MachineType: HP ProLiant DL160 G6
  PciMultimedia:
   
  ProcFB: 0 mgadrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-88-generic 
root=/dev/mapper/vg0-root ro nosmt nomdmonddf nomdmonisw nomdmonddf nomdmonisw 
nomdmonddf nomdmonisw nomdmonddf nomdmonisw nomdmonddf nomdmonisw
  RelatedPackageVersions:
   linux-restricted-modules-4.15.0-88-generic N/A
   linux-backports-modules-4.15.0-88-generic  N/A
   linux-firmware                             1.173.16
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
  SourcePackage: linux
  UpgradeStatus: Upgraded to bionic on 2018-09-23 (541 days ago)
  dmi.bios.date: 11/06/2009
  dmi.bios.vendor: HP
  dmi.bios.version: O33
  dmi.chassis.asset.tag: 0191525
  dmi.chassis.type: 23
  dmi.chassis.vendor: HP
  dmi.modalias: 
dmi:bvnHP:bvrO33:bd11/06/2009:svnHP:pnProLiantDL160G6:pvr:cvnHP:ct23:cvr:
  dmi.product.name: ProLiant DL160 G6
  dmi.sys.vendor: HP

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to