** Description changed: 5.15.0-131 works 5.15.0-133 no networking This fix https://github.com/torvalds/linux/commit/8a7d12d674ac6f2147c18f36d1e15f1a48060edf - is included in 133. It cause my usb tether adapter to be named eth0 + is included in 133. It caused my usb tether adapter to be named eth0 instead of usb0. I have another adapter that gets renamed (via netplan) to eth0 and this fails due to the name conflict. I patched usbnet.c to use both the new check and the old one and it fixed the problem. Patch: diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index f66975c452aa..0533e4e1a566 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c @@ -1770,7 +1770,8 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod) - if ((dev->driver_info->flags & FLAG_ETHER) != 0 && - ((dev->driver_info->flags & FLAG_POINTTOPOINT) == 0 || - /* somebody touched it*/ + if ((dev->driver_info->flags & FLAG_ETHER) != 0 && + ((dev->driver_info->flags & FLAG_POINTTOPOINT) == 0 || + /* somebody touched it*/ - !is_zero_ether_addr(net->dev_addr))) + (!is_zero_ether_addr(net->dev_addr) && + (net->dev_addr[0] & 0x02) == 0))) - strscpy(net->name, "eth%d", sizeof(net->name)); - /* WLAN devices should always be named "wlan%d" */ - if ((dev->driver_info->flags & FLAG_WLAN) != 0) + strscpy(net->name, "eth%d", sizeof(net->name)); + /* WLAN devices should always be named "wlan%d" */ + if ((dev->driver_info->flags & FLAG_WLAN) != 0) ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: linux-image-5.15.0-133-generic (not installed) ProcVersionSignature: Ubuntu 5.15.0-133.144+usbnetfix-generic 5.15.173 Uname: Linux 5.15.0-133-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.6 Architecture: amd64 AudioDevicesInUse: - USER PID ACCESS COMMAND - /dev/snd/controlC0: tangert 3367 F.... pulseaudio + USER PID ACCESS COMMAND + /dev/snd/controlC0: tangert 3367 F.... pulseaudio CRDA: N/A CasperMD5CheckResult: pass Date: Sat Mar 1 18:19:59 2025 InstallationDate: Installed on 2023-08-05 (574 days ago) InstallationMedia: Ubuntu-Server 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230217.1) IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' MachineType: System manufacturer System Product Name ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-133-generic root=UUID=9da6c582-2d35-43ba-bf85-246507b9391b ro ipv6.disable=1 nohibernate fsck.mode=force fsck.repair=yes consoleblank=900 mitigations=off RelatedPackageVersions: - linux-restricted-modules-5.15.0-133-generic N/A - linux-backports-modules-5.15.0-133-generic N/A - linux-firmware 20220329.git681281e4-0ubuntu3.36 + linux-restricted-modules-5.15.0-133-generic N/A + linux-backports-modules-5.15.0-133-generic N/A + linux-firmware 20220329.git681281e4-0ubuntu3.36 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 10/12/2012 dmi.bios.release: 4.6 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 0804 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: P8H61-I R2.0 dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: Rev X.0x dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0804:bd10/12/2012:br4.6:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8H61-IR2.0:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:skuSKU: dmi.product.family: To be filled by O.E.M. dmi.product.name: System Product Name dmi.product.sku: SKU dmi.product.version: System Version dmi.sys.vendor: System manufacturer
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2100688 Title: usbnet.c regression Status in linux package in Ubuntu: New Bug description: 5.15.0-131 works 5.15.0-133 no networking This fix https://github.com/torvalds/linux/commit/8a7d12d674ac6f2147c18f36d1e15f1a48060edf is included in 133. It caused my usb tether adapter to be named eth0 instead of usb0. I have another adapter that gets renamed (via netplan) to eth0 and this fails due to the name conflict. I patched usbnet.c to use both the new check and the old one and it fixed the problem. Patch: diff --git a/drivers/net/usb/usbnet.c b/drivers/net/usb/usbnet.c index f66975c452aa..0533e4e1a566 100644 --- a/drivers/net/usb/usbnet.c +++ b/drivers/net/usb/usbnet.c @@ -1770,7 +1770,8 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod) if ((dev->driver_info->flags & FLAG_ETHER) != 0 && ((dev->driver_info->flags & FLAG_POINTTOPOINT) == 0 || /* somebody touched it*/ - !is_zero_ether_addr(net->dev_addr))) + (!is_zero_ether_addr(net->dev_addr) && + (net->dev_addr[0] & 0x02) == 0))) strscpy(net->name, "eth%d", sizeof(net->name)); /* WLAN devices should always be named "wlan%d" */ if ((dev->driver_info->flags & FLAG_WLAN) != 0) ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: linux-image-5.15.0-133-generic (not installed) ProcVersionSignature: Ubuntu 5.15.0-133.144+usbnetfix-generic 5.15.173 Uname: Linux 5.15.0-133-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.6 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: tangert 3367 F.... pulseaudio CRDA: N/A CasperMD5CheckResult: pass Date: Sat Mar 1 18:19:59 2025 InstallationDate: Installed on 2023-08-05 (574 days ago) InstallationMedia: Ubuntu-Server 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230217.1) IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' MachineType: System manufacturer System Product Name ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.15.0-133-generic root=UUID=9da6c582-2d35-43ba-bf85-246507b9391b ro ipv6.disable=1 nohibernate fsck.mode=force fsck.repair=yes consoleblank=900 mitigations=off RelatedPackageVersions: linux-restricted-modules-5.15.0-133-generic N/A linux-backports-modules-5.15.0-133-generic N/A linux-firmware 20220329.git681281e4-0ubuntu3.36 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 10/12/2012 dmi.bios.release: 4.6 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 0804 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: P8H61-I R2.0 dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: Rev X.0x dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: Chassis Manufacture dmi.chassis.version: Chassis Version dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0804:bd10/12/2012:br4.6:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8H61-IR2.0:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:skuSKU: dmi.product.family: To be filled by O.E.M. dmi.product.name: System Product Name dmi.product.sku: SKU dmi.product.version: System Version dmi.sys.vendor: System manufacturer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2100688/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp