From: Stephen Hemminger <shemminger@vyatta.com>
To: dpn@isomerica.net
Cc: devzero@web.de, netdev@vger.kernel.org
Subject: Re: arcnet - weird printk arc%d
Date: Sat, 12 Apr 2008 18:17:21 -0700 [thread overview]
Message-ID: <20080412181721.34d50f0b@extreme> (raw)
In-Reply-To: <48015CC8.4000004@isomerica.net>
On Sat, 12 Apr 2008 21:07:20 -0400
Dan Noe <dpn@isomerica.net> wrote:
> devzero@web.de wrote:
> > Apr 13 01:25:50 neo klogd: arc%d: Given: node 00h, shmem 0h, irq 0
> > Apr 13 01:25:50 neo klogd: arc%d: No autoprobe for RIM I; you must specify the shmem and irq!
> > Apr 13 01:25:50 neo klogd: arc%d: No autoprobe for IO mapped cards; you must specify the base address!
> >
> > arc%d looks weird - is this intenitonal ?
>
> The %d is normally replaced by the interface number after
> register_netdev is called. But these error messages are printed in
> arcrimi_found() *before* register_netdev() is called (because the device
> hasn't been found yet).
>
> I'm not sure what the best approach to fixing this is. Most likely the
> log printouts at that point should not be using the macros that rely on
> dev->name being fully correct.
>
> Cheers,
> Dan
>
use dev_info et al, to print out using the bus id.
next prev parent reply other threads:[~2008-04-13 1:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-13 0:31 arcnet - weird printk arc%d devzero
2008-04-13 1:07 ` Dan Noe
2008-04-13 1:17 ` Stephen Hemminger [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-04-13 0:33 devzero
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=20080412181721.34d50f0b@extreme \
--to=shemminger@vyatta.com \
--cc=devzero@web.de \
--cc=dpn@isomerica.net \
--cc=netdev@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 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.