Re: kernel-5.18.8 breaks cifs mounts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am 30.06.22 um 19:55 schrieb Paulo Alcantara:
Julian Sikorski <belegdol@xxxxxxxxx> writes:

Not much is there:

Jun 30 18:19:34 snowball3 kernel: CIFS: Attempting to mount
\\odroidxu4.local\julian

Jun 30 18:19:34 snowball3 kernel: CIFS: VFS: cifs_mount failed w/return
code = -22


I tried reverting 16d5d91 as it was the only commit referencing smb, but
it did not help unfortunately.

Could you please run

	echo 'module cifs +p' > /sys/kernel/debug/dynamic_debug/control
	echo 'file fs/cifs/* +p' > /sys/kernel/debug/dynamic_debug/control
	echo 1 > /proc/fs/cifs/cifsFYI
	echo 1 > /sys/module/dns_resolver/parameters/debug
	dmesg --clear
	tcpdump -s 0 -w trace.pcap port 445 & pid=$!
	mount ...
	kill $pid
	dmesg > trace.log

and then send trace.log and trace.pcap.

Attached.


What SMB server and version?

Openmediavault 6.0.30 running on top of armbian bullseye. The samba package version is 4.13.13+dfsg-1~deb11u3.

Best regards,
Julian
[  862.910364] CIFS: fs/cifs/fs_context.c: CIFS: parsing cifs mount option 'source'
[  862.910381] CIFS: fs/cifs/fs_context.c: CIFS: parsing cifs mount option 'ip'
[  862.910387] CIFS: fs/cifs/fs_context.c: CIFS: parsing cifs mount option 'unc'
[  862.910391] CIFS: fs/cifs/fs_context.c: CIFS: parsing cifs mount option 'vers'
[  862.910395] CIFS: fs/cifs/fs_context.c: CIFS: parsing cifs mount option 'nostrictsync'
[  862.910400] CIFS: fs/cifs/fs_context.c: CIFS: parsing cifs mount option 'uid'
[  862.910405] CIFS: fs/cifs/fs_context.c: CIFS: parsing cifs mount option 'gid'
[  862.910408] CIFS: fs/cifs/fs_context.c: CIFS: parsing cifs mount option 'user'
[  862.910411] CIFS: fs/cifs/fs_context.c: CIFS: parsing cifs mount option 'pass'
[  862.910416] CIFS: fs/cifs/cifsfs.c: Devname: \\odroidxu4.local\julian flags: 0
[  862.910422] CIFS: fs/cifs/connect.c: Username: julas
[  862.910425] CIFS: fs/cifs/connect.c: file mode: 0755  dir mode: 0755
[  862.910431] CIFS: fs/cifs/connect.c: VFS: in mount_get_conns as Xid: 4 with uid: 0
[  862.910435] CIFS: fs/cifs/connect.c: UNC: \\odroidxu4.local\julian
[  862.910441] CIFS: fs/cifs/connect.c: generic_ip_connect: connecting to 192.168.0.220:445
[  862.910462] CIFS: fs/cifs/connect.c: Socket created
[  862.910464] CIFS: fs/cifs/connect.c: sndbuf 16384 rcvbuf 131072 rcvtimeo 0x1b58
[  862.916973] CIFS: fs/cifs/connect.c: cifs_get_tcp_session: next dns resolution scheduled for 600 seconds in the future
[  862.916977] CIFS: fs/cifs/connect.c: Demultiplex PID: 4568
[  862.916982] CIFS: fs/cifs/connect.c: VFS: in cifs_get_smb_ses as Xid: 5 with uid: 0
[  862.916986] CIFS: fs/cifs/connect.c: Existing smb sess not found
[  862.916994] CIFS: fs/cifs/smb2pdu.c: Negotiate protocol
[  862.917003] CIFS: fs/cifs/transport.c: wait_for_free_credits: remove 1 credits total=0
[  862.917023] CIFS: fs/cifs/transport.c: Sending smb: smb_len=236
[  862.964239] CIFS: fs/cifs/connect.c: RFC1002 header 0x49
[  862.964269] CIFS: fs/cifs/smb2misc.c: SMB2 data length 0 offset 0
[  862.964273] CIFS: fs/cifs/smb2misc.c: SMB2 len 73
[  862.964279] CIFS: fs/cifs/smb2ops.c: smb2_add_credits: added 1 credits total=1
[  862.964379] CIFS: fs/cifs/transport.c: cifs_sync_mid_result: cmd=0 mid=0 state=4
[  862.964401] CIFS: fs/cifs/smb2maperror.c: Mapping SMB2 status code 0xc000000d to POSIX err -22
[  862.964416] CIFS: fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release
[  862.964431] CIFS: fs/cifs/connect.c: VFS: leaving cifs_get_smb_ses (xid = 5) rc = -22
[  862.964442] CIFS: fs/cifs/dfs_cache.c: cache_refresh_path: search path: \odroidxu4.local\julian
[  862.964451] CIFS: fs/cifs/dfs_cache.c: get_dfs_referral: get an DFS referral for \odroidxu4.local\julian
[  862.964478] CIFS: fs/cifs/connect.c: VFS: leaving mount_put_conns (xid = 4) rc = 0
[  862.964482] CIFS: VFS: cifs_mount failed w/return code = -22

Attachment: trace.pcap
Description: application/vnd.tcpdump.pcap


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux