Re: Kernel oops in read()

From: Larry Sendlosky (
Date: Mon Jun 05 2000 - 11:37:32 EST

> 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 Sendlosky ATS (978) 506-6640 Compaq

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:22 EST