Re: [PATCH 02/16] radixtree: sync with mainline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 04, 2005 at 03:57:50PM -0800, Andrew Morton wrote:
> Wu Fengguang <[email protected]> wrote:
> >
> > [PATCH] radix-tree: Remove unnecessary indirections and clean up code
> > 
> >  is only partially merged into -mm tree. This patch completes it.
> 
> md: autorun ...               
> md: ... autorun DONE.
> Unable to handle kernel paging request at virtual address 8000003c
>  printing eip:                                                    
> c013e16f      
> *pde = 00000000
> Oops: 0000 [#1]
> SMP            
> Modules linked in:
> CPU:    1         
> EIP:    0060:[<c013e16f>]    Not tainted VLI
> EFLAGS: 00010086   (2.6.15-rc5-mm1)         
> EIP is at find_get_page+0x2e/0x4e   

It is reproduced here on linux-2.6.15-rc3-mm1 with this single patch.
I'm using qemu, and its screen outputs are not accessible. So I added some
delays to the dump code, and grabbed two screen shots.

Wu
--- linux.orig/arch/i386/kernel/traps.c
+++ linux/arch/i386/kernel/traps.c
@@ -158,6 +158,7 @@ static inline unsigned long print_contex
 		printk(" [<%08lx>] ", addr);
 		print_symbol("%s", addr);
 		printk("\n");
+		mdelay(1000);
 		ebp = *(unsigned long *)ebp;
 	}
 #else
@@ -167,6 +168,7 @@ static inline unsigned long print_contex
 			printk(" [<%08lx>]", addr);
 			print_symbol(" %s", addr);
 			printk("\n");
+			mdelay(1000);
 		}
 	}
 #endif
@@ -257,6 +259,7 @@ void show_registers(struct pt_regs *regs
 		smp_processor_id(), 0xffff & regs->xcs, regs->eip,
 		print_tainted(), regs->eflags, system_utsname.release);
 	print_symbol("EIP is at %s\n", regs->eip);
+	mdelay(5000);
 	printk("eax: %08lx   ebx: %08lx   ecx: %08lx   edx: %08lx\n",
 		regs->eax, regs->ebx, regs->ecx, regs->edx);
 	printk("esi: %08lx   edi: %08lx   ebp: %08lx   esp: %08lx\n",
@@ -265,6 +268,7 @@ void show_registers(struct pt_regs *regs
 		regs->xds & 0xffff, regs->xes & 0xffff, ss);
 	printk("Process %s (pid: %d, threadinfo=%p task=%p)",
 		current->comm, current->pid, current_thread_info(), current);
+	mdelay(5000);
 	/*
 	 * When in-kernel, we also print out the stack and code at the
 	 * time of the fault..

Attachment: find_get_page_panic.png
Description: PNG image

Attachment: find_get_page_panic2.png
Description: PNG image


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux