You have been subscribed to a public bug:

Description

If you run ndctl create-namespace simultaneously on every cpu on a 72
cpu system, for exactly the same namespace, things break.  Shocking, I
know.  I've attached the script and the panic.  Not high priority, I
don't think.

I tried to attach the shell script, but your email server rejected it.
So, it's inline below.  Search for thrash-ns.sh.

Cheers,
Jeff

[   71.912227] -----------[ cut here ]-----------
[   71.935600] WARNING: CPU: 39 PID: 1039 at fs/sysfs/group.c:237
sysfs_remove_group+0x8e/0x90
[   71.978797] sysfs group 'power' not found for kobject 'btt0.1'
[   72.004940] Modules linked in: xt_CHECKSUM iptable_mangle
ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT
nf_reject_ipv4 tun bridge stp llc ebtable_filter ebtables
ip6table_filter ip6_tables iptable_filter intel_rapl sb_edac edac_core
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass
crct10dif_pclmul crc32_pclmul vfat ghash_clmulni_intel fat pcbc
aesni_intel nd_pmem crypto_simd ipmi_si glue_helper dax_pmem iTCO_wdt
nd_btt iTCO_vendor_support dax cryptd ipmi_devintf hpwdt lpc_ich hpilo
pcspkr i2c_i801 ioatdma sg ipmi_msghandler mfd_core wmi shpchp dca nfit
acpi_power_meter nfsd auth_rpcgss nfs_acl lockd grace sunrpc ip_tables
xfs sr_mod cdrom sd_mod mgag200 i2c_algo_bit drm_kms_helper syscopyarea
[   72.326921]  sysfillrect sysimgblt fb_sys_fops ttm bnx2x mdio ahci
tg3 drm hpsa libahci ptp nvme libata pps_core i2c_core libcrc32c
crc32c_intel scsi_transport_sas nvme_core dm_mirror dm_region_hash
dm_log dm_mod
[   72.411729] CPU: 39 PID: 1039 Comm: kworker/u145:2 Not tainted
4.11.0-rc1+ #25
[   72.444221] Hardware name: HP ProLiant DL380 Gen9/ProLiant DL380
Gen9, BIOS P89 10/05/2016
[   72.486852] Workqueue: events_unbound async_run_entry_fn
[   72.512078] Call Trace:
[   72.523223]  dump_stack+0x63/0x87
[   72.538230]  __warn+0xd1/0xf0
[   72.551520]  warn_slowpath_fmt+0x5f/0x80
[   72.569169]  ? kernfs_find_and_get_ns+0x48/0x60
[   72.589568]  sysfs_remove_group+0x8e/0x90
[   72.607495]  dpm_sysfs_remove+0x57/0x60
[   72.624715]  device_del+0x111/0x350
[   72.640292]  ? pick_next_task_fair+0x122/0x540
[   72.660482]  device_unregister+0x1a/0x60
[   72.678191]  nd_async_device_unregister+0x22/0x30
[   72.699306]  async_run_entry_fn+0x39/0x170
[   72.717642]  process_one_work+0x165/0x410
[   72.735566]  worker_thread+0x137/0x4c0
[   72.752370]  kthread+0x101/0x140
[   72.766449]  ? rescuer_thread+0x3b0/0x3b0
[   72.784357]  ? kthread_park+0x90/0x90
[   72.800810]  ret_from_fork+0x2c/0x40
[   72.816960] --[ end trace cb734114d5364186 ]--
[   72.837661] BUG: unable to handle kernel NULL pointer dereference at
0000000000000020
[   72.872912] IP: klist_put+0x1b/0x90
[   72.888831] PGD 0
[   72.888831]
[   72.904390] Oops: 0000 1 SMP
[   72.918698] Modules linked in: xt_CHECKSUM iptable_mangle
ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat
nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack ipt_REJECT
nf_reject_ipv4 tun bridge stp llc ebtable_filter ebtables
ip6table_filter ip6_tables iptable_filter intel_rapl sb_edac edac_core
x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass
crct10dif_pclmul crc32_pclmul vfat ghash_clmulni_intel fat pcbc
aesni_intel nd_pmem crypto_simd ipmi_si glue_helper dax_pmem iTCO_wdt
nd_btt iTCO_vendor_support dax cryptd ipmi_devintf hpwdt lpc_ich hpilo
pcspkr i2c_i801 ioatdma sg ipmi_msghandler mfd_core wmi shpchp dca nfit
acpi_power_meter nfsd auth_rpcgss nfs_acl lockd grace sunrpc ip_tables
xfs sr_mod cdrom sd_mod mgag200 i2c_algo_bit drm_kms_helper syscopyarea
[   73.245742]  sysfillrect sysimgblt fb_sys_fops ttm bnx2x mdio ahci
tg3 drm hpsa libahci ptp nvme libata pps_core i2c_core libcrc32c
crc32c_intel scsi_transport_sas nvme_core dm_mirror dm_region_hash
dm_log dm_mod
[   73.331485] CPU: 39 PID: 1039 Comm: kworker/u145:2 Tainted: G
W       4.11.0-rc1+ #25
[   73.370525] Hardware name: HP ProLiant DL380 Gen9/ProLiant DL380
Gen9, BIOS P89 10/05/2016
[   73.408108] Workqueue: events_unbound async_run_entry_fn
[   73.432199] task: ffff880465230000 task.stack: ffffc900061f4000
[   73.458817] RIP: 0010:klist_put+0x1b/0x90
[   73.479280] RSP: 0018:ffffc900061f7d68 EFLAGS: 00010246
[   73.507441] RAX: ffff88017ccd4b40 RBX: 0000000000000000 RCX:
0000000000000000
[   73.539498] RDX: 0000000000000000 RSI: 0000000000000001 RDI:
0000000000000000
[   73.571576] RBP: ffffc900061f7d88 R08: 00000000fffffffe R09:
0000000000047417
[   73.603526] R10: 0000000000000005 R11: 0000000000047416 R12:
ffff88017ccd4b68
[   73.635479] R13: ffff88017d558800 R14: 0000000000000001 R15:
ffff880469cf44b0
[   73.667484] FS:  0000000000000000(0000) GS:ffff88046f940000(0000)
knlGS:0000000000000000
[   73.703897] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   73.729599] CR2: 0000000000000020 CR3: 0000000001c09000 CR4:
00000000003406e0
[   73.761604] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[   73.793672] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[   73.826387] Call Trace:
[   73.837735]  klist_del+0xe/0x10
[   73.852002]  device_del+0x124/0x350
[   73.867721]  ? pick_next_task_fair+0x122/0x540
[   73.887938]  device_unregister+0x1a/0x60
[   73.905498]  nd_async_device_unregister+0x22/0x30
[   73.926887]  async_run_entry_fn+0x39/0x170
[   73.945504]  process_one_work+0x165/0x410
[   73.963652]  worker_thread+0x137/0x4c0
[   73.981335]  kthread+0x101/0x140
[   73.998899]  ? rescuer_thread+0x3b0/0x3b0
[   74.018719]  ? kthread_park+0x90/0x90
[   74.034739]  ret_from_fork+0x2c/0x40
[   74.050752] Code: 74 a9 f6 40 f8 01 74 92 eb ea 66 0f 1f 44 00 00 55
48 89 e5 41 56 41 89 f6 41 55 41 54 49 89 fc 53 48 8b 1f 48 83 e3 fe 48
89 df <4c> 8b 6b 20 e8 ac fd 00 00 45 84 f6 75 3c 4d 8d 74 24 18 4c 89
[   74.135750] RIP: klist_put+0x1b/0x90 RSP: ffffc900061f7d68
[   74.160546] CR2: 0000000000000020
[   74.175440] --[ end trace cb734114d5364187 ]--
[   74.201137] Kernel panic - not syncing: Fatal exception
[   74.224782] Kernel Offset: disabled
[   74.246394] ---[ end Kernel panic - not syncing: Fatal exception

Target Kernel:TBD
Target Release: 19.04

** Affects: intel
     Importance: Undecided
         Status: New

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: intel-kernel-19.04
-- 
[Bug] Crystal Ridge - libnvdimm: debug create-namespace sysfs collision report 
from Jeff
https://bugs.launchpad.net/bugs/1704437
You received this bug notification because you are a member of Kernel Packages, 
which is subscribed to linux in Ubuntu.

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to