oops in 2.2.0-release

Arvind Sankar (arvinds@mit.edu)
Wed, 27 Jan 1999 19:18:47 -0500


I got this when I did xntpd restart.

Kernel is stock 2.2.0 + the fix to mmap.c + HZ==1024:

--- linux/mm/mmap.c.orig Wed Jan 27 14:09:31 1999
+++ linux/mm/mmap.c Wed Jan 27 14:06:09 1999
@@ -558,7 +558,7 @@
unsigned long start, unsigned long end)
{
unsigned long first = start & PGDIR_MASK;
- unsigned long last = (end & PGDIR_MASK) + PGDIR_SIZE;
+ unsigned long last = ((end-1) & PGDIR_MASK) + PGDIR_SIZE;

Is HZ == 1024 dangerous, btw? What else needs to be changed if I
change it? I also changed SHIFT_HZ to 10. And the glibc 2.1 defn of
CLK_TCK to 1024.

output of ksymoops:

Jan 27 19:01:44 anjala kernel: Unable to handle kernel NULL pointer dereference at virtual address 00000000
Jan 27 19:01:44 anjala kernel: current->tss.cr3 = 03318000, %cr3 = 03318000
Jan 27 19:01:44 anjala kernel: *pde = 00000000
Jan 27 19:01:44 anjala kernel: Oops: 0002
Jan 27 19:01:44 anjala kernel: CPU: 0
Jan 27 19:01:44 anjala kernel: EIP: 0010:[kmem_cache_free+399/450]
Jan 27 19:01:44 anjala kernel: EFLAGS: 00010246
Jan 27 19:01:44 anjala kernel: eax: 0000003b ebx: c001fae0 ecx: c39ce000 edx: 00000000
Jan 27 19:01:44 anjala kernel: esi: c009e6e0 edi: 00000282 ebp: 00000000 esp: c330fecc
Jan 27 19:01:44 anjala kernel: ds: 0018 es: 0018 ss: 0018
Jan 27 19:01:44 anjala kernel: Process top (pid: 327, process nr: 23, stackpage=c330f000)
Jan 27 19:01:44 anjala kernel: Stack: 0000044a 00000000 c001fb5c c3e1c000 c0112aba c009e6e0 c001fae0 c001fae0
Jan 27 19:01:44 anjala kernel: c001fae0 c001fae0 000000aa c014bc9f c001fae0 c0214f34 0000000b c3185000
Jan 27 19:01:44 anjala kernel: 000001ff c011cbbf c3e1c1c2 c330e000 c32d9000 4430ff30 00000436 00000011
Jan 27 19:01:44 anjala kernel: Call Trace: [mmput+45/50] [get_stat+955/968] [__wait_on_page+143/194] [array_read+320/745] [filp_open+68/236] [sys_read+181/202] [system_call+52/56]
Jan 27 19:01:44 anjala kernel: Code: 89 15 00 00 00 00 eb 24 8d 74 26 00 b9 f2 bd 1c c0 85 f6 74

Code: 00000000 Before first symbol 00000000 <_EIP>:
Code: 00000000 Before first symbol 0: 89 15 00 00 00 movl %edx,0x0
Code: 00000005 Before first symbol 5: 00
Code: 00000006 Before first symbol 6: eb 24 jmp 2c <_EIP+0x2c> 0000002c Before first symbol
Code: 00000008 Before first symbol 8: 8d 74 26 00 leal 0x0(%esi,1),%esi
Code: 0000000c Before first symbol c: b9 f2 bd 1c c0 movl $0xc01cbdf2,%ecx
Code: 00000011 Before first symbol 11: 85 f6 testl %esi,%esi
Code: 00000013 Before first symbol 13: 74 00 je 15 <_EIP+0x15> 00000015 Before first symbol

Jan 27 19:01:44 anjala kernel: Kernel panic: VFS: argc is wrong

-- arvind

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/