Hi,

I'm lately having critical errors at least writing to cifs share provided truenas, some small files might get writed to share but if I try to move/copy something larger than eg. 100MB it crawls to a halt eg. nothing is moving and cp/mv command gets stuck and/or same with budgie gui file manager.

Shares are mounted via fstab automatically and there is no issue regarding mounting them/umounting them. Problem persist at least with 6.9.8-294 & 6.9.10-295 kernels.

Fstab entries are like this:
#Samba Shares
//truenas.server/share /mnt/share cifs credentials=/home/user/.config/.smbcredentials,uid=1000,gid=1000,iocharset=utf8,sec=ntlmssp,vers=3.0 0 0

Here is the error in journaltctl:

Jul 28 15:13:01 desktop org.buddiesofbudgie.BudgieWm.desktop[2403]: Window manager warning: Ping serial 929392 was reused for window 0x4000021, previous use was for window 0x4000004.
Jul 28 15:13:01 desktop org.buddiesofbudgie.BudgieWm.desktop[2403]: Window manager warning: Ping serial 929392 was reused for window 0x4000021, previous use was for window 0x4000004.
Jul 28 15:13:03 desktop org.buddiesofbudgie.BudgieWm.desktop[2403]: Window manager warning: Attempt to perform window operation 1 on window 0x4000021 when operation 1 on 0x4000021 already in effect
Jul 28 15:13:07 desktop systemd[1]: dbus-:1.3-tr.org.pardus.comar@2.service: Deactivated successfully.
Jul 28 15:13:07 desktop kernel: audit: type=1131 audit(1722168787.251:349): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=dbus-:1.3-tr.org.pardus.comar@2 comm="systemd" exe="/usr/lib64/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 28 15:13:07 desktop snapd[2654]: storehelpers.go:923: cannot refresh snap "core": snap has no updates available
Jul 28 15:13:10 desktop systemd[1]: systemd-hostnamed.service: Deactivated successfully.
Jul 28 15:13:10 desktop kernel: audit: type=1131 audit(1722168790.192:350): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=unconfined msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib64/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jul 28 15:13:10 desktop kernel: audit: type=1334 audit(1722168790.214:351): prog-id=71 op=UNLOAD
Jul 28 15:13:10 desktop kernel: audit: type=1334 audit(1722168790.214:352): prog-id=70 op=UNLOAD
Jul 28 15:13:10 desktop kernel: audit: type=1334 audit(1722168790.214:353): prog-id=69 op=UNLOAD
Jul 28 15:13:12 desktop org.buddiesofbudgie.BudgieWm.desktop[2403]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x4000225
Jul 28 15:13:16 desktop kernel: general protection fault, probably for non-canonical address 0x1a82a98f4bdbc68b: 0000 [#1] PREEMPT SMP PTI
Jul 28 15:13:16 desktop kernel: CPU: 1 PID: 11279 Comm: pool-org.gnome. Tainted: G O 6.9.10-295.current #1
Jul 28 15:13:16 desktop kernel: Hardware name: ASUS motherboard spec doesn't matter
Jul 28 15:13:16 desktop kernel: RIP: 0010:__fscache_use_cookie+0x23/0x370 [netfs]
Jul 28 15:13:16 desktop kernel: Code: 90 90 90 90 90 90 90 0f 1f 44 00 00 41 57 41 56 41 55 41 54 55 53 48 83 ec 48 65 48 8b 04 25 28 00 00 00 48 89 44 24 40 31 c0 <48> 8b af 88 00 00 00 83 e5 01 0f 85 2d 02 00 00 4c 8d 67 14 48 89
Jul 28 15:13:16 desktop kernel: RSP: 0018:ffffc90009fe3b38 EFLAGS: 00010246
Jul 28 15:13:16 desktop kernel: RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
Jul 28 15:13:16 desktop kernel: RDX: 0000000080000001 RSI: 0000000000000001 RDI: 1a82a98f4bdbc603
Jul 28 15:13:16 desktop kernel: RBP: ffff8882242e9ea8 R08: 0000000000000001 R09: ffffea0007bd6480
Jul 28 15:13:16 desktop kernel: R10: ffff8881dd5af010 R11: 0000000000000000 R12: 1a82a98f4bdbc603
Jul 28 15:13:16 desktop kernel: R13: ffff8882242e9f30 R14: ffff88819218ca00 R15: 0000000000001000
Jul 28 15:13:16 desktop kernel: FS: 00007f736f4006c0(0000) GS:ffff88840ec40000(0000) knlGS:0000000000000000
Jul 28 15:13:16 desktop kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 28 15:13:16 desktop kernel: CR2: 00007f25379fa000 CR3: 0000000255284006 CR4: 00000000001706f0
Jul 28 15:13:16 desktop kernel: Call Trace:
Jul 28 15:13:16 desktop kernel: <TASK>
Jul 28 15:13:16 desktop kernel: ? die_addr+0x32/0x80
Jul 28 15:13:16 desktop kernel: ? exc_general_protection+0x24a/0x450
Jul 28 15:13:16 desktop kernel: ? asm_exc_general_protection+0x22/0x30
Jul 28 15:13:16 desktop kernel: ? __fscache_use_cookie+0x23/0x370 [netfs]
Jul 28 15:13:16 desktop kernel: netfs_dirty_folio+0x84/0x90 [netfs]
Jul 28 15:13:16 desktop kernel: cifs_write_end+0x224/0x4a0 [cifs]
Jul 28 15:13:16 desktop kernel: generic_perform_write+0x112/0x230
Jul 28 15:13:16 desktop kernel: cifs_strict_writev+0x25a/0x310 [cifs]
Jul 28 15:13:16 desktop kernel: iter_file_splice_write+0x32f/0x570
Jul 28 15:13:16 desktop kernel: do_splice+0x19e/0x500
Jul 28 15:13:16 desktop kernel: __do_splice+0x15e/0x220
Jul 28 15:13:16 desktop kernel: x64_sys_splice+0xae/0x120
Jul 28 15:13:16 desktop kernel: do_syscall_64+0x5e/0x1b0
Jul 28 15:13:16 desktop kernel: entry_SYSCALL_64_after_hwframe+0x76/0x7e
Jul 28 15:13:16 desktop kernel: RIP: 0033:0x7f737d89e8cb
Jul 28 15:13:16 desktop kernel: Code: e8 5a 38 f8 ff 44 8b 4c 24 2c 4c 8b 44 24 20 89 c5 4c 8b 54 24 18 8b 54 24 28 b8 13 01 00 00 48 8b 74 24 10 8b 7c 24 08 0f 05 <48> 3d 00 f0 ff ff 77 35 89 ef 48 89 44 24 08 e8 a1 38 f8 ff 48 8b
Jul 28 15:13:16 desktop kernel: RSP: 002b:00007f736f3ff5d0 EFLAGS: 00000293 ORIG_RAX: 0000000000000113
Jul 28 15:13:16 desktop kernel: RAX: ffffffffffffffda RBX: 0000000000100000 RCX: 00007f737d89e8cb
Jul 28 15:13:16 desktop kernel: RDX: 0000000000000025 RSI: 0000000000000000 RDI: 0000000000000026
Jul 28 15:13:16 desktop kernel: RBP: 0000000000000000 R08: 0000000000100000 R09: 0000000000000004
Jul 28 15:13:16 desktop kernel: R10: 00007f736f3ff718 R11: 0000000000000293 R12: 00007f736f3ff718
Jul 28 15:13:16 desktop kernel: R13: 0000000000000025 R14: 0000000000000000 R15: 0000000000000026
Jul 28 15:13:16 desktop kernel: </TASK>
Jul 28 15:13:16 desktop kernel: Modules linked in: vboxnetadp(O) vboxnetflt(O) vboxdrv(O) tun snd_seq_dummy snd_hrtimer rfcomm snd_seq xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat x_tables nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink bridge stp llc nls_utf8 cifs cifs_arc4 nls_ucs2_utils cifs_md4 netfs qrtr cmac algif_hash algif_skcipher af_alg bnep binfmt_misc squashfs snd_usb_audio snd_usbmidi_lib snd_ump snd_rawmidi snd_seq_device mc ledtrig_audio intel_rapl_msr mei_hdcp mei_pxp at24 iTCO_wdt intel_pmc_bxt iTCO_vendor_support intel_rapl_common btusb btrtl x86_pkg_temp_thermal iwlmvm intel_powerclamp btintel btbcm pl2303 btmtk usbserial coretemp bluetooth kvm_intel mac80211 snd_hda_codec_realtek snd_hda_codec_generic ecdh_generic ecc razermouse(O) joydev razerkraken(O) libarc4 snd_hda_scodec_component snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi kvm iwlwifi snd_hda_codec rapl eeepc_wmi snd_hda_core intel_cstate asus_wmi snd_hwdep
Jul 28 15:13:16 desktop kernel: platform_profile intel_uncore wmi_bmof sparse_keymap snd_pcm cfg80211 e1000e snd_timer mxm_wmi rfkill snd i2c_i801 lpc_ich mei_me soundcore i2c_smbus mei ptp pps_core acpi_pad evdev sch_fq_codel vboxvideo drm_vram_helper vboxsf vboxguest fuse configfs dm_crypt trusted asn1_encoder tee usbhid sd_mod uas usb_storage amdgpu amdxcp drm_exec gpu_sched drm_buddy drm_ttm_helper ttm agpgart i2c_algo_bit drm_suballoc_helper drm_display_helper cec crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic xhci_pci drm_kms_helper ehci_pci ghash_clmulni_intel xhci_pci_renesas ehci_hcd xhci_hcd sha512_ssse3 nvme sha256_ssse3 sha1_ssse3 drm nvme_core usbcore t10_pi video usb_common wmi aesni_intel crypto_simd
Jul 28 15:13:16 desktop kernel: Unloaded tainted modules: vboxdrv(O):1 vboxnetflt(O):1 vboxnetadp(O):1 [last unloaded: vboxdrv(O)]
Jul 28 15:13:16 desktop kernel: ---[ end trace 0000000000000000 ]---
Jul 28 15:13:16 desktop kernel: pstore: backend (efi_pstore) writing error (-5)
Jul 28 15:13:16 desktop kernel: RIP: 0010:
fscache_use_cookie+0x23/0x370 [netfs]
Jul 28 15:13:16 desktop kernel: Code: 90 90 90 90 90 90 90 0f 1f 44 00 00 41 57 41 56 41 55 41 54 55 53 48 83 ec 48 65 48 8b 04 25 28 00 00 00 48 89 44 24 40 31 c0 <48> 8b af 88 00 00 00 83 e5 01 0f 85 2d 02 00 00 4c 8d 67 14 48 89
Jul 28 15:13:16 desktop kernel: RSP: 0018:ffffc90009fe3b38 EFLAGS: 00010246
Jul 28 15:13:16 desktop kernel: RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
Jul 28 15:13:16 desktop kernel: RDX: 0000000080000001 RSI: 0000000000000001 RDI: 1a82a98f4bdbc603
Jul 28 15:13:16 desktop kernel: RBP: ffff8882242e9ea8 R08: 0000000000000001 R09: ffffea0007bd6480
Jul 28 15:13:16 desktop kernel: R10: ffff8881dd5af010 R11: 0000000000000000 R12: 1a82a98f4bdbc603
Jul 28 15:13:16 desktop kernel: R13: ffff8882242e9f30 R14: ffff88819218ca00 R15: 0000000000001000
Jul 28 15:13:16 desktop kernel: FS: 00007f736f4006c0(0000) GS:ffff88840ec40000(0000) knlGS:0000000000000000
Jul 28 15:13:16 desktop kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 28 15:13:16 desktop kernel: CR2: 00007f25379fa000 CR3: 0000000255284006 CR4: 00000000001706f0
!<

Any idea if this is known issue or if there is a fix? Googling gives me a lot of different kernel bugs regarding cifs.. Some issues where because of using server fqdn in share but my issue persists even if I try to use IP mapping.

did u add workgroup/samba into your credentials file?

credentials

username=tolga
domain=workgroup
password=xxxxxx

i also add 777 into my mount options, i dont care, im the only one using it:

fstab

# -------------------------------------------------- #
# Server mount points
# -------------------------------------------------- #
//192.168.0.14/documents/TEST /mnt/Mint21-Doc cifs credentials=/etc/samba/credentials,file_mode=0777,dir_mode=0777 0 0
sudo eopkg it cifs-utils
sudo chmod 600 /etc/samba/credentials
sudo chown root:root /etc/samba/credentials
 sudo systemctl daemon-reload
 sudo mount -a

if your using the gnome version u may have to manually add the mount point manually, gnome is poor in this compared to kde: obviously change to suit
echo "file:///mnt/MINT Documents" >> ~/.config/gtk-3.0/bookmarks

nautilus -q

personal alias:
alias tolga-samba='echo "Restarting Samba" -- sleep 2 && sudo systemctl enable smb.service nmb.service && sudo systemctl restart smb.service nmb.service'
alias tolga-solus='sudo mount -a && sudo systemctl daemon-reload && sudo udevadm control --reload-rules && sudo udevadm trigger && sudo sysctl --system'

Thanks for suggestions, I'll check these out. No don't have workgroup added, never had and it hasn't been issue before... Even though your suggestions seem to me that they would be more beneficial when you have mount or write permission issue eg. Cannot write anything (i can touch & vi edit small files no problem).

What i've seen with this:
general protection fault, probably for non-canonical address has been either some kernel bug or memory issues or similar.

I need to do some test, I have another Solus systems, need to try if they also have the issue, test RAM/disk (i'm able to copy same files to different media than NAS so this is not my first assumption to be hw fault).. Need to test live media/different distro with same hw etc to pinpoint the issue.

I'll update when I've had time to test.

14 days later

Problem has gone away and currently running 6.9.12-297.current kernel.