Bug 500401

Summary: blkiomon: endianess problem
Product: Red Hat Enterprise Linux 5 Reporter: Milos Malik <mmalik>
Component: blktraceAssignee: Eric Sandeen <esandeen>
Status: CLOSED NOTABUG QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3   
Target Milestone: rc   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-14 15:15:22 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:
Attachments:
Description Flags
strace output none

Description Milos Malik 2009-05-12 15:09:15 UTC
Created attachment 343592 [details]
strace output

Description of problem:
It seems that blkiomon gets into problems when consuming data from blktrace on ia64 machine.

Version-Release number of selected component (if applicable):
RHEL5.4-Server-20090512.nightly
blktrace-1.0.0-5.el5
kernel-2.6.18-141.el5

How reproducible:
always

Steps to Reproduce:
# mount -t debugfs debugfs /sys/kernel/debug/
# blktrace -w 60 -d /dev/cciss/c0d0 | blkiomon -I 10 -h - 
blkiomon: endianess problem
# strace -o output.txt blktrace -w 60 -d /dev/cciss/c0d0 | blkiomon -I 10 -h -
blkiomon: endianess problem
# time blktrace -w 60 -d /dev/cciss/c0d0 | blkiomon -I 10 -h -
blkiomon: endianess problem

real	1m0.164s
user	0m0.003s
sys	0m0.915s

# umount /sys/kernel/debug/
  
Actual results:


Expected results:

Comment 2 Eric Sandeen 2009-05-13 22:22:21 UTC
Milos, did you say this was NOTABUG due to missing "-o -" for blktrace?

# blktrace -w 5 -d /dev/sda | blkiomon -I 10 -h -
blkiomon: endianess problem

# blktrace -w 5 -d /dev/sda -o - | blkiomon -I 10 -h -
# 

if you agree let's close it :)

Thanks,
-Eric

Comment 3 Milos Malik 2009-05-14 06:56:34 UTC
I agree. Could you close it please?

Comment 4 Eric Sandeen 2009-05-14 15:15:22 UTC
need to pipe that output somewhere for blkiomon to get what it expects :)

Thanks,
-Eric