On Friday 27 January 2006 12:23, John Reiser wrote:
> Should I be able to burn CDs?
Burning works properly [in general.]
> I'm trying to burn the FC5t2 ISOs and I've tried with GNOME and cdrecord
> but they're failing the sha1sum test.
The burning probably worked. Almost certainly, the failure is in
the verifying.
Depends what he's trying to verify, the CD itself or the iso file from which
it was produced. The sha1sum from the iso download site is for the iso file
itself, not a CD burned from it. Like comparing apples and oranges. Never
yet had an sha1sum fail on the iso image.
> Advice and assistance gratefully received,
Find the Linux kernel IDE maintainer, and shoot him. Literally.
Then perhaps someone else will fix the kernel bug [on the READ side]
that causes this misery. It's been there for over TWO YEARS.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=131858
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=106685
ide-scsi work[ed], but the maintainer of the ide driver
just cannot bear the thought of fixing this bug.
Yes, the specification of CD-ROM {media + hardware} allows too
much room to create the problem (end-of-recorded-data cannot
be detected reliably to a precision of one 2KB sector),
but ide-scsi dealt with it, and the current ide driver does not.
Instead of using sha1sum to verify, use
dd if=/dev/cdrom bs=2k | cmp - FC5-test1-i386-discN.iso
and check the return code from cmp only, ignoring any complaints
from dd.
Indeed a better way to compare the iso image to a burned CD.
Tom
--
Tom Taylor
Linux user #263467
Federal Way, WA