Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1062482

Summary: DUD image creation fail on RHEL7
Product: Red Hat Enterprise Linux 7 Reporter: Raghu H B <raghu.hb>
Component: Driver Update DiskAssignee: Weiping Pan <wpan>
Status: CLOSED WORKSFORME QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.0CC: ruyang
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-24 02:32: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:
Attachments:
Description Flags
hpsa srpm build on 3.10.0-67.el7.x86_64
none
dd.iso.gz generated by ddiskit none

Description Raghu H B 2014-02-07 03:08:12 UTC
Description of problem:

I am seeing some issues while creating dud image for RHEL7 snapshot2 using ddiskkit v2.5.

How reproducible:
Currently I am using ddiskit v2.5 which is failing to create DUD image for RHEL7 snapshot OS.
I am seeing some mount issues while creating DUD images, unable to mount the tmp partition which is created during img creation. Due to which ddiskit unable to proceed with dud image creation.



Steps to Reproduce:
I tried creating dud image for megasr driver using the ddiskit v2.5 which is available in below link. Still I am seeing some issues and img creation is failing with below error message.

Building disk image (superuser authority required)...
umount: /home/ddiskit-v2.5/images/tmp: target is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
make: *** [diskimg] Error 32

I am running the script as root


Actual results:
Building disk image (superuser authority required)...
umount: /home/ddiskit-v2.5/images/tmp: target is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
make: *** [diskimg] Error 32


Expected results:
DUD image creation should be successful


Additional info:
we are in readiness phase, As RHLE7 GCA is nearing, we should be ready with out of box driver and DUD images for RHEL7 drivers. Because customers will start using RHEL-7 GCA as soon as it is available. We should be ready with the working driver release for RHEL7.

Currently I am using ddiskit v2.5 which is failing to create DUD image for RHEL7 snapshot OS.
I am seeing some mount issues while creating DUD images, unable to mount the tmp partition which is created during img creation. Due to which ddiskit unable to proceed with dud image creation.


Redhat support case id: Case #01017023

Comment 2 Weiping Pan 2014-02-07 08:25:04 UTC
Hi, Raghu,

I can not reproduce your bug.
Did you refer to the README file in ddiskit-v2.5 ?

        -- Modify the contents of the kversions file
        -- Modify the contents of the subdirs file
        -- Add a directory for the new driver being built
        -- Copy the sources for the new driver to that directory
        -- Copy the RPM SPEC file from the tmpl directory
        -- to the new driver's directory and modify it appropriately
        -- Type 'make' in the top-level directory
        -- Retrieve the dd.iso.gz file from the images directory

I will attach a hpsa driver srpm and dd for you to refer.

thanks
Weiping Pan

Comment 3 Weiping Pan 2014-02-07 08:26:12 UTC
Created attachment 860391 [details]
hpsa srpm build on 3.10.0-67.el7.x86_64

Comment 4 Weiping Pan 2014-02-07 08:27:15 UTC
Created attachment 860392 [details]
dd.iso.gz generated by ddiskit

Comment 5 RHEL Program Management 2014-03-22 06:04:58 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.