Skip to content

Fix updating modules with no version#297

Merged
xuzhen merged 2 commits intodkms-project:masterfrom
xuzhen:cmp
Jan 25, 2023
Merged

Fix updating modules with no version#297
xuzhen merged 2 commits intodkms-project:masterfrom
xuzhen:cmp

Conversation

@xuzhen
Copy link
Collaborator

@xuzhen xuzhen commented Jan 25, 2023

Install module with no version if it

  1. Has different srcversion than the installed one. The module's source code has been changed.
  2. Has no srcversion but different binary file than the installed one. On debian, modinfo shows no srcversion if the module has no version.

Fix #296

@xuzhen xuzhen merged commit ce3e217 into dkms-project:master Jan 25, 2023
@xuzhen xuzhen deleted the cmp branch January 25, 2023 14:41
cmitu added a commit to cmitu/RetroPie-Setup that referenced this pull request Oct 1, 2024
DKMS in Bookworm has a bug[1] where the autoinstall on kernel updates fails due to a miscalculated version comparison, thinking always that the kernel version is newer than the custom version. Add a module version to have 'dkms' always install the out-of-tree version.

[1] dkms-project/dkms#296, fixed by dkms-project/dkms#297
cmitu added a commit to cmitu/RetroPie-Setup that referenced this pull request Oct 1, 2024
DKMS in Bookworm has a bug[1] where the autoinstall on kernel updates fails due to a miscalculated version comparison, thinking always that the kernel version is newer than the custom version. Add a module version to have 'dkms' always install the out-of-tree version.

[1] dkms-project/dkms#296, fixed by dkms-project/dkms#297
cmitu added a commit to cmitu/RetroPie-Setup that referenced this pull request Oct 2, 2024
DKMS in Bookworm has a bug[1] where the autoinstall on kernel updates fails due to a miscalculated version comparison, thinking always that the kernel version is newer than the custom version. Add a module version to have 'dkms' always install the out-of-tree version.

[1] dkms-project/dkms#296, fixed by dkms-project/dkms#297
cmitu added a commit to cmitu/RetroPie-Setup that referenced this pull request Oct 2, 2024
DKMS in Bookworm has a bug[1] where the autoinstall function on kernel updates fails due to a miscalculated version comparison, thinking always that the kernel version is newer than the custom version and skipping the installation. The message shown during upgrades is:

    xpad.ko.xz:
    Running module version sanity check.
    Module version  for xpad.ko.xz exactly matches what is already found in kernel
    DKMS will not replace this module.
    You may override by specifying --force.

Added a module version (copied from the `dkms.conf`'s package version) to have 'dkms' always install the out-of-tree version.

[1] dkms-project/dkms#296, fixed by dkms-project/dkms#297
joolswills pushed a commit to joolswills/RetroPie-Setup that referenced this pull request Oct 12, 2024
DKMS in Bookworm has a bug[1] where the autoinstall function on kernel updates fails due to a miscalculated version comparison, thinking always that the kernel version is newer than the custom version and skipping the installation. The message shown during upgrades is:

    xpad.ko.xz:
    Running module version sanity check.
    Module version  for xpad.ko.xz exactly matches what is already found in kernel
    DKMS will not replace this module.
    You may override by specifying --force.

Added a module version (copied from the `dkms.conf`'s package version) to have 'dkms' always install the out-of-tree version.

[1] dkms-project/dkms#296, fixed by dkms-project/dkms#297
twojstaryzdomu pushed a commit to twojstaryzdomu/RetroPie-Setup that referenced this pull request Dec 15, 2024
DKMS in Bookworm has a bug[1] where the autoinstall function on kernel updates fails due to a miscalculated version comparison, thinking always that the kernel version is newer than the custom version and skipping the installation. The message shown during upgrades is:

    xpad.ko.xz:
    Running module version sanity check.
    Module version  for xpad.ko.xz exactly matches what is already found in kernel
    DKMS will not replace this module.
    You may override by specifying --force.

Added a module version (copied from the `dkms.conf`'s package version) to have 'dkms' always install the out-of-tree version.

[1] dkms-project/dkms#296, fixed by dkms-project/dkms#297
twojstaryzdomu pushed a commit to twojstaryzdomu/RetroPie-Setup that referenced this pull request Dec 15, 2024
DKMS in Bookworm has a bug[1] where the autoinstall function on kernel updates fails due to a miscalculated version comparison, thinking always that the kernel version is newer than the custom version and skipping the installation. The message shown during upgrades is:

    xpad.ko.xz:
    Running module version sanity check.
    Module version  for xpad.ko.xz exactly matches what is already found in kernel
    DKMS will not replace this module.
    You may override by specifying --force.

Added a module version (copied from the `dkms.conf`'s package version) to have 'dkms' always install the out-of-tree version.

[1] dkms-project/dkms#296, fixed by dkms-project/dkms#297
twojstaryzdomu pushed a commit to twojstaryzdomu/RetroPie-Setup that referenced this pull request Dec 15, 2024
DKMS in Bookworm has a bug[1] where the autoinstall function on kernel updates fails due to a miscalculated version comparison, thinking always that the kernel version is newer than the custom version and skipping the installation. The message shown during upgrades is:

    xpad.ko.xz:
    Running module version sanity check.
    Module version  for xpad.ko.xz exactly matches what is already found in kernel
    DKMS will not replace this module.
    You may override by specifying --force.

Added a module version (copied from the `dkms.conf`'s package version) to have 'dkms' always install the out-of-tree version.

[1] dkms-project/dkms#296, fixed by dkms-project/dkms#297
twojstaryzdomu pushed a commit to twojstaryzdomu/RetroPie-Setup that referenced this pull request Dec 15, 2024
DKMS in Bookworm has a bug[1] where the autoinstall function on kernel updates fails due to a miscalculated version comparison, thinking always that the kernel version is newer than the custom version and skipping the installation. The message shown during upgrades is:

    xpad.ko.xz:
    Running module version sanity check.
    Module version  for xpad.ko.xz exactly matches what is already found in kernel
    DKMS will not replace this module.
    You may override by specifying --force.

Added a module version (copied from the `dkms.conf`'s package version) to have 'dkms' always install the out-of-tree version.

[1] dkms-project/dkms#296, fixed by dkms-project/dkms#297
twojstaryzdomu pushed a commit to twojstaryzdomu/RetroPie-Setup that referenced this pull request Dec 15, 2024
DKMS in Bookworm has a bug[1] where the autoinstall function on kernel updates fails due to a miscalculated version comparison, thinking always that the kernel version is newer than the custom version and skipping the installation. The message shown during upgrades is:

    xpad.ko.xz:
    Running module version sanity check.
    Module version  for xpad.ko.xz exactly matches what is already found in kernel
    DKMS will not replace this module.
    You may override by specifying --force.

Added a module version (copied from the `dkms.conf`'s package version) to have 'dkms' always install the out-of-tree version.

[1] dkms-project/dkms#296, fixed by dkms-project/dkms#297
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DKMS Issue when module has to be replaced

1 participant