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] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 5 Aug 2010 10:59:10 -0700
From:	Greg KH <greg@...ah.com>
To:	Jason Baron <jbaron@...hat.com>
Cc:	Thomas Renninger <trenn@...e.de>, yehuda@...newdream.net,
	LKML <linux-kernel@...r.kernel.org>,
	Pekka Enberg <penberg@...helsinki.fi>,
	Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] Dynamic Debug: Introduce global fake module param
 module.ddebug

On Thu, Aug 05, 2010 at 01:26:15PM -0400, Jason Baron wrote:
> On Thu, Aug 05, 2010 at 06:05:40PM +0200, Thomas Renninger wrote:
> > On Thursday 05 August 2010 17:39:10 Jason Baron wrote:
> > > On Mon, Jul 26, 2010 at 02:14:30PM +0200, Thomas Renninger wrote:
> > > > This patch is based on 2.6.35-rc5 + this patchset I posted recently:                                                           
> > > > [patch 0/3] Dynamic Debug providing early boot debug messages via
> > > > boot parameter
> > > > 
> > > > It would be great to see these getting merged into 2.6.36...
> > ... 
> > > patch looks pretty good to me. I'm not sure how we reserve the
> > > 'ddebug' keyword.
> > Yep, I also was not sure about that.
> > > However, I think its probably ok, if we mention it
> > > in 'kernel-parameters.txt' and in the dynamic debug documentation.
> > I added some documentation to the dynamic debug docu file and posted
> > the patch again (as a reply on my initial post, should be the same mail
> > thread).
> > 
> > > Also, ddebug could show up in /sys/module/$(modulename}/parameters/ ,
> > > but this can probably be done in a followup patch.
> > This was intentional.
> > At the time /sys is available one can also use 
> > /sys/kernel/debug/dynamic_debug/control
> > echo "module my_module_to_debug +p"
> >           >/sys/kernel/debug/dynamic_debug/control
> > would exactly do the same as /sys/module/$(modulename}/parameters
> > The advantage of not having it, is it saves quite some resources, in 
> > fact it uses none.
> > Otherwise every module would have an addtional parameter added with a
> > sysfs file associated with it with no additional functional gain.
> > 
> > > Also, if 'ddebug' alone is set on the kernel command line, i'd like to
> > > see us enable all debug statements. We could implement this by adding
> > > a special 'meta' module to the control file which is just has a module
> > > name of of 'All' or something like that. This could also be done in a
> > > subsequent patch.
> > Is there a single query which could do it?
> 
> I don't think so.
> 
> > If not, possibly a keyword like file/module called "all" could be added.
> > Then you could simply do that by ddebug_query="all +p"
> > 
> 
> ok. that makes sense. I would make the all mode apply to all future
> modules that get loaded as well, just to be clear...
> 
> > > We also need to at least remove the 'dynamic_printk' doc from
> > > kernel-parameters.txt.
> > Don't know about this one.
> > 
> > So, I have your acked-by for this one?
> 
> Acked-by: Jason Baron <jbaron@...hat.com>
> 
> > Let's get this pushed into a tree, with some luck it still could make it
> > into 2.6.36? The other three have been taken by Pekka? He said something
> > about taking them, but I haven't received any confirmation.
> > Ah no, he acked-by them only.
> > 
> > As these are rather general ones, which tree should they go through, 
> > possibly Andrew could take them?
> > I can resubmit, if someone could tell me a list/maintainer that fits 
> > best, so that they really make it in...
> > 
> > Thanks,
> > 
> >          Thomas
> 
> right, originally Greg KH, pulled these into his tree. Greg, can you take
> a look at pulling these into your tree? So it would be this patch, and the
> thread:
> 
> Subject: [patch 0/3] Dynamic Debug providing early boot debug messages via boot parameter

Ok, I'll queue this up in my tree after the 2.6.36-rc1 merge is over.
Can someone resend them to me so I don't loose them?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