Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #261398

Fix for bug in r8168-dkms with kernel 6.4.0.2-amd64

From Sam Varghese <sam@gnubies.com>
Newsgroups linux.debian.user
Subject Fix for bug in r8168-dkms with kernel 6.4.0.2-amd64
Date 2023-09-01 08:50 +0200
Message-ID <H968F-5SKP-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


I am posting this to the list in the hope that it will help someone who 
has encountered
the same issue I did.

I am running the testing stream and a few days back, during a regular 
update, I encountered a
kernel panic. The error appeared to be in the r8168-dkms package.

I searched around for a few days and found the solution at this link:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050287

Specifically it was this bit that fixed the issue:

------------------------
Package: r8168-dkms
Version: 8.051.02-3
Severity: important

Dear Maintainer,

I confirm that the bug is present.
"PascalHambourg" on our forum found a workaround by directly editing the
file /usr/src/r8168-8.051.02/r8168_n.c

Replace
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0)

By
#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,10)

And the compilation of the module happens without error.

Best regards,
Lol.
------------------

I am not subscribed to the list.

Sam Varghese

Back to linux.debian.user | Previous | Next | Find similar | Unroll thread


Thread

Fix for bug in r8168-dkms with kernel 6.4.0.2-amd64 Sam Varghese <sam@gnubies.com> - 2023-09-01 08:50 +0200

csiph-web