Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752827Ab1BTEyj (ORCPT ); Sat, 19 Feb 2011 23:54:39 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.183]:34474 "EHLO ironport2-out.pppoe.ca" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751187Ab1BTEyi (ORCPT ); Sat, 19 Feb 2011 23:54:38 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBADYtYE1Ld/sX/2dsb2JhbAAMhBTLVo9LgSeDQXYEhQ2MW4Yy X-IronPort-AV: E=Sophos;i="4.62,194,1297054800"; d="scan'208";a="92402285" Message-ID: <4D609E87.5000903@teksavvy.com> Date: Sat, 19 Feb 2011 23:54:31 -0500 From: Mark Lord User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: "Ted Ts'o" , Linux Kernel , linux-ext4@vger.kernel.org Subject: Re: ext4 crash on 2.6.37: NULL ptr in ext4_discard_preallocations References: <4D604620.9060204@teksavvy.com> <20110220000550.GA8765@thunk.org> In-Reply-To: <20110220000550.GA8765@thunk.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2032 Lines: 56 On 11-02-19 07:05 PM, Ted Ts'o wrote: > On Sat, Feb 19, 2011 at 05:37:20PM -0500, Mark Lord wrote: >> 32-bit x86 system, 2.6.37 SMP kernel, Core2duo, 3.3GB RAM, no swap. >> >> The system just suddenly switched to fbconsole and dumped a traceback. >> Here's the screen-shot photo: http://rtr.ca/ext4_crash.jpg >> >> Is this a known bug that got fixed in 2.6.37.1 ? > > No, this looks like a new one. > > And I can't make the Code: line make sense. Can you send me the > fs/ext4/mballoc.s file after running the command "make > fs/ext4/mballoc.s" in your build tree where you built this kernel? Sent. And here's an extract: .globl ext4_discard_preallocations .type ext4_discard_preallocations, @function ext4_discard_preallocations: pushl %ebp # pushl %edi # leal -136(%eax), %edi #, ei pushl %esi # pushl %ebx # subl $80, %esp #, movl 172(%eax), %esi # .i_sb, sb movl $0, 76(%esp) #, group movzwl 122(%eax), %edx # .i_mode, tmp85 andl $61440, %edx #, tmp85 cmpl $32768, %edx #, tmp85 jne .L875 #, leal 68(%esp), %edx #, tmp86 leal 380(%eax), %ebx #, D.45176 movl %edx, 68(%esp) # tmp86, list.next addl $372, %eax #, movl %edx, 72(%esp) # tmp86, list.prev movl %eax, 28(%esp) #, %sfp .L876: movl %ebx, %eax # D.45176, call _raw_spin_lock # jmp .L861 # .L867: cmpl %ebx, 60(%ebp) # D.45176, .pa_obj_lock je .L862 #, #APP # 3810 "fs/ext4/mballoc.c" 1 1: ud2 I wonder if the 003c offset is that "cmpl %ebx, 60(%ebp)" line? -- 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/