<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2745.2800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Yes, it was. After some research on the previous
message i realized that it run out of memory so i did mem=8M and it hasn't been
crashed since then.</FONT></DIV>
<DIV><FONT face=Arial size=2>I still would like to understand why that swap code
was run when the swapping wasn't activated at all.</FONT></DIV>
<DIV><FONT face=Arial size=2>Thank you.</FONT></DIV>
<DIV><FONT face=Arial size=2>Bogdan</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=marcelo.tosatti@cyclades.com
href="mailto:marcelo.tosatti@cyclades.com">Marcelo Tosatti</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=bantonovici@priority.mb.ca
href="mailto:bantonovici@priority.mb.ca">bogdan antonovici</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=dan@embeddededge.com
href="mailto:dan@embeddededge.com">Dan Malek</A> ; <A
title=linuxppc-dev@ozlabs.org
href="mailto:linuxppc-dev@ozlabs.org">linuxppc-dev</A> ; <A
title=ppckernel@ppckernel.org
href="mailto:ppckernel@ppckernel.org">ppckernel</A> ; <A
title=linuxppc-embedded@ozlabs.org
href="mailto:linuxppc-embedded@ozlabs.org">linuxppc-embedded@ozlabs.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, July 22, 2005 7:57 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: swap_dup: Bad swap file
entry 00480020</DIV>
<DIV><BR></DIV>On Fri, Jul 22, 2005 at 10:46:38AM -0500, bogdan antonovici
wrote:<BR>> Hi Dan,<BR>> <BR>> I checked the driver code. I found a
pointer that was in my opinion<BR>> initialized too late and i corrected
that but other than that i haven't<BR>> found anything.<BR>> I ran the
driver alone, enabling the interrupts and the interrupt<BR>> routine
doesn't cause any trouble.<BR>> I started my application and i haven't seen
any sign of trouble.<BR>> But once i started also the snmpd after few
interrupts i got the<BR>> message:<BR>> <BR>> __alloc_pages: 0-order
allocation failed (gfp=0x1d2/0)<BR>> VM: killing process
sectionmond<BR><BR>Thats a different problem: you ran out of memory and the VM
can't swap<BR>out any data.<BR><BR>So its likely that the pagetable corruption
is gone (it was indeed a bug<BR>in the driver as Dan suspected).<BR><BR>>
sectionmond being my application.<BR>> My read and write driver operation
are requesting a page for a buffer<BR>> but they also release it. Should i
declare the buffer pointer with<BR>> volatile attribute?<BR>> Do you
know what may cause that message?<BR><BR>Out of memory
condition.</BLOCKQUOTE></BODY></HTML>