Bug 193734

Summary: Packages incorrectly reported as missing, causing install to fail
Product: [Fedora] Fedora Reporter: Philip Prindeville <philipp>
Component: anacondaAssignee: David Cantrell <dcantrell>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 5CC: robatino
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-03-15 18:01:14 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:
Attachments:
Description Flags
/tmp/anaconda.log
none
/tmp/syslog none

Description Philip Prindeville 2006-05-31 22:28:23 UTC
Description of problem:

Having burned a DVD and then tried to install from it, I'm seeing a pop-up
dialog announcing:

"The package libXcursor-devel-1.1.5.2-2.2.i386 cannot be opened.  This is due to
a missing file or perhaps a corrupt package.  If you are installing from CD
media this usually means the CD media is corrupt, or the CD drive is unable to
read the media.

Press 'Retry' to try again.

[Reboot] [Retry]"

Oddly though, checking the media on both the machine that the DVD was burnt on
as well as booting into "linux mediacheck" on the target machine reveals no
issues with the DVD.

Rerunning the test causes similar failures, but with a different package.


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


How reproducible:

Boot from FC-5-i386-DVD.iso burnt onto a DVD.


Steps to Reproduce:
1.
2.
3.
  
Actual results:

See the above.

Expected results:

The installation should succeed.

Additional info:

Comment 1 Andre Robatino 2006-06-01 05:04:40 UTC
  Possibly the mediacheck bug #186512 (yes, it can manifest during installation
even if some or all of the install discs check as good).  Try running the
installer with the ide=nodma option (at the boot prompt, type "linux ide=nodma"
instead of just Enter).  The installer puts any kernel options you run it with
in grub.conf, so if you install successfully and you don't want to use ide=nodma
permanently, take it out.

Comment 2 Philip Prindeville 2006-06-01 05:18:09 UTC
That can go into the "append" section of the isolinux/isolinux.cfg file, right?

Ok, I'll give it a try.

It's also been suggested that this might be caused by breakage introduced by
Redhat patches to mkisofs...  So I'll try the unadulterated version as well.


Comment 3 Chris Lumens 2006-06-02 17:20:21 UTC
mkisofs was only broken for a couple days, so you most likely didn't hit that. 
If you switch to tty2 and run dmesg, do you see any kernel error messages
regarding your optical drive?  Ignore any selinux-related spew there.

Comment 4 Philip Prindeville 2006-06-02 17:41:45 UTC
I went into isolinux/isolinux.cfg and added "append ... ide=nodma" to the
"kickstart" entry.  I also started using mkisofs (cdrtools-2.01.01a09) at the
same time, and the issue seems to have gone away.

I'll try using the stock mkisofs.


Comment 5 Andre Robatino 2006-06-02 17:56:59 UTC
  Assuming it was the mediacheck bug, you might want to look at

http://www.troubleshooters.com/linux/coasterless.htm

  I found that by burning CDs according to the instructions, I was able to avoid
having to use ide=nodma on a drive that previously needed it.  I'm not familiar
with burning DVDs so don't know how applicable the instructions are.

Comment 6 Andre Robatino 2006-06-02 18:16:38 UTC
  Actually, look at this instead:

http://www.troubleshooters.com/linux/coasterless_dvd.htm

Comment 7 Jeremy Katz 2006-06-04 18:20:41 UTC
Can you provide /tmp/anaconda.log and /tmp/syslog from when it fails?

Comment 8 Philip Prindeville 2006-06-05 03:31:42 UTC
Created attachment 130474 [details]
/tmp/anaconda.log

Comment 9 Philip Prindeville 2006-06-05 03:32:46 UTC
Created attachment 130475 [details]
/tmp/syslog

Comment 10 Philip Prindeville 2006-06-06 16:14:08 UTC
Actually, using cdrecord didn't seem to make any difference.

The only things that have were (a) using an unpatched version of mkisofs, and
(b) adding "ide=nodma" to the append line in isolinux.cfg.

Comment 11 Andre Robatino 2006-06-06 16:24:02 UTC
  I wasn't recommending that you use cdrecord - in fact, the coasterless_dvd
page (which I didn't know about until just before posting it here) recommends
using growisofs.

Comment 12 Philip Prindeville 2006-06-07 03:37:56 UTC
(In reply to comment #11)
>   I wasn't recommending that you use cdrecord - in fact, the coasterless_dvd
> page (which I didn't know about until just before posting it here) recommends
> using growisofs.

Tried that.  It doesn't work in FC5:

growisofs -use-the-force-luke=dao -dvd-compat -J -R -Z
/dev/dvdwriter=/home/tmp/FC-5-i386-DVD-tweaked.iso -speed=4
growisofs: no mkisofs options are permitted with =, aborting...


Comment 13 Andre Robatino 2006-12-30 18:42:48 UTC
  I just recently tried burning the FC6 DVD ISO to a DVD+RW and found that the
mediacheck bug affects the reading of DVDs also.  To avoid it, one needs to add
padding after the end of the ISO when burning to the DVD (NOT padding inside the
ISO itself, which mkisofs provides by default).  Unfortunately, growisofs
doesn't allow this type of padding - if you pass it the -pad option, it just
passes it through to mkisofs, which isn't what is needed.  Therefore, one must
use cdrecord, like this:

cdrecord -v dev=/dev/dvd -dao -pad padsize=63s driveropts=burnfree FC-6-i386-DVD.iso

I just used the same amount of padding that the linked page recommends for CDs,
which seems to work.  For some reason I didn't need to need the padding when
burning to a DVD+R, but it doesn't hurt to add it anyway.

Comment 14 Andre Robatino 2006-12-30 18:48:44 UTC
  I also sent an email recently to the maintainer of the linked pages and he
agreed that he had had problems using growisofs and now just uses cdrecord. 
When I run the command above, there are some ugly-looking warning messages, but
it does work, and the resulting disc passes mediacheck even on a drive
vulnerable to the read-ahead bug.

Comment 15 David Cantrell 2007-03-15 18:01:14 UTC
This is reported in your syslog:

<3>Buffer I/O error on device hdc, logical block 856496
<4>hdc: command error: status=0x51 { DriveReady SeekComplete Error }
<4>hdc: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
<4>ide: failed opcode was: unknown
<4>end_request: I/O error, dev hdc, sector 3425984

This is hardware error of some variety (bad optical drive, bad media, bad cable,
etc) and not an anaconda bug.

Comment 16 Andre Robatino 2007-03-15 18:54:28 UTC
  I'm quite sure it's not due to faulty hardware, since my father was able to
immediately do a successful install of FC4 after failing repeatedly with FC5, on
exactly the same hardware (2 different boxes with identical CD drives both
suddenly failing after 7 years with FC5, then both immediately working when
falling back to FC4 - not terribly likely to be simultaneous failures followed
by simultaneous revivals).  The real problem seems to be that the version of the
driver(s) for FC5 has suddenly become either buggy or more sensitive, causing
install failures on FC5 even though they will work reliably using FC4 or older.
 The job of the driver should be to make the best possible use of the hardware,
and in this case it's not happening.