From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754878Ab0JKOYk (ORCPT ); Mon, 11 Oct 2010 10:24:40 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:54731 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754709Ab0JKOYj (ORCPT ); Mon, 11 Oct 2010 10:24:39 -0400 Date: Mon, 11 Oct 2010 15:24:28 +0100 From: Al Viro To: Andreas Schwab Cc: Thorsten Glaser , linux-kernel@vger.kernel.org, linux-m68k@vger.kernel.org Subject: Re: aranym bug, manifests as "ida_remove called for id=13" on recent kernels Message-ID: <20101011142428.GK19804@ZenIV.linux.org.uk> References: <20101010144952.GF19804@ZenIV.linux.org.uk> <20101010235256.GG19804@ZenIV.linux.org.uk> <20101011024103.GH19804@ZenIV.linux.org.uk> <20101011043632.GA2566@cynthia.pants.nu> <20101011044808.GI19804@ZenIV.linux.org.uk> <20101011133545.GJ19804@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 11, 2010 at 04:15:35PM +0200, Andreas Schwab wrote: > Al Viro writes: > > > Below is what I'm using on top of mainline kernel; it's a combination of > > couple of patches in debian m68k kernel plus compile fixes. > > Try Geert's linux-m68k tree. > > > This kind of miscompile is definitely triggered in a lot of places - > > anything that does return ERR_PTR(error) right after error = foo(...); > > is going to get fscked and it's not a rare thing. > > Only if they are optimized into tail calls. And with -O2 4.3 does exactly that. BTW, any comments on signal patchset? Seems to work here, including the stack expansion fixes, but that's on aranym. I'll try to resurrect the real hardware, but that may take a while. If somebody could give it a beating in the meanwhile...