[Bug 2060919] Re: cifs: Copying file to same directory results in page fault

2024-04-30 Thread Peter Mühlenpfordt
I tested two systems with different samba servers and can no longer reproduce 
the error.
Kernel 6.5.0-35 works for me.
Many thanks! :-)

-- 
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:
  cifs: Copying file to same directory results in page fault

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).

2024-04-21 Thread Peter Mühlenpfordt
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).

2024-04-19 Thread Peter Mühlenpfordt
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).

2024-04-14 Thread Peter Mühlenpfordt
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).

2024-04-14 Thread Peter Mühlenpfordt
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]  ?