Red Hat Bugzilla – Bug 471883
Anaconda install fails with inserted SD card in write-protected mode
Last modified: 2010-10-23 01:59:46 EDT
Created attachment 323765 [details]
Description of problem:
With the SD cards installed with the switch set to Read Only, the RHEL 5.2 installation will complain “Unable to open /dev/sdX – Read Only” and “Can’t mount /tmp/sdX” a huge number of times. After acknowledging these and removing it from the HDD install option (i.e. only install to sda, etc.), Anaconda continues with the install process. After packages have been selected,the installer will fail and exit after the actual install begins with a trace.This happens with both text and graphical install.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Perform install with read-only sd card
2. De-select the sd card from partition druid
Anaconda trace attached
Installer honors the deselection of the sd card and performs the installation on selected media
Does not occur in f9 or later
Please attach the traceback to this bug report so we can actually see what and where it's failing.
Is that not what I attached?
(In reply to comment #2)
> Is that not what I attached?
Yes it is, sorry. We can reproduce this and we will put it on the list of things which we might fix for 54, if it will make the final list depends upon how many other issues there will be and how urgent those will be.
Just to help move thinks along with regard to this bz, there is a system in
Westford where this bug can be replicated and I have a SD card and know how to
install it so just let me know if I can be of any help.
I've prepared an updates.img which contains the fix as we plan to apply in RHEL 5.4 (assuming this issue makes the list of things to fix for 5.4), you can find it here:
You can use this as a workaround for this bug (on a system with an internet connection) by specifying:
As boot parameter.
Feel free to move this updates.img to a redhat.com address (I still need to setup my personal webspace @redhat.com)
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
This is fixed in this commit:
Which will be part of the upcoming anaconda-220.127.116.11-1 build.
Created attachment 354726 [details]
install logs from recent replication
Created attachment 354727 [details]
install logs from recent replication
Created attachment 354728 [details]
screenshot of error1
Created attachment 354730 [details]
screenshot of error 2
Okay, my SD card in "Lock" mode is in dell-per805-01.rhts.bos.redhat.com. Sorry, I wasn't aware it was reserved waiting for me. Oh, well. Please feel free to use it to see how the install goes. Please let me know when the reservation time period has expired so I can retrieve my card.
With regard to me helping testing this, I believe Dell has already provided their feedback so me adding anything would be superflous, in my opinion.
With regard to Dell's feedback, it looks to me as though the flood of read-only popups are gone with Chris' anaconda so I would consider this bug to be fixed, once officially released. Dell would like an explanation of why there is a warning message but that should not stop this bz from being considered resolved. Again in my opinion, since this warning does not prevent the installation from occurring (at least that is what it looks like) and IF it is deemed a bug (I have no opinion right now), I would suggest one be opened and it fixed in a future release.
I've tested snap #4 with the updates.img from Chris on dell-per805-01 with Sd card in read-only mode attached.
- No warnings for read-only storage in the GUI were shown.
- /dev/sdb (the SD card) was not present on the partitioning screen, only /dev/sda
- default install completed without errors. I'll attach anaconda.log
- no warning about loop partition layout was seen as in comment #43
Also tested with 0724.nightly build which has anaconda-18.104.22.168-1 (and no updates.img). Same results.
I'm moving this to VERIFIED. The loop partition warning in comment #43 is probably due to machine/disc specific issue.
Created attachment 354996 [details]
anaconda.log from 0724.nightly install with SD card attached.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.