RealTek r8157 not properly detected by kernel. Uses cdc_ncm module instead

Aperta
#219 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
linux

Direzione di ricerca

No source file or test is named. Start by examining Linux handling of USB ID 0bda:8157 in the r8152 and cdc_ncm drivers, then compare it with the reported Realtek module behavior. Done should mean the device selects the appropriate driver and reports full duplex, enabled auto-negotiation, and all supported speeds.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

OS: Oracle Linux 10
Kernel: 6.12.0-200.74.27.el10uek.x86_64

Problem:

It appears either the kernel supplied r8152 module does not properly identify the r8157 device OR it does not support the device. This causes the network device to run at half duplex and auto negotiation to be off.

FIX:

The fix is to blacklist the cdc_ncm module and make/install the module from RealTek. This restores full operation to the network device, at full duplex, with auto negotiation on. All speeds are advertised.

INFORMATION after installation of Realtek module:

Realtek module version:

version: v2.21.4 (2025/10/28)
license: GPL
description: Realtek RTL8152/RTL8153 Based USB Ethernet Adapters

From lsusb:
Bus 004 Device 002: ID 0bda:8157 Realtek Semiconductor Corp. 5G Ethernet Adapter

Lingua principale
Shell
Stelle
180
Fork
52
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di oracle/oracle-linux

Tutte le issue di oracle/oracle-linux

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.