mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Interrupting __free_pages_OK results in OOPS
@ 2002-12-02  7:05 Santhosh Kumar
  2002-12-02 12:52 ` Rik van Riel
  0 siblings, 1 reply; 2+ messages in thread
From: Santhosh Kumar @ 2002-12-02  7:05 UTC (permalink / raw)
  To: linux-kernel


My device driver has an interrupt handler which
handles interrupts at a very high priority. Sometimes
the interrupt handler OOPS in __free_pages_OK. Any 
idea why it happens. (The process that was executing
at that time is Python).

System is Redhat 8.0, kernel 2.4.18-4

OOPS happens as follows. 

The interrupt handler pushes "gs" segment register,
while entering and pops "gs" while leaving. Always, it
OOPS at "pop %gs". The value that is popped to "gs" is
0007. The "lar" instruction (load access rights, with
parameter 0007) gives a value 0x0010ec00, which shows
it is a system segment. The code given by the General
Protection Fault is 0004.

Thanks
Santhosh

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Interrupting __free_pages_OK results in OOPS
  2002-12-02  7:05 Interrupting __free_pages_OK results in OOPS Santhosh Kumar
@ 2002-12-02 12:52 ` Rik van Riel
  0 siblings, 0 replies; 2+ messages in thread
From: Rik van Riel @ 2002-12-02 12:52 UTC (permalink / raw)
  To: Santhosh Kumar; +Cc: linux-kernel

On Sun, 1 Dec 2002, Santhosh Kumar wrote:

> My device driver has an interrupt handler which
> handles interrupts at a very high priority. Sometimes
> the interrupt handler OOPS in __free_pages_OK. Any
> idea why it happens.

> OOPS happens as follows.

Could you please give us the full oops output, decoded with
ksymoops ?

Rik
-- 
Bravely reimplemented by the knights who say "NIH".
http://www.surriel.com/		http://guru.conectiva.com/
Current spamtrap:  <a href=mailto:"october@surriel.com">october@surriel.com</a>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-02 12:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-02  7:05 Interrupting __free_pages_OK results in OOPS Santhosh Kumar
2002-12-02 12:52 ` Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®