module-autoload: duplicate request for module nvme-tcp

Daniel Wagner dwagner at suse.de
Tue Jun 6 03:56:58 PDT 2023


Hi Luis,

I've enabled the module debug options and got some traces when running blktests
(nvme_trtype=tcp ./check nvme). I read the commit message 8660484ed1cf ("module:
add debugging auto-load duplicate module support") I cannot really decide what
to do with the report. I disable the debug options for now (trying to work on
something else). So this just to let you know, that the debug code seems to do
something :)

Thanks,
Daniel

 ------------[ cut here ]------------
 module-autoload: duplicate request for module nvme-tcp
 WARNING: CPU: 2 PID: 1725 at kernel/module/dups.c:185 kmod_dup_request_exists_wait+0x2bd/0x520
 Modules linked in: loop nvmet_tcp nvmet nvme_tcp nvme_fabrics nfsv3 nfs_acl rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver nfs lockd grace sunrpc fscache netfs af_packet rfkill qrtr snd_hda_codec_generic intel_rapl_msr intel_rapl_common intel_pmc_core kvm_intel nls_iso8859_1 nls_cp437 vfat snd_hda_intel snd_intel_dspcfg fat snd_hda_codec kvm snd_hwdep iTCO_wdt intel_pmc_bxt snd_hda_core iTCO_vendor_support snd_pcm i2c_i801 irqbypass i2c_smbus pcspkr snd_timer virtio_net snd virtio_balloon soundcore lpc_ich net_failover failover tiny_power_button joydev button fuse efi_pstore configfs ip_tables x_tables hid_generic usbhid crct10dif_pclmul crc32_pclmul ghash_clmulni_intel xhci_pci xhci_pci_renesas xhci_hcd sr_mod aesni_intel cdrom crypto_simd cryptd virtio_blk virtio_rng usbcore nvme virtio_gpu virtio_dma_buf nvme_core nvme_common serio_raw btrfs libcrc32c crc32c_intel xor zlib_deflate raid6_pq sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua efivarfs qemu_fw_cfg [last unloaded: loop]
 CPU: 2 PID: 1725 Comm: nvme Tainted: G        W          6.4.0-rc2+ #2 1daf2dc6ddfbfdba6b9ddd3bcf1253da050c6a9f
 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS unknown unknown
 RIP: 0010:kmod_dup_request_exists_wait+0x2bd/0x520
 Code: a4 e8 77 6f 28 02 4c 89 ff e8 3f 58 4c 00 80 3d 68 6d b5 03 00 0f 84 24 01 00 00 48 c7 c7 80 60 70 a3 48 89 de e8 03 5e d9 ff <0f> 0b 40 84 ed 0f 84 22 01 00 00 49 8d 7c 24 48 be 02 01 00 00 e8
 RSP: 0018:ffff8881086ff720 EFLAGS: 00010246
 RAX: 2c07e0659ca46000 RBX: ffff8881086ff820 RCX: 0000000000000027
 RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffff88815abf07c8
 RBP: 0000000000000001 R08: dffffc0000000000 R09: ffffed102b57e0fa
 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888108fa8400
 R13: 0000000fffffffe0 R14: dffffc0000000000 R15: ffff88810af38c00
 FS:  00007fb64187e740(0000) GS:ffff88815aa00000(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
 CR2: 00007fb6419db28e CR3: 0000000130390005 CR4: 0000000000370ee0
 Call Trace:
  <TASK>
  __request_module+0x1ce/0x4e0
  ? trace_contention_end+0x38/0xf0
  ? kasan_unpoison+0x64/0x90
  ? __cfi___request_module+0x10/0x10
  ? __mutex_unlock_slowpath+0x21f/0x770
  ? kasan_quarantine_put+0xb4/0x1c0
  ? __kmem_cache_free+0x21f/0x3d0
  ? __asan_memcpy+0x3c/0x70
  ? nvmf_dev_write+0x1956/0x2430 [nvme_fabrics 08f7b8c3317d458ea9e1722c19d051cbfd8a49c3]
  nvmf_dev_write+0x1a2c/0x2430 [nvme_fabrics 08f7b8c3317d458ea9e1722c19d051cbfd8a49c3]
  ? __cfi_nvmf_dev_write+0x10/0x10 [nvme_fabrics 08f7b8c3317d458ea9e1722c19d051cbfd8a49c3]
  ? entry_SYSCALL_64_after_hwframe+0x72/0xdc
  ? local_lock_release+0x23/0x70
  ? __cfi_do_filp_open+0x10/0x10
  ? lock_release+0xa3/0xd10
  ? rcu_lock_acquire+0x40/0x40
  ? common_file_perm+0x132/0x1e0
  vfs_write+0x1f7/0xa10
  ? kasan_quarantine_put+0xb4/0x1c0
  ? __cfi_vfs_write+0x10/0x10
  ? do_sys_openat2+0x311/0x410
  ? __cfi_handle_mm_fault+0x10/0x10
  ? do_sys_open+0x1e0/0x1e0
  ? lock_release+0xa3/0xd10
  ? __fdget_pos+0x51/0x260
  ksys_write+0x12a/0x210
  ? __cfi_ksys_write+0x10/0x10
  ? syscall_enter_from_user_mode+0x2e/0x210
  do_syscall_64+0x6e/0xa0
  ? syscall_exit_to_user_mode+0x5e/0x220
  ? do_syscall_64+0x7d/0xa0
  entry_SYSCALL_64_after_hwframe+0x72/0xdc
 RIP: 0033:0x7fb6419a6a54
 Code: ff eb b7 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 90 90 80 3d 2d 11 0f 00 00 74 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 28 48 89 54 24 18 48
 RSP: 002b:00007ffd0ab7ac78 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
 RAX: ffffffffffffffda RBX: 000055ac367e1910 RCX: 00007fb6419a6a54
 RDX: 00000000000000cf RSI: 000055ac367e1910 RDI: 0000000000000005
 RBP: 0000000000000005 R08: 00000000000000cf R09: 000055ac367e1910
 R10: 0000000000000000 R11: 0000000000000202 R12: 000055ac367df140
 R13: 00000000000000cf R14: 00007fb641af5245 R15: 00007fb641af5282
  </TASK>
 irq event stamp: 0
 hardirqs last  enabled at (0): [<0000000000000000>] 0x0
 hardirqs last disabled at (0): [<ffffffffa0de0c64>] copy_process+0x1264/0x3610
 softirqs last  enabled at (0): [<ffffffffa0de0c90>] copy_process+0x1290/0x3610
 softirqs last disabled at (0): [<0000000000000000>] 0x0
 ---[ end trace 0000000000000000 ]---



More information about the Linux-nvme mailing list