Re: crashme fault

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Randy Dunlap <randy.dunlap@...>
Cc: lkml <linux-kernel@...>, Andi Kleen <ak@...>
Date: Saturday, September 15, 2007 - 12:28 am

On Wed, 12 Sep 2007, Randy Dunlap wrote:

Interesting. If this is reproducible for you, can you try to narrow down 
(with bit-bisect) roughly when it started.


It looks like it's a page fault as a result of a *user*space* access, and 
most likely your machine would continue happily, except you have 
"panic_on_oops" set, so when the oops happens, it shuts the system down.

Now, the reason I say it looks like a user space access is that you have

	RIP: 0033:[<0000000000510eea>]
	RSP: 002b:00007fffc9a8ec10

which are all user space segments. So the register contents clearly say 
"page fault in user space".

However, what makes the kernel oops (rather than just send a SIGSEGV) is 
that the page fault "error code" is zero (that's the number that is 
printed out just after the "Oops" string). For a normal user space access, 
you should have bit #2 set in the error code.

So the kernel thinks it's a kernel page fault, because the page fault 
error code says so. But everything else seems to indicate that it's really 
user mode.. It would be very interesting to hear when this started 
happening.

Even if you cannot bisect it down all the way, since you say that you do 
almost daily kernel testing, is this really new to 2.6.23-rc6-git2, and 
2.6.23-rc6-git1 was fine? 

Andi, anything comes to mind?

			Linus

---
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
crashme fault, Randy Dunlap, (Thu Sep 13, 1:21 am)
Re: crashme fault, Andrea Arcangeli, (Sun Sep 16, 11:53 am)
Re: crashme fault, Randy Dunlap, (Sun Sep 16, 12:17 pm)
Re: crashme fault, Linus Torvalds, (Sat Sep 15, 12:28 am)
Re: crashme fault, Andi Kleen, (Sat Sep 15, 2:34 pm)
Re: crashme fault, Randy Dunlap, (Sat Sep 15, 2:40 pm)
Re: crashme fault, Linus Torvalds, (Sat Sep 15, 3:44 pm)
Re: crashme fault, Linus Torvalds, (Sat Sep 15, 6:15 pm)
Re: crashme fault, Linus Torvalds, (Sat Sep 15, 6:47 pm)
Re: crashme fault, Andi Kleen, (Sat Sep 15, 11:10 pm)
Re: crashme fault, Randy Dunlap, (Sat Sep 15, 7:47 pm)
Re: crashme fault, Linus Torvalds, (Sat Sep 15, 8:34 pm)
Re: crashme fault, Randy Dunlap, (Sun Sep 16, 12:40 pm)
Re: crashme fault, Linus Torvalds, (Sun Sep 16, 1:14 pm)
Re: crashme fault, Andi Kleen, (Sun Sep 16, 2:28 pm)
Re: crashme fault, Linus Torvalds, (Sun Sep 16, 2:12 pm)
Re: crashme fault, Randy Dunlap, (Mon Sep 17, 1:06 am)
Re: crashme fault, Linus Torvalds, (Mon Sep 17, 1:28 am)
Re: crashme fault, Randy Dunlap, (Mon Sep 17, 10:29 am)
Re: crashme fault, Linus Torvalds, (Mon Sep 17, 10:53 am)
Re: crashme fault, Randy Dunlap, (Mon Sep 17, 4:05 pm)
Re: crashme fault, Randy Dunlap, (Sat Sep 15, 3:53 pm)
Re: crashme fault, Randy Dunlap, (Sat Sep 15, 1:05 am)
Re: crashme fault, Randy Dunlap, (Sat Sep 15, 1:21 am)