Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 155932 - [RHEL4-U2][Diskdump] hangs when SCSI drive is busy
[RHEL4-U2][Diskdump] hangs when SCSI drive is busy
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Nobuhiro Tachino
Brian Brock
Depends On:
Blocks: 156322
  Show dependency treegraph
Reported: 2005-04-25 16:50 EDT by Yuuichi Nagahama
Modified: 2010-10-21 22:55 EDT (History)
10 users (show)

See Also:
Fixed In Version: RHSA-2005-514
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-05 09:03:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:514 qe-ready SHIPPED_LIVE Important: Updated kernel packages available for Red Hat Enterprise Linux 4 Update 2 2005-10-05 00:00:00 EDT

  None (edit)
Description Yuuichi Nagahama 2005-04-25 16:50:37 EDT
Description of problem:
Diskdump doesn't check a SCSI command return value.
Please see send_command in drivers/scsi/scsi_dump.c.

host->hostt->queuecommand(scmd, rw_intr);   <<< here >>>

while (scmd->done != NULL) {

Diskdump waits for completion of the command invoked previously
regardless of a return value of queuecommand.

SCSI driver might return busy because of a temporary failure of SCSI
driver. If SCSI driver returns busy, diskdump waits for completion
of the command permanently. So diskdump will hang up.

I think diskdump should check a return value of queuecommand.
When SCSI drive is busy, a command should be invoked again.

Version-Release number :

How reproducible:

Steps to Reproduce:
This problem happens because of external factor.
For example, temporary trouble of device.

Actual results:
dump fail

Expected results:
dump succeed

Additional info:
Comment 13 Red Hat Bugzilla 2005-10-05 09:03:07 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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