Bug 375011

Summary: Can't continue installation after running media check
Product: [Fedora] Fedora Reporter: Kevin Cozens <kevin>
Component: anacondaAssignee: Peter Jones <pjones>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: bugzilla.redhat.com, caleb, dcantrell, gohlx002, greyhacker, Jacek.Pliszka, jlaska, joost, mnagy, petersen, ploujj, pnewell0705, rhbugs, rpm, sa84120, tcallawa, tethys, thetemplar, wwoods, xjakub
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: anaconda-11.4.1.58-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-15 15:54:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 469046    

Description Kevin Cozens 2007-11-10 20:24:39 UTC
Boot a Fedora DVD, select item 1 (install/upgrade existing partition), and run
the media check when given the option. When the media check completes the DVD is
ejected and the user can select "Test" or "Continue". Select continue. The DVD
is reloaded, the DVD drive light flashes for a while and is eventually ejected
once more. The screen shows a dialog box titled "Error" containing the message
"OK" in black, and a button with the text "OK" on it.

The only way to get past this point is to reboot the computer using the DVD, and
when asked about running a media check, select "Skip" to skip the media check.

This problem exists with both the F8 i386 and F8 x86_64 DVD's. I download the
ISO's for the discs off the net. Both DVD ISO images passed the 'sha1sum -c'
test. Each image was burned to a DVD and verified by k3b. I was able to
successfully upgrade the i386 and x86_64 partitions of my computer with the
DVD's as long as I skip the media check.

Comment 1 Luigi Tarenga 2007-11-10 23:22:16 UTC
i did a media check too and once the dvd was ejected i pressed "continue",
a new windows prompt out with only an "Ok" message, i inserted the dvd media,
pressed ok and the installation went on smoothly... i didn't get this kind
of error even if i executed a media check

Comment 2 Jeremy Katz 2007-11-12 19:09:10 UTC
What is printed on tty3 when the CD is ejected again?

Comment 3 Kevin Cozens 2007-11-14 06:30:56 UTC
The only message that appears on tty3 is the message:
  ejecting /tmp/cdrom...

The message appears about 30 seconds after hitting the "Ok" button on the screen
with the "Ok" message. I hit the "Ok" button three times and the DVD was ejected
each time.

Comment 4 Kevin Cozens 2007-11-19 15:41:46 UTC
Some additional bits of information (in case they may be helpful). I am using a
computer which I have only had for about 6 months. I initially installed Fedora
7 on it. I don't recall having a problem with the media test on F7. However,
that was about 6 months ago and I can't say with absolute certainty that I did
perform the media test. The DVD drive I was using during the install is a
DVD+/-R/W drive. It is identified in dmesg as HL-DT-ST DVDRRW GSA-H30L.

Comment 5 Chris Lumens 2008-04-22 14:52:51 UTC
*** Bug 442188 has been marked as a duplicate of this bug. ***

Comment 6 Chris Lumens 2008-04-22 14:53:12 UTC
*** Bug 442208 has been marked as a duplicate of this bug. ***

Comment 7 Hans Ulrich Niedermann 2008-04-22 17:23:56 UTC
JFTR: Bug 442188 and bug 442208 referred not to F8 like this bug, but to
what-will-be-F9.

Comment 8 Will Woods 2008-05-14 18:33:09 UTC
*** Bug 446265 has been marked as a duplicate of this bug. ***

Comment 9 Will Woods 2008-05-14 18:33:20 UTC
*** Bug 446301 has been marked as a duplicate of this bug. ***

Comment 10 Will Woods 2008-05-14 18:38:37 UTC
To work around this, you just need to slow down - wait for the machine to detect
that there's a disc in the drive (watch the flashing light) before you hit OK.

Comment 11 Chris Lumens 2008-05-15 04:29:57 UTC
*** Bug 441041 has been marked as a duplicate of this bug. ***

Comment 12 Chris Lumens 2008-05-16 14:40:49 UTC
*** Bug 446838 has been marked as a duplicate of this bug. ***

Comment 13 Chris Lumens 2008-05-18 14:28:23 UTC
*** Bug 447165 has been marked as a duplicate of this bug. ***

