From: Hugo Mills <hugo@carfax.org.uk>
To: Peter Maloney <peter.maloney@brockmann-consult.de>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: How can I create useful bug reports? Here are 50 lines of messages including Call Trace from a system crash.
Date: Thu, 17 May 2012 11:44:09 +0100 [thread overview]
Message-ID: <20120517104409.GY8938@carfax.org.uk> (raw)
In-Reply-To: <4FB4D262.8020407@brockmann-consult.de>
[-- Attachment #1: Type: text/plain, Size: 2651 bytes --]
On Thu, May 17, 2012 at 12:26:42PM +0200, Peter Maloney wrote:
> I am using btrfs at home on my root system because I want to be able to
> send useful bug reports when things go wrong.
>
> And I have 3 questions:
>
> What kernel should I be using?
One of:
- josef's "btrfs-next"[1],
- Chris's main repo[2], or
- kernel.org mainline -rc kernels[3].
The latter two will generally be carrying identical btrfs code. The
first one is rather more experimental.
> And how do I create good bug reports? Is a "Call Trace" that I find in
> /var/log/messages enough, or do I need to install some debug packages
> and run some tools?
If you have a backtrace in /var/log/messages, yes, that's a good
start. Generally, state what you did to get the error, whether it's
repeatable, what kernel version you're using, and any error messages
you got. If there's extra info needed, whoever picks it up will ask.
> Can someone also tell me how to find device error counts? (like what
> ZFS's zpool status shows under the "read" and "write" columns, not
> scrub/checksums on data, but the device errors)
We don't have those right now -- Stefan Behrens posted a patch here
yesterday to keep track of them. :)
> I am using version 3.4.0-rc7-1-default which I got using openSUSE KOTD.
> Is that a good choice? It would be convenient to use these openSUSE
> repositories.
Yes, that's reasonable.
> Someone in the #btrfs IRC channel told me to use this:
> git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git
>
> I managed to crash my system today with a USB stick that is defective.
> (dd to the direct device hangs and causes it to change device names, eg.
> from sdb to sdc.) I would like to properly report this so it can be
> fixed. A bad disk should not take down the system.
Proper error handling is an ongoing work. It's a lot better than it
used to be (back in 2.6.32 days, if you ran out of space, the whole
system could come down :) ), but there's still quite a few things left
to deal with. USB is distinctly unreliable, and seems to cause more
problems than most other block stacks right now.
Hugo.
[1] git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git
[2] git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git
[3] git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
--
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- "There's more than one way to do it" is not a commandment. It ---
is a dire warning.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 190 bytes --]
prev parent reply other threads:[~2012-05-17 10:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-17 10:26 How can I create useful bug reports? Here are 50 lines of messages including Call Trace from a system crash Peter Maloney
2012-05-17 10:44 ` Hugo Mills [this message]
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=20120517104409.GY8938@carfax.org.uk \
--to=hugo@carfax.org.uk \
--cc=linux-btrfs@vger.kernel.org \
--cc=peter.maloney@brockmann-consult.de \
/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