From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean Delvare Subject: Re: [crash, bisected] I2C, kobject (ffff81003e8c4160): tried to init an initialized object (was: Re: [GIT PULL] i2c updates for 2.6.27, round 1) Date: Wed, 16 Jul 2008 11:07:02 +0200 Message-ID: <20080716110702.3ca61eb2@hyperion.delvare> References: <20080714224945.629446fa@hyperion.delvare> <20080716082352.GA30483@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080716082352.GA30483@elte.hu> Sender: linux-kernel-owner@vger.kernel.org To: Ingo Molnar Cc: Linux I2C , LKML , Ben Dooks , Greg KH , john stultz List-Id: linux-i2c@vger.kernel.org Hi Ingo, On Wed, 16 Jul 2008 10:23:52 +0200, Ingo Molnar wrote: > > hi Jean, > > * Jean Delvare wrote: > > > i2c-nforce2: Add support for multiplexing on the Tyan S4985 > > -tip random boot testing started triggering the following upstream boot > crash, starting two days ago when the i2c tree was merged: > > [ 11.772002] kobject (ffff81003e8c4160): tried to init an initialized object, something is seriously wrong. > [ 11.784004] Pid: 1, comm: swapper Not tainted 2.6.26-00007-g279e902-dirty #19896 > [ 11.793651] > [ 11.793651] Call Trace: > [ 11.793651] [] kobject_init+0x7a/0x80 > [ 11.798969] [] device_initialize+0x2d/0xd0 > [ 11.806323] [] device_register+0x11/0x20 > [ 11.811903] [] i2c_register_adapter+0xab/0x1d0 > [ 11.817666] [] i2c_add_adapter+0x96/0xb0 > [ 11.823761] [] nforce2_s4985_init+0x272/0x370 > [ 11.829358] [] ? getnstimeofday+0x3a/0xc0 > [ 11.835365] [] ? ktime_get_ts+0x4a/0x60 > [ 11.840853] [] ? nforce2_s4985_init+0x0/0x370 > [ 11.846859] [] kernel_init+0x123/0x300 > [ 11.852261] [] ? early_idt_handler+0x0/0x74 > [ 11.857957] [] child_rip+0xa/0x12 > [ 11.863781] [] ? early_idt_handler+0x0/0x74 > [ 11.868757] [] ? kernel_init+0x0/0x300 > [ 11.874160] [] ? child_rip+0x0/0x12 > [ 11.879989] > [ 11.881141] general protection fault: 0000 [1] SMP > [ 11.881141] CPU 1 > > with this config: > > http://redhat.com/~mingo/misc/config-Wed_Jul_16_02_26_04_CEST_2008.bad > > today i had time to do a bisection run, and it came up with this commit: > > | 279e902445557897707d325182916a6e28ba80de is first bad commit > | commit 279e902445557897707d325182916a6e28ba80de > | Author: Jean Delvare > | Date: Mon Jul 14 22:38:21 2008 +0200 > | > | i2c-nforce2: Add support for multiplexing on the Tyan S4985 > > the crash is reproducible and i can test any fix patch in short order. > As a quick temporary hack i've reverted this patch for now via the patch > below, to keep the tests going. (Can send more details about the > test-system if needed.) Probably the same problem as reported by John Stultz: http://lkml.org/lkml/2008/7/15/720 I'll look into it once I am done with higher priority tasks (read: baby's bath ;)). > btw., Greg, the kobject debugging check and output is really nice, > informative and useful! It likely pinpoints the real bug here. Is this something new in 2.6.26-gitX? I want to know if the bug is something new or if it could be already present in 2.6.26 and earlier kernels and went unnoticed so far. Thanks, -- Jean Delvare