2.1.96: wabi causes oops in write_ldt

Henrik Storner (storner@image.dk)
Wed, 15 Apr 1998 21:50:05 +0200 (MET DST)


Tried to start wabi while running 2.1.96/UP, and got an oops. This
is completely reproducable, but does not crash the system - wabi
just will not run.

Unable to handle kernel NULL pointer dereference at virtual address 0000038c
current->tss.cr3 = 0304e000, xr3 = 0304e000
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c010cedb>]
EFLAGS: 00010246
eax: 00000000 ebx: c3bd30c0 ecx: 0000014e edx: 00000ad8
esi: c0180e18 edi: 00000a70 ebp: 000001ff esp: c06e1f84
ds: 0018 es: 0018 ss: 0018
Process wabiprog (pid: 3515, process nr: 167, stackpage=c06e1000)
Stack: c06e0000 bffff158 000000ff bffff168 0000014e bffffa44 c06e0000 0000000b
082cbd50 000000ff 00000004 c010d07d bffff158 00000010 00000001 c0109a18
00000001 bffff158 00000010 bffff158 000000ff bffff168 0000007b 0000002b
Call Trace: [<c010d07d>] [<c0109a18>]
Code: 39 98 8c 03 00 00 75 6e 68 00 00 01 00 e8 bb 0b 01 00 89 c2

Using `/boot/System.map-2.1.96' to map addresses to symbols.

>>EIP: c010cedb <write_ldt+b3/22c>
Trace: c010d07d <sys_modify_ldt+29/44>
Trace: c0109a18 <system_call+38/40>
Code: c010cedb <write_ldt+b3/22c>
Code: c010cedb <write_ldt+b3/22c> 39 98 8c 03 00 cmpl %ebx,0x38c(%eax)
Code: c010cee1 <write_ldt+b9/22c> 75 6e jne c010cf51 <write_ldt+129/22c>
Code: c010cee3 <write_ldt+bb/22c> 68 00 00 01 00 pushl $0x10000
Code: c010ceee <write_ldt+c6/22c> e8 bb 0b 01 00 call c011daa8 <vmalloc>
Code: c010cef3 <write_ldt+cb/22c> 89 c2 movl %eax,%edx

I am using egcs 1.0.2 and binutils 2.9.0.2, redhat 4.2 system with updates
as per Documentation/Changes.

-- 
Henrik Storner  |  "testing? What's that? If it compiles, it is good, 
                |   if it boots up it is perfect."
                |                                    Linus Torvalds

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu