Bug 166589 - mount/umount can cause the block device reads to fail
mount/umount can cause the block device reads to fail
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Staubach
Brian Brock
: 161985 169557 (view as bug list)
Depends On:
Blocks: 168429
  Show dependency treegraph
Reported: 2005-08-23 13:16 EDT by Wendy Cheng
Modified: 2010-10-21 23:16 EDT (History)
3 users (show)

See Also:
Fixed In Version: RHSA-2006-0132
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-03-07 14:37:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
upstream patch that seems to fix the issue. (1.09 KB, patch)
2005-08-23 13:23 EDT, Wendy Cheng
no flags Details | Diff

  None (edit)
Description Wendy Cheng 2005-08-23 13:16:31 EDT
Description of problem:
"dd" command fails to read the block device while mounting/unmounting the device

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

How reproducible:

Steps to Reproduce:
    Please run the following scripts in parallel.

   1) script1.sh

     while :
           dd if=/dev/sdb1 of=/dev/null bs=1M count=100

   2) script2.sh

     while :
           umount /mnt/work1
           mount -t ext3 /dev/sdb1 /mnt/work1
Actual results:
  dd command fails.
  The following messages are output.
      dd: reading `/dev/sdb1': Input/output error
      0+1 records in
      0+1 records out

Expected results:
  dd command does not fail.
  The following messages are output.
      100+0 records in
      100+0 records out

Additional info:
  The following change of bitkeeper seems to be related.

  http://lin ux.bkbits.net:8080/linux-2.6/patch@1.1966.39.96
Comment 3 Wendy Cheng 2005-08-23 13:23:41 EDT
Created attachment 118010 [details]
upstream patch that seems to fix the issue.
Comment 17 Red Hat Bugzilla 2006-03-07 14:37:50 EST
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.

Comment 19 Peter Staubach 2006-03-09 09:38:55 EST
*** Bug 169557 has been marked as a duplicate of this bug. ***
Comment 20 Peter Staubach 2006-03-09 09:41:24 EST
*** Bug 161985 has been marked as a duplicate of this bug. ***

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