From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 7 Feb 2004 12:27:58 -0500 From: Ben Collins Subject: Re: 2.6.2-mm1 aka "Geriatric Wombat" Message-ID: <20040207172757.GQ1042@phunnypharm.org> References: <402240F9.3050607@gadsdon.giointernet.co.uk> <20040205182614.GG13075@kroah.com> <20040206144729.GJ1042@phunnypharm.org> <20040206182200.GE32116@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040206182200.GE32116@kroah.com> Sender: owner-linux-mm@kvack.org Return-Path: To: Greg KH Cc: Robert Gadsdon , Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: On Fri, Feb 06, 2004 at 10:22:00AM -0800, Greg KH wrote: > On Fri, Feb 06, 2004 at 09:47:30AM -0500, Ben Collins wrote: > > On Thu, Feb 05, 2004 at 10:26:14AM -0800, Greg KH wrote: > > > On Thu, Feb 05, 2004 at 01:11:21PM +0000, Robert Gadsdon wrote: > > > > 2.6.2-mm1 tombstone "Badness in kobject_get....." when booting: > > > > > > Oooh, not nice. That means a kobject is being used before it has been > > > initialized. Glad to see that check finally helps out... > > > > Doesn't sound like a bug in ieee1394. This bus for each is done on the > > ieee1394_bus_type, which is registered way ahead of time. Nothing is in > > that device list that didn't come from device_register(). Has something > > new changed to where I need to prep the device more before passing it to > > device_register()? > > No, not at all. You are initializing the structure to 0 before setting > any fields in it, right? But that wouldn't be the symptom we are seeing > here... Yeah, it's being memset() to zero. After that I set the parent and the bus_id, and then call device_register(). One thing I notice is that I am not checking the return value of device_register(), however if that fails, the device shouldn't be in the device list for the bus, correct? -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ WatchGuard - http://www.watchguard.com/ -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: aart@kvack.org