From: Alex Elder <elder@inktank.com>
To: Sage Weil <sage@inktank.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: getting kernel debug output
Date: Wed, 24 Oct 2012 13:14:49 -0500 [thread overview]
Message-ID: <50883019.5040506@inktank.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1210241007500.31573@cobra.newdream.net>
On 10/24/2012 12:11 PM, Sage Weil wrote:
> I'm working on http://tracker.newdream.net/issues/3342 and was able to
> reproduce the msgr bug (some annoying msgr race I think) while generating
> full libceph debug output. I used a teuthology yaml fragment like so:
I have more trouble than that, but perhaps there's something
weird about having my serial console connected from 1500 miles
away. I'm impressed full debugging didn't mess things up.
> tasks:
> - clock: null
> - ceph:
> log-whitelist:
> - wrongly marked me down
> - objects unfound and apparently lost
> - thrashosds: null
> - kclient: null
> - exec:
> client.0:
> - echo 'module libceph +p' > /sys/kernel/debug/dynamic_debug/control
This is cool, I didn't know you could do this.
> - workunit:
> clients:
> all:
> - suites/ffsb.sh
>
> I was pleasantly surprised that even though this is putting copious
> amounts of crap in dmesg it didn't slow things down enough to avoid
> tripping the bug. And the 'dmesg' command in kdb appears to be working
> now (a couple months back it wasn't). Yay!
For me, dmesg has been working, but I'd like to know how to
truncate the output to just, say, the last 200 lines. (Maybe
there is one.)
> Anyway, this might be useful in tracking down other bugs as well...
Yes, this is good news.
-Alex
next prev parent reply other threads:[~2012-10-24 18:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-24 17:11 getting kernel debug output Sage Weil
2012-10-24 18:14 ` Alex Elder [this message]
2012-10-24 18:25 ` David Zafman
2012-10-24 18:32 ` Sage Weil
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=50883019.5040506@inktank.com \
--to=elder@inktank.com \
--cc=ceph-devel@vger.kernel.org \
--cc=sage@inktank.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.