Created attachment 488766 [details] error dialog Description of problem: I downloaded Fedora 15 Beta TC1 DVD i386 ISO. It has the correct SHA1 checksum: 48c327d60738f4ec6be68af943642d91372ae09e129edae4c6840bf4bfbfc1c4 *Fedora-15-Beta-i386-DVD.iso When I load it in virt-manager using KVM and run media check on it, it reports the media as corrupted. But the checksum matches. Where's the problem? On top of that, after I receive "image is corrupted warning", the installer starts to run! (I would expect it abort the installation). Version-Release number of selected component (if applicable): anaconda 15.25 How reproducible: always Steps to Reproduce: 1. load Fedora 15 Beta TC1 DVD i386 ISO in virt-manager and run media check
Created attachment 488767 [details] anaconda.log
Created attachment 488768 [details] program.log
Created attachment 488769 [details] storage.log
Created attachment 488770 [details] syslog
As a side note, regardless of the warning I have performed the default installation from that media and system boots fine.
Another note, x86_64 ISO media check runs fine. The issue is just with i386 one.
Is this reproducible outside of the anaconda environment? You can install the isomd5sum package and run checkisomd5 on either the ISO image or the block device itself.
*** Bug 692272 has been marked as a duplicate of this bug. ***
(In reply to comment #7) > Is this reproducible outside of the anaconda environment? You can install the > isomd5sum package and run checkisomd5 on either the ISO image or the block > device itself. The answer is yes - the i386 DVD passes this test as I recorded on https://fedoraproject.org/wiki/Test_Results:Fedora_15_Beta_TC1_Install under the test https://fedoraproject.org/wiki/QA:Testcase_Mediakit_ISO_Checksums This problem is not KVM-specific since I also see it using VirtualBox 4.0.4, as mentioned in bug 692272.
(In reply to comment #9) > The answer is yes - the i386 DVD passes this test as I recorded on Sorry, should have said "the answer is no" since it passes with the external checkisomd5.
$ checkisomd5 /var/lib/libvirt/images/Fedora-15-Beta-i386-DVD.iso Press [Esc] to abort check. The media check is complete, the result is: PASS. It is OK to use this media.
# checkisomd5 /dev/cdrom Press [Esc] to abort check. The media check is complete, the result is: PASS. It is OK to use this media.
I performed the anaconda media check on bare metal and it also fails the test.
Are the x86_64 machine and the i386 machine you tested on the same machine?
(In reply to comment #14) > Are the x86_64 machine and the i386 machine you tested on the same machine? Sorry, I don't understand your question. I tested x86_64 ISO in KVM (running on host PC1) and it passes anaconda check. I tested i386 ISO in KVM (on host PC1) and it fails anaconda check. I also ran checkisomd5 on i386 ISO directly on host PC1 and it passes the test. Also burning the i386 ISO and checking it with checkisomd5 on host PC1 passes the test. Then I inserted the burned i386 CD into a bare-metal host PC2, booted, and performed the anaconda check, which fails again. Result: anaconda check fails for i386 ISO whether in KVM or on bare-metal host, but running checkisomd5 directly passes. x86_64 ISO was tested inside anaconda inside KVM only, and that passes. Does that answer the question?
Discussed at the 2011-04-01 blocker bug review meeting. This bug does not hit any blocker criteria but it would be really nice to see this fixed. Rejected as blocker but accepting it as nth for F15 beta.
This might be related to bug 678609.
I checked with checkisomd5 of isomd5sum-1.0.6-3.fc15 in installer environment of Fedora-15-Beta-i386-DVD.iso (scp-ed in tty2) and the result was FAIL.
(In reply to comment #18) > I checked with checkisomd5 of isomd5sum-1.0.6-3.fc15 in installer environment > of Fedora-15-Beta-i386-DVD.iso (scp-ed in tty2) and the result was FAIL. This was in a 32-bit (vmware) virtual machine, checking block device /dev/sr0. After installing and reboot, the check also fails both when checking /dev/sr0 and image file. In installed 64-bit system (KVM virtual machine), checkisomd5 passes for 64-bit image (both for /dev/sr0 and image file), and for 32-bit image it passes for image file but fails for /dev/sr0.
Created attachment 490335 [details] results screenshot with debugging info Seems like some kind of memory corruption? I uncommented few debugging printf lines in isomd5sum code, and found that between libcheckisomd5.c:checkmd5sum:200: printf("Mediasum = %s\n",mediasum); and libcheckisomd5.c:checkmd5sum:290: printf("mediasum, computedsum = %s %s\n", mediasum, computedsum); if (strcmp(mediasum, computedsum)) return ISOMD5SUM_CHECK_FAILED; else return ISOMD5SUM_CHECK_PASSED; mediasum is wiped out/corrupted, see the attachment
Patch with fix sent for review: http://www.redhat.com/archives/anaconda-devel-list/2011-April/msg00103.html
With the 15 Beta RC1 DVD, i386 fails mediacheck and x86_64 passes, just as with TC1.
This should be fixed in isomd5sum-1.0.7-1.
isomd5sum-1.0.7-1.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/isomd5sum-1.0.7-1.fc15
I built a custom i386 DVD.iso and included isomd5sum-1.0.7-1.fc15 during the pungi compose, the reported problem appears to still exists. Does anaconda need to be rebuilt with the updated isomd5sum for this to work, or am I missing a step during pungi compose?
I tested this running it on the command line for a live image I built and it went from failing to before the update to succeeding after the update to 1.0.7-1.
Same problem on 15 Beta RC2 DVDs - mediacheck fails on i386 but passes on x86_64. I don't know if the above fix was included.
Package isomd5sum-1.0.7-1.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing isomd5sum-1.0.7-1.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/isomd5sum-1.0.7-1.fc15 then log in and leave karma (feedback).
(In reply to comment #25) > I built a custom i386 DVD.iso and included isomd5sum-1.0.7-1.fc15 during the > pungi compose, the reported problem appears to still exists. > > Does anaconda need to be rebuilt with the updated isomd5sum for this to work, > or am I missing a step during pungi compose? Yes, anaconda needs to be rebuilt with the new isomd5sum-devel.
isomd5sum-1.0.7-1.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
Confirmed that mediacheck works in 15-Final.TC1 DVD (both i386 and x86_64) as VirtualBox 4.0.6 guest.