Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933903AbXHVVLP (ORCPT ); Wed, 22 Aug 2007 17:11:15 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762053AbXHVVK7 (ORCPT ); Wed, 22 Aug 2007 17:10:59 -0400 Received: from E23SMTP05.au.ibm.com ([202.81.18.174]:39093 "EHLO e23smtp05.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759911AbXHVVK6 (ORCPT ); Wed, 22 Aug 2007 17:10:58 -0400 Message-ID: <46CCA65B.4030201@linux.vnet.ibm.com> Date: Thu, 23 Aug 2007 02:40:51 +0530 From: Balbir Singh Reply-To: balbir@linux.vnet.ibm.com Organization: IBM User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: Kay Sievers CC: Andrew Morton , Kamalesh Babulal , linux-kernel@vger.kernel.org, Greg KH Subject: Re: [BUG] 2.6.23-rc3-mm1 - kernel BUG at net/core/skbuff.c:95! References: <20070822020648.5ea3a612.akpm@linux-foundation.org> <46CC33EC.1040803@linux.vnet.ibm.com> <20070822085002.8a116f72.akpm@linux-foundation.org> <1187805493.5303.11.camel@lov.localdomain> <46CC88B3.6080000@linux.vnet.ibm.com> <1187816149.5303.44.camel@lov.localdomain> In-Reply-To: <1187816149.5303.44.camel@lov.localdomain> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2143 Lines: 65 Kay Sievers wrote: > On Thu, 2007-08-23 at 00:34 +0530, Balbir Singh wrote: >> Kay Sievers wrote: >>>> gargh, sorry, that's probably due to my screwed up attempt to fix Kay's >>>> screwed up >>>> gregkh-driver-driver-core-change-add_uevent_var-to-use-a-struct.patch. >>>> >>>> Kay sent an update patch but it didn't arrive in time. >>>> >>>> Greg, if you haven't yet merged that, please do so asap? >>>> >>>> So what _should_ this: >>>> >>>> --- a/arch/powerpc/kernel/vio.c~fix-4-gregkh-driver-driver-core-change-add_uevent_var-to-use-a-struct >>>> +++ a/arch/powerpc/kernel/vio.c >>>> @@ -373,7 +373,7 @@ static int vio_hotplug(struct device *de >>>> dn = dev->archdata.of_node; >>>> if (!dn) >>>> return -ENODEV; >>>> - cp = of_get_property(dn, "compatible", &length); >>>> + cp = of_get_property(dn, "compatible", &env->buflen); >>>> if (!cp) >>>> return -ENODEV; >>>> >>>> _ >>>> >>>> have done? >>> Does replacing "&length" with "NULL" work? That's what's in the updated >>> patch. > >> replacing &length with NULL does not work for me. I get a message saying that >> init terminated with signal 7. > > Hi Balbir, > ugh, I can't see what's going wrong here. > Same here.. I went through the new add_uevent_var() code. The only change I found was that instead of using env->envp[env->envp_idx] as an argument to vsnprintf(), the code looks semantically the same. Even with those changes, the assignment of env->envp[env->envp_idx++] to &env->buf[ env->buflen] makes the semantics look similar. I verified that the arguments to add_uevent_var() are sane. So at this point, I am a little lost. I'll debug further and see if the socket allocation is sufficient. > Care to just "return 0" for the whole function, and try again? Just to > rule out that this is the cause of the problem. > > Thanks, > Kay > -- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/