Bug 1930568
Summary: | Update hwdb to support new HW | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Rick <rhsu5> | |
Component: | systemd | Assignee: | David Tardon <dtardon> | |
Status: | CLOSED ERRATA | QA Contact: | Frantisek Sumsal <fsumsal> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 8.3 | CC: | bcao, dengdeng1, dhsia, dtardon, lmiksik, mknutson, msekleta, rhsu5, rmetrich, rvr, systemd-maint-list | |
Target Milestone: | rc | Keywords: | Improvement, Triaged | |
Target Release: | --- | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | systemd-239-51.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2005009 (view as bug list) | Environment: | ||
Last Closed: | 2021-11-09 19:55:38 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1898973, 2005009 |
Description
Rick
2021-02-19 07:41:59 UTC
Thanks for the bug report! This is going to be fixed in hwdata-0.314-8.8.el8 available on RHEL-8.4.0 GA: $ cat usb.ids: ... # Version: 2021.01.29 # Date: 2021-01-29 20:34:11 ... 2a4b EMULEX Corporation 0400 Pilot4 Integrated Hub ... (In reply to Vitezslav Crhonek from comment #1) > Thanks for the bug report! > > This is going to be fixed in hwdata-0.314-8.8.el8 available on RHEL-8.4.0 GA: > > $ cat usb.ids: > ... > # Version: 2021.01.29 > # Date: 2021-01-29 20:34:11 > ... > 2a4b EMULEX Corporation > 0400 Pilot4 Integrated Hub > ... Hi Vitezslav We have a feature request for usb-utils 013 build for RHEL8.4. https://bugzilla.redhat.com/show_bug.cgi?id=1855548 In the 013 build, udev hwdb is included, It is more friendly to get vendor and product names. (In reply to Vitezslav Crhonek from comment #1) > Thanks for the bug report! > > This is going to be fixed in hwdata-0.314-8.8.el8 available on RHEL-8.4.0 GA: > > $ cat usb.ids: > ... > # Version: 2021.01.29 > # Date: 2021-01-29 20:34:11 > ... > 2a4b EMULEX Corporation > 0400 Pilot4 Integrated Hub > ... Thanks Vitezslav Will you have fix plan on RHEL 8.3? If no. Is there any workaround to update usb.ids ? Rick Hsu Hi Rick, Sorry, I don't know the answer to your question. We update hwdata every release. I guess no special fix for RHEL8.3 is needed, but please contact your support to check that. Hi Vitezslav, After I verify this issue on RHEL 8.5 (RHEL-8.5.0-20210730.n.0-x86_64-dvd1), this problem still exists although the latest usb.ids has been used. [root@localhost ~]# less /usr/share/hwdata/usb.ids ... # Version: 2021.06.16 # Date: 2021-06-16 20:34:10 ... 2a4b EMULEX Corporation 0400 Pilot4 Integrated Hub ... But this issue can be fixed by added below data to /usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb. usb:v2A4B* ID_VENDOR_FROM_DATABASE=ENULEX Corporation Pilot4 Integrated Hub And then update the binary database. [root@localhost ~]# systemd-hwdb update Finally I can see the device name for 2a4b:0400. [root@localhost ~]# lsusb Bus 002 Device 002: ID 8564:1000 Transcend Information, Inc. JetFlash Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 0624:0296 Avocent Corp. Bus 001 Device 004: ID 04b3:4010 IBM Corp. Bus 001 Device 002: ID 2a4b:0400 ENULEX Corporation Pilot4 Integrated Hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub It seems like we still need to add below record in 20-usb-vendor-model.hwdb file. usb:v2A4B* ID_VENDOR_FROM_DATABASE=ENULEX Corporation Pilot4 Integrated Hub Can you please double confirm it ? Please let me know if you decided to implement this fix in RHEL 8.5. --Rick Hsu (In reply to Rick from comment #5) > Hi Vitezslav, > > After I verify this issue on RHEL 8.5 > (RHEL-8.5.0-20210730.n.0-x86_64-dvd1), this problem still exists although > the latest usb.ids has been used. > > [root@localhost ~]# less /usr/share/hwdata/usb.ids > ... > # Version: 2021.06.16 > # Date: 2021-06-16 20:34:10 > ... > 2a4b EMULEX Corporation > 0400 Pilot4 Integrated Hub > ... > > But this issue can be fixed by added below data to > /usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb. > > usb:v2A4B* > ID_VENDOR_FROM_DATABASE=ENULEX Corporation Pilot4 Integrated Hub > > And then update the binary database. > [root@localhost ~]# systemd-hwdb update > > Finally I can see the device name for 2a4b:0400. > [root@localhost ~]# lsusb > Bus 002 Device 002: ID 8564:1000 Transcend Information, Inc. JetFlash > Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Bus 001 Device 003: ID 0624:0296 Avocent Corp. > Bus 001 Device 004: ID 04b3:4010 IBM Corp. > Bus 001 Device 002: ID 2a4b:0400 ENULEX Corporation Pilot4 Integrated Hub > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > > It seems like we still need to add below record in > 20-usb-vendor-model.hwdb file. > > usb:v2A4B* > ID_VENDOR_FROM_DATABASE=ENULEX Corporation Pilot4 Integrated Hub > > Can you please double confirm it ? Please let me know if you decided to > implement this fix in RHEL 8.5. > > > --Rick Hsu Hi Rick, /usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb file is part of systemd-udev. # rpm -qf /usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb systemd-udev-239-49.el8.x86_64 I can see that systemd upstream already contains data you need: (https://raw.githubusercontent.com/systemd/systemd/main/hwdb.d/20-usb-vendor-model.hwdb) ... usb:v2A4B* ID_VENDOR_FROM_DATABASE=EMULEX Corporation usb:v2A4Bp0400* ID_MODEL_FROM_DATABASE=Pilot4 Integrated Hub ... I guess it's only matter of systemd-udev update then, reassigning to systemd. Hi Vitezslav, Thanks for your confirmation. Yes, we need to update systemd-udev. Do we have chance to implement the fix in RHEL 8.5? --Rick Hsu We haven't been updating hwdb in the past, but I think we should do it regularly to support new HW. I don't see any drawbacks anyway. fix merged to github master branch -> https://github.com/redhat-plumbers/systemd-rhel8/pull/207 fix merged to github rhel-8.5.0 branch -> https://github.com/redhat-plumbers/systemd-rhel8/pull/209 Hi Red Hat, Can you please provide the steps for verifying this issue? --Rick Hsu Hi Rick, We do not do any verification for specific devices, we just check the consistency of the hwdb with the upstream test you can find here: https://github.com/systemd/systemd/blob/main/test/hwdb-test.sh Also, please do not touch the status of the bugzilla, it is strongly tied to our internal processes and you could break our automation. Lukas Hi Lukas, Thanks. I got it. Since RHEL 8.5 is under developing. May I know which RHEL 8.5 release will merge this fix ? --Rick Hsu Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (systemd bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:4469 |