Bug 1975595

Summary: dpdk: ice_load_pkg(): failed to open file: /lib/firmware/intel/ice/ddp/ice.pkg
Product: Red Hat Enterprise Linux 9 Reporter: Jean-Tsung Hsiao <jhsiao>
Component: dpdkAssignee: Open vSwitch development team <ovs-team>
Status: CLOSED DUPLICATE QA Contact: Jean-Tsung Hsiao <jhsiao>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: dmarchan, hkrzesin, jhsiao, ovs-qe, rvr
Target Milestone: betaFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-16 09:27:49 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:

Description Jean-Tsung Hsiao 2021-06-24 02:17:52 UTC
Description of problem:

ice_load_pkg(): failed to open file: /lib/firmware/intel/ice/ddp/ice.pkg

[root@wsfd-advnetlab10 ice]# cd ddp
[root@wsfd-advnetlab10 ddp]# ll
total 24
-rw-r--r--. 1 root root 21092 May 31 14:00 ice-1.3.16.0.pkg.xz
lrwxrwxrwx. 1 root root    19 May 31 14:00 ice.pkg.xz -> ice-1.3.16.0.pkg.xz


Version-Release number of selected component (if applicable):

[root@wsfd-advnetlab10 ddp]# uname -r
5.13.0-0.rc4.33.el9.x86_64
[root@wsfd-advnetlab10 ddp]# 


How reproducible: Reproducible


Steps to Reproduce:
1. Config a dpdk OVS bridge and add a ice port to it.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Herton R. Krzesinski 2021-06-24 12:20:53 UTC
Does the problem still happens if you create an ice.pkg link to the ice-1.3.16.0.pkg.xz file? I'm trying to determine if this is a simple symlink issue or if it's another one. If it doesn't work, please try to uncompress the ice-1.3.16.0.pkg.xz file to ice-1.3.16.0.pkg and recreate the ice.pkg link to point to it.

Comment 2 Jean-Tsung Hsiao 2021-06-25 02:04:33 UTC
(In reply to Herton R. Krzesinski from comment #1)
> Does the problem still happens if you create an ice.pkg link to the
> ice-1.3.16.0.pkg.xz file? I'm trying to determine if this is a simple
> symlink issue or if it's another one. If it doesn't work, please try to
> uncompress the ice-1.3.16.0.pkg.xz file to ice-1.3.16.0.pkg and recreate the
> ice.pkg link to point to it.

Need to unxz ice-1.3.16.0.pkg.xz and make the soft link --- The way Rhel-8 is doing.

Comment 3 Jean-Tsung Hsiao 2021-07-27 03:16:11 UTC
The same issue still there under 5.14.0-0.rc2.23.el9.x86_64:

2021-07-27T02:48:41.862Z|00305|dpdk|ERR|ice_load_pkg(): failed to open file: /lib/firmware/intel/ice/ddp/ice.pkg

Don't know why the bug is so hard to fix --- look at Rhel 8 please.

Comment 4 Herton R. Krzesinski 2021-07-28 22:15:17 UTC
(In reply to Jean-Tsung Hsiao from comment #3)
> The same issue still there under 5.14.0-0.rc2.23.el9.x86_64:
> 
> 2021-07-27T02:48:41.862Z|00305|dpdk|ERR|ice_load_pkg(): failed to open file:
> /lib/firmware/intel/ice/ddp/ice.pkg
> 
> Don't know why the bug is so hard to fix --- look at Rhel 8 please.

It appears the problem here is that dpdk does not have support for loading compressed firmware files.
The message above seems to come from dpdk. I was not able to find any reason in that the kernel would
not be able to load the compressed file through the symlink. I did some search and found this:
https://inbox.dpdk.org/dev/CAJFAV8wznKKERCGqW0YmD-8=UtGXX6P=MU55Q68uVXR6FLmZgQ@mail.gmail.com/T/

Seems work is under way to make dpdk able to load compressed files. Thus there is nothing to change
in linux-firmware here. I'm moving this bug to dpdk component.

Comment 5 David Marchand 2021-08-16 09:27:49 UTC

*** This bug has been marked as a duplicate of bug 1965867 ***