From: Martin Peschke <mpeschke@linux.vnet.ibm.com>
To: linux-btrace@vger.kernel.org
Subject: bad trace magic
Date: Wed, 19 Nov 2008 11:38:38 +0000 [thread overview]
Message-ID: <1227094718.10046.29.camel@kitka.ibm.com> (raw)
Hi,
I run across blktrace complaints about broken traces once in a while.
I have pimped up the debugging output in verify_trace():
--- bad trace magic ---
magic 0x00000000
sequence 0x00000000
time 0x0000000000000000
sector 0x0000000000000000
bytes 0x65617407 <--- begin of trace (trace magic)
action 0x000005b0
pid 0x0000029c
device 0x7c185ac0
cpu 0x00000000
error 0x0036
pdu_len 0x18c0
00000000 00000000 00000000 00000000 00000000 00000000
65617407 000005b0 0000029c 7c185ac0 00000000 003618c0
bad trace in /sys/kernel/debug/block/sdbm/trace1
Traces appear to get out of place by some bytes. The offset varies.
I have got a couple of questions:
Does blktrace stop processing of a trace stream in this case, doesn't
it?
Next I am going to dump the trace which precedes a broken trace.
Any better ideas how to debug this one?
Thanks,
Martin
next reply other threads:[~2008-11-19 11:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-19 11:38 Martin Peschke [this message]
2008-11-19 11:49 ` bad trace magic Jens Axboe
2008-11-19 12:43 ` Martin Peschke
2008-11-19 12:44 ` Jens Axboe
2008-11-19 15:00 ` Martin Peschke
2008-11-19 15:07 ` Jens Axboe
2008-11-19 17:41 ` Martin Peschke
2008-11-26 9:33 ` Martin Peschke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1227094718.10046.29.camel@kitka.ibm.com \
--to=mpeschke@linux.vnet.ibm.com \
--cc=linux-btrace@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox