[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120817025644.GA25843@localhost>
Date: Fri, 17 Aug 2012 10:56:44 +0800
From: Fengguang Wu <fengguang.wu@...el.com>
To: Ming Lei <tom.leiming@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Cornelia Huck <cornelia.huck@...ibm.com>,
devel@...verdev.osuosl.org, Kay Sievers <kay.sievers@...y.org>,
Alan Stern <stern@...land.harvard.edu>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: show_uevent() and general protection fault
On Fri, Aug 17, 2012 at 10:44:37AM +0800, Ming Lei wrote:
> On Fri, Aug 17, 2012 at 10:29 AM, Fengguang Wu <fengguang.wu@...el.com> 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 name by dev_err in show_uevent
> under the situation.
Here it is:
[ 68.721580] pci_link PNP0C0F:03: uevent 13 env[1627389952]: PNP0C0F:03/.../PNP0C0F:03
dev_err(dev, "uevent %d env[%d]: %s/.../%s\n", env->buflen, env->envp_idx, top_kobj->name, dev->kobj.name);
Thanks,
Fengguang
--
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