[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
** No longer affects: linux-raspi (Ubuntu) ** No longer affects: linux-hwe-6.5 (Ubuntu) ** No longer affects: linux-azure (Ubuntu) ** Also affects: linux (Ubuntu Mantic) Importance: Undecided Status: New ** Changed in: linux (Ubuntu) Assignee: Jose Ogando Justo (joseogando) => (unassigned) ** Changed in: linux (Ubuntu) Status: Confirmed => Invalid ** Changed in: linux (Ubuntu Mantic) Status: New => In Progress ** Changed in: linux (Ubuntu Mantic) Importance: Undecided => High ** Changed in: linux (Ubuntu Mantic) Assignee: (unassigned) => Matthew Ruffell (mruffell) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
I can produce the error with two fresh installed VMs. Server - Debian 12 installed from debian-12.5.0-amd64-netinst.iso with current updates - kernel "Linux cifstest-server 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux" - cifs share as in #14 Client - Ubuntu 23.10 installed from ubuntu-23.10.1-desktop-amd64.iso with current updates - kernel "Linux cifs-client 6.5.0-28-generic #29-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 28 23:46:48 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux" - cifs mount as in #14 - cd ~/share; touch abc; cp abc xyz -> "Killed" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
@mruffell I've noticed that the users who have tested your kernel got something in common: the remote system mounted as cifs isn't in an Ubuntu server and it's kernel seems to be older than Ubuntu's client one... Maybe it's something that can help you to reproduce the problem yourself. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
Many thanks for the successful investigation! Running the ppa test kernel I can't reproduce the problem anymore. :-) I use two cifs servers running Debian 11, with a couple of shares. With both standard kernels (6.5.0-27, 6.5.0-28) copying inside a share fails immediately on any server. My fstab mounts look like this: //server/store /mnt/store cifs credentials=/home/xxx/.smbpass,uid=1000,gid=1000,_netdev 0 0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
In my reproduction environment i am testing against synology smb server too. now when i boot the test kernel: $ uname -rv 6.5.0-27-generic #28~22.04.1+TEST2060919v20240419b1-Ubuntu SMP PREEMPT_DYNAMIC Fr sudo mount -t cifs -o username=jan,uid=1001,gid=1001 //192.168.8.3/home testhome/ nautilus testhome everything works in nautilus and with cp :-) Thank you very much Matthew Ruffell (mruffell) When i run current kernel only nautilus File-Manager copy funktion is affected here ! I mean i can use cp in terminal without getting a stracktrace in kernel linux-image-6.5.0-28-generic when i do this: $ uname -rv 6.5.0-28-generic #29~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Apr 4 14:39:20 UTC 2 $ sudo mount -t cifs -o username=ubuntu,$(id -u),gid=$(id -g) //192.168.8.3/home testhome/ nautilus testhome copy any file in testhome to testhome i get attached stacktrace ** Attachment added: "6.5.0-28-generic_stacktrace" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+attachment/5768110/+files/stacktrace.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
** Attachment added: "dmesg from the test" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+attachment/5768024/+files/dmesg_6.5.0-27-generic_%2328+TEST2060919v20240419b1.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
Tested: # uname -rv 6.5.0-27-generic #28+TEST2060919v20240419b1-Ubuntu SMP PREEMPT_DYNAMIC Fri Apr 19 # lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 23.10 Release:23.10 Codename: mantic # cd /mnt/fpgnas/tmp /mnt/fpgnas/tmp# touch sample1.txt /mnt/fpgnas/tmp# cp sample1.txt sample2.txt Success! I've tested some other cases as well and CIFS works as expected for all of them. So I think you have find the culprit. Thank you very much. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
>As promised, I uploaded test kernels to the below ppa: > >https://launchpad.net/~mruffell/+archive/ubuntu/lp2060919-test OK. I'll test once it's built ends. Thank you! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
> I think this patch is probably not needed in 6.5, and causes the issue. How > about I build > you a test kernel with "cifs: fix flushing folio regression for 6.1 backport" > reverted, > and then we see if it fixes things? Yep, fantastic. I can reproduce this problem anytime so I can test it. > If you can help me make a reproducer, that would be great. I can test myself then. Here is some info from a faulty system. Hope it helps: * fstab mount: //192.168.1.10/FPGNAS /mnt/FPGNAS_CIFS cifs _netdev,x-systemd.requires=network-online.target,async,nosuid,nodev,noexec,iocharset=utf8,file_mode=0640,dir_mode=0750,uid=1026,gid=100,credentials=/etc/.cifspwd,rw 0 0 * mount info: //192.168.1.10/FPGNAS on /mnt/FPGNAS_CIFS type cifs (rw,nosuid,nodev,noexec,relatime,vers=3.1.1,cache=strict,username=fprietog,uid=1026,noforceuid,gid=100,noforcegid,addr=192.168.1.10,file_mode=0640,dir_mode=0750,iocharset=utf8,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=1,_netdev,x-systemd.requires=network-online.target) * cp from a file to a file both in same share: # cd /mnt/FPGNAS_CIFS/tmp /mnt/FPGNAS_CIFS/tmp# touch sample1.txt /mnt/FPGNAS_CIFS/tmp# cp sample1.txt sample2.txt Terminado (killed) After that error the CIFS mount become unusable as any operation just hangs. * The remote cifs server is a Synology DS213j NAS. Samba version is: # smbd -V Version 4.15.9 Synology Build 42934, Jul 5 2023 16:52:06 Please, let me know if I can give you any other info that helps to solve the problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
Hi everyone, As promised, I uploaded test kernels to the below ppa: https://launchpad.net/~mruffell/+archive/ubuntu/lp2060919-test They are based on 6.5.0-27-generic to keep it simple. It just has "cifs: fix flushing folio regression for 6.1 backport". Thats it. Pretty small patch: commit 9dc02a5b7540d18a69bcbaf8f4fa428e32075b4b (HEAD -> lp2060919-test) Author: Matthew Ruffell Date: Fri Apr 19 17:25:48 2024 +1200 Revert "cifs: fix flushing folio regression for 6.1 backport" This reverts commit 21bb2ba4f1ac1e3a57594be62dd74e7b1401b2b1. diff --git a/fs/smb/client/cifsfs.c b/fs/smb/client/cifsfs.c index 55a6d0296ec8..82313b253463 100644 --- a/fs/smb/client/cifsfs.c +++ b/fs/smb/client/cifsfs.c @@ -1245,7 +1245,7 @@ static int cifs_flush_folio(struct inode *inode, loff_t pos, loff_t *_fstart, lo int rc = 0; folio = filemap_get_folio(inode->i_mapping, index); - if (!folio) + if (IS_ERR(folio)) return 0; size = folio_size(folio); They are going to take about three hours to build, so check back later on. It's close to my EOD, and I can't watch these builds complete. Please note this package is NOT SUPPORTED by Canonical, and is for TESTING PURPOSES ONLY. ONLY Install in a dedicated test environment. Instructions to Install (On a jammy or mantic system): 1) sudo add-apt-repository ppa:mruffell/lp2060919-test 2) sudo apt update 3) sudo apt install linux-image-unsigned-6.5.0-27-generic linux-modules-6.5.0-27-generic linux-modules-extra-6.5.0-27-generic linux-headers-6.5.0-27-generic 4) sudo reboot 5) uname -rv 6.5.0-27.28+TEST2060919v20240419b1 or 6.5.0-27.28~22.04.1+TEST2060919v20240419b1 Make sure the +TEST2060919v20240419b1 is present. Can you let me know if it solves the problem? Additionally, if you could help me create a reproducer that would help immensely. Remember, they still need to build, check the ppa link to make sure it built successfully and is published before installing. About 3 hours from now. Thanks, Matthew -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
Hello, I can't actually reproduce the issue, I seem to be missing something. Server -- $ sudo apt update $ sudo apt upgrade $ sudo apt install samba $ sudo vim /etc/samba/smb.conf server min protocol = NT1 [sambashare] comment = Samba on Ubuntu path = /home/ubuntu/sambashare read only = no browsable = yes $ mkdir ~/sambashare $ sudo smbpasswd -a ubuntu Client -- $ sudo apt update $ sudo apt install cifs-utils $ mkdir ~/share $ sudo mount -t cifs -o username=ubuntu //192.168.122.185/sambashare ~/share Password for ubuntu@//192.168.122.185/sambashare: $ mount -l ... //192.168.122.185/sambashare on /home/ubuntu/share type cifs (rw,relatime,vers=3.1.1,cache=strict,username=ubuntu,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.122.185,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=1) $ ls hallo.txt hello.txt sample.txt sample2.txt $ sudo cp hello.txt hello.txt.1 $ ll total 2097176 drwxr-xr-x 2 root root0 Apr 19 04:46 ./ drwxr-x--- 5 ubuntu ubuntu 4096 Apr 19 03:57 ../ -rwxr-xr-x 1 root root 1960 Apr 19 03:55 hallo.txt* -rwxr-xr-x 1 root root 1960 Apr 19 04:04 hello.txt* -rwxr-xr-x 1 root root 1960 Apr 19 04:46 hello.txt.1* -rwxr-xr-x 1 root root 1073741824 Apr 19 04:01 sample.txt* -rwxr-xr-x 1 root root 1073741824 Apr 19 04:04 sample2.txt* No oops in dmesg. I'm not sure what I'm doing wrong. Maybe you can help. Anyway, I had a look at the stack trace, and it seems to be related to the regression reported here: https://lore.kernel.org/linux- mm/a76b370f93cb928c049b94e1fde0d2da506dfcb2.ca...@amazon.com/T/ But I think its slightly different in the Ubuntu 6.5 kernel. The thread mentions that: commit 7b2404a886f8b91250c31855d287e632123e1746 Author: David Howells Date: Fri Dec 1 00:22:00 2023 + Subject: cifs: Fix flushing, invalidation and file size with copy_file_range() Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7b2404a886f8b91250c31855d287e632123e1746 introduced the issue to Debian's 6.1 kernel. This got backported to Ubuntu in: commit 3adbe2ccd8b9b8fde93e03958d6176945794d288 Author: David Howells Date: Fri Dec 1 00:22:00 2023 + Subject: cifs: Fix flushing, invalidation and file size with copy_file_range() $ git describe --contains 3adbe2ccd8b9b8fde93e03958d6176945794d288 Ubuntu-6.5.0-20.20~107 Which we have been using for some time now. Reading the regression mailing list thread, they mention that things work differently in 6.1: > Yeah. __filemap_get_folio() works differently in v6.1.y. There it returns a > folio or NULL. In 6.7 it returns a folio or a negative error code. The error > check in cifs_flush_folio() needs to change to something like: > > folio = filemap_get_folio(inode->i_mapping, index); > if (!folio) > return -ENOMEM; > > David okay... so 6.1 is different from 6.5. Since we were okay with the patch, we probably didn't need to add anything further. But they fixed 6.1 with: commit 21bb2ba4f1ac1e3a57594be62dd74e7b1401b2b1 Author: Steve French Date: Fri Jan 12 23:08:51 2024 -0600 Subject: cifs: fix flushing folio regression for 6.1 backport Link: https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/mantic/commit/?id=21bb2ba4f1ac1e3a57594be62dd74e7b1401b2b1 Now, Ubuntu kernels in between upstream stable releases get patches from current upstream stable and long term upstream stable trees. We got both 6.1.x and 6.7.x patches recently... so we pulled in this fix, and it landed in: $ git describe --contains 21bb2ba4f1ac1e3a57594be62dd74e7b1401b2b1 Ubuntu-6.5.0-27.28~162 Wow, what a coincidence. I think this patch is probably not needed in 6.5, and causes the issue. How about I build you a test kernel with "cifs: fix flushing folio regression for 6.1 backport" reverted, and then we see if it fixes things? If it does, I will send a revert to the kernel team. If it doesn't then I will have another look. I'll write back once a test kernel is ready. I'll build you both Jammy HWE and Mantic kernels. If you can help me make a reproducer, that would be great. I can test myself then. Thanks, Matthew ** Tags added: seg -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
Today's released kernels: - 6.5.0-28-generic (amd64) - 6.5.0-1015-raspi (arm64) Still have this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
** Also affects: linux-azure (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
Same problem on Debian 12 with kernel 6.1.0-17-amd64 (OK with kernel 6.1.0-16-amd64). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
I can mount cifs shares with kernel 6.5.0-27, but when copying files from the share to the same share the process is killed everytime. Same effect using bash "cp" or KDE kio copy via Krusader. Running with kernel 6.5.0-26 anything works perfect. Syslog says: 2024-04-14T16:06:01.997083+02:00 monster kernel: [ 42.667380] BUG: unable to handle page fault for address: fffe 2024-04-14T16:06:01.997099+02:00 monster kernel: [ 42.667391] #PF: supervisor read access in kernel mode 2024-04-14T16:06:01.997100+02:00 monster kernel: [ 42.667393] #PF: error_code(0x) - not-present page 2024-04-14T16:06:01.997101+02:00 monster kernel: [ 42.667396] PGD 1afa3f067 P4D 1afa3f067 PUD 1afa41067 PMD 0 2024-04-14T16:06:01.997101+02:00 monster kernel: [ 42.667411] Oops: [#1] PREEMPT SMP PTI 2024-04-14T16:06:01.997102+02:00 monster kernel: [ 42.667414] CPU: 0 PID: 4326 Comm: cp Tainted: P O 6.5.0-27-generic #28-Ubuntu 2024-04-14T16:06:01.997104+02:00 monster kernel: [ 42.667418] Hardware name: System manufacturer System Product Name/P8B75-V, BIOS 1608 03/18/2014 2024-04-14T16:06:01.997104+02:00 monster kernel: [ 42.667420] RIP: 0010:cifs_flush_folio+0x41/0xf0 [cifs] 2024-04-14T16:06:01.997105+02:00 monster kernel: [ 42.667495] Code: 49 89 cd 31 c9 41 54 49 89 f4 48 c1 ee 0c 53 48 83 ec 08 48 8b 7f 30 44 89 45 d4 e8 79 b3 13 ed 48 89 c3 31 c0 48 85 db 74 77 <48> 8b 13 b8 00 10 00 00 f7 c2 00 00 01 00 74 10 0f b6 4b 51 48 d3 2024-04-14T16:06:01.997107+02:00 monster kernel: [ 42.667498] RSP: 0018:9f2c835bbcb0 EFLAGS: 00010282 2024-04-14T16:06:01.997107+02:00 monster kernel: [ 42.667501] RAX: RBX: fffe RCX: 2024-04-14T16:06:01.997108+02:00 monster kernel: [ 42.667503] RDX: RSI: RDI: 2024-04-14T16:06:01.997109+02:00 monster kernel: [ 42.667505] RBP: 9f2c835bbce0 R08: 0001 R09: 2024-04-14T16:06:01.997110+02:00 monster kernel: [ 42.667507] R10: 0028 R11: R12: 2024-04-14T16:06:01.997110+02:00 monster kernel: [ 42.667509] R13: 9f2c835bbd30 R14: 89ca1f3d8d60 R15: 9f2c835bbd28 2024-04-14T16:06:01.997111+02:00 monster kernel: [ 42.667511] FS: 7a893d461540() GS:89cb15c0() knlGS: 2024-04-14T16:06:01.997112+02:00 monster kernel: [ 42.667513] CS: 0010 DS: ES: CR0: 80050033 2024-04-14T16:06:01.997113+02:00 monster kernel: [ 42.667516] CR2: fffe CR3: 00017f140006 CR4: 001706f0 2024-04-14T16:06:01.997113+02:00 monster kernel: [ 42.667518] Call Trace: 2024-04-14T16:06:01.997114+02:00 monster kernel: [ 42.667521] 2024-04-14T16:06:01.997115+02:00 monster kernel: [ 42.667524] ? show_regs+0x6d/0x80 2024-04-14T16:06:01.997116+02:00 monster kernel: [ 42.667532] ? __die+0x24/0x80 2024-04-14T16:06:01.997116+02:00 monster kernel: [ 42.667536] ? page_fault_oops+0x99/0x1b0 2024-04-14T16:06:01.997117+02:00 monster kernel: [ 42.667541] ? kernelmode_fixup_or_oops+0xb2/0x140 2024-04-14T16:06:01.997117+02:00 monster kernel: [ 42.667544] ? __bad_area_nosemaphore+0x1a5/0x2c0 2024-04-14T16:06:01.997118+02:00 monster kernel: [ 42.667556] ? bad_area_nosemaphore+0x16/0x30 2024-04-14T16:06:01.997119+02:00 monster kernel: [ 42.667558] ? do_kern_addr_fault+0x7b/0xa0 2024-04-14T16:06:01.997119+02:00 monster kernel: [ 42.667561] ? exc_page_fault+0x1a4/0x1b0 2024-04-14T16:06:01.997120+02:00 monster kernel: [ 42.667567] ? asm_exc_page_fault+0x27/0x30 2024-04-14T16:06:01.997121+02:00 monster kernel: [ 42.667575] ? cifs_flush_folio+0x41/0xf0 [cifs] 2024-04-14T16:06:01.997121+02:00 monster kernel: [ 42.667639] cifs_remap_file_range+0x172/0x660 [cifs] 2024-04-14T16:06:01.997122+02:00 monster kernel: [ 42.667703] do_clone_file_range+0x104/0x2d0 2024-04-14T16:06:01.997122+02:00 monster kernel: [ 42.667708] vfs_clone_file_range+0x3f/0x150 2024-04-14T16:06:01.997123+02:00 monster kernel: [ 42.667713] ioctl_file_clone+0x52/0xc0 2024-04-14T16:06:01.997123+02:00 monster kernel: [ 42.667718] do_vfs_ioctl+0x68f/0x910 2024-04-14T16:06:01.997124+02:00 monster kernel: [ 42.667721] ? switch_fpu_return+0x55/0xf0 2024-04-14T16:06:01.997125+02:00 monster kernel: [ 42.667726] ? exit_to_user_mode_prepare+0x9b/0xb0 2024-04-14T16:06:01.997125+02:00 monster kernel: [ 42.667730] __x64_sys_ioctl+0x7d/0xf0 2024-04-14T16:06:01.997126+02:00 monster kernel: [ 42.667734] do_syscall_64+0x5c/0x90 2024-04-14T16:06:01.997126+02:00 monster kernel: [ 42.667739] ? do_syscall_64+0x68/0x90 2024-04-14T16:06:01.997127+02:00 monster kernel: [ 42.667742] ? irqentry_exit_to_user_mode+0x17/0x20 2024-04-14T16:06:01.997128+02:00 monster kernel: [ 42.667747] ? irqentry_exit+0x43/0x50 2024-04-14T16:06:01.997128+02:00 monster kernel: [ 42.667751] ? exc_page_fault+0x94/0x1b
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
Same issue on 6.5.0-1017-azure -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: linux-hwe-6.5 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
** Changed in: linux (Ubuntu) Assignee: (unassigned) => Jose Ogando Justo (joseogando) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
No issue in kernel 6.5.0-26-generic. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
> Same issue on kernel 6.5.0-27-generic #28~22.04.1-Ubuntu That kernel is from the "linux-hwe-6.5" package. I'll try to link this bug to that package to avoid duplication. ** Also affects: linux-hwe-6.5 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
Same issue when I copy files from a Synology smb share to another directory on the same smb share Issue occured after system update. $ lsb_release -rd No LSB modules are available. Description:Ubuntu 23.10 Release:23.10 $ uname -a Linux Panoramix 6.5.0-27-generic #28-Ubuntu SMP PREEMPT_DYNAMIC Thu Mar 7 18:21:00 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux $ cat /proc/version_signature Ubuntu 6.5.0-27.28-generic 6.5.13 /var/log/syslog 2024-04-11T15:20:25.107768+02:00 Panoramix kernel: [ 5748.234124] BUG: unable to handle page fault for address: fffe 2024-04-11T15:20:25.107782+02:00 Panoramix kernel: [ 5748.234132] #PF: supervisor read access in kernel mode 2024-04-11T15:20:25.107784+02:00 Panoramix kernel: [ 5748.234136] #PF: error_code(0x) - not-present page 2024-04-11T15:20:25.107786+02:00 Panoramix kernel: [ 5748.234138] PGD 44d43f067 P4D 44d43f067 PUD 44d441067 PMD 0 2024-04-11T15:20:25.107788+02:00 Panoramix kernel: [ 5748.234146] Oops: [#1] PREEMPT SMP NOPTI 2024-04-11T15:20:25.107790+02:00 Panoramix kernel: [ 5748.234150] CPU: 10 PID: 326370 Comm: pool-nemo Tainted: G OE 6.5.0-27-generic #28-Ubuntu 2024-04-11T15:20:25.107792+02:00 Panoramix kernel: [ 5748.234155] Hardware name: Micro-Star International Co., Ltd. MS-7C56/MPG B550 GAMING PLUS (MS-7C56), BIOS 1.90 03/17/2022 2024-04-11T15:20:25.107794+02:00 Panoramix kernel: [ 5748.234158] RIP: 0010:cifs_flush_folio+0x41/0xf0 [cifs] 2024-04-11T15:20:25.107809+02:00 Panoramix kernel: [ 5748.234214] Code: 49 89 cd 31 c9 41 54 49 89 f4 48 c1 ee 0c 53 48 83 ec 08 48 8b 7f 30 44 89 45 d4 e8 79 23 f5 e0 48 89 c3 31 c0 48 85 db 74 77 <48> 8b 13 b8 00 10 00 00 f7 c2 00 00 01 00 74 10 0f b6 4b 51 48 d3 2024-04-11T15:20:25.107811+02:00 Panoramix kernel: [ 5748.234217] RSP: 0018:acb394a9fc30 EFLAGS: 00010282 2024-04-11T15:20:25.107813+02:00 Panoramix kernel: [ 5748.234221] RAX: RBX: fffe RCX: 2024-04-11T15:20:25.107815+02:00 Panoramix kernel: [ 5748.234223] RDX: RSI: RDI: 2024-04-11T15:20:25.107817+02:00 Panoramix kernel: [ 5748.234226] RBP: acb394a9fc60 R08: 0001 R09: 2024-04-11T15:20:25.107819+02:00 Panoramix kernel: [ 5748.234228] R10: 3950 R11: R12: 2024-04-11T15:20:25.107821+02:00 Panoramix kernel: [ 5748.234230] R13: acb394a9fcb0 R14: 97b687327508 R15: acb394a9fca8 2024-04-11T15:20:25.107823+02:00 Panoramix kernel: [ 5748.234233] FS: 79a0b57f26c0() GS:97bd0dc8() knlGS: 2024-04-11T15:20:25.107825+02:00 Panoramix kernel: [ 5748.234236] CS: 0010 DS: ES: CR0: 80050033 2024-04-11T15:20:25.107826+02:00 Panoramix kernel: [ 5748.234239] CR2: fffe CR3: 00018f466000 CR4: 00750ee0 2024-04-11T15:20:25.107828+02:00 Panoramix kernel: [ 5748.234242] PKRU: 5554 2024-04-11T15:20:25.107830+02:00 Panoramix kernel: [ 5748.234244] Call Trace: 2024-04-11T15:20:25.107831+02:00 Panoramix kernel: [ 5748.234247] 2024-04-11T15:20:25.107833+02:00 Panoramix kernel: [ 5748.234251] ? show_regs+0x6d/0x80 2024-04-11T15:20:25.107835+02:00 Panoramix kernel: [ 5748.234258] ? __die+0x24/0x80 2024-04-11T15:20:25.107837+02:00 Panoramix kernel: [ 5748.234263] ? page_fault_oops+0x99/0x1b0 2024-04-11T15:20:25.107839+02:00 Panoramix kernel: [ 5748.234270] ? kernelmode_fixup_or_oops+0xb2/0x140 2024-04-11T15:20:25.107841+02:00 Panoramix kernel: [ 5748.234274] ? __bad_area_nosemaphore+0x1a5/0x2c0 2024-04-11T15:20:25.107843+02:00 Panoramix kernel: [ 5748.234279] ? bad_area_nosemaphore+0x16/0x30 2024-04-11T15:20:25.107845+02:00 Panoramix kernel: [ 5748.234283] ? do_kern_addr_fault+0x7b/0xa0 2024-04-11T15:20:25.107847+02:00 Panoramix kernel: [ 5748.234287] ? exc_page_fault+0x1a4/0x1b0 2024-04-11T15:20:25.107848+02:00 Panoramix kernel: [ 5748.234293] ? asm_exc_page_fault+0x27/0x30 2024-04-11T15:20:25.107850+02:00 Panoramix kernel: [ 5748.234302] ? cifs_flush_folio+0x41/0xf0 [cifs] 2024-04-11T15:20:25.107851+02:00 Panoramix kernel: [ 5748.234340] cifs_remap_file_range+0x172/0x660 [cifs] 2024-04-11T15:20:25.107852+02:00 Panoramix kernel: [ 5748.234378] do_clone_file_range+0x104/0x2d0 2024-04-11T15:20:25.107854+02:00 Panoramix kernel: [ 5748.234388] vfs_clone_file_range+0x3f/0x150 2024-04-11T15:20:25.107864+02:00 Panoramix kernel: [ 5748.234393] ioctl_file_clone+0x52/0xc0 2024-04-11T15:20:25.107865+02:00 Panoramix kernel: [ 5748.234399] do_vfs_ioctl+0x68f/0x910 2024-04-11T15:20:25.107867+02:00 Panoramix kernel: [ 5748.234404] ? srso_alias_return_thunk+0x5/0x7f 2024-04-11T15:20:25.107869+02:00 Panoramix kernel: [ 5748.234409] ? __fget_light+0xa5/0x120 2024-04-11T15:20:25.107870+02:00 Panoramix kernel: [ 5748.234415] __x64_sys_ioctl+0x7d/0xf0 2024-04-11T15:20:25.107872+02:00 Panoramix ke
[Bug 2060919] Re: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64).
Same issue on kernel 6.5.0-27-generic #28~22.04.1-Ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2060919 Title: Remote filesystems mounted as CIFS not working after update to Kernel "6.5.0-27-generic #28-Ubuntu" (amd64) or Kernel "6.5.0-1014-raspi #17-Ubuntu" (aarch64). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2060919/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs