Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933796AbXFFRxU (ORCPT ); Wed, 6 Jun 2007 13:53:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755973AbXFFRxH (ORCPT ); Wed, 6 Jun 2007 13:53:07 -0400 Received: from smtp2.linux-foundation.org ([207.189.120.14]:60562 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751272AbXFFRxF (ORCPT ); Wed, 6 Jun 2007 13:53:05 -0400 Date: Wed, 6 Jun 2007 10:52:23 -0700 From: Andrew Morton To: Andy Whitcroft Cc: linux-kernel@vger.kernel.org, Len Brown , "Yu, Luming" , Alexey Starikovskiy , linux-acpi@vger.kernel.org Subject: Re: 2.6.22-rc4-mm1 -- x86_64 ACPI panic Message-Id: <20070606105223.c8dece17.akpm@linux-foundation.org> In-Reply-To: <4666BDF1.6080801@shadowen.org> References: <20070606020737.4663d686.akpm@linux-foundation.org> <4666BDF1.6080801@shadowen.org> X-Mailer: Sylpheed 2.4.1 (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 Content-Length: 3356 Lines: 75 On Wed, 06 Jun 2007 15:00:17 +0100 Andy Whitcroft wrote: > Getting this on a bigger x86_64 (bl6-13): > > Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP: > [] acpi_processor_throttling_seq_show+0xa7/0xd6 > PGD 2d77067 PUD 34c3067 PMD 0 > Oops: 0000 [1] SMP > CPU 3 > Modules linked in: video output button battery asus_acpi ac lp > parport_pc parport floppy nvram amd_rng rng_core i2c_amd756 i2c_core > Pid: 1634, comm: head Not tainted 2.6.22-rc4-mm1-autokern1 #1 > RIP: 0010:[] [] > acpi_processor_throttling_seq_show+0xa7/0xd6 > RSP: 0018:ffff810003c9de48 EFLAGS: 00010246 > RAX: 0000000000000020 RBX: ffff8100029e7800 RCX: 0000000000000000 > RDX: 000000000000002a RSI: ffffffff805993e4 RDI: ffff810002d714c0 > RBP: ffff810002d714c0 R08: ffff810003f82051 R09: ffff810002d714c0 > R10: ffffffffffffffff R11: 0000000000000000 R12: 0000000000000000 > R13: 0000000000000000 R14: 0000000000000000 R15: 00007fff64fd2b90 > FS: 00002b3545aec6f0(0000) GS:ffff810001683a40(0000) knlGS:0000000000000000 > CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b > CR2: 0000000000000000 CR3: 0000000003966000 CR4: 00000000000006e0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 > Process head (pid: 1634, threadinfo ffff810003c9c000, task ffff810001c8c810) > Stack: 00000000000000d0 ffff810002d714c0 0000000000000001 0000000000000001 > 0000000000002000 ffffffff802ab6eb ffff810003c9df50 ffff810002915d00 > ffff810002d714f0 ffff810002fa2000 0000000000000000 fffffffffffffffb > Call Trace: > [] seq_read+0x105/0x28e > [] seq_read+0x0/0x28e > [] proc_reg_read+0x80/0x9a > [] vfs_read+0xcb/0x153 > [] sys_read+0x45/0x6e > [] system_call+0x7e/0x83 > > > Code: 45 8b 44 0d 00 44 89 e1 0f 45 d0 31 c0 49 ff c4 49 83 c5 28 > RIP [] acpi_processor_throttling_seq_show+0xa7/0xd6 > RSP > CR2: 0000000000000000 > FATAL: Error inserting acpi_cpufreq > (/lib/modules/2.6.22-rc4-mm1-autokern1/kernel/arch/x86_64/kernel/cpufreq/acpi-cpufreq.ko): > No such device Was the oops at modprobe time? If so, it seems weird that acpi_processor_throttling_seq_show() would be getting run at that stage. (The oops trace is supposed to show the oopsing process's task_struct.comm[], but it isn't shown here?) Anyway, there are extensive changes in there added by git-acpi.patch. I suppose we can try to limp along with the below, but it'll probably just oops later on. --- a/drivers/acpi/processor_throttling.c~git-acpi-disable-acpi_processor_throttling_seq_show +++ a/drivers/acpi/processor_throttling.c @@ -648,6 +648,9 @@ static int acpi_processor_throttling_seq goto end; } + seq_puts(seq, "acpi_processor_throttling_seq_show() is busted\n"); + goto end; + seq_printf(seq, "state count: %d\n" "active state: T%d\n" "state available: T%d to T%d\n", _ - 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/