Bug 598647

Summary: blktrace cannot be killed cleanly
Product: Red Hat Enterprise Linux 5 Reporter: zhezhang
Component: blktraceAssignee: Eric Sandeen <esandeen>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: low    
Version: 5.3CC: edward, mmalik
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-24 16:32:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description zhezhang 2010-06-01 19:08:59 UTC
Description of problem:

In testing blktrace on a 8 CPU machine I was encountered with a problem similar to the on discussed in http://markmail.org/thread/sr2mfqsvhpeet4go

In other words, blktrace would work fine for the first run, and then give the “BLKTRACESETUP: No such file or directory” error on the second run. This problem doesn’t occur if I use the -w option to let blktrace finish. If I try to kill it with -k, or the Linux kill command, I have this error message and have to reboot the machine. I’m wondering if you are aware of any patch addressing this problem?

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


How reproducible:

It occurs every time I kill blktrace with -k option or Linux kill command. 

Steps to Reproduce:
1. blktrace -d /dev/sda -o output-0 &
2. blktrace -d /dev/sda -k
3. blktrace -d /dev/sda -o output-0 &
  
Actual results:

BLKTRACESETUP(2) /dev/sda failed: 2/No such file or directory

Expected results:

blktrace running and collecting results

Additional info:

Comment 1 Edward Shishkin 2010-06-24 16:32:51 UTC
This duplicates 583624 and there is a similar bz 513950 for rhel5.

*** This bug has been marked as a duplicate of bug 583624 ***