Hi all,

I am from the Canonical's kernel team and currently investigating this
issue. In this case, jammy-hwe, mantic-hwe, and noble by default uses
6.8 kernel (when a generic jammy and mantic is installed it uses hwe
version by default). So, the issue is with 6.8 kernel rather than
series.

I was not able to reproduce the error with generic 6.8.0-45.45 kernel
after 1 hour of stressing. I am still working on this. I really
appreciate all the feedback you provided.


Meanwhile, for those who are having the problem, I have created an unofficial 
version of 6.8.0-45.45 kernel which includes the upstream fix from 
"6ddc9deacc1312762c2edd9de00ce76b00f69f7c",
 - for jammy: 
https://launchpad.net/~mehmetbasaran/+archive/ubuntu/linux-hwe-6.8-6.8.0-45.45-nfs-patch
 - for noble: 
https://launchpad.net/~mehmetbasaran/+archive/ubuntu/linux-6.8.0-45.45-nfs-patch


Installation instructions:

Note that, if you are using secure boot, you will not be able to boot
into these kernels. You will need to disable it first.

# Add the unofficial ppa. Pick the correct one depending on your series
# For jammy: sudo add-apt-repository 
ppa:mehmetbasaran/linux-hwe-6.8-6.8.0-45.45-nfs-patch
# For noble: sudo add-apt-repository 
ppa:mehmetbasaran/linux-6.8.0-45.45-nfs-patch

$ sudo add-apt-repository ppa:mehmetbasaran/linux-6.8.0-45.45-nfs-patch
$ sudo apt update

$ sudo apt install linux-buildinfo-6.8.0-46-generic-nfs \
  linux-cloud-tools-6.8.0-46-generic-nfs \
  linux-cloud-tools-common \
  linux-headers-6.8.0-46-generic-nfs \
  linux-image-unsigned-6.8.0-46-generic-nfs \
  linux-modules-6.8.0-46-generic-nfs \
  linux-modules-extra-6.8.0-46-generic-nfs \
  linux-modules-ipu6-6.8.0-46-generic-nfs \
  linux-modules-iwlwifi-6.8.0-46-generic-nfs \
  linux-modules-usbio-6.8.0-46-generic-nfs \
  linux-nfs-6.8-cloud-tools-6.8.0-46 \
  linux-nfs-6.8-headers-6.8.0-46 \
  linux-nfs-6.8-tools-6.8.0-46 \
  linux-tools-6.8.0-46-generic-nfs

Next time you boot, you will be using the patched 6.8.0-45.45
$ uname -r
# 6.8.0-46-generic-nfs

To return back to the previous kernel (official 6.8.0-45.45) you just need to 
update grub:
$ grep 'menuentry \|submenu ' /boot/grub/grub.cfg | cut -f2 -d "'" # Prints 
available kernels on your machine, in my case:
  Ubuntu
  Advanced options for Ubuntu
  Ubuntu, with Linux 6.8.0-46-generic-nfs
  Ubuntu, with Linux 6.8.0-46-generic-nfs (recovery mode)
  Ubuntu, with Linux 6.8.0-45-generic
  Ubuntu, with Linux 6.8.0-45-generic (recovery mode)
  Ubuntu, with Linux 6.5.0-18-generic
  Ubuntu, with Linux 6.5.0-18-generic (recovery mode)


# Change GRUB_DEFAULT in /etc/default/grub
# from GRUB_DEFAULT=0
# to GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 
6.8.0-45-generic"

$ sudo update-grub
$ reboot

$ uname -r
# 6.8.0-45-generic


After changing your kernel to previous version you can completely remove the 
unofficial kernel:
  
# Now these packages will be safe to be removed
$ sudo apt remove linux-buildinfo-6.8.0-46-generic-nfs \
  linux-cloud-tools-6.8.0-46-generic-nfs \
  linux-headers-6.8.0-46-generic-nfs \
  linux-image-unsigned-6.8.0-46-generic-nfs \
  linux-modules-6.8.0-46-generic-nfs \
  linux-modules-extra-6.8.0-46-generic-nfs \
  linux-modules-ipu6-6.8.0-46-generic-nfs \
  linux-modules-iwlwifi-6.8.0-46-generic-nfs \
  linux-modules-usbio-6.8.0-46-generic-nfs \
  linux-nfs-6.8-cloud-tools-6.8.0-46 \
  linux-nfs-6.8-headers-6.8.0-46 \
  linux-nfs-6.8-tools-6.8.0-46 \
  linux-tools-6.8.0-46-generic-nfs

# Remove unofficial ppa from update list
$ sudo add-apt-repository --remove ppa:mehmetbasaran/linux-6.8.0-45.45-nfs-patch

# Restore grub settings
# Change GRUB_DEFAULT in /etc/default/grub to GRUB_DEFAULT=0
$ sudo update-grub

$ reboot

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2062568

Title:
  nfsd gets unresponsive after some hours of operation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2062568/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to