linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: bogdan antonovici <bantonovici@priority.mb.ca>
To: Dan Malek <dan@embeddededge.com>
Cc: linuxppc-dev <linuxppc-dev@ozlabs.org>,
	ppckernel <ppckernel@ppckernel.org>,
	linuxppc-embedded@ozlabs.org
Subject: Re: swap_dup: Bad swap file entry 00480020
Date: 22 Jul 2005 10:46:38 -0500	[thread overview]
Message-ID: <1122047198.6726.13.camel@rd-lab> (raw)
In-Reply-To: <1a928a85f53f5dcd972161356611a312@embeddededge.com>

Hi Dan,

I checked the driver code. I found a pointer that was in my opinion
initialized too late and i corrected that but other than that i haven't
found anything.
I ran the driver alone, enabling the interrupts and the interrupt
routine doesn't cause any trouble.
I started my application and i haven't seen any sign of trouble.
But once i started also the snmpd after few interrupts i got the
message:

__alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
VM: killing process sectionmond

sectionmond being my application.
My read and write driver operation are requesting a page for a buffer
but they also release it. Should i declare the buffer pointer with
volatile attribute?
Do you know what may cause that message?
Thanks
Bogdan



On Thu, 2005-07-21 at 12:59, Dan Malek wrote:
> On Jul 21, 2005, at 11:29 AM, bogdan antonovici wrote:
> 
> > At the time of swap messages i was running a proprietary driver, my
> > application and few daemons.
> 
> Looks like your driver may have written over some of the page
> tables in the kernel space.
> 
> > I look on the net for some clues but it's quite confusing, i noticed
> > many emails on swap_dup/swap_free error messages but i couldn't figure
> > out what should i search for.
> 
> Those messages are likely due to a bug with swapping to disk
> that has been in some 2.4 kernels, but I don't believe that is
> the case here, since you don't have a disk or swapping enabled.
> 
> 
> 	-- Dan
> 

  parent reply	other threads:[~2005-07-22 15:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-21 15:29 swap_dup: Bad swap file entry 00480020 bogdan antonovici
2005-07-21 17:59 ` Dan Malek
2005-07-21 18:14   ` Bogdan Antonovici
2005-07-22 15:46   ` bogdan antonovici [this message]
2005-07-22 12:57     ` Marcelo Tosatti
2005-07-25 13:16       ` Bogdan Antonovici
2005-07-25 17:36         ` Benjamin Herrenschmidt
2005-08-05 19:12   ` Bogdan Antonovici
2005-08-05 19:29     ` Dan Malek
2005-08-05 21:12     ` Geoff Levand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1122047198.6726.13.camel@rd-lab \
    --to=bantonovici@priority.mb.ca \
    --cc=dan@embeddededge.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=ppckernel@ppckernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).