Description of problem: btreplay complains when executed with "cciss_c0d0" btreplay complains when executed with "cciss/c0d0" btreplay complains when executed with "/dev/cciss/c0d0" Version-Release number of selected component (if applicable): RHEL5.4-Server-20090513.nightly kernel-2.6.18-146.el5 blktrace-1.0.0-6.el5 How reproducible: always Steps to Reproduce: # mount -t debugfs debugfs /sys/kernel/debug/ # blktrace -w 60 -d /dev/cciss/c0d0 -a queue Device: /dev/cciss/c0d0 CPU 0: 0 events, 4 KiB data CPU 1: 0 events, 3 KiB data CPU 2: 0 events, 1 KiB data CPU 3: 0 events, 0 KiB data CPU 4: 0 events, 0 KiB data CPU 5: 0 events, 0 KiB data CPU 6: 0 events, 0 KiB data CPU 7: 0 events, 0 KiB data CPU 8: 0 events, 0 KiB data CPU 9: 0 events, 0 KiB data CPU 10: 0 events, 1 KiB data CPU 11: 0 events, 0 KiB data CPU 12: 0 events, 0 KiB data CPU 13: 0 events, 0 KiB data CPU 14: 0 events, 0 KiB data CPU 15: 0 events, 0 KiB data Total: 0 events (dropped 0), 7 KiB data # ls -l *.blktrace.* -rw-r--r-- 1 root root 3680 May 27 11:47 cciss_c0d0.blktrace.0 -rw-r--r-- 1 root root 2240 May 27 11:47 cciss_c0d0.blktrace.1 -rw-r--r-- 1 root root 416 May 27 11:47 cciss_c0d0.blktrace.10 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.blktrace.11 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.blktrace.12 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.blktrace.13 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.blktrace.14 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.blktrace.15 -rw-r--r-- 1 root root 512 May 27 11:47 cciss_c0d0.blktrace.2 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.blktrace.3 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.blktrace.4 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.blktrace.5 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.blktrace.6 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.blktrace.7 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.blktrace.8 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.blktrace.9 # btrecord -v cciss_c0d0 ./cciss_c0d0.replay.0: 10000 0 0 0 ./cciss_c0d0.replay.0: 10000 eebe744567504b4d 3 b cciss_c0d0:0: 69 pkts (tot), 19 pkts (replay), 4 bunches, 4.8 pkts/bunch ./cciss_c0d0.replay.1: 10000 0 0 0 ./cciss_c0d0.replay.1: 10000 eebe7442e7b77d9a 1 8 cciss_c0d0:1: 42 pkts (tot), 13 pkts (replay), 2 bunches, 6.5 pkts/bunch ./cciss_c0d0.replay.2: 10000 0 0 0 ./cciss_c0d0.replay.2: 10000 eebe7442e7c0c742 1 1 cciss_c0d0:2: 10 pkts (tot), 2 pkts (replay), 2 bunches, 1.0 pkts/bunch ./cciss_c0d0.replay.3: 10000 0 0 0 ./cciss_c0d0.replay.3: 10000 0 0 0 ./cciss_c0d0.replay.4: 10000 0 0 0 ./cciss_c0d0.replay.4: 10000 0 0 0 ./cciss_c0d0.replay.5: 10000 0 0 0 ./cciss_c0d0.replay.5: 10000 0 0 0 ./cciss_c0d0.replay.6: 10000 0 0 0 ./cciss_c0d0.replay.6: 10000 0 0 0 ./cciss_c0d0.replay.7: 10000 0 0 0 ./cciss_c0d0.replay.7: 10000 0 0 0 ./cciss_c0d0.replay.8: 10000 0 0 0 ./cciss_c0d0.replay.8: 10000 0 0 0 ./cciss_c0d0.replay.9: 10000 0 0 0 ./cciss_c0d0.replay.9: 10000 0 0 0 ./cciss_c0d0.replay.10: 10000 0 0 0 ./cciss_c0d0.replay.10: 10000 eebe7445471f024e 0 0 cciss_c0d0:10: 8 pkts (tot), 2 pkts (replay), 1 bunches, 2.0 pkts/bunch ./cciss_c0d0.replay.11: 10000 0 0 0 ./cciss_c0d0.replay.11: 10000 0 0 0 ./cciss_c0d0.replay.12: 10000 0 0 0 ./cciss_c0d0.replay.12: 10000 0 0 0 ./cciss_c0d0.replay.13: 10000 0 0 0 ./cciss_c0d0.replay.13: 10000 0 0 0 ./cciss_c0d0.replay.14: 10000 0 0 0 ./cciss_c0d0.replay.14: 10000 0 0 0 ./cciss_c0d0.replay.15: 10000 0 0 0 ./cciss_c0d0.replay.15: 10000 0 0 0 # ls -l *.replay.* -rw-r--r-- 1 root root 552 May 27 11:47 cciss_c0d0.replay.0 -rw-r--r-- 1 root root 703 May 27 11:47 cciss_c0d0.replay.0.rec -rw-r--r-- 1 root root 376 May 27 11:47 cciss_c0d0.replay.1 -rw-r--r-- 1 root root 96 May 27 11:47 cciss_c0d0.replay.10 -rw-r--r-- 1 root root 107 May 27 11:47 cciss_c0d0.replay.10.rec -rw-r--r-- 1 root root 32 May 27 11:47 cciss_c0d0.replay.11 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.replay.11.rec -rw-r--r-- 1 root root 32 May 27 11:47 cciss_c0d0.replay.12 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.replay.12.rec -rw-r--r-- 1 root root 32 May 27 11:47 cciss_c0d0.replay.13 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.replay.13.rec -rw-r--r-- 1 root root 32 May 27 11:47 cciss_c0d0.replay.14 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.replay.14.rec -rw-r--r-- 1 root root 32 May 27 11:47 cciss_c0d0.replay.15 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.replay.15.rec -rw-r--r-- 1 root root 439 May 27 11:47 cciss_c0d0.replay.1.rec -rw-r--r-- 1 root root 112 May 27 11:47 cciss_c0d0.replay.2 -rw-r--r-- 1 root root 164 May 27 11:47 cciss_c0d0.replay.2.rec -rw-r--r-- 1 root root 32 May 27 11:47 cciss_c0d0.replay.3 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.replay.3.rec -rw-r--r-- 1 root root 32 May 27 11:47 cciss_c0d0.replay.4 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.replay.4.rec -rw-r--r-- 1 root root 32 May 27 11:47 cciss_c0d0.replay.5 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.replay.5.rec -rw-r--r-- 1 root root 32 May 27 11:47 cciss_c0d0.replay.6 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.replay.6.rec -rw-r--r-- 1 root root 32 May 27 11:47 cciss_c0d0.replay.7 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.replay.7.rec -rw-r--r-- 1 root root 32 May 27 11:47 cciss_c0d0.replay.8 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.replay.8.rec -rw-r--r-- 1 root root 32 May 27 11:47 cciss_c0d0.replay.9 -rw-r--r-- 1 root root 0 May 27 11:47 cciss_c0d0.replay.9.rec # btreplay -N -v -I 10 cciss_c0d0 Added ./cciss_c0d0.replay.0 17203315468036754253 Added ./cciss_c0d0.replay.1 17203315457306099098 Added ./cciss_c0d0.replay.2 17203315457306707778 /dev/cciss_c0d0: No such file or directory Failed device open # btreplay -N -v -I 10 cciss/c0d0 No traces found for cciss/c0d0 # btreplay -N -v -I 10 /dev/cciss/c0d0 No traces found for /dev/cciss/c0d0 # Actual results: btreplay cannot work with trace/replay files made for /dev/cciss/c0d0 Expected results: btreplay is able work with trace/replay files made for /dev/cciss/c0d0 Additional info: # cat /proc/partitions major minor #blocks name 104 0 71652960 cciss/c0d0 104 1 102400 cciss/c0d0p1 104 2 71550526 cciss/c0d0p2 104 16 71652960 cciss/c0d1 104 17 71652926 cciss/c0d1p1 104 32 71652960 cciss/c0d2 104 33 71652926 cciss/c0d2p1 105 0 429923497 cciss/c1d0 105 1 429923464 cciss/c1d0p1 9 0 644778752 md0 253 0 640581632 dm-0 253 1 4194304 dm-1
Some of the later bugs for blktrace didn't make it for RHEL5.4, but we can get to them in RHEL5.5. Thanks, -Eric
This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?".
The Bug: Missed back conversion of underscores to slashes. Solution: Convert underscores to slashes to restore device names that have larger paths. The patch was sent to the upstream.
Pointer to the upstream post: http://marc.info/?l=linux-btrace&m=126089937023212&w=2
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux.
*** Bug 707489 has been marked as a duplicate of this bug. ***
Upstream patch: http://git.kernel.dk/?p=blktrace.git;a=commitdiff;h=e41bf0ffcf5a2ec016493c25737896a03bfbafba
This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate, in the next release of Red Hat Enterprise Linux.
This bug/component is not included in scope for RHEL-5.11.0 which is the last RHEL5 minor release. This Bugzilla will soon be CLOSED as WONTFIX (at the end of RHEL5.11 development phase (Apr 22, 2014)). Please contact your account manager or support representative in case you need to escalate this bug.
Thank you for submitting this request for inclusion in Red Hat Enterprise Linux 5. We've carefully evaluated the request, but are unable to include it in RHEL5 stream. If the issue is critical for your business, please provide additional business justification through the appropriate support channels (https://access.redhat.com/site/support).