なんてワタシは気持ちが弱いんでしょう。困ったもんです。
bookworm リポジトリに配信されている r8168-dkms 8.051 は Linux Kernel 6.12 では導入に失敗するのですが、testing リポジトリに配信されているr8168-dkms 8.054 は Kernel 6.12 でも導入できるのです。
ただ、ついこの前に testing リポジトリとは決別すると言ったばかりなのに再び testing リポジトリを登録してしまったのです。
$ apt show r8168-dkms Package: r8168-dkms Version: 8.054.00-1 Priority: extra Section: non-free/kernel Source: r8168 Maintainer: Andreas BeckmannInstalled-Size: 1,538 kB Depends: dkms (>= 3.0.11) Homepage: https://www.realtek.com/Download/List?cate_id=584 Download-Size: 119 kB APT-Manual-Installed: yes APT-Sources: http://ftp.riken.jp/Linux/debian/debian testing/non-free amd64 Packages Description: dkms source for the r8168 network driver r8168 is the Linux device driver released by RealTek for their network controllers with PCI-Express interface: * 10/100/1000M Gigabit Ethernet: RTL8111B, RTL8111C, RTL8111D, RTL8111E, RTL8111F, RTL8111G, RTL8111H, RTL8118A, RTL8119i, RTL8111L, RTL8111K, RTL8168B, RTL8168E, RTL8168H, RTL8111DP, RTL8111EP(P), RTL8111FP, RTL8411, RTL8411B . This driver should only be used for devices not yet supported by the in-kernel driver r8169. Please see the README.Debian for instructions how to report bugs against r8169 that made it necessary to use r8168-dkms. . Installation of the r8168-dkms package will disable the in-kernel r8169 module. To re-enable r8169, the r8168-dkms package must be purged. . This package provides the dkms source code for the r8168 kernel module. Kernel source or headers are required to compile the module. . Building the kernel module has been tested up to Linux 6.11. N: 追加レコードが 1 件あります。表示するには '-a' スイッチを付けてください。
うふふ。
反映確認のために lsmod | grep r816 を実行してみたところ、r8168 と r8169 の両方のドライバーがロードされていました。
/etc/modprobe.d を確認してみると、なぜか blacklist r8169 の定義がなかったので自分で書き足して PC を再起動させました。
kernel: r8169 0000:03:00.0 eth0: RTL8168h/8111h, e0:d5:5e:d9:f7:40, XID 541, IRQ 49 kernel: r8169 0000:03:00.0 eth0: jumbo features [frames: 9194 bytes, tx checksumming: ko] kernel: r8168: loading out-of-tree module taints kernel. kernel: r8168: module verification failed: signature and/or required key missing - tainting kernel kernel: r8169 0000:03:00.0 eno1: renamed from eth0 kernel: Generic FE-GE Realtek PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC) kernel: r8169 0000:03:00.0 eno1: Link is Down kernel: r8169 0000:03:00.0 eno1: Link is Up - 1Gbps/Full - flow control rx/tx kernel: r8169 0000:03:00.0 eno1: Link is Down kernel: r8169 0000:03:00.0 eno1: Link is Up - 1Gbps/Full - flow control off
おや、まだ r8169 が使われていますね。でも、r8168 も一瞬だけ登場していますね。
う〜ん、なんで???
あ、あれですね sudo update-initramfs -u を忘れてましたね。/etc/modprobe.d を更新した後はこれで反映させないといけないんでした。
kernel: r8168: loading out-of-tree module taints kernel. kernel: r8168: module verification failed: signature and/or required key missing - tainting kernel kernel: r8168 Gigabit Ethernet driver 8.054.00-NAPI loaded kernel: r8168: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625. kernel: r8168 Copyright (C) 2024 Realtek NIC software team <nicfae@realtek.com> kernel: r8168 0000:03:00.0 eno1: renamed from eth0 kernel: r8168: eno1: link up
うん、大成功です。
Debian 13 がリリースされるのは 2025 年の夏くらいでしょうか。その後に LMDE 7 がリリースされるのは秋くらいになるかと思います。
その時にまた LMDE を再インストールすればいいかな。そして次こそは testing リポジトリと決別するのです。