Bug 219097 - BUG: Dentry 00000000a32a9144{i=71,n=/} still in use (2) [unmount of cifs cifs] / Busy inodes after unmount of cifs
Summary: BUG: Dentry 00000000a32a9144{i=71,n=/} still in use (2) [unmount of cifs cif...
Status: RESOLVED UNREPRODUCIBLE
Alias: None
Product: File System
Classification: Unclassified
Component: CIFS (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: fs_cifs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-26 15:56 UTC by Alexander Goomenyuk
Modified: 2024-09-02 07:39 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Alexander Goomenyuk 2024-07-26 15:56:08 UTC
The crash happens every time on unmounting of the CIFS share after the network connection was lost (e.g. resuming the machine from suspend mode).

--------------------------------
Kernel: 6.9.10-200.fc40.x86_64

--------------------------------
dmesg
--------------------------------
[10997.775041] r8169 0000:0a:00.0 enp10s0: Link is Down
[11001.044472] e1000e 0000:00:19.0 enp0s25: NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx
[11101.192433] CIFS: VFS: \\<CIFS server FQDN> has not responded in 180 seconds. Reconnecting...
[11115.528190] CIFS: VFS: \\<CIFS server IP> has not responded in 180 seconds. Reconnecting...
[11215.102038] ------------[ cut here ]------------
[11215.102045] BUG: Dentry 00000000a32a9144{i=71,n=/}  still in use (2) [unmount of cifs cifs]
[11215.102068] WARNING: CPU: 18 PID: 42528 at fs/dcache.c:1528 umount_check+0x56/0x70
[11215.102081] Modules linked in: nls_utf8 cifs cifs_arc4 nls_ucs2_utils cifs_md4 dns_resolver netfs snd_seq_dummy snd_hrtimer vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfkill nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nvidia_drm(POE) nft_ct nvidia_modeset(POE) nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nvidia_uvm(POE) ip_set nf_tables qrtr nvidia(POE) tun sunrpc intel_rapl_msr intel_rapl_common binfmt_misc intel_uncore_frequency intel_uncore_frequency_common sb_edac x86_pkg_temp_thermal intel_powerclamp uvcvideo coretemp snd_hda_codec_realtek uvc snd_hda_codec_generic snd_hda_codec_hdmi videobuf2_vmalloc snd_usb_audio videobuf2_memops kvm_intel snd_hda_scodec_component snd_hda_intel videobuf2_v4l2 vfat pktcdvd typec_displayport fat snd_usbmidi_lib snd_intel_dspcfg kvm videobuf2_common snd_intel_sdw_acpi snd_ump videodev snd_hda_codec rapl snd_rawmidi intel_cstate mc joydev snd_hda_core snd_hwdep snd_seq snd_seq_device mei_wdt iTCO_wdt
[11215.102193]  intel_pmc_bxt snd_pcm iTCO_vendor_support dell_smm_hwmon dell_smbios dcdbas mei_me snd_timer intel_uncore e1000e dell_wmi_descriptor wmi_bmof intel_wmi_thunderbolt r8169 snd mei i2c_i801 realtek soundcore i2c_smbus lpc_ich i2c_nvidia_gpu loop nfnetlink zram amdgpu video amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec gpu_sched drm_suballoc_helper drm_buddy drm_display_helper ucsi_ccg crct10dif_pclmul crc32_pclmul crc32c_intel typec_ucsi polyval_clmulni polyval_generic mxm_wmi ghash_clmulni_intel sha512_ssse3 sha256_ssse3 sha1_ssse3 cec typec ata_generic pata_acpi wmi ip6_tables ip_tables fuse
[11215.102296] CPU: 18 PID: 42528 Comm: umount Tainted: P        W  OE      6.9.10-200.fc40.x86_64 #1
[11215.102302] Hardware name: Dell Inc. Precision Tower 5810/0K240Y, BIOS A34 10/19/2020
[11215.102305] RIP: 0010:umount_check+0x56/0x70
[11215.102311] Code: 8d 88 c0 03 00 00 48 8b 40 28 4c 8b 08 48 8b 46 30 48 85 c0 74 04 48 8b 50 40 51 48 c7 c7 18 c7 b6 ac 48 89 f1 e8 3a a3 c3 ff <0f> 0b 58 31 c0 c3 cc cc cc cc 41 83 f8 01 75 bf eb ad 0f 1f 84 00
[11215.102315] RSP: 0018:ffffb75f8d7afaa8 EFLAGS: 00010286
[11215.102321] RAX: 0000000000000000 RBX: 0000000000005560 RCX: 0000000000000027
[11215.102324] RDX: ffff95170f1218c8 RSI: 0000000000000001 RDI: ffff95170f1218c0
[11215.102327] RBP: ffff94f974e42540 R08: 0000000000000000 R09: 303030207972746e
[11215.102330] R10: 3d697b3434313961 R11: 3233613030303030 R12: ffffffffab4e95d0
[11215.102333] R13: ffff94fbaf8f1000 R14: 0000000000000000 R15: 0000000000000000
[11215.102336] FS:  00007f7b26a48800(0000) GS:ffff95170f100000(0000) knlGS:0000000000000000
[11215.102340] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[11215.102343] CR2: 00007f7b26ce3060 CR3: 00000006e49d8002 CR4: 00000000003706f0
[11215.102347] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[11215.102349] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[11215.102352] Call Trace:
[11215.102356]  <TASK>
[11215.102358]  ? umount_check+0x56/0x70
[11215.102363]  ? __warn.cold+0x8e/0xe8
[11215.102373]  ? umount_check+0x56/0x70
[11215.102381]  ? report_bug+0xff/0x140
[11215.102390]  ? console_unlock+0x84/0x130
[11215.102397]  ? handle_bug+0x3c/0x80
[11215.102405]  ? exc_invalid_op+0x17/0x70
[11215.102411]  ? asm_exc_invalid_op+0x1a/0x20
[11215.102419]  ? __pfx_umount_check+0x10/0x10
[11215.102425]  ? umount_check+0x56/0x70
[11215.102430]  ? umount_check+0x56/0x70
[11215.102434]  d_walk+0x61/0x280
[11215.102440]  shrink_dcache_for_umount+0x4d/0x130
[11215.102451]  generic_shutdown_super+0x22/0x100
[11215.102461]  kill_anon_super+0x16/0x40
[11215.102469]  cifs_kill_sb+0x46/0x50 [cifs]
[11215.102704]  deactivate_locked_super+0x33/0xb0
[11215.102710]  cleanup_mnt+0xba/0x150
[11215.102718]  task_work_run+0x5c/0x90
[11215.102729]  syscall_exit_to_user_mode+0x21a/0x220
[11215.102739]  do_syscall_64+0x8e/0x160
[11215.102745]  ? avc_has_perm_noaudit+0x6b/0xf0
[11215.102753]  ? selinux_inode_permission+0x131/0x1c0
[11215.102763]  ? mntput_no_expire+0x4a/0x260
[11215.102769]  ? do_faccessat+0x1e4/0x2e0
[11215.102776]  ? syscall_exit_to_user_mode+0x72/0x220
[11215.102782]  ? do_syscall_64+0x8e/0x160
[11215.102787]  ? do_syscall_64+0x8e/0x160
[11215.102792]  ? vfs_fstatat+0x94/0xb0
[11215.102799]  ? __do_sys_newfstatat+0x3c/0x80
[11215.102807]  ? syscall_exit_to_user_mode+0x72/0x220
[11215.102813]  ? do_syscall_64+0x8e/0x160
[11215.102818]  ? syscall_exit_to_user_mode+0x72/0x220
[11215.102823]  ? do_syscall_64+0x8e/0x160
[11215.102828]  ? syscall_exit_to_user_mode+0x72/0x220
[11215.102834]  ? do_syscall_64+0x8e/0x160
[11215.102838]  ? exc_page_fault+0x7e/0x180
[11215.102844]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[11215.102851] RIP: 0033:0x7f7b26c701eb
[11215.102883] Code: c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 31 f6 e9 05 00 00 00 0f 1f 44 00 00 f3 0f 1e fa b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 8b 15 f9 ab 0c 00 f7 d8
[11215.102887] RSP: 002b:00007fffee5fa338 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
[11215.102892] RAX: 0000000000000000 RBX: 000055f6903e2550 RCX: 00007f7b26c701eb
[11215.102895] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000055f6903e7ac0
[11215.102898] RBP: 00007fffee5fa410 R08: 000055f6903e1010 R09: 0000000000000007
[11215.102900] R10: 0000000000000000 R11: 0000000000000246 R12: 000055f6903e2658
[11215.102903] R13: 0000000000000000 R14: 000055f6903e7ac0 R15: 000055f6903e7a90
[11215.102908]  </TASK>
[11215.102911] ---[ end trace 0000000000000000 ]---
[11215.102922] VFS: Busy inodes after unmount of cifs (cifs)
[11215.102933] ------------[ cut here ]------------
[11215.102936] kernel BUG at fs/super.c:649!
[11215.102946] invalid opcode: 0000 [#1] PREEMPT SMP PTI
[11215.102953] CPU: 18 PID: 42528 Comm: umount Tainted: P        W  OE      6.9.10-200.fc40.x86_64 #1
[11215.102959] Hardware name: Dell Inc. Precision Tower 5810/0K240Y, BIOS A34 10/19/2020
[11215.102961] RIP: 0010:generic_shutdown_super.cold+0x1a/0x1c
[11215.102972] Code: c7 c7 e8 c2 b6 ac 48 8b 30 e8 d3 9b fe ff 0f 0b 48 8b 43 28 48 8d b3 c0 03 00 00 48 c7 c7 48 c3 b6 ac 48 8b 10 e8 b7 9b fe ff <0f> 0b 0f b6 d1 be 01 00 00 00 48 c7 c7 a0 da 63 ad 88 4c 24 07 e8
[11215.102977] RSP: 0018:ffffb75f8d7afb30 EFLAGS: 00010246
[11215.102981] RAX: 000000000000002d RBX: ffff94fbaf8f1000 RCX: 0000000000000027
[11215.102985] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff95170f1218c0
[11215.102989] RBP: ffffffffc64dfee0 R08: 0000000000000000 R09: ffff95188ff50811
[11215.102992] R10: ffffffffacb6c373 R11: 0000000000000000 R12: ffff94fcd3dbb59c
[11215.102995] R13: ffffb75f8d7aff58 R14: 0000000000000000 R15: 0000000000000000
[11215.102998] FS:  00007f7b26a48800(0000) GS:ffff95170f100000(0000) knlGS:0000000000000000
[11215.103003] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[11215.103007] CR2: 00007f7b26ce3060 CR3: 00000006e49d8002 CR4: 00000000003706f0
[11215.103010] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[11215.103013] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[11215.103017] Call Trace:
[11215.103020]  <TASK>
[11215.103023]  ? __die_body.cold+0x19/0x27
[11215.103035]  ? die+0x2e/0x50
[11215.103041]  ? do_trap+0xca/0x110
[11215.103051]  ? do_error_trap+0x6a/0x90
[11215.103058]  ? generic_shutdown_super.cold+0x1a/0x1c
[11215.103066]  ? exc_invalid_op+0x50/0x70
[11215.103073]  ? generic_shutdown_super.cold+0x1a/0x1c
[11215.103080]  ? asm_exc_invalid_op+0x1a/0x20
[11215.103089]  ? generic_shutdown_super.cold+0x1a/0x1c
[11215.103096]  kill_anon_super+0x16/0x40
[11215.103105]  cifs_kill_sb+0x46/0x50 [cifs]
[11215.103289]  deactivate_locked_super+0x33/0xb0
[11215.103294]  cleanup_mnt+0xba/0x150
[11215.103301]  task_work_run+0x5c/0x90
[11215.103310]  syscall_exit_to_user_mode+0x21a/0x220
[11215.103318]  do_syscall_64+0x8e/0x160
[11215.103325]  ? avc_has_perm_noaudit+0x6b/0xf0
[11215.103332]  ? selinux_inode_permission+0x131/0x1c0
[11215.103340]  ? mntput_no_expire+0x4a/0x260
[11215.103347]  ? do_faccessat+0x1e4/0x2e0
[11215.103354]  ? syscall_exit_to_user_mode+0x72/0x220
[11215.103360]  ? do_syscall_64+0x8e/0x160
[11215.103366]  ? do_syscall_64+0x8e/0x160
[11215.103371]  ? vfs_fstatat+0x94/0xb0
[11215.103379]  ? __do_sys_newfstatat+0x3c/0x80
[11215.103387]  ? syscall_exit_to_user_mode+0x72/0x220
[11215.103393]  ? do_syscall_64+0x8e/0x160
[11215.103398]  ? syscall_exit_to_user_mode+0x72/0x220
[11215.103405]  ? do_syscall_64+0x8e/0x160
[11215.103410]  ? syscall_exit_to_user_mode+0x72/0x220
[11215.103416]  ? do_syscall_64+0x8e/0x160
[11215.103421]  ? exc_page_fault+0x7e/0x180
[11215.103427]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[11215.103434] RIP: 0033:0x7f7b26c701eb
[11215.103448] Code: c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 31 f6 e9 05 00 00 00 0f 1f 44 00 00 f3 0f 1e fa b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 05 c3 0f 1f 40 00 48 8b 15 f9 ab 0c 00 f7 d8
[11215.103452] RSP: 002b:00007fffee5fa338 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
[11215.103457] RAX: 0000000000000000 RBX: 000055f6903e2550 RCX: 00007f7b26c701eb
[11215.103461] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000055f6903e7ac0
[11215.103464] RBP: 00007fffee5fa410 R08: 000055f6903e1010 R09: 0000000000000007
[11215.103467] R10: 0000000000000000 R11: 0000000000000246 R12: 000055f6903e2658
[11215.103470] R13: 0000000000000000 R14: 000055f6903e7ac0 R15: 000055f6903e7a90
[11215.103476]  </TASK>
[11215.103478] Modules linked in: nls_utf8 cifs cifs_arc4 nls_ucs2_utils cifs_md4 dns_resolver netfs snd_seq_dummy snd_hrtimer vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) rfkill nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nvidia_drm(POE) nft_ct nvidia_modeset(POE) nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nvidia_uvm(POE) ip_set nf_tables qrtr nvidia(POE) tun sunrpc intel_rapl_msr intel_rapl_common binfmt_misc intel_uncore_frequency intel_uncore_frequency_common sb_edac x86_pkg_temp_thermal intel_powerclamp uvcvideo coretemp snd_hda_codec_realtek uvc snd_hda_codec_generic snd_hda_codec_hdmi videobuf2_vmalloc snd_usb_audio videobuf2_memops kvm_intel snd_hda_scodec_component snd_hda_intel videobuf2_v4l2 vfat pktcdvd typec_displayport fat snd_usbmidi_lib snd_intel_dspcfg kvm videobuf2_common snd_intel_sdw_acpi snd_ump videodev snd_hda_codec rapl snd_rawmidi intel_cstate mc joydev snd_hda_core snd_hwdep snd_seq snd_seq_device mei_wdt iTCO_wdt
[11215.103573]  intel_pmc_bxt snd_pcm iTCO_vendor_support dell_smm_hwmon dell_smbios dcdbas mei_me snd_timer intel_uncore e1000e dell_wmi_descriptor wmi_bmof intel_wmi_thunderbolt r8169 snd mei i2c_i801 realtek soundcore i2c_smbus lpc_ich i2c_nvidia_gpu loop nfnetlink zram amdgpu video amdxcp i2c_algo_bit drm_ttm_helper ttm drm_exec gpu_sched drm_suballoc_helper drm_buddy drm_display_helper ucsi_ccg crct10dif_pclmul crc32_pclmul crc32c_intel typec_ucsi polyval_clmulni polyval_generic mxm_wmi ghash_clmulni_intel sha512_ssse3 sha256_ssse3 sha1_ssse3 cec typec ata_generic pata_acpi wmi ip6_tables ip_tables fuse
[11215.103655] ---[ end trace 0000000000000000 ]---
[11215.103659] RIP: 0010:generic_shutdown_super.cold+0x1a/0x1c
[11215.103668] Code: c7 c7 e8 c2 b6 ac 48 8b 30 e8 d3 9b fe ff 0f 0b 48 8b 43 28 48 8d b3 c0 03 00 00 48 c7 c7 48 c3 b6 ac 48 8b 10 e8 b7 9b fe ff <0f> 0b 0f b6 d1 be 01 00 00 00 48 c7 c7 a0 da 63 ad 88 4c 24 07 e8
[11215.103672] RSP: 0018:ffffb75f8d7afb30 EFLAGS: 00010246
[11215.103677] RAX: 000000000000002d RBX: ffff94fbaf8f1000 RCX: 0000000000000027
[11215.103680] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff95170f1218c0
[11215.103683] RBP: ffffffffc64dfee0 R08: 0000000000000000 R09: ffff95188ff50811
[11215.103687] R10: ffffffffacb6c373 R11: 0000000000000000 R12: ffff94fcd3dbb59c
[11215.103690] R13: ffffb75f8d7aff58 R14: 0000000000000000 R15: 0000000000000000
[11215.103693] FS:  00007f7b26a48800(0000) GS:ffff95170f100000(0000) knlGS:0000000000000000
[11215.103697] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[11215.103701] CR2: 00007f7b26ce3060 CR3: 00000006e49d8002 CR4: 00000000003706f0
[11215.103704] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[11215.103707] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Comment 1 Steve French 2024-07-29 04:33:38 UTC
What is the server type? I want to be able to rule out freeing the directory cache on umount. Do you know if it is reproducible on current mainline (6.11-rc1)
Comment 2 Alexander Goomenyuk 2024-07-29 18:45:44 UTC
> What is the server type? I want to be able to rule out freeing the directory
> cache on umount.
If I am not mistaken it must be a DFS cluster.
Comment 3 Alexander Goomenyuk 2024-07-29 18:51:57 UTC
> Do you know if it is reproducible on current mainline (6.11-rc1)

I may try that one 0.rc0.20240720gt3c3ff7be.307.vanilla.fc40 later this week

https://copr.fedorainfracloud.org/coprs/g/kernel-vanilla/mainline/
Comment 4 Alexander Goomenyuk 2024-08-04 14:14:24 UTC
(In reply to Steve French from comment #1)
> What is the server type? I want to be able to rule out freeing the directory
> cache on umount. Do you know if it is reproducible on current mainline
> (6.11-rc1)

Tried two kernels
Here are the steps performed:
- Established the VPN connection
- Mounted the DFS share
- Listing of the directories under the share works fine.
- Disconnected from VPN: shutdown the VPN client
- Connected the VPN once again.
- Listing of the directories under the share does not works any more.

The CIFS kernel layer tries to restore the connection in vain continuously.

1) 6.11.0-0.rc1.20240731gte4fc196f.317.vanilla.fc40.x86_64
2) 6.11.0-0.rc1.20240802gtc0ecd638.319.vanilla.fc40.x86_64;

The kernels behaves in the same way. No kernel crashes observed, but the whole network stack is broken. I am not able to restart any systemd service. Even reboot ends up with a timeout.

[  530.362847] CIFS: fs/smb/client/connect.c: __reconnect_target_unlocked: reconn_set_ipaddr_from_hostname: rc=-4
[  530.362851] CIFS: fs/smb/client/connect.c: generic_ip_connect: connecting to <server D IP0>:445
[  530.362867] CIFS: fs/smb/client/connect.c: Socket created
[  530.362870] CIFS: fs/smb/client/connect.c: sndbuf 16384 rcvbuf 131072 rcvtimeo 0x1b58
[  532.918825] CIFS: fs/smb/client/connect.c: Error -115 connecting to server
[  532.918858] CIFS: fs/smb/client/connect.c: __cifs_reconnect: reconnect error -115
[  534.454864] CIFS: fs/smb/client/connect.c: Error -115 connecting to server
[  534.454897] CIFS: fs/smb/client/connect.c: reconnect_dfs_server: reconnect error -115
[  535.478763] CIFS: fs/smb/client/connect.c: Error -115 connecting to server
[  535.478798] CIFS: fs/smb/client/connect.c: reconnect_dfs_server: reconnect error -115
[  535.478810] CIFS: fs/smb/client/connect.c: Error -115 connecting to server
[  535.478840] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: probably server name is whole unc: \\<server name A>
[  535.482909] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: unable to resolve: <server name A>
[  535.482920] CIFS: fs/smb/client/connect.c: reconn_set_ipaddr_from_hostname: failed to resolve server part of <server name A> to IP: -4
[  535.482926] CIFS: fs/smb/client/connect.c: __reconnect_target_unlocked: reconn_set_ipaddr_from_hostname: rc=-4
[  535.482930] CIFS: fs/smb/client/connect.c: generic_ip_connect: connecting to <server D IP0>:445
[  535.482949] CIFS: fs/smb/client/connect.c: Socket created
[  535.482952] CIFS: fs/smb/client/connect.c: sndbuf 16384 rcvbuf 131072 rcvtimeo 0x1b58
[  535.926757] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: probably server name is whole unc: \\<server C IP0>
[  535.926769] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: unc is IP, skipping dns upcall: <server C IP0>
[  535.926774] CIFS: fs/smb/client/connect.c: __cifs_reconnect: reconn_set_ipaddr_from_hostname: rc=0
[  535.926779] CIFS: fs/smb/client/connect.c: generic_ip_connect: connecting to <server C IP0>:445
[  535.926801] CIFS: fs/smb/client/connect.c: Socket created
[  535.926804] CIFS: fs/smb/client/connect.c: sndbuf 16384 rcvbuf 131072 rcvtimeo 0x1b58
[  537.462810] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: probably server name is whole unc: \\<server name B>
[  537.467367] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: unable to resolve: <server name B>
[  537.467378] CIFS: fs/smb/client/connect.c: reconn_set_ipaddr_from_hostname: failed to resolve server part of <server name B> to IP: -4
[  537.467384] CIFS: fs/smb/client/connect.c: __reconnect_target_unlocked: reconn_set_ipaddr_from_hostname: rc=-4
[  537.467388] CIFS: fs/smb/client/connect.c: generic_ip_connect: connecting to <server B IP0>:445
[  537.467406] CIFS: fs/smb/client/connect.c: Socket created
[  537.467409] CIFS: fs/smb/client/connect.c: sndbuf 16384 rcvbuf 131072 rcvtimeo 0x1b58
[  538.486785] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: probably server name is whole unc: \\<server name B>
[  538.491197] CIFS: fs/smb/client/dns_resolve.c: dns_resolve_server_name_to_ip: unable to resolve: <server name B>
[  538.491207] CIFS: fs/smb/client/connect.c: reconn_set_ipaddr_from_hostname: failed to resolve server part of <server name B> to IP: -4
[  538.491213] CIFS: fs/smb/client/connect.c: __reconnect_target_unlocked: reconn_set_ipaddr_from_hostname: rc=-4
[  538.491217] CIFS: fs/smb/client/connect.c: generic_ip_connect: connecting to <server B IP1>:445
Comment 5 Alexander Goomenyuk 2024-09-02 07:39:09 UTC
Closing the bug report since I am not able to reproduce it reliably any more.

Note You need to log in before you can comment on or make changes to this bug.