From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: dpn@isomerica.net
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
krh@redhat.com, linux1394-devel@lists.sourceforge.net
Subject: Re: 2.6.25-git16 -- BUG: unable to handle kernel NULL pointer dereference at 00000000 -- IP: [<c02dd5d5>] fw_show_drv_device_ids+0xd9/0xee
Date: Thu, 01 May 2008 17:05:03 +0200 [thread overview]
Message-ID: <4819DC1F.1050904@s5r6.in-berlin.de> (raw)
In-Reply-To: <4819D5A1.6080204@isomerica.net>
Dan Noé wrote:
> I like to be warned about things, even if there isn't anything I can
> really do about it (fix my IEEE 1394 ROM CRC? :) But there doesn't seem
> to be any point to repeating the message.
>
> Do the repeats come because it prints each time the config ROM is accessed?
There are three reasons which cause repetition:
- While we fetch and parse the config ROM, another bus resets happens.
We then need to start over reading the config ROM. This kind of
repetition cannot easily be prevented, but hopefully happens less
often.
- A variation of the theme: Device plugged out, plugged in again.
Causes the config ROM to be at least partially fetched and parsed
again.
- If the firmware author did the CRC algorithm wrong, he got it wrong
for the bus information block, the root directory, and each
subdirectory or leaf (unit directories, instance directories,
textual descriptor leaves, icon descriptors...). Giving a log
notice about each of these CRCs is surely redundant.
When I added the log notice, I didn't try to suppress at least the
latter kind of repetition because I figured that this kind of mistake is
rare nowadays. (If I'm not mistaken, there have for example been
clarifications in IEEE 1212-2001.) Of course it isn't rare to those
people who happen to work with affected devices all the time. So I will
try to reduce the log spam.
BTW, "fix my IEEE 1394 ROM CRC" can sometimes be done by firmware update.
--
Stefan Richter
-=====-==--- -=-= ----=
http://arcgraph.de/sr/
next prev parent reply other threads:[~2008-05-01 15:06 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-01 0:29 Miles Lane
2008-05-01 8:43 ` Stefan Richter
2008-05-01 13:08 ` Miles Lane
2008-05-01 13:44 ` Stefan Richter
2008-05-01 14:37 ` Dan Noé
2008-05-01 15:05 ` Stefan Richter [this message]
2008-05-02 18:14 ` [PATCH] ieee1394: reduce log noise about config ROM CRC errors Stefan Richter
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=4819DC1F.1050904@s5r6.in-berlin.de \
--to=stefanr@s5r6.in-berlin.de \
--cc=dpn@isomerica.net \
--cc=krh@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux1394-devel@lists.sourceforge.net \
/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®