From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Sun, 10 Feb 2008 17:10:04 +0000 Subject: Re: [lm-sensors] panic about sysfs with adm1026 Message-Id: <20080210171004.GB25353@kroah.com> List-Id: References: <86802c440802092355l7393fe07gfbd021e9cef66181@mail.gmail.com> In-Reply-To: <86802c440802092355l7393fe07gfbd021e9cef66181@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Yinghai Lu , khali@linux-fr.org Cc: Linux Kernel Mailing List , lm-sensors@lm-sensors.org On Sat, Feb 09, 2008 at 11:55:43PM -0800, Yinghai Lu wrote: > Calling initcall 0xffffffff80c4b575: sm_adm1026_init+0x0/0xe() > i2c-adapter i2c-1: : Unrecognized stepping 0x45. Defaulting to ADM1026. > general protection fault: 0000 [1] SMP > CPU 0 > Modules linked in: > Pid: 1, comm: swapper Not tainted 2.6.24-smp-09379-g0cf975e-dirty #34 > RIP: 0010:[] [] sysfs_add_file+0x16/0x81 > RSP: 0000:ffff81040503dd50 EFLAGS: 00010286 > RAX: 0000000000000000 RBX: fffe002e002d002c RCX: 00000000000048d9 > RDX: 0000000000000002 RSI: fffe002e002d002c RDI: ffff810202c4fb90 > RBP: 0000000000000000 R08: ffff810202c4fb90 R09: 0000000000000000 > R10: 0000000000000002 R11: 0000000000000002 R12: 00000000fffffff4 > R13: ffff810202c4fb90 R14: 000000000000000c R15: ffff810202c4fb90 > FS: 0000000000000000(0000) GS:ffffffff80bde000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b > CR2: 00007fff94de3470 CR3: 0000000000201000 CR4: 00000000000006e0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 > Process swapper (pid: 1, threadinfo ffff81040503c000, task ffff810205040000) > Stack: ffff810202c4fb90 0000000000000000 0000000000000000 0000000000000001 > ffff810202c4e000 ffffffff80b87850 0000000000000000 ffff810202c4e118 > ffffffff808e0cc0 ffffffff802d933c ffff81040503dd55 ffff810202c17878 > Call Trace: > [] sysfs_create_group+0xa2/0x106 > [] adm1026_detect+0x4b3/0x522 > [] adm1026_detect+0x0/0x522 > [] i2c_probe_address+0xb9/0xfc > [] i2c_probe+0x162/0x175 > [] adm1026_detect+0x0/0x522 > [] i2c_register_driver+0x9a/0xea > [] kernel_init+0x15d/0x2c9 > [] child_rip+0xa/0x12 > [] kernel_init+0x0/0x2c9 > [] child_rip+0x0/0x12 > > > Code: c0 84 c0 74 0c 41 58 48 89 df 5b 5d e9 2a 07 00 00 5e 5b 5d c3 > 41 55 49 89 fd 41 54 41 bc f4 ff ff ff 55 53 48 89 f3 48 83 ec 28 <8b> > 76 10 48 8b 3b 66 81 e6 ff 0f 66 81 ce 00 80 0f b7 f6 e8 fd > RIP [] sysfs_add_file+0x16/0x81 > RSP > ---[ end trace b23a825db37d3043 ]--- Perhaps the adm1026 driver is not calling sysfs_create_group properly? Jean, any ideas? thanks, greg k-h _______________________________________________ lm-sensors mailing list lm-sensors@lm-sensors.org http://lists.lm-sensors.org/mailman/listinfo/lm-sensors From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754019AbYBJRMJ (ORCPT ); Sun, 10 Feb 2008 12:12:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751981AbYBJRL6 (ORCPT ); Sun, 10 Feb 2008 12:11:58 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:48574 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751944AbYBJRL5 (ORCPT ); Sun, 10 Feb 2008 12:11:57 -0500 Date: Sun, 10 Feb 2008 09:10:04 -0800 From: Greg KH To: Yinghai Lu , khali@linux-fr.org Cc: Linux Kernel Mailing List , lm-sensors@lm-sensors.org Subject: Re: panic about sysfs with adm1026 Message-ID: <20080210171004.GB25353@kroah.com> References: <86802c440802092355l7393fe07gfbd021e9cef66181@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86802c440802092355l7393fe07gfbd021e9cef66181@mail.gmail.com> 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 On Sat, Feb 09, 2008 at 11:55:43PM -0800, Yinghai Lu wrote: > Calling initcall 0xffffffff80c4b575: sm_adm1026_init+0x0/0xe() > i2c-adapter i2c-1: : Unrecognized stepping 0x45. Defaulting to ADM1026. > general protection fault: 0000 [1] SMP > CPU 0 > Modules linked in: > Pid: 1, comm: swapper Not tainted 2.6.24-smp-09379-g0cf975e-dirty #34 > RIP: 0010:[] [] sysfs_add_file+0x16/0x81 > RSP: 0000:ffff81040503dd50 EFLAGS: 00010286 > RAX: 0000000000000000 RBX: fffe002e002d002c RCX: 00000000000048d9 > RDX: 0000000000000002 RSI: fffe002e002d002c RDI: ffff810202c4fb90 > RBP: 0000000000000000 R08: ffff810202c4fb90 R09: 0000000000000000 > R10: 0000000000000002 R11: 0000000000000002 R12: 00000000fffffff4 > R13: ffff810202c4fb90 R14: 000000000000000c R15: ffff810202c4fb90 > FS: 0000000000000000(0000) GS:ffffffff80bde000(0000) knlGS:0000000000000000 > CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b > CR2: 00007fff94de3470 CR3: 0000000000201000 CR4: 00000000000006e0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 > Process swapper (pid: 1, threadinfo ffff81040503c000, task ffff810205040000) > Stack: ffff810202c4fb90 0000000000000000 0000000000000000 0000000000000001 > ffff810202c4e000 ffffffff80b87850 0000000000000000 ffff810202c4e118 > ffffffff808e0cc0 ffffffff802d933c ffff81040503dd55 ffff810202c17878 > Call Trace: > [] sysfs_create_group+0xa2/0x106 > [] adm1026_detect+0x4b3/0x522 > [] adm1026_detect+0x0/0x522 > [] i2c_probe_address+0xb9/0xfc > [] i2c_probe+0x162/0x175 > [] adm1026_detect+0x0/0x522 > [] i2c_register_driver+0x9a/0xea > [] kernel_init+0x15d/0x2c9 > [] child_rip+0xa/0x12 > [] kernel_init+0x0/0x2c9 > [] child_rip+0x0/0x12 > > > Code: c0 84 c0 74 0c 41 58 48 89 df 5b 5d e9 2a 07 00 00 5e 5b 5d c3 > 41 55 49 89 fd 41 54 41 bc f4 ff ff ff 55 53 48 89 f3 48 83 ec 28 <8b> > 76 10 48 8b 3b 66 81 e6 ff 0f 66 81 ce 00 80 0f b7 f6 e8 fd > RIP [] sysfs_add_file+0x16/0x81 > RSP > ---[ end trace b23a825db37d3043 ]--- Perhaps the adm1026 driver is not calling sysfs_create_group properly? Jean, any ideas? thanks, greg k-h