netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* arcnet - weird printk arc%d
@ 2008-04-13  0:31 devzero
  2008-04-13  1:07 ` Dan Noe
  0 siblings, 1 reply; 4+ messages in thread
From: devzero @ 2008-04-13  0:31 UTC (permalink / raw)
  To: netdev

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 ?
_______________________________________________________________________
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=022220


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: arcnet - weird printk arc%d
@ 2008-04-13  0:33 devzero
  0 siblings, 0 replies; 4+ messages in thread
From: devzero @ 2008-04-13  0:33 UTC (permalink / raw)
  To: netdev

one more:

Apr 13 01:16:41 neo klogd: eth%d: D-Link DE-600 pocket adapter: not at I/O 0x378.
Apr 13 01:16:41 neo klogd: eth%d: i82596 initialization timed out


> -----Ursprüngliche Nachricht-----
> Von: <devzero@web.de>
> Gesendet: 13.04.08 02:31:16
> An: netdev@vger.kernel.org
> Betreff: arcnet - weird printk arc%d

> 
> 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 ?


_________________________________________________________________________
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: arcnet - weird printk arc%d
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Noe @ 2008-04-13  1:07 UTC (permalink / raw)
  To: devzero; +Cc: netdev

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

-- 
                     /--------------- - -  -  -   -   -
                     |  Dan Noe
                     |  http://isomerica.net/~dpn/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: arcnet - weird printk arc%d
  2008-04-13  1:07 ` Dan Noe
@ 2008-04-13  1:17   ` Stephen Hemminger
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Hemminger @ 2008-04-13  1:17 UTC (permalink / raw)
  To: dpn; +Cc: devzero, netdev

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-13  1:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2008-04-13  0:33 devzero

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).