Still present in 4.15.0-47-generic even though a number of dm/thin fixes
have been backported

kernel: [1120717.622665] Modules linked in: cpuid xt_CHECKSUM xt_nat 
iptable_nat nf_nat_ipv4 dm_snapshot veth dummy bridge nf_conntrack_ipv6 
nf_defrag_ipv6 ip6table_filter ip6_tables xt_CT iptable_raw iptable_mangle 
xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack iptable_filter 
ip_tables x_tables vhost_net vhost tap dm_thin_pool dm_persistent_data 
intel_rapl dm_bio_prison skx_edac dm_bufio x86_pkg_temp_thermal 
intel_powerclamp coretemp kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul 
ghash_clmulni_intel pcbc ipmi_ssif aesni_intel aes_x86_64 crypto_simd 
glue_helper cryptd intel_cstate intel_rapl_perf lpc_ich shpchp ioatdma dca 
acpi_power_meter acpi_pad mac_hid ipmi_si ipmi_devintf ipmi_msghandler 
nf_nat_ftp nf_conntrack_ftp nf_nat_sip nf_conntrack_sip nf_nat_pptp 
nf_conntrack_pptp nf_nat_proto_gre
kernel: [1120717.623364]  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 i2c_algo_bit ttm drm_kms_helper 
i40e syscopyarea sysfillrect sysimgblt fb_sys_fops ptp ahci nvme pps_core drm 
nvme_core libahci wmi
kernel: [1120717.623739] CPU: 40 PID: 1269520 Comm: kworker/u128:2 Not tainted 
4.15.0-47-generic #50~16.04.1-Ubuntu
kernel: [1120717.623881] Hardware name: Quanta Cloud Technology Inc. QuantaGrid 
D52B-1U/S5B-MB (LBG-2), BIOS 3A13.Q402 11/16/2018
kernel: [1120717.624035] Workqueue: dm-thin do_worker [dm_thin_pool]
kernel: [1120717.624142] RIP: 0010:sm_disk_new_block+0xa1/0xb0 
[dm_persistent_data]
kernel: [1120717.624245] RSP: 0018:ffffa467364d7c68 EFLAGS: 00010297
kernel: [1120717.624347] RAX: 0000000000000000 RBX: ffff89285e3f8000 RCX: 
0000000000000000
kernel: [1120717.624481] RDX: ffff890b51e68000 RSI: 0000000000000282 RDI: 
ffff8970be770600
kernel: [1120717.624614] RBP: ffffa467364d7c90 R08: 0000000000000000 R09: 
ffffa467364d79f0
kernel: [1120717.624747] R10: ffffa467364d78f8 R11: ffffa467364d7b48 R12: 
0000000000000000
kernel: [1120717.624880] R13: ffffa467364d7d40 R14: ffffa467364d7d40 R15: 
ffff8921d2ac9460
kernel: [1120717.625015] FS:  0000000000000000(0000) GS:ffff892870400000(0000) 
knlGS:0000000000000000
kernel: [1120717.625149] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: [1120717.625249] CR2: 00007f864a646000 CR3: 000000806a40a002 CR4: 
00000000007626e0
kernel: [1120717.625384] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 
0000000000000000
kernel: [1120717.625517] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 
0000000000000400
kernel: [1120717.625649] PKRU: 55555554
kernel: [1120717.625739] Call Trace:
kernel: [1120717.625839]  dm_pool_alloc_data_block+0x44/0x60 [dm_thin_pool]
kernel: [1120717.625948]  alloc_data_block.isra.56+0x6f/0x180 [dm_thin_pool]
kernel: [1120717.626053]  process_cell+0x2cf/0x4d0 [dm_thin_pool]
kernel: [1120717.626157]  ? sort+0x165/0x250
kernel: [1120717.626250]  do_worker+0x25c/0x8b0 [dm_thin_pool]
kernel: [1120717.626351]  process_one_work+0x14d/0x410
kernel: [1120717.626451]  ? process_discard_cell_passdown+0x1e0/0x1e0 
[dm_thin_pool]
kernel: [1120717.626557]  ? process_one_work+0x14d/0x410
kernel: [1120717.626655]  worker_thread+0x4b/0x460
kernel: [1120717.626755]  kthread+0x105/0x140
kernel: [1120717.626849]  ? process_one_work+0x410/0x410
kernel: [1120717.626947]  ? kthread_destroy_worker+0x50/0x50
kernel: [1120717.627050]  ret_from_fork+0x35/0x40
kernel: [1120717.627142] 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 a8 34 98 f0 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 
kernel: [1120717.627428] RIP: sm_disk_new_block+0xa1/0xb0 [dm_persistent_data] 
RSP: ffffa467364d7c68

-- 
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:
  Confirmed

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