Re: This can freeze linux 2.0 on 486

Praveen Dwivedi (pkd@sequent.com)
Sat, 25 Jan 1997 05:33:44 -0800 (PST)



I have a 486/DX4 100Mhz. I don't know the stepping id.

OK, to be more precise this is the program and the results

.text
.globl junk
junk:
invd
movl $0x1,%eax
int $0x80
-----------------------------------------------------------------
as -o real.o real.s
ld -e junk real.o
$./a.out
( run this few times repeatedly )
----------------------------------------------------------------------
This happened when you do a ls immediately after previous steps
The shell is killed.

Jan 26 06:58:04 quark kernel: Oops: 0002
Jan 26 06:58:04 quark kernel: CPU: 0
Jan 26 06:58:04 quark kernel: EIP: 0010:[<00120281>]
Jan 26 06:58:04 quark kernel: EFLAGS: 00010002
Jan 26 06:58:04 quark kernel: eax: 00000000 ebx: 00000000 ecx: 00000000 edx: 001ceb44
Jan 26 06:58:04 quark kernel: esi: ffffffff edi: 000008d4 ebp: 0000046a esp: 00f60f5c
Jan 26 06:58:04 quark kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Jan 26 06:58:04 quark kernel: Process bash (pid: 87, process nr: 17, stackpage=00f60000)
Jan 26 06:58:04 quark kernel: Stack: 00000000 00f60fb4 9aff680a bf911f98 00000216 0012c8fc 008d4000 00000000
Jan 26 06:58:04 quark kernel: 0012ce5c 008d4000 008d4000 00b76894 00000001 00f60fb4 bf911f58 0804c130
Jan 26 06:58:04 quark kernel: 008d4000 0012aba9 0804c130 00f60fb4 00d7e414 00000000 0090c1e8 0010a5f2
Jan 26 06:58:04 quark kernel: Call Trace: [<0012c8fc>] [<0012ce5c>] [<0012aba9>] [<0010a5f2>]
Jan 26 06:58:04 quark kernel: Code: 89 41 20 89 48 10 01 f6 43 c1 ed 01 21 f7 83 fb 04 76 bc 8d
------------------------------------------------------------------------------
Switch on to other console and run the binary again. This happened while
trying to do ls.

kfree of non-kmalloced memory:00c55e58, next=00b56000, order=1
VFS: Close: file count is zero
------------------------------------------------------------------------------
VFS: Close: file count is zero
------------------------------------------------------------------------------

Go to some other console and run this same ./a.out again
The m/c is rebooted.

-pkd

-- 

---------------------------------------------------------------------- Praveen Dwivedi pkd@sequent.com --