usbip: error: failed to open /usr/share/hwdata//usb.ids

Bug #2039439 reported by Juerg Haefliger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
In Progress
Medium
Unassigned
Jammy
Fix Committed
Medium
Unassigned
Lunar
Fix Committed
Medium
Unassigned
Mantic
Fix Committed
Medium
Unassigned

Bug Description

[Impact]

usbip from linux-tools tries to access /usr/share/hwdata/usb.ids which is provided by the hwdata package which is not installed by default.

$ usbip list -l
usbip: error: failed to open /usr/share/hwdata//usb.ids
 - busid 1-1.1.1 (0424:7800)
   unknown vendor : unknown product (0424:7800)

[Test Case]

$ apt install linux-tools-<flavor>
$ usbip list -l
 - busid 1-1.1.1 (0424:7800)
   Microchip Technology, Inc. (formerly SMSC) : unknown product (0424:7800)

[Fix]

Make hwdata a dependency of linux-tools-common.

[Regression Potential]

A trivial package (hwdata) is installed as a dependency. Can't think of any problems this could cause other than a theoretical package installation failure.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 2039439

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Juerg Haefliger (juergh) wrote : Re: linux-tools-common should depend on hwdata

diff --git a/debian.master/control.stub.in b/debian.master/control.stub.in
index 83d5900b5d96..e2a0b55538d4 100644
--- a/debian.master/control.stub.in
+++ b/debian.master/control.stub.in
@@ -111,7 +111,7 @@ Multi-Arch: foreign
 Section: kernel
 Priority: optional
 Provides: bpftool
-Depends: ${misc:Depends}, lsb-release
+Depends: ${misc:Depends}, lsb-release, hwdata
 Description: Linux kernel version specific tools for version PKGVER
  This package provides the architecture independent parts for kernel
  version locked tools (such as perf and x86_energy_perf_policy) for

Juerg Haefliger (juergh)
description: updated
description: updated
summary: - linux-tools-common should depend on hwdata
+ usbip: error: failed to open /usr/share/hwdata//usb.ids
description: updated
description: updated
Stefan Bader (smb)
Changed in linux (Ubuntu Mantic):
status: Incomplete → In Progress
importance: Undecided → Medium
Changed in linux (Ubuntu Lunar):
status: New → In Progress
importance: Undecided → Medium
Changed in linux (Ubuntu Jammy):
status: New → In Progress
importance: Undecided → Medium
Stefan Bader (smb)
Changed in linux (Ubuntu Mantic):
status: In Progress → Fix Committed
Changed in linux (Ubuntu Lunar):
status: In Progress → Fix Committed
Changed in linux (Ubuntu Jammy):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/5.15.0-90.100 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy-linux' to 'verification-done-jammy-linux'. If the problem still exists, change the tag 'verification-needed-jammy-linux' to 'verification-failed-jammy-linux'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-v2 verification-needed-jammy-linux
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/6.2.0-38.39 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-lunar-linux' to 'verification-done-lunar-linux'. If the problem still exists, change the tag 'verification-needed-lunar-linux' to 'verification-failed-lunar-linux'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-lunar-linux-v2 verification-needed-lunar-linux
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux/6.5.0-12.12 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-mantic-linux' to 'verification-done-mantic-linux'. If the problem still exists, change the tag 'verification-needed-mantic-linux' to 'verification-failed-mantic-linux'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-mantic-linux-v2 verification-needed-mantic-linux
Revision history for this message
Juerg Haefliger (juergh) wrote :

Installed linux-tools-common 5.15.0-90.100 from jammy-proposed and verified that hwdata is installed as a dependency.

tags: added: verification-done-jammy-linux
removed: verification-needed-jammy-linux
Revision history for this message
Juerg Haefliger (juergh) wrote :

Installed linux-tools-common 6.5.0-12.12 from mantic-proposed and verified that hwdata is installed as a dependency.

Revision history for this message
Juerg Haefliger (juergh) wrote :

Installed linux-tools-common 6.2.0-38.39 from lunar-proposed and verified that hwdata is installed as a dependency.

tags: added: verification-done-lunar-linux verification-done-mantic-linux
removed: verification-needed-lunar-linux verification-needed-mantic-linux
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.