Unfortunately still present in mainline 5.0.13 kernel:

------------[ cut here ]------------
kernel BUG at drivers/md/persistent-data/dm-space-map-disk.c:178!
invalid opcode: 0000 [#1] SMP PTI
CPU: 5 PID: 1675751 Comm: kworker/u128:1 Not tainted 5.0.13-050013-generic 
#201905051330
Hardware name: Quanta Cloud Technology Inc. QuantaGrid D52B-1U/S5B-MB (LBG-2), 
BIOS 3A13.Q402 11/16/2018
Workqueue: dm-thin do_worker [dm_thin_pool]
RIP: 0010:sm_disk_new_block+0x92/0xa0 [dm_persistent_data]
Code: 55 e4 48 83 c0 01 48 89 83 20 22 00 00 49 8b 34 24 e8 82 f7 ff ff 85 c0 
75 c4 83 7d e4 01 75 0a 48 83 83 28 22 00 00 01 eb b4 <0f> 0b e8 97 b4 dd c7 0f 
1f 80 00 00 00 00 0f 1f 44 00 00 55 48 89
RSP: 0018:ffffb647bb06fca8 EFLAGS: 00010297
RAX: 0000000000000000 RBX: ffff95dc1d9a4000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff95dc347a9a00
RBP: ffffb647bb06fcc8 R08: 0000000000000000 R09: ffffb647bb06fa38
R10: fffff6c3d4ca9080 R11: 0000000000000001 R12: ffffb647bb06fd70
R13: ffffb647bb06fd70 R14: ffff9593a3d6f000 R15: ffff957adcb455b0
FS:  0000000000000000(0000) GS:ffff9593efd40000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c4202d2318 CR3: 00000079b7c0e002 CR4: 00000000007626e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
PKRU: 55555554
Call Trace:
 dm_pool_alloc_data_block+0x3c/0x60 [dm_thin_pool]
 alloc_data_block.isra.61+0x6c/0x1a0 [dm_thin_pool]
 process_cell+0x2cd/0x4f0 [dm_thin_pool]
 ? _cond_resched+0x19/0x30
 ? u32_swap+0x10/0x10
 ? sort+0x13b/0x220
 ? u32_swap+0x10/0x10
 do_worker+0x27c/0x900 [dm_thin_pool]
 ? __switch_to_asm+0x40/0x70
 process_one_work+0x20f/0x410
 worker_thread+0x34/0x400
 kthread+0x120/0x140
 ? process_one_work+0x410/0x410
 ? __kthread_parkme+0x70/0x70
 ret_from_fork+0x35/0x40
Modules linked in: dm_snapshot xt_CHECKSUM xt_nat iptable_nat nf_nat_ipv4 veth 
dummy bridge ip6table_filter ip6_tables iptable_mangle xt_CT iptable_raw 
xt_tcpudp xt_conntrack iptable_filter ip_tables x_tables bpfilter vhost_net 
vhost tap dm_thin_pool dm_persistent_data dm_bio_prison dm_bufio intel_rapl 
skx_edac nfit x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm 
irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel 
aes_x86_64 crypto_simd cryptd glue_helper intel_cstate ioatdma ipmi_ssif 
intel_rapl_perf lpc_ich 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 nf_conntrack_proto_gre 
nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 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
 drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm i40e nvme 
ahci nvme_core libahci wmi
---[ end trace 678c665ac774d0d4 ]---
RIP: 0010:sm_disk_new_block+0x92/0xa0 [dm_persistent_data]
Code: 55 e4 48 83 c0 01 48 89 83 20 22 00 00 49 8b 34 24 e8 82 f7 ff ff 85 c0 
75 c4 83 7d e4 01 75 0a 48 83 83 28 22 00 00 01 eb b4 <0f> 0b e8 97 b4 dd c7 0f 
1f 80 00 00 00 00 0f 1f 44 00 00 55 48 89
RSP: 0018:ffffb647bb06fca8 EFLAGS: 00010297
RAX: 0000000000000000 RBX: ffff95dc1d9a4000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff95dc347a9a00
RBP: ffffb647bb06fcc8 R08: 0000000000000000 R09: ffffb647bb06fa38
R10: fffff6c3d4ca9080 R11: 0000000000000001 R12: ffffb647bb06fd70
R13: ffffb647bb06fd70 R14: ffff9593a3d6f000 R15: ffff957adcb455b0
FS:  0000000000000000(0000) GS:ffff9593efd40000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c4202d2318 CR3: 00000079b7c0e002 CR4: 00000000007626e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
PKRU: 55555554

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