[LU-5479] lustre build kernel-firmware should be noarch Created: 12/Aug/14  Updated: 20/Nov/19  Resolved: 20/Nov/19

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Critical
Reporter: Minh Diep Assignee: Minh Diep
Resolution: Cannot Reproduce Votes: 0
Labels: None

Issue Links:
Related
Severity: 3
Rank (Obsolete): 15285

 Description   

default RH kernel-firmware is noarch but we build ours with x86_64. This results in yum install failure



 Comments   
Comment by Minh Diep [ 12/Aug/14 ]

yum install kernel-2.6.32-431.20.5.el6_lustre kernel-devel-2.6.32-431.20.5.el6_lustre kernel-firmware-2.6.32-431.20.5.el6_lustre kernel-headers-2.6.32-431.20.5.el6_lustre
Loaded plugins: product-id, refresh-packagekit, security, versionlock
Setting up Install Process
Package matching kernel-headers-2.6.32-431.20.5.el6_lustre.x86_64 already installed. Checking for update.
Resolving Dependencies
--> Running transaction check
---> Package kernel.x86_64 0:2.6.32-431.20.5.el6_lustre will be installed
---> Package kernel-devel.x86_64 0:2.6.32-431.20.5.el6_lustre will be installed
---> Package kernel-firmware.x86_64 0:2.6.32-431.20.5.el6_lustre will be installed
---> Package kernel-headers.x86_64 0:2.6.32-431.17.1.el6_lustre will be updated
---> Package kernel-headers.x86_64 0:2.6.32-431.20.5.el6_lustre will be an update
--> Finished Dependency Resolution
--> Running transaction check
---> Package kernel.x86_64 0:2.6.32-431.5.1.el6 will be erased
---> Package kernel-devel.x86_64 0:2.6.32-431.5.1.el6 will be erased
--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for kernel-firmware which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of kernel-firmware of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude kernel-firmware.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of kernel-firmware installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of kernel-firmware installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: kernel-firmware-2.6.32-431.20.5.el6_lustre.x86_64 != kernel-firmware-2.6.32-431.20.3.el6.noarch
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Comment by Andreas Dilger [ 01/Dec/14 ]

Minh, are you planning to work on a patch for this problem?

Comment by Stephen Champion [ 17/Jun/15 ]

I suggest not building the firmware package.
The kernel package should Require: the distro firmware package the kernel is based on.

As our patches do not affect their contents, there is no reason to build the headers or perf packages, either.

Comment by Minh Diep [ 20/Nov/19 ]

we no longer build kernel-firmware

Generated at Sat Feb 10 01:51:51 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.