lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Sat, 12 Apr 2008 18:17:21 -0700
From:	Stephen Hemminger <shemminger@...tta.com>
To:	dpn@...merica.net
Cc:	devzero@....de, netdev@...r.kernel.org
Subject: Re: arcnet - weird printk arc%d

On Sat, 12 Apr 2008 21:07:20 -0400
Dan Noe <dpn@...merica.net> wrote:

> devzero@....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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