From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757360Ab0EFJ7u (ORCPT ); Thu, 6 May 2010 05:59:50 -0400 Received: from mx3.mail.elte.hu ([157.181.1.138]:60769 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751665Ab0EFJ7s (ORCPT ); Thu, 6 May 2010 05:59:48 -0400 Date: Thu, 6 May 2010 11:59:40 +0200 From: Ingo Molnar To: "David J. Choi" Cc: torvalds@linux-foundation.org, akpm@linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: tip: origin tree boot crash (in the new micrel phy driver) Message-ID: <20100506095940.GA12711@elte.hu> References: <20100505.012750.246538504.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100505.012750.246538504.davem@davemloft.net> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: -2.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=-2.0 required=5.9 tests=BAYES_00 autolearn=no SpamAssassin version=3.2.5 -2.0 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * David Miller wrote: > drivers/net/phy: micrel phy driver FYI, -tip testing started triggering this boot crash today (x86, 64-bit): bus: 'mdio_bus': add driver STe101p initcall ste10Xp_init+0x0/0x22 returned 0 after 52 usecs calling ksphy_init+0x0/0x5e @ 1 BUG: unable to handle kernel NULL pointer dereference at (null) IP: [] strcmp+0x6/0x21 PGD 0 Oops: 0000 [#1] SMP DEBUG_PAGEALLOC last sysfs file: CPU 1 Pid: 1, comm: swapper Not tainted 2.6.34-rc5 #3328 A8N-E/System Product Name RIP: 0010:[] [] strcmp+0x6/0x21 RSP: 0018:ffff88003f33fe00 EFLAGS: 00010286 Call Trace: [] kset_find_obj+0x3d/0x81 [] driver_find+0x1f/0x32 [] driver_register+0x64/0x103 [] ? ksphy_init+0x0/0x5e [] phy_driver_register+0x3e/0x92 [] ? ksphy_init+0x0/0x5e [] ksphy_init+0x14/0x5e [] do_one_initcall+0x5e/0x15e [] kernel_init+0x17d/0x206 [] kernel_thread_helper+0x4/0x10 [] ? restore_args+0x0/0x30 [] ? kernel_init+0x0/0x206 [] ? kernel_thread_helper+0x0/0x10 Code: c1 80 39 00 75 f8 eb 0d 48 ff c1 48 ff ca 75 05 c6 01 00 eb 0e 40 8a 3e 48 ff c6 40 84 ff 40 88 39 75 e5 c9 c3 55 48 89 e5 8a 07 <8a> 16 48 ff c7 48 ff c6 38 d0 74 07 19 c0 83 c8 01 eb 06 84 c0 RIP [] strcmp+0x6/0x21 RSP CR2: 0000000000000000 ---[ end trace 73aaba243cb4fa42 ]--- I bisected it back to the following commit: d05070091849015f8c5b7d55cd75b86ebb61b3ec is the first bad commit commit d05070091849015f8c5b7d55cd75b86ebb61b3ec Author: David J. Choi Date: Thu Apr 29 06:12:41 2010 +0000 drivers/net/phy: micrel phy driver This is the first version of phy driver from Micrel Inc. Signed-off-by: David J. Choi Signed-off-by: David S. Miller the config had: CONFIG_MICREL_PHY=y Disabling the driver fixes the crash. Thanks, Ingo