From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750884AbWJHHtd (ORCPT ); Sun, 8 Oct 2006 03:49:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750886AbWJHHtd (ORCPT ); Sun, 8 Oct 2006 03:49:33 -0400 Received: from smtp.osdl.org ([65.172.181.4]:8581 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S1750873AbWJHHtc (ORCPT ); Sun, 8 Oct 2006 03:49:32 -0400 Date: Sun, 8 Oct 2006 00:49:22 -0700 From: Andrew Morton To: "Martin J. Bligh" Cc: Andy Whitcroft , Linux Kernel Mailing List , Greg Kroah-Hartman Subject: Re: Panic in pci_call_probe from 2.6.18-mm2 and 2.6.18-mm3 Message-Id: <20061008004922.5d727cba.akpm@osdl.org> In-Reply-To: <4528A26F.9000804@mbligh.org> References: <4528A26F.9000804@mbligh.org> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 08 Oct 2006 00:02:07 -0700 "Martin J. Bligh" wrote: > Not sure if you've seen this already ... catching up on test results. Nope. > This was on NUMA-Q, on both -mm2 and -mm3. -mm1 didn't suffer from this > problem. > > Full logs: > > mm2 - http://test.kernel.org/abat/50727/debug/console.log > mm3 - http://test.kernel.org/abat/51442/debug/console.log > > config - http://test.kernel.org/abat/51442/build/dotconfig > > I'm guessing from the 00000004 that the pcibus_to_node(dev->bus) > is failing because bus->sysdata is NULL. The disassembly and > structure offsets seem to line up for that. > > #define pcibus_to_node(bus) ( > (struct pci_sysdata *)((bus)->sysdata))->node > > struct pci_sysdata { > int domain; /* PCI domain */ > int node; /* NUMA node */ > }; > > > BUG: unable to handle kernel NULL pointer dereference at virtual address > 00000004 I don't see anything in the mm1->mm2 additions which might have caused this. Don't know, sorry. Bisection time? > printing eip: > c02060d4 > *pde = 0042c001 > *pte = 00000000 > Oops: 0000 [#1] > SMP > last sysfs file: > Modules linked in: > CPU: 2 > EIP: 0060:[] Not tainted VLI > EFLAGS: 00010286 (2.6.18-mm2-autokern1 #1) > EIP is at pci_call_probe+0x19/0xb5 > eax: 00000000 ebx: e778b400 ecx: e7400030 edx: c03b89a0 > esi: e778b400 edi: 0000ffff ebp: e69a2fa0 esp: e740dea4 > ds: 007b es: 007b ss: 0068 > Process swapper (pid: 1, ti=e740c000 task=e7400030 task.ti=e740c000) > Stack: ffffffed e778b400 c03b89a0 c02061a3 c03b89a0 e778b400 c03b873c > c03b89a0 > e778b400 c03b89d4 c02061d6 c03b89a0 e778b400 e778b400 c03b89d4 > e778b448 > c0224800 e778b448 c03b89d4 e778b448 00000000 c03b89d4 c0224936 > e69a2fa0 > Call Trace: > [] __pci_device_probe+0x33/0x47 > [] pci_device_probe+0x1f/0x34 > [] really_probe+0x31/0xb9 > [] driver_probe_device+0x93/0x9c > [] __driver_attach+0x0/0x7c > [] __driver_attach+0x47/0x7c > [] bus_for_each_dev+0x47/0x6d > [] kobject_add+0xa9/0xf2 > [] driver_attach+0x14/0x18 > [] __driver_attach+0x0/0x7c > [] bus_add_driver+0x53/0xd0 > [] driver_register+0x74/0x77 > [] __pci_register_driver+0x6b/0x7a > [] qla1280_init+0xc/0xf > [] do_initcalls+0x55/0xe8 > [] proc_mkdir+0x12/0x16 > [] init_irq_proc+0x21/0x2f > [] init+0x0/0x148 > [] init+0x55/0x148 > [] kernel_thread_helper+0x7/0x10