Comment 14 Andy Lindeberg 2008-06-03 19:41:16 UTC
This bug persists in F9, though it's not really a bug. You need to reinsert the
disc and wait for about fifteen seconds for the system to find it again before
hitting continue. A more graceful error message than "Error" would be helpful,
though.

Comment 15 Hans Ulrich Niedermann 2008-06-03 20:20:38 UTC
Reopening, as the useless error message IS the bug, and I have not read about a
fix for that yet.

At least the useless error message is what I reported as bug 442188, and that
bug has been classified as a duplicate of this-here bug.


Comment 16 Hans Ulrich Niedermann 2008-06-03 20:25:42 UTC
Just for the record, the message in question looks like this:

  +----[Error]----+
  | OK            |
  |          [OK] |
  +---------------+

The user is supposed to read that as "The installer is currently cannot read
from the installation medium. Please wait until the drive has definitely
recognized the medium, which may take a little time." or something along these
lines.

That cannot be realistically expected from a majority of users, IMHO.


Comment 17 Andy Lindeberg 2008-06-17 15:22:59 UTC
*** Bug 451785 has been marked as a duplicate of this bug. ***

Comment 18 Chris Lumens 2008-07-10 21:31:56 UTC
Stupid error message fixed in Rawhide, though we still need to fix the real
problem here.  The real problem is that we're not able to wait for the drive
tray to be pulled back in and the new media to be recognized without some kernel
patching.  Peter's working on that.

Comment 19 Andy Lindeberg 2008-08-14 13:41:32 UTC
*** Bug 459056 has been marked as a duplicate of this bug. ***

Comment 20 Andy Lindeberg 2008-08-26 17:13:20 UTC
*** Bug 459342 has been marked as a duplicate of this bug. ***

Comment 21 Andy Lindeberg 2008-09-11 14:17:40 UTC
*** Bug 461876 has been marked as a duplicate of this bug. ***

Comment 22 Andy Lindeberg 2008-10-02 13:46:45 UTC
*** Bug 465257 has been marked as a duplicate of this bug. ***

Comment 23 Andy Lindeberg 2008-10-10 15:19:58 UTC
This has (finally!) been fixed in today's rawhide.

Comment 24 Paul 2008-10-11 02:52:57 UTC
This is good news to hear. I did want to ask if it will be back-patched to F9

Thanks,
Paul

