mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: randy_dunlap <rdunlap@xenotime.net>
To: "Micha__ Piotrowski" <piotrowskim@trex.wsi.edu.pl>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Script to help users to report a BUG
Date: Wed, 22 Jun 2005 17:47:44 -0700	[thread overview]
Message-ID: <20050622174744.75a07a7f.rdunlap@xenotime.net> (raw)
In-Reply-To: <42B9CFA1.6030702@trex.wsi.edu.pl>

On Wed, 22 Jun 2005 22:52:49 +0200 Micha__ Piotrowski wrote:

| Hi,
| 
| randy_dunlap napisa__(a):
| 
| >On Sun, 19 Jun 2005 22:32:16 +0200 Paolo Ciarrocchi wrote:
| >
| >| Hi all,
| >| what do you think about this simple idea of a script that could help
| >| users to fill better BUG reports ?
| >| 
| >| The usage is quite simple, put the attached file in
| >| /usr/src/linux/scripts and then:
| >| 
| >| [root@frodo scripts]# ./report-bug.sh /tmp/BUGREPORT/
| >| cat: /proc/scsi/scsi: No such file or directory
| >| 
| >| [root@frodo scripts]# ls /tmp/BUGREPORT/
| >| cpuinfo.bug  ioports.bug  modules.bug  software.bug
| >| iomem.bug    lspci.bug    scsi.bug     version.bug
| >| 
| >| Now you can simply attach all the .bug files to the bugzilla report or
| >| inline them in a email.
| >| 
| >| The script is rude but it is enough to give you an idea of what I have in mind.
| >| 
| >| Any comment ?
| >
| >It can be useful.  We certainly see bug reports with a good bit
| >of missing information.
| >
| >I would rather see the script write all /proc etc. contents to just
| >one file (with some headings prior to each file).  One file would be
| >easier to email inline or to attach...
| >
| >---
| >  
| >
| We talk about it (me and Paolo) in private correspondence.
| 
| Here is my version:
| http://stud.wsi.edu.pl/~piotrowskim/files/ort/ort-a5.tar.bz2
| 
| Here is my topic on kerneltrap:
| http://kerneltrap.org/node/5325
| 
| If you have any suggestions, coments, please send me email or post on 
| kerneltrap.

OK, I looked and I have a few suggestions or comments.

1.  ort.sh needs to be run as root so that lspci -vvv and lsusb -v
work as expected.  Maybe include that requirement in 'help'?
Aha, that's what root@ng02 is supposed to mean, right?
I think it should be more explicit than that.

2.  Item 2 (full description) should allow for more than one line
of input.

3.  Item 3 (keywords) probably should allow for more than one line
of input.

4.  Item 4 (kernel version) and all of 7 (Environment) assume that
the oops happened on the system where the oops report is being
produced.  That's probably correct lots of the time, but not always.
But I don't know what to do about it.

5.  Item 7 (small sample program to duplicate problem):  at least put
an empty reminder at this spot, this is a Very Important Program.

6.  Use $EDITOR instead of vim if it is defined (set).

7.  Consider ending with on-screen message to email 'ort_oops.txt'
to linux-kernel@vger.kernel.org or some other appropriate Linux
mailing list.


I did use ort.sh and it produced a pretty good output file.

Thanks,
---
~Randy

  reply	other threads:[~2005-06-23  0:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-19 20:32 Paolo Ciarrocchi
2005-06-22 19:08 ` randy_dunlap
2005-06-22 20:52   ` Michał Piotrowski
2005-06-23  0:47     ` randy_dunlap [this message]
2005-06-23 18:24       ` Jesper Juhl
2005-06-23 19:06         ` randy_dunlap
2005-06-23 19:13           ` Jesper Juhl
2005-06-23 17:48             ` Michał Piotrowski
     [not found]               ` <4d8e3fd305062313032c9789e8@mail.gmail.com>
2005-06-23 18:23                 ` Michał Piotrowski
     [not found]                   ` <4d8e3fd305062400524f0ad358@mail.gmail.com>
2005-06-24  6:52                     ` Michał Piotrowski
2005-06-24 15:41                       ` randy_dunlap
2005-06-24  8:17                     ` Michał Piotrowski
     [not found]                       ` <4d8e3fd3050624032264081edf@mail.gmail.com>
     [not found]                         ` <4d8e3fd3050624050955aac41b@mail.gmail.com>
2005-06-24 14:50                           ` Martin J. Bligh
     [not found] ` <42B5C747.5050207@trex.wsi.edu.pl>
     [not found]   ` <4d8e3fd30506200027686cbafa@mail.gmail.com>
     [not found]     ` <42B6D74B.3020409@trex.wsi.edu.pl>
     [not found]       ` <4d8e3fd30506201322242d540a@mail.gmail.com>
     [not found]         ` <4d8e3fd305062205371b0a506d@mail.gmail.com>
     [not found]           ` <42B951B4.80703@trex.wsi.edu.pl>
     [not found]             ` <4d8e3fd30506220656241e1521@mail.gmail.com>
     [not found]               ` <42B9544E.7030007@trex.wsi.edu.pl>
     [not found]                 ` <4d8e3fd305062212343d9849ee@mail.gmail.com>
2005-06-22 21:27                   ` Michał Piotrowski
     [not found]                   ` <42B9D391.4020602@trex.wsi.edu.pl>
     [not found]                     ` <4d8e3fd305062300541eca2c10@mail.gmail.com>
2005-06-23 12:06                       ` Michał Piotrowski
     [not found]                         ` <9a8748490506231011128f7a38@mail.gmail.com>
2005-06-23 16:21                           ` Michał Piotrowski
2005-06-23 18:59                             ` Jesper Juhl
2005-06-23 17:27                         ` randy_dunlap
2005-06-23 18:28 ` Vara Prasad

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=20050622174744.75a07a7f.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=piotrowskim@trex.wsi.edu.pl \
    /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

all inboxes | Powered by JetHome®