Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

realtek-r8152 dkms broken after kernel upgrade #18

Open
bp0 opened this issue Feb 23, 2024 · 3 comments
Open

realtek-r8152 dkms broken after kernel upgrade #18

bp0 opened this issue Feb 23, 2024 · 3 comments

Comments

@bp0
Copy link

bp0 commented Feb 23, 2024

Using the debian package realtek-r8152-dkms_2.17.1-3_amd64.deb with Proxmox 8.1 om a Dell Optiplex 3050 Micro.

After a kernel update, the r8152 USB driver failed to load with the message:

r8152: disagrees about version of symbol module_layout

Output of dkms-status:

realtek-r8152/2.17.1, 6.5.11-8-pve, amd64: installed
realtek-r8152/2.17.1, 6.5.13-1-pve, x86_64: installed

Fixed by:

apt remove realtek-r8152
dpkg -i realtek-r8152-dkms_2.17.1-3_amd64.deb

It is headless so it is a bit of a hassle to fix without network.

@naz9ul
Copy link

naz9ul commented Feb 23, 2024

Always install the new kernel headers with the new proxmox kernel, that Will help !

@bp0
Copy link
Author

bp0 commented Feb 23, 2024

It seems the new headers were installed along with the new kernel but something got confused about what the arch was called.
After re-install dkms-status shows:

realtek-r8152/2.17.1, 6.5.13-1-pve, amd64: installed

Notice that it is back to amd64 instead of x86_64.

@awesometic
Copy link
Owner

With the new kernel, it needs to be compiled again for the signature of the module.
Re-installing the package you did performs this job, so maybe it might work rebuilding using dkms command instead of reinstalling the whole package.

Generally amd64 is treated as the same architecture to x86_64, that's just how it calls I believe.. 🤔

If the issue solved, please close this one 😄

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

No branches or pull requests

3 participants