Comment 25 Jens Petersen 2008-10-13 02:09:26 UTC
(In reply to comment #23)
> This has (finally!) been fixed in today's rawhide.

Has it?  I can still reproduce with the latest rawhide here with anaconda-11.4.1.48-1: it keeps asking me for "The Fedora disc" after checking boot.iso successfully.

Comment 26 Will Woods 2008-10-13 20:01:47 UTC
The situation *has* improved somewhat - loader appears waits for the disc to be sensed by the drive/kernel. But once that happens, it thinks the disc still isn't there. 

As before, you can work around this by inserting the media, waiting a bit for the drive to detect it, and *then* hitting "OK" or "Continue".

Comment 27 Jerry Williams 2008-10-21 00:57:18 UTC
Tried Fedora 10 Snap2 x86_64 DVD and once I test the DVD it ejects it and then it can't seem to find it again.
I also have a second DVD drive and it looks at /dev/sr1 for a while before it will go on.

Comment 28 Jerry Williams 2008-10-21 01:26:01 UTC
I tried this again with Fedora 10 Snap 2 x86_64 and if I put the DVD back in the drive and wait for the light to stop flashing and then select continue then it seems to be okay.  Then I just have to wait the min for /dev/sr1.

I tried this on VBox and if I kind of do that same thing, but I have to Select Devices and Mount the DVD image and then select continue.  If I select continue without doing that I can't seem to recover without a reboot.

Comment 29 Jens Petersen 2008-10-21 01:54:35 UTC
If there isn't an easy way to fix this cleanly then IMHO it would be better just to do a reboot by default after finishing the mediacheck and confirming with the user: the current status quo is just too confusing, or maybe add a message saying "Wait a bit!" or something at least.

Comment 30 Paul 2008-10-21 04:02:50 UTC
So I guess I should say "forget my email about porting to Fedora 9" ...

Given the subsequent emails, I think Jen's (comment #29) is the correct approach. Though I would prefer a "do this cause there is a problem and you need to do such-and-such workaround" rather than a "wait a bit" as that doesn't own up to the issue that is causing the problem.

Comment 31 Andy Lindeberg 2008-10-21 20:57:31 UTC
*** Bug 467566 has been marked as a duplicate of this bug. ***

Comment 32 Andy Lindeberg 2008-10-21 21:08:37 UTC
Aaaargh! You're right, this is still halfway broken.

However, it works just fine if you hit "continue" and let the computer take the disc back in itself. (Wtf.) Peter has said he'll look at the hitting-ok-right-after-reinserting behavior tomorrow.

Comment 33 Jerry Williams 2008-10-22 00:20:45 UTC
Why does it have to eject the disk in the first place?
This causes problem on things like vbox.
When you are testing a DVD you only have 1, why eject it?
Why not have an eject button to go along with the test and continue ones?

Comment 34 Hans Ulrich Niedermann 2008-10-22 07:57:51 UTC
(In reply to comment #33)
> Why does it have to eject the disk in the first place?
> When you are testing a DVD you only have 1, why eject it?

Very good point.

> Why not have an eject button to go along with the test and continue ones?

I like that idea.

I'd ask the user before the media test - give the user these three buttons to choose from:

  * Skip media test
  * Test medium and continue installation (if successful)
  * Test medium and eject it

On three well-named dialog buttons, that would make things a lot easier.

If the explanation is in the text, the buttons could e.g. be called

    "Skip" "Test and continue installation" "Test and eject medium"

That should fit on an 80 column text screen.

Comment 35 Chris Lumens 2008-10-27 14:14:44 UTC
I believe this should be fixed up as of 11.4.1.51-1.  Peter just committed some fixes for it on Thursday.

Comment 36 Will Woods 2008-10-27 19:04:15 UTC
No good, at least for the 3 drives / 2 machines I tested. 

The test goes like this:

0) Burn and boot rawhide's boot.iso
1) Perform mediacheck
2) When mediacheck completes, hit "OK" to acknowledge success and eject the disc
3) Choose "Continue" to continue installation
4) Drive closes, time passes
5) Disc ejects; "Error: The Fedora disc was not found in any of your drives..."
6) Hit OK. Goto 4

There are no log messages from loader during this loop, even with 'loglevel=debug'. tty5 does say:
  Running... /bin/mount -n -t iso9660 -o -ro /dev/sr0 /mnt/stage2
but there's nothing in dmesg, syslog, or anaconda.log.

The only way to break the loop is to insert the disc by hand, wait for the drive/kernel to notice that it's been inserted, and *then* hit OK.

Strangely, if you hit "Test" rather than "Continue" at step 3, it will happily close the drive, wait for it to spin up, and then proceed to test the media, as you would expect.

Comment 37 Jens Petersen 2008-10-28 02:26:20 UTC
(In reply to comment #35)
> I believe this should be fixed up as of 11.4.1.51-1.

Not for me either.

Comment 38 Jens Petersen 2008-10-28 06:39:51 UTC
(In reply to comment #34)
>     "Skip" "Test and continue installation" "Test and eject medium"

How about:

"Install"  "Test and install"  "Test only"

Comment 39 Hans Ulrich Niedermann 2008-10-28 11:34:33 UTC
Hmm.

"Install" "Test and install" "Test and ask"

?

Comment 40 Jens Petersen 2008-10-30 07:28:36 UTC
Sure, as long as "ask" does not sit you in an infinite media eject loop. :)

Comment 41 Hans Ulrich Niedermann 2008-10-30 09:26:25 UTC
Obviously. And make my suggestion

"Install" "Test and install" "Test and ask again"

Comment 42 Jens Petersen 2008-11-03 06:03:14 UTC
> The only way to break the loop is to insert the disc by hand, wait for the
> drive/kernel to notice that it's been inserted, and *then* hit OK.

Okay I finally reproduced that - not sure how long one needs to wait I think I waited over 20s.

Comment 43 Chris Lumens 2008-11-05 21:07:50 UTC
*** Bug 470033 has been marked as a duplicate of this bug. ***

Comment 44 Jesse Keating 2008-11-11 23:11:44 UTC
Yeah, there is still a loop here, I can't break out of it unless I put the disc in manually.

Comment 45 Will Woods 2008-11-12 21:38:10 UTC
Still a loop here as well. Here's the /proc/scsi/scsi information about my drives:

Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: LITE-ON  Model: CD-ROM LTN-4891S Rev: NDS3
  Type:   CD-ROM                           ANSI  SCSI revision: 05
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: TSSTcorp Model: CDRWDVD TS-H492C Rev: DE02
  Type:   CD-ROM                           ANSI  SCSI revision: 05

The latter is the one I'm using.

Comment 46 Will Woods 2008-11-12 22:11:55 UTC
Reproduced in anaconda-11.4.1.57 (20081112 Rawhide boot.iso).

Maybe it's just certain balky hardware that's affected anymore? Or maybe having multiple drives changes the outcome?

I'll accept moving this bug off the Blocker list if we can show that it works for *most* people.

Comment 47 Will Woods 2008-11-12 22:53:31 UTC
Think we finally got this knocked. pjones built a test image that works exactly as expected on my unhappy drives. The fix is in:

  commit e7b3e458315a83340eb07b630da5f7194c035064

Should land in the next anaconda build, which would presumably be anaconda-11.4.1.58-1

Comment 48 Andy Lindeberg 2008-11-12 22:59:39 UTC
Confirmed fixed!

Comment 49 Will Woods 2008-11-12 23:12:45 UTC
Leaving this open until we actually have a fixed package tagged and signed for f10-final.

Comment 50 Paul 2008-11-13 04:32:51 UTC
Assuming this fix holds up as valid and is released into f10, will it be back-patched to f9?

Comment 51 Jens Petersen 2008-11-13 04:49:30 UTC
(In reply to comment #50)
> Assuming this fix holds up as valid and is released into f10, will it be
> back-patched to f9?

Err, what for? :)  fedoraunity?   anaconda is not normally backported, I think.

Comment 52 Paul 2008-11-13 05:22:01 UTC
"Fedoraunity" is the least of my worries. I have multiple machines I need to upgrade from FC5 to F9 and my experience in dealing with thrid-party software is that sometimes a fix only holds for the current release and sometimes it is possible to baclpatch to the prior release, maybe more.

This thread shows that its impacted alot of people and it seems that if it can be backpatched it would make life easier for those who are still working on F9 and not ready to move to F10.

Whether it happens or not is not a critical issue. But asking if it is possible is a legit question in my book.

Comment 53 Jens Petersen 2008-11-13 07:14:19 UTC
(In reply to comment #52)
> I have multiple machines I need to upgrade from FC5 to F9

So to make my question more specific: how would you use such a potential anaconda update?
You would have to do a local respin of f9 to make use of it I think.

Comment 54 Paul 2008-11-13 13:48:04 UTC
Ah, light bulb goes off above head !!!

I now understand why this request doesn't make sense, thanks for clarifying (and let's pretend I never asked about a back-patch)

Comment 55 Jeremy Katz 2008-11-13 16:44:33 UTC
Package built, tag request in. --> MODIFIED

Comment 56 James Laska 2008-11-14 19:00:26 UTC
Confirmed in rawhide-20081114 while booting from and verifying boot.iso media.

Comment 57 Andy Lindeberg 2009-01-13 22:30:48 UTC
*** Bug 479543 has been marked as a duplicate of this bug. ***

Comment 58 Andy Lindeberg 2009-01-14 19:06:10 UTC
*** Bug 479543 has been marked as a duplicate of this bug. ***

Comment 59 Bug Zapper 2009-06-09 09:21:08 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 60 Penelope Fudd 2009-06-25 17:39:46 UTC
This bug is still present in Fedora 11 install DVD.

Do a media check; reinsert DVD and click on 'ok''; get a message saying the disk is not recognized as the Fedora disk.

Comment 61 Andy Lindeberg 2009-07-15 15:54:33 UTC
(In reply to comment #60)
> This bug is still present in Fedora 11 install DVD.
> 
> Do a media check; reinsert DVD and click on 'ok''; get a message saying the
> disk is not recognized as the Fedora disk.  

This is not the same bug at all. Please file a separate report for this problem.

We have not gotten any reports since January, so I'm going to close this bug as FINALLY fixed. Hopefully it will stay that way this time.