lkml.org 
[lkml]   [1996]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectA fatal bug in traps.c in all versions >=2.0.11
Date
From
-----BEGIN PGP SIGNED MESSAGE-----

Content-Type: text/plain; charset=us-ascii

I have found a bug from kernels >= 2.0.11 (I have tested 2.0.11
2.0.12, 2.0.14, 2.0.20, 2.0.21, 2.1.0). It causes my computer to crash
silently (it just halts, and nothing happens, and it is not just a
console), when I run exmh in using Accelerated X server.

I found out, that this bug has been caused by replasing line
"DO_ERROR(15, SIGSEGV, "reserved", reserved, current)" with function
" asmlinkage void do_reserved(struct pt_regs * regs, long error_code)
{
printk("Uhhuh.. Reserved trap code, whazzup? (%ld)\n", error_code);
}"
in file "arch/i386/kernel/traps.c". This change happened when version
changed from 2.0.10 to 2.0.11. I wonder why this line was replaced --
it has fatal effect on my computer.

I hope this will be fixed for next kernel release. I also
wonder, if it safe to replace that function with that older line in
kernel 2.0.21 (I tested, that removing that function, and adding
that line to 2.0.11 fixes this bug)?

- --
[Ville Hallivuori][vph@clinet.fi][http://www.clinet.fi/~vph/]
[Finger vph@zetor.clinet.fi for my public PGP key]
[PGP key fingerprint = C9 50 E2 DF 48 F6 33 62 5D 87 47 9D 3F 2B 07 5D]



-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBMlZQaY0IUEWOGtRhAQFwaAP/TO2IEKNJqTxjlLg1u8WmZtcj+zhtePES
Y0LTB4/GBIUwCGr5dWUcMoeZHuzgHcd5SLT51VvdLFFSHMN0nEdUFJ5gV7UMxUwJ
8HXGx2Gk+8IT8rXKOKqQaN4vz75/wIhxDUmYemMwKGK4SpUDAvNmm1pAzEuVVdaB
BtAeFzkEn48=
=aMZ1
-----END PGP SIGNATURE-----

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.058 / U:4.464 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site