Bug 1043372 - Could not copy firmware file /tmp/DD/lib/firmware/updates: Is a directory
Summary: Could not copy firmware file /tmp/DD/lib/firmware/updates: Is a directory
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.4
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: 6.6
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1023566
TreeView+ depends on / blocked
 
Reported: 2013-12-16 06:29 UTC by Weiping Pan
Modified: 2015-01-04 21:55 UTC (History)
8 users (show)

Fixed In Version: anaconda-13.21.216-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-14 06:39:49 UTC
Target Upstream Version:


Attachments (Terms of Use)
DUP for bnx2x (1.94 MB, application/octet-stream)
2013-12-16 06:30 UTC, Weiping Pan
no flags Details
anaconda.log (39.86 KB, text/plain)
2013-12-16 06:31 UTC, Weiping Pan
no flags Details
boot failure picture (1.13 MB, image/jpeg)
2013-12-16 06:32 UTC, Weiping Pan
no flags Details
patch (7.21 KB, patch)
2013-12-18 19:04 UTC, Brian Lane
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1380 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2014-10-14 01:10:50 UTC

Description Weiping Pan 2013-12-16 06:29:40 UTC
Description of problem:

dd-bnx-16235-x86_64.iso has five drivers, which are cnic, bnx2, bnx2x, bnx2i and bnx2fc, and two firmware packages, which are kmod-bnx2-firmware and kmod-bnx2x-firmware.

I am trying to install a RHEL6.4 system with DUP on iscsi target via bnx2x card,
but during installation, Anaconda logged a ERROR in anaconda.log,
"ERROR   : Could not copy firmware file /tmp/DD/lib/firmware/updates: Is a directory"

And I find that only the files in kmod-bnx2-firmware package are in the new initramfs, while the files in kmod-bnx2x-firmware are not in the new initramfs. 
So when reboot, it will say 
"bnx2x 0000:08:00.0: firmware: requesting bnx2x/bnx2x-e1h-7.8.17.0.fw
bnx2s: [bnx2x_init_firmware:12436(eth0)] Can't load firmware file bnx2x/bnx2x-e1h-7.8.17.0.fw", then the boot failed.

It seems that at present Anaconda can only hanle one firmware package.

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

How reproducible:


Steps to Reproduce:
1.install a RHEL6.4 system with DUP on iscsi target via bnx2x card
2.reboot
3.boot failure

Actual results:
boot failure

Expected results:
boot success

Additional info:

hp-dl380eg8-02.rhts.eng.nay.redhat.com

Comment 1 Weiping Pan 2013-12-16 06:30:56 UTC
Created attachment 837117 [details]
DUP for bnx2x

Comment 2 Weiping Pan 2013-12-16 06:31:32 UTC
Created attachment 837118 [details]
anaconda.log

Comment 3 Weiping Pan 2013-12-16 06:32:54 UTC
Created attachment 837119 [details]
boot failure picture

Comment 4 Brian Lane 2013-12-17 22:58:55 UTC
Give this updates.img a try:

http://bcl.fedorapeople.org/updates/1043372.img

We weren't copying the firmware/updates/* files over to the target system before recreating the initrd so they were missing.

Also note, the dd iso you attached is the wrong one, it is for rhel7.

Comment 5 Brian Lane 2013-12-18 19:04:48 UTC
Created attachment 838536 [details]
patch

Comment 6 Weiping Pan 2013-12-20 02:55:28 UTC
(In reply to Brian C. Lane from comment #4)
> Give this updates.img a try:
> 
> http://bcl.fedorapeople.org/updates/1043372.img
> 
> We weren't copying the firmware/updates/* files over to the target system
> before recreating the initrd so they were missing.

Agreed.

> 
> Also note, the dd iso you attached is the wrong one, it is for rhel7.

No, it is for RHEL6.4, it is built against 2.6.32-358.

Comment 7 Weiping Pan 2013-12-20 03:00:06 UTC
(In reply to Brian C. Lane from comment #5)
> Created attachment 838536 [details]
> patch

I think your patch is fine, and I will test it when it is merged.

thanks
Weiping Pan

Comment 8 RHEL Program Management 2014-03-26 00:14:41 UTC
This request was evaluated by Red Hat Product Management for
inclusion in a Red Hat Enterprise Linux release.  Product
Management has requested further review of this request by
Red Hat Engineering, for potential inclusion in a Red Hat
Enterprise Linux release for currently deployed products.
This request is not yet committed for inclusion in a release.

Comment 14 errata-xmlrpc 2014-10-14 06:39:49 UTC
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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1380.html


Note You need to log in before you can comment on or make changes to this bug.