Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 1 Oct 2002 09:41:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 1 Oct 2002 09:41:16 -0400 Received: from inje.iskon.hr ([213.191.128.16]:48032 "EHLO inje.iskon.hr") by vger.kernel.org with ESMTP id ; Tue, 1 Oct 2002 09:41:15 -0400 To: Alessandro Suardi Cc: Hugh Dickins , Andrew Morton , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Re: Shared memory shmat/dt not working well in 2.5.x References: <3D99A2F2.70102@oracle.com> Reply-To: zlatko.calusic@iskon.hr X-Face: s71Vs\G4I3mB$X2=P4h[aszUL\%"`1!YRYl[JGlC57kU-`kxADX}T/Bq)Q9.$fGh7lFNb.s i&L3xVb:q_Pr}>Eo(@kU,c:3:64cR]m@27>1tGl1):#(bs*Ip0c}N{:JGcgOXd9H'Nwm:}jLr\FZtZ pri/C@\,4lW<|jrq^<):Nk%Hp@G&F"r+n1@BoH From: Zlatko Calusic Date: Tue, 01 Oct 2002 15:46:35 +0200 In-Reply-To: <3D99A2F2.70102@oracle.com> (Alessandro Suardi's message of "Tue, 01 Oct 2002 15:28:18 +0200") Message-ID: User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Honest Recruiter, i386-debian-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1808 Lines: 40 Alessandro Suardi writes: > Hugh Dickins wrote: >> On Tue, 1 Oct 2002, Zlatko Calusic wrote: >> >>>Still having problems with Oracle on 2.5.x (it can't even be started), >>>I devoted some time trying to pinpoint where the problem is. Reading >>>many traces of Oracle, and rebooting a dozen times, I finally found >>>that the culprit is weird behaviour of shmat/shmdt functions in 2.5, >>>when combined with mprotect() calls. I wrote a simple test app >>>(attached) and I'm also appending output of it below (running on >>>2.4.19 & 2.5.39 kernels, see the difference). >> Exemplary bug report! Many thanks for taking so much trouble to >> reproduce the problem. Patch below (against 2.5.39) should fix it: >> I'll send Linus and Andrew when I can get hold of a 2.5.40 tree. >> Hugh > [snip] > > I'm glad to report that Oracle 9.2 is now able to start once again > on 2.5.x series :) > > Thanks, cool work as always ! Was it a known problem for some time? I haven't been testing 2.5.x series for some time, and also haven't read linux-kernel list last few months, so I don't know exact history of the bug. If you can enlighten me, I'm just curious... :) I rememeber other more complicated bugs from the older 2.5.x kernels, and now I'll test if they're solved in newer ones. I might need some help if they still exist (could you lend me a hand if that's the case?) as I was getting Oracle internal error - coredump - with only one meaningful sentence (at least to me :)). Google was silent on the case. :( Regards, -- Zlatko - 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/