Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756792AbYAZUps (ORCPT ); Sat, 26 Jan 2008 15:45:48 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754874AbYAZUpc (ORCPT ); Sat, 26 Jan 2008 15:45:32 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:56468 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754410AbYAZUpb (ORCPT ); Sat, 26 Jan 2008 15:45:31 -0500 Date: Sat, 26 Jan 2008 12:44:02 -0800 From: Greg KH To: Adrian McMenamin Cc: LKML , linux-sh Subject: Re: kobject oops with maple bus Message-ID: <20080126204402.GA30867@kroah.com> References: <1201377200.6672.10.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1201377200.6672.10.camel@localhost.localdomain> User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3558 Lines: 69 On Sat, Jan 26, 2008 at 07:53:20PM +0000, Adrian McMenamin wrote: > Greg, > > Just updated my git to the latest sources and get these (seemingly non-fatal) oops with the Dreamcast maple bus. I'll investigate further, but they may mean something to out out of the box. > > Adrian > > > > > dreamy:~# [ 0.000000] Linux version 2.6.24-gf0ea9c3d-dirty (adrian@bossclass) (gcc version 3.4.6) #328 PREEMPT Sat Jan 26 19:45:30 GMT 2008 > [ 0.000000] console [sercon0] enabled > [ 0.000000] Booting machvec: Sega Dreamcast > [ 0.000000] Node 0: start_pfn = 0xc000, low = 0xd000 > [ 0.000000] Zone PFN ranges: > [ 0.000000] Normal 49152 -> 53248 > [ 0.000000] Movable zone start PFN for each node > [ 0.000000] early_node_map[1] active PFN ranges > [ 0.000000] 0: 49152 -> 53248 > [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 4064 > [ 0.000000] Kernel command line: root=/dev/nfs rw nfsroot=192.168.61.50:/home/adrian/debdist ip=dhcp earlyprintk=serial video=pvr2fb:640x480-32@60 consol7 > [ 0.000000] PID hash table entries: 64 (order: 6, 256 bytes) > [ 0.000000] Using tmu for system timer > [ 0.000000] Using 12.469 MHz high precision timer. > [ 0.000000] Console: colour dummy device 80x25 > [ 0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) > [ 0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) > [ 0.000000] Memory: 13468k/16384k available (1918k kernel code, 645k data, 96k init) > [ 0.000000] PVR=040205c1 CVR=00000000 PRR=00000000 > [ 0.000000] I-cache : n_ways=1 n_sets=256 way_incr=8192 > [ 0.000000] I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2 > [ 0.000000] D-cache : n_ways=1 n_sets=512 way_incr=16384 > [ 0.000000] D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4 > [ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-1, MinObjects=4, CPUs=1, Nodes=1 > [ 0.000000] Mount-cache hash table entries: 512 > [ 0.000000] CPU: SH7750 > [ 0.000000] net_namespace: 64 bytes > [ 0.000000] NET: Registered protocol family 16 > [ 0.000000] Maple bus at (0, 0): Connected function 0x0 > [ 0.000000] No maple driver found for this device > [ 0.000000] Maple bus at (1, 0): Connected function 0x0 > [ 0.000000] No maple driver found for this device > [ 0.000000] Maple bus at (2, 0): Connected function 0x0 > [ 0.000000] No maple driver found for this device > [ 0.000000] Maple bus at (3, 0): Connected function 0x0 > [ 0.000000] No maple driver found for this device > [ 0.000000] Maple bus core now registered. > [ 0.000000] DMA: Registering DMA API. > [ 0.000000] DMA: Registering sh_dmac handler (4 channels). > [ 0.000000] Maple bus at (0, 0): Connected function 0x1 > [ 0.000000] No maple driver found for this device > [ 0.000000] kobject (8cc2d360): tried to init an initialized object, something is seriously wrong. The problem is here. You have possibly already initialized this object, or called 'kobject_get' on it before registering it with the driver core. This is a new sanity check that has been in the -mm tree for years :) So I think something needs to be fixed in the code. Do you want me to take a look at it? thanks, greg k-h -- 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/