This issue is still present. Possibly fixed by upstream commit
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/md?id=a685557fbbc3122ed11e8ad3fa63a11ebc5de8c3

https://www.redhat.com/archives/dm-devel/2018-April/msg00022.html


kernel: [8860597.921484] kernel BUG at 
/build/linux-hwe-okqLve/linux-hwe-4.15.0/drivers/md/persistent-data/dm-space-map-disk.c:178!
kernel: [8860597.921579] invalid opcode: 0000 [#1] SMP PTI
kernel: [8860597.921640] Modules linked in: cpuid cmac arc4 md4 nls_utf8 cifs 
ccm fscache dm_snapshot dccp_diag dccp tcp_diag udp_diag inet_diag unix_diag 
af_packet_diag netlink_diag xt_CHECKSUM xt_nat iptable_nat nf_nat_ipv4 
iptable_mangle xt_CT iptable_raw veth dummy nf_conntrack_ipv4 nf_defrag_ipv4 
bridge iptable_filter ip_tables xt_tcpudp nf_conntrack_ipv6 nf_defrag_ipv6 
xt_conntrack ip6table_filter ip6_tables x_tables vhost_net vhost tap intel_rapl 
skx_edac x86_pkg_temp_thermal intel_powerclamp coretemp dm_thin_pool kvm_intel 
dm_persistent_data dm_bio_prison kvm dm_bufio irqbypass crct10dif_pclmul 
crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd 
ipmi_ssif glue_helper cryptd intel_cstate intel_rapl_perf lpc_ich shpchp 
ioatdma dca acpi_pad acpi_power_meter mac_hid ipmi_si ipmi_devintf
kernel: [8860597.921973]  ipmi_msghandler nf_nat_ftp nf_conntrack_ftp 
nf_nat_sip nf_conntrack_sip nf_nat_pptp nf_conntrack_pptp nf_nat_proto_gre 
nf_nat nf_conntrack_proto_gre nf_conntrack tcp_htcp 8021q garp mrp stp llc 
bonding autofs4 btrfs zstd_compress raid456 async_raid6_recov async_memcpy 
async_pq async_xor async_tx xor raid6_pq libcrc32c raid0 multipath linear raid1 
raid10 i40e i2c_algo_bit ttm ptp drm_kms_helper pps_core syscopyarea nvme 
sysfillrect sysimgblt fb_sys_fops nvme_core drm ahci libahci wmi
kernel: [8860597.922282] CPU: 38 PID: 1917945 Comm: kworker/u128:2 Not tainted 
4.15.0-31-generic #33~16.04.1-Ubuntu
kernel: [8860597.922413] Hardware name: Quanta Cloud Technology Inc. QuantaGrid 
D52B-1U/S5B-MB (LBG-4), BIOS 3A10.10 02/12/2018
kernel: [8860597.922554] Workqueue: dm-thin do_worker [dm_thin_pool]
kernel: [8860597.922650] RIP: 0010:sm_disk_new_block+0xa1/0xb0 
[dm_persistent_data]
kernel: [8860597.922747] RSP: 0018:ffffbfa19dc7fc68 EFLAGS: 00010297
kernel: [8860597.922839] RAX: 0000000000000000 RBX: ffff9e6c63f0c000 RCX: 
0000000000000000
kernel: [8860597.922962] RDX: ffff9e6c3768d940 RSI: 0000000000000282 RDI: 
ffff9eb4dc4f3400
kernel: [8860597.923086] RBP: ffffbfa19dc7fc90 R08: 0000000000000000 R09: 
ffffbfa19dc7f9f0
kernel: [8860597.923211] R10: ffffbfa19dc7f8f8 R11: ffffbfa19dc7fb48 R12: 
0000000000000000
kernel: [8860597.923335] R13: ffffbfa19dc7fd40 R14: ffffbfa19dc7fd40 R15: 
ffff9e47cb3460e0
kernel: [8860597.923460] FS:  0000000000000000(0000) GS:ffff9e6cb0380000(0000) 
knlGS:0000000000000000
kernel: [8860597.923587] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: [8860597.923678] CR2: 00000000009cfd20 CR3: 0000008d2400a003 CR4: 
00000000007626e0
kernel: [8860597.923802] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
kernel: [8860597.923926] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 
0000000000000400
kernel: [8860597.924049] PKRU: 55555554
kernel: [8860597.924130] Call Trace:
kernel: [8860597.924217]  dm_pool_alloc_data_block+0x44/0x60 [dm_thin_pool]
kernel: [8860597.924310]  alloc_data_block.isra.53+0x6f/0x180 [dm_thin_pool]
kernel: [8860597.924404]  process_cell+0x2cf/0x4d0 [dm_thin_pool]
kernel: [8860597.924498]  ? mempool_alloc_slab+0x15/0x20
kernel: [8860597.924585]  ? mempool_alloc+0x73/0x180
kernel: [8860597.924671]  ? process_prepared+0x8d/0xc0 [dm_thin_pool]
kernel: [8860597.924762]  do_worker+0x25c/0x8b0 [dm_thin_pool]
kernel: [8860597.924855]  process_one_work+0x14d/0x410
kernel: [8860597.924942]  ? process_discard_cell_passdown+0x1e0/0x1e0 
[dm_thin_pool]
kernel: [8860597.925037]  ? process_one_work+0x14d/0x410
kernel: [8860597.925124]  worker_thread+0x4b/0x460
kernel: [8860597.925210]  kthread+0x105/0x140
kernel: [8860597.925294]  ? process_one_work+0x410/0x410
kernel: [8860597.925381]  ? kthread_associate_blkcg+0xa0/0xa0
kernel: [8860597.925473]  ret_from_fork+0x35/0x40
kernel: [8860597.925558] Code: c0 01 48 89 83 20 22 00 00 49 8b 75 00 e8 68 f7 
ff ff 85 c0 75 10 83 7d dc 01 75 0f 48 83 83 28 22 00 00 01 eb af 41 89 c4 eb 
aa <0f> 0b e8 08 0c bf d0 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55.
kernel: [8860597.925779] RIP: sm_disk_new_block+0xa1/0xb0 [dm_persistent_data] 
RSP: ffffbfa19dc7fc68
kernel: [8860597.925961] ---[ end trace dfde9f8a30119f50 ]---

** Changed in: linux (Ubuntu)
       Status: Expired => New

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

Title:
  dm thin block allocation failure

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  When using the bionic kernel (hwe-edge) on xenial we randomly trigger
  a kernel bug when creating a thin provisioned lvm volume.

  kernel: [146487.421278] ------------[ cut here ]------------
  kernel: [146487.421281] kernel BUG at 
/build/linux-hwe-edge-eBL7So/linux-hwe-edge-4.15.0/drivers/md/persistent-data/dm-space-map-disk.c:178!
  kernel: [146487.421435] invalid opcode: 0000 [#1] SMP PTI
  kernel: [146487.421528] Modules linked in: dm_snapshot cmac arc4 md4 nls_utf8 
cifs ccm fscache dccp_diag dccp tcp_diag udp_diag inet_diag unix_diag 
af_packet_diag netlink_diag xt_CHECKSUM xt_nat iptable_nat nf_nat_ipv4 
nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables xt_tcpudp 
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack iptable_filter veth dummy bridge 
iptable_mangle xt_CT iptable_raw ip_tables x_tables vhost_net vhost tap 
ipmi_ssif dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio intel_rapl 
skx_edac x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 
crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf lpc_ich ioatdma 
shpchp dca acpi_power_meter acpi_pad mac_hid ipmi_si ipmi_devintf 
ipmi_msghandler
  kernel: [146487.421859]  nf_nat_ftp nf_conntrack_ftp nf_nat_sip 
nf_conntrack_sip nf_nat_pptp nf_conntrack_pptp nf_nat_proto_gre nf_nat 
nf_conntrack_proto_gre nf_conntrack tcp_htcp 8021q garp mrp stp llc bonding 
autofs4 btrfs zstd_compress raid456 async_raid6_recov async_memcpy async_pq 
async_xor async_tx xor raid6_pq libcrc32c raid0 multipath linear raid10 raid1 
i2c_algo_bit ttm i40e drm_kms_helper syscopyarea ptp sysfillrect pps_core 
sysimgblt fb_sys_fops nvme ahci drm nvme_core libahci wmi
  kernel: [146487.422080] CPU: 13 PID: 2274450 Comm: kworker/u576:1 Not tainted 
4.15.0-22-generic #24~16.04.1-Ubuntu
  kernel: [146487.422211] Hardware name: Quanta Cloud Technology Inc. 
QuantaGrid D52B-1U/S5B-MB (LBG-4), BIOS 3A10.03 11/17/2017
  kernel: [146487.422349] Workqueue: dm-thin do_worker [dm_thin_pool]
  kernel: [146487.422443] RIP: 0010:sm_disk_new_block+0xa1/0xb0 
[dm_persistent_data]
  kernel: [146487.422536] RSP: 0018:ffff9efc5e4d3c68 EFLAGS: 00010297
  kernel: [146487.422626] RAX: 0000000000000000 RBX: ffff88b122d34000 RCX: 
0000000000000000
  kernel: [146487.422749] RDX: ffff8868d8631e00 RSI: 0000000000000282 RDI: 
ffff88b137691200
  kernel: [146487.422872] RBP: ffff9efc5e4d3c90 R08: 0000000000000000 R09: 
ffff9efc5e4d39f0
  kernel: [146487.422994] R10: ffff9efc5e4d38f8 R11: ffff9efc5e4d3b48 R12: 
0000000000000000
  kernel: [146487.423117] R13: ffff9efc5e4d3d40 R14: ffff9efc5e4d3d40 R15: 
ffff882de1769fa0
  kernel: [146487.423240] FS:  0000000000000000(0000) GS:ffff8868ee540000(0000) 
knlGS:0000000000000000
  kernel: [146487.423366] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  kernel: [146487.423457] CR2: 00007f0f30b083c0 CR3: 0000002ab260a004 CR4: 
00000000007626e0
  kernel: [146487.423580] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
  kernel: [146487.423703] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 
0000000000000400
  kernel: [146487.423826] PKRU: 55555554
  kernel: [146487.423906] Call Trace:
  kernel: [146487.423989]  dm_pool_alloc_data_block+0x44/0x60 [dm_thin_pool]
  kernel: [146487.424082]  alloc_data_block.isra.53+0x6f/0x180 [dm_thin_pool]
  kernel: [146487.424175]  process_cell+0x2cf/0x4d0 [dm_thin_pool]
  kernel: [146487.424267]  ? mempool_alloc_slab+0x15/0x20
  kernel: [146487.424354]  ? mempool_alloc+0x73/0x180
  kernel: [146487.424440]  ? process_prepared+0x8d/0xc0 [dm_thin_pool]
  kernel: [146487.424531]  do_worker+0x25c/0x8b0 [dm_thin_pool]
  kernel: [146487.424621]  process_one_work+0x14d/0x410
  kernel: [146487.424708]  ? process_discard_cell_passdown+0x1e0/0x1e0 
[dm_thin_pool]
  kernel: [146487.424802]  ? process_one_work+0x14d/0x410
  kernel: [146487.424888]  worker_thread+0x4b/0x460
  kernel: [146487.424973]  kthread+0x105/0x140
  kernel: [146487.425055]  ? process_one_work+0x410/0x410
  kernel: [146487.425142]  ? kthread_associate_blkcg+0xa0/0xa0
  kernel: [146487.425230]  ? do_syscall_64+0x73/0x130
  kernel: [146487.425315]  ? SyS_exit_group+0x14/0x20
  kernel: [146487.425401]  ret_from_fork+0x35/0x40
  kernel: [146487.425485] Code: c0 01 48 89 83 20 22 00 00 49 8b 75 00 e8 68 f7 
ff ff 85 c0 75 10 83 7d dc 01 75 0f 48 83 83 28 22 00 00 01 eb af 41 89 c4 eb 
aa <0f> 0b e8 e8 1b cf d2 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55
  kernel: [146487.425703] RIP: sm_disk_new_block+0xa1/0xb0 [dm_persistent_data] 
RSP: ffff9efc5e4d3c68
  kernel: [146487.425869] ---[ end trace 76985d9f3818cc3d ]---

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1777398/+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