OMV3: how to get back to Deian Jessie stable kernel?

    • OMV 3.x
    • Update

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • OMV3: how to get back to Deian Jessie stable kernel?

      Hello,

      Since version 3.0.59, OMV enables the backport repo by default and also installs the backport kernel by default. Because my haswell system wont go in P-state C6 with the default r8169 kernel module, i've installed the r8168 module from Debian stretch manually.
      Since the last version i must install the driver and the kernel headers every time manually with a new kernel version. This i quite annoying.
      How to revert the changes and get the debian stable kernel by default every apt upgrade?
      The debian stable kernel is also supported by debian, very important to get security updates.

      Thanks everyone!
    • akruidenberg wrote:

      How to revert the changes and get the debian stable kernel by default every apt upgrade?
      Disable backports. Change the yes to no in the parameter OMV_APT_USE_KERNEL_BACKPORTS="YES" in /etc/default/openmediavault then omv-mkconf apt

      akruidenberg wrote:

      The debian stable kernel is also supported by debian, very important to get security updates.
      This is funny. First, you are using a driver from stretch in jessie which is NOT supported. Second, the backports kernel is the exact same kernel as the stretch kernel. It is put in backports by the Debian maintainers and maintained in stretch. I have used backport kernels for years without issues. Finally, you still get security updates since most security updates aren't kernel updates AND the backports kernel is maintained/receives security updates.
      omv 4.0.6 arrakis | 64 bit | 4.12 backports kernel | omvextrasorg 4.1.0
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      akruidenberg wrote:

      How to revert the changes and get the debian stable kernel by default every apt upgrade?
      Disable backports. Change the yes to no in the parameter OMV_APT_USE_KERNEL_BACKPORTS="YES" in /etc/default/openmediavault then omv-mkconf apt

      akruidenberg wrote:

      The debian stable kernel is also supported by debian, very important to get security updates.
      This is funny. First, you are using a driver from stretch in jessie which is NOT supported. Second, the backports kernel is the exact same kernel as the stretch kernel. It is put in backports by the Debian maintainers and maintained in stretch. I have used backport kernels for years without issues. Finally, you still get security updates since most security updates aren't kernel updates AND the backports kernel is maintained/receives security updates.
      Thank you for your quick reply! Debian dont have the r8168 in the repositories now, so i've downloaded the module manually from debian stretch.
      Debian backports also get security updates? Nice!

      It would be nice to have a better solution to install the R8168 module with the backports kernel.
    • akruidenberg wrote:

      Is it required to downgrade the firmware packages from debian backports to debian stable?
      No. If it isn't there, the backports repo list file (/etc/apt/sources.list.d/openmediavault-kernel-backports.list) is not created. If the repo list file isn't there, then the firmware packages from the regular jessie repo will the default to install. The problem is that a higher version is already installed. So, you have to manually install the lower versions.

      In my opinion, this is a waste of time. The 4.9 kernel will probably be the last backports kernel version. So, you won't have to install your driver very option.
      omv 4.0.6 arrakis | 64 bit | 4.12 backports kernel | omvextrasorg 4.1.0
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!
    • ryecoaaron wrote:

      akruidenberg wrote:

      Is it required to downgrade the firmware packages from debian backports to debian stable?
      No. If it isn't there, the backports repo list file (/etc/apt/sources.list.d/openmediavault-kernel-backports.list) is not created. If the repo list file isn't there, then the firmware packages from the regular jessie repo will the default to install. The problem is that a higher version is already installed. So, you have to manually install the lower versions.
      In my opinion, this is a waste of time. The 4.9 kernel will probably be the last backports kernel version. So, you won't have to install your driver very option.
      So its better to continue with the backports kernel and update the R8168 module some times? If version 4.9 will be the last kernel, then the maintenance is much lower.
      @votdev why did you uses the backports kernel by default with version 3.0.59? A nas must be very stable with less maintenance for most users.
    • akruidenberg wrote:

      So its better to continue with the backports kernel and update the R8168 module some times?
      I think it is.

      akruidenberg wrote:

      why did you uses the backports kernel by default with version 3.0.59? A nas must be very stable with less maintenance for most users.
      I asked him to include the backports kernel on the ISO for hardware support reasons. Jessie is starting to show its age and the 3.16 kernel did not support a lot of newer hardware. Other than temporary compiling issues with zfs, virtualbox, and iscsi modules, I have seen no problems or stability issues with the backports kernel. In fact, the backports kernel is better in a some areas especially power consumption. So, I would say the backports kernel is just as stable as the 3.16 kernel and I run the backports kernel on quite a few production systems. If someone really wants no backports packages, install Debian Jessie from netinst ISO and add the parameter I mentioned earlier.
      omv 4.0.6 arrakis | 64 bit | 4.12 backports kernel | omvextrasorg 4.1.0
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!