Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 953555 - sys-kernel/gentoo-kernel-6.14.2: network sharing via smartphone (USB) not working (regression)
Summary: sys-kernel/gentoo-kernel-6.14.2: network sharing via smartphone (USB) not wor...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Distribution Kernel Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-11 17:20 UTC by Julien Delquié
Modified: 2025-04-11 21:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Delquié 2025-04-11 17:20:15 UTC
When I use sys-kernel/gentoo-kernel-6.14.2 here is an extract of dmesg:
[ven. 11 avril 18:57:38 2025] usb 1-2: new high-speed USB device number 6 using xhci_hcd
[ven. 11 avril 18:57:38 2025] usb 1-2: New USB device found, idVendor=05c6, idProduct=f00e, bcdDevice= 4.19
[ven. 11 avril 18:57:38 2025] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ven. 11 avril 18:57:38 2025] usb 1-2: Product: Fairphone 4 5G
[ven. 11 avril 18:57:38 2025] usb 1-2: Manufacturer: Fairphone
[ven. 11 avril 18:57:38 2025] usb 1-2: SerialNumber: 8ad9a150
[ven. 11 avril 18:57:38 2025] rndis_host 1-2:1.0 wwan0: register 'rndis_host' at usb-0000:c1:00.3-2, Mobile Broadband RNDIS device, 1a:3a:df:12:0a:16
[ven. 11 avril 18:57:38 2025] usbcore: registered new interface driver rndis_host
[ven. 11 avril 18:57:38 2025] rndis_host 1-2:1.0 wwp193s0f3u2: renamed from wwan0

And NetworkManager is not able to use this connection.

But, when I use sys-kernel/gentoo-kernel-6.14.1 here is an extract of dmesg:
[ven. 11 avril 19:04:11 2025] usb 1-2: new high-speed USB device number 6 using xhci_hcd
[ven. 11 avril 19:04:11 2025] usb 1-2: New USB device found, idVendor=05c6, idProduct=f00e, bcdDevice= 4.19
[ven. 11 avril 19:04:11 2025] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ven. 11 avril 19:04:11 2025] usb 1-2: Product: Fairphone 4 5G
[ven. 11 avril 19:04:11 2025] usb 1-2: Manufacturer: Fairphone
[ven. 11 avril 19:04:11 2025] usb 1-2: SerialNumber: 8ad9a150
[ven. 11 avril 19:04:11 2025] rndis_host 1-2:1.0 usb0: register 'rndis_host' at usb-0000:c1:00.3-2, RNDIS device, 36:55:87:b7:74:88
[ven. 11 avril 19:04:11 2025] usbcore: registered new interface driver rndis_host
[ven. 11 avril 19:04:11 2025] rndis_host 1-2:1.0 enp193s0f3u2: renamed from usb0

And NetworkManager is able to use this connection.

The only differences I see is that usb0/wwan0 and enp193s0f3u2/wwp193s0f3u2.

Reproducible: Always

Steps to Reproduce:
1. Update to sys-kernel/gentoo-kernel-6.14.2
2. Try to use network sharing via smartphone (USB)
Actual Results:  
It does not work.

Expected Results:  
It works.
Comment 1 Julien Delquié 2025-04-11 17:29:31 UTC
Maybe linked to:

commit d34963d968a6e5f5f98ceecc987fc9f221f1cac7
Author: Lubomir Rintel <lkundrak@v3.sk>
Date:   Tue Mar 25 10:58:41 2025 +0100

    rndis_host: Flag RNDIS modems as WWAN devices
    
    [ Upstream commit 67d1a8956d2d62fe6b4c13ebabb57806098511d8 ]
    
    Set FLAG_WWAN instead of FLAG_ETHERNET for RNDIS interfaces on Mobile
    Broadband Modems, as opposed to regular Ethernet adapters.
    
    Otherwise NetworkManager gets confused, misjudges the device type,
    and wouldn't know it should connect a modem to get the device to work.
    What would be the result depends on ModemManager version -- older
    ModemManager would end up disconnecting a device after an unsuccessful
    probe attempt (if it connected without needing to unlock a SIM), while
    a newer one might spawn a separate PPP connection over a tty interface
    instead, resulting in a general confusion and no end of chaos.
    
    The only way to get this work reliably is to fix the device type
    and have good enough version ModemManager (or equivalent).
    
    Fixes: 63ba395cd7a5 ("rndis_host: support Novatel Verizon USB730L")
    Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
    Link: https://patch.msgid.link/20250325095842.1567999-1-lkundrak@v3.sk
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
Comment 2 Julien Delquié 2025-04-11 17:37:05 UTC
Found it on kernel.org: https://bugzilla.kernel.org/show_bug.cgi?id=220002
Comment 3 Julien Delquié 2025-04-11 18:34:14 UTC
I just confirmed it, reverting commit d34963d968a6e5f5f98ceecc987fc9f221f1cac7, resolve the issue.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-11 21:02:04 UTC
FWIW, I'd report that on the mailing lists. Nobody really looks at kernel.org BZ except for a very small number of kernel subsystems.