From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 452 invoked from network); 5 Jun 2000 16:38:05 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 5 Jun 2000 16:38:05 -0000 Received: from ztxmail04.ztx.compaq.com (ztxmail04.ztx.compaq.com [161.114.1.208]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id MAA20189 for ; Mon, 5 Jun 2000 12:38:04 -0400 Received: by ztxmail04.ztx.compaq.com (Postfix, from userid 12345) id E15933DD; Mon, 5 Jun 2000 11:37:33 -0500 (CDT) Received: from scrugs.lkg.dec.com (scrugs.lkg.dec.com [16.24.240.5]) by ztxmail04.ztx.compaq.com (Postfix) with SMTP id 4326B1EE; Mon, 5 Jun 2000 11:37:33 -0500 (CDT) Received: by scrugs.lkg.dec.com (5.65v4.0/1.1.19.2/15May00-1117AM) id AA20677; Mon, 5 Jun 2000 12:37:32 -0400 Date: Mon, 5 Jun 2000 12:37:32 EDT From: Larry Sendlosky To: axp-list@redhat.com Cc: jgoerzen@complete.org, linux-kernel@vger.rutgers.edu, dhd@debian.org Subject: Re: Kernel oops in read() In-Reply-To: Your message of Mon, 05 Jun 2000 09:58:28 +0100 Message-Id: > It seems that the standard RH kernel builds (certainly 6.0, 6.1) generate > kernels under which > the got table size is >64k. This breaks the exception table handling in the I build my own kernel and the .got section is < 64KB. I checked the RH 2.2.13-0.9 kernel and the .got is >64KB. > kernel. > So when system calls do protected reads from user space they are not actually > protected > and generate oops if the user supplies bad addresses. > > Anyway the fix/workaround is to uncomment the -relax option in the > arch/alpha/Makefile. > This (in most cases) reduces the got table to be <64k and so avoids the problem. Actually, if it is "legal" to build a kernel with a .got > 64KB, then the kernel exception handler needs to be fixed. larry ______________________________________________________________________ Larry Sendlosky ATS larry@scrugs.lkg.dec.com (978) 506-6640 Compaq ----------------------------------------------------------------------