Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Larry Sendlosky <larry@scrugs.lkg.dec.com>
To: axp-list@redhat.com
Cc: jgoerzen@complete.org, linux-kernel@vger.rutgers.edu, dhd@debian.org
Subject: Re: Kernel oops in read()
Date: Mon, 5 Jun 2000 12:37:32 EDT	[thread overview]
Message-ID: <CMM.0.90.4.960223052.larry@scrugs.lkg.dec.com> (raw)
In-Reply-To: Your message of Mon, 05 Jun 2000 09:58:28 +0100

> 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
----------------------------------------------------------------------


             reply	other threads:[~2000-06-05 16:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-05 16:37 Larry Sendlosky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-06-05 12:32 Kernel oops in read() Larry Sendlosky
2000-06-02 12:44 Larry Sendlosky
2000-06-05  8:58 ` David Addison
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox