From mboxrd@z Thu Jan 1 00:00:00 1970 From: Helge Deller Subject: Re: parisc: fix mmap(MAP_FIXED|MAP_SHARED) to already mmapped address Date: Sun, 29 Dec 2013 21:50:56 +0100 Message-ID: <52C08B30.50309@gmx.de> References: <20131219191750.GC2881@blackmetal.musicnaut.iki.fi> <201312191619.05005.vapier@gentoo.org> <201312191802.39169.vapier@gentoo.org> <52B4C03B.2000805@gmx.de> <20131223202611.GA3570@blackmetal.musicnaut.iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Mike Frysinger , John David Anglin , carlos@redhat.com, linux-parisc@vger.kernel.org To: Aaro Koskinen Return-path: In-Reply-To: <20131223202611.GA3570@blackmetal.musicnaut.iki.fi> List-ID: List-Id: linux-parisc.vger.kernel.org Hi Aaro, On 12/23/2013 09:26 PM, Aaro Koskinen wrote: > On Fri, Dec 20, 2013 at 11:10:03PM +0100, Helge Deller wrote: >> You could try my current rewrite for the mmap functions which is in my "aio_mmap_fix" branch at >> git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git >> (http://git.kernel.org/cgit/linux/kernel/git/deller/parisc-linux.git/log/?h=aio_mmap_fix) >> Pulling this branch on top of Linux head should work. >> But I think it will not solve this problem. > > FWIW, I pulled this branch (aaa88432c03b) on top of 3.13-rc5 and the > system won't boot (HP C3700, 32-bit kernel). There's several stack trace > dumps during the boot; if you're interested I might be able to setup a > serial console to capture these. Yes, the code hit a BUG_ON when running with 32bit kernel. I just committed a trivial patch to the same tree, and now it works. Helge