Bug 163302 - md5sum hangs system on bad CD
md5sum hangs system on bad CD
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-07-14 18:05 EDT by Leon Stringer
Modified: 2015-01-04 17:20 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-16 11:59:18 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Leon Stringer 2005-07-14 18:05:15 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Epiphany/1.6.1

Description of problem:
I was testing burning CDs with GNOME Nautilus, a very unreliable process in my experience. To check if the resultant CD was good I ran "md5sum /dev/cdrom" and after 20s my system locked up completely!

After resetting I checked /var/log/messages which showed:

    kernel: cdrom: This disc doesn't have any tracks I recognize!
    kernel: scsi: unknown opcode 0x01

When I ran "md5sum /dev/cdrom" on FC3 on the same computer I got:

    md5sum: /dev/cdrom Input/output error

which is what I'd expect for a bad CD.

Note that, althought burning through GNOME is unreliable I can burn fine with cdrecord. That and the fact that this check works OK on FC3 leads me to assert that there isn't a hardware problem.

I also think that, despite encountering this problem with one CD only so far (I've only tried to burn one with GNOME on FC4 so far) the fact that such md5sum ran as a user can take a system out indicates a serious problem.

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

How reproducible:

Steps to Reproduce:
1. Insert my bad CD into the CD drive.
2. Run "md5sum /dev/cdrom" from the GNOME terminal.

Actual Results:  Some CD activity for about 20s after which the system has locked up.

Expected Results:  Some form of I/O error from md5sum indicating a bad CD.

Additional info:
Comment 1 Dave Jones 2005-07-15 14:23:57 EDT
Please retry with todays 1398 kernel update, as there were a number of IDE layer
fixes including one involving CDs.

Comment 2 Leon Stringer 2005-07-16 11:58:28 EDT
Retested with 2.6.12-1.1398_FC4.

I now get "md5sum: /dev/cdrom: Input/output error" as expected and no crash.


Note You need to log in before you can comment on or make changes to this bug.