Re: show_uevent() and general protection fault

2012-08-16 Thread Fengguang Wu
On Fri, Aug 17, 2012 at 10:44:37AM +0800, Ming Lei wrote: > On Fri, Aug 17, 2012 at 10:29 AM, Fengguang Wu wrote: > > > > > Something obviously wrong here: > > > > env->buflen == 12 > > env->envp_idx == 1627389952 > > env->env[0] == NULL > > > > I'm not sure where it comes

Re: show_uevent() and general protection fault

2012-08-16 Thread Ming Lei
On Fri, Aug 17, 2012 at 10:29 AM, Fengguang Wu wrote: > > Something obviously wrong here: > > env->buflen == 12 > env->envp_idx == 1627389952 > env->env[0] == NULL > > I'm not sure where it comes from, but if it's possible for random Maybe you can print out the device nam

Re: show_uevent() and general protection fault

2012-08-16 Thread Fengguang Wu
> > --- tip.orig/drivers/base/core.c2012-08-17 08:48:07.101972082 +0800 > > +++ tip/drivers/base/core.c 2012-08-17 09:49:43.665912992 +0800 > > @@ -343,8 +343,11 @@ static ssize_t show_uevent(struct device > > goto out; > > > > /* copy keys to file */ > > -

Re: show_uevent() and general protection fault

2012-08-16 Thread Fengguang Wu
On Thu, Aug 16, 2012 at 10:27:11AM -0700, Greg KH wrote: > On Wed, Jul 18, 2012 at 01:15:52PM +0800, Fengguang Wu wrote: > > On Mon, Jul 16, 2012 at 06:33:42PM -0700, Greg Kroah-Hartman wrote: > > > On Fri, Jul 13, 2012 at 04:46:16PM +0800, Fengguang Wu wrote: > > > > This is another kconfig, produ

Re: show_uevent() and general protection fault

2012-08-16 Thread Greg Kroah-Hartman
On Wed, Jul 18, 2012 at 01:15:52PM +0800, Fengguang Wu wrote: > On Mon, Jul 16, 2012 at 06:33:42PM -0700, Greg Kroah-Hartman wrote: > > On Fri, Jul 13, 2012 at 04:46:16PM +0800, Fengguang Wu wrote: > > > This is another kconfig, produced a bit different call trace, however > > > also related to sys

Re: show_uevent() and general protection fault

2012-07-17 Thread Fengguang Wu
On Mon, Jul 16, 2012 at 06:33:42PM -0700, Greg Kroah-Hartman wrote: > On Fri, Jul 13, 2012 at 04:46:16PM +0800, Fengguang Wu wrote: > > This is another kconfig, produced a bit different call trace, however > > also related to sysfs_read_file(). > > Any hint as to which file is being read? Good id

Re: show_uevent() and general protection fault

2012-07-16 Thread Greg Kroah-Hartman
On Fri, Jul 13, 2012 at 04:46:16PM +0800, Fengguang Wu wrote: > This is another kconfig, produced a bit different call trace, however > also related to sysfs_read_file(). Any hint as to which file is being read? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-