From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759930AbYBFUiX (ORCPT ); Wed, 6 Feb 2008 15:38:23 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757211AbYBFUiL (ORCPT ); Wed, 6 Feb 2008 15:38:11 -0500 Received: from 210.161.159.67.colorbroadband.com ([67.159.161.210]:49841 "EHLO sc-software.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1757009AbYBFUiI (ORCPT ); Wed, 6 Feb 2008 15:38:08 -0500 Date: Wed, 6 Feb 2008 12:38:34 -0800 (PST) From: kerndev@sc-software.com To: Pekka Enberg cc: Hugh Dickins , linux-kernel@vger.kernel.org, John Heil Subject: Re: Bug: 2.6.24-smp: Eeek! page_mapcount(page) went negative! (-1) In-Reply-To: <84144f020802061233g70eebd88v1ab898c00bdb775@mail.gmail.com> Message-ID: References: <84144f020802061233g70eebd88v1ab898c00bdb775@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 6 Feb 2008, Pekka Enberg wrote: > Date: Wed, 6 Feb 2008 22:33:33 +0200 > From: Pekka Enberg > To: kerndev@sc-software.com > Cc: Hugh Dickins , linux-kernel@vger.kernel.org > Subject: Re: Bug: 2.6.24-smp: Eeek! page_mapcount(page) went negative! (-1) > > Hi, > > On Feb 6, 2008 10:21 PM, wrote: >> From reboot after last hang on 02/03/08, I found this... >> >> Feb 5 23:26:26 sc-software kernel: ------------[ cut here ]------------ >> Feb 5 23:26:26 sc-software kernel: kernel BUG at mm/slab.c:591! >> Feb 5 23:26:26 sc-software kernel: invalid opcode: 0000 [#1] PREEMPT SMP >> Feb 5 23:26:26 sc-software kernel: Modules linked in: shpchp pci_hotplug ohci1394 ieee1394 >> Feb 5 23:26:26 sc-software kernel: >> Feb 5 23:26:26 sc-software kernel: Pid: 6040, comm: modprobe Not tainted (2.6.24 #1) >> Feb 5 23:26:26 sc-software kernel: EIP: 0060:[] EFLAGS: 00010046 CPU: 1 >> Feb 5 23:26:26 sc-software kernel: EIP is at kfree+0x8f/0xa0 >> Feb 5 23:26:26 sc-software kernel: EAX: 40000000 EBX: f5915380 ECX: c1bb4498 EDX: c1bb4498 >> Feb 5 23:26:26 sc-software kernel: ESI: eff354a0 EDI: f5815280 EBP: f0067e78 ESP: f0067e68 >> Feb 5 23:26:26 sc-software kernel: DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 >> Feb 5 23:26:26 sc-software kernel: Process modprobe (pid: 6040, ti=f0066000 task=f00b5550 task.ti=f0066000) >> Feb 5 23:26:26 sc-software kernel: Stack: 00000282 f5915380 eff354a0 b7fb87b0 f0067f1c c01ac9ac 00000003 00001812 >> Feb 5 23:26:26 sc-software kernel: f0067e98 0805ba64 00000418 0805ba64 f0067eb4 0805ba64 00001812 00000000 >> Feb 5 23:26:26 sc-software kernel: f5815280 00000001 00000000 0805be7c 0805ba64 0805aa64 08048000 00000000 >> Feb 5 23:26:26 sc-software kernel: Call Trace: >> Feb 5 23:26:26 sc-software kernel: [] show_trace_log_lvl+0x1a/0x30 >> Feb 5 23:26:26 sc-software kernel: [] show_stack_log_lvl+0x9a/0xc0 >> Feb 5 23:26:26 sc-software kernel: [] show_registers+0xc7/0x250 >> Feb 5 23:26:26 sc-software kernel: [] die+0x11f/0x220 >> Feb 5 23:26:26 sc-software kernel: [] do_trap+0x91/0xd0 >> Feb 5 23:26:26 sc-software kernel: [] do_invalid_op+0x89/0xa0 >> Feb 5 23:26:26 sc-software kernel: [] error_code+0x72/0x78 >> Feb 5 23:26:26 sc-software kernel: [] load_elf_binary+0x8cc/0xcf0 >> Feb 5 23:26:26 sc-software kernel: [] search_binary_handler+0xc4/0x250 >> Feb 5 23:26:26 sc-software kernel: [] do_execve+0x145/0x190 >> Feb 5 23:26:26 sc-software kernel: [] sys_execve+0x32/0xa0 >> Feb 5 23:26:26 sc-software kernel: [] syscall_call+0x7/0xb > > This means we pass a non-slab pointer from load_elf_binary() to > kfree() which doesn't seem likely to be a software bug reading the > code. As Hugh suggested, please run memtest86+. > Will do!... Thnx j . =========================================================== John Heil South Coast Software Custom firmware, device drivers and board bring up services Ph: 1-714-774-6952 Fx: 1-714-774-7053 www.sc-software.com email: johnhscs@sc-software.com ===========================================================