From: Nigel Cunningham <nigel@nigel.suspend2.net>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Jiri Slaby <jirislaby@gmail.com>,
linux-pm@lists.osdl.org,
Linux kernel mailing list <linux-kernel@vger.kernel.org>,
akpm@osdl.org, linux-pm@osdl.org
Subject: Re: [linux-pm] OOPS: divide error while s2dsk (2.6.20-rc1-mm1)
Date: Tue, 19 Dec 2006 09:44:38 +1100 [thread overview]
Message-ID: <1166481878.5044.4.camel@nigel.suspend2.net> (raw)
In-Reply-To: <200612182338.24843.rjw@sisk.pl>
Hi.
On Mon, 2006-12-18 at 23:38 +0100, Rafael J. Wysocki wrote:
> On Monday, 18 December 2006 18:02, Jiri Slaby wrote:
> > Rafael J. Wysocki wrote:
> > > Hi,
> > >
> > > On Monday, 18 December 2006 12:20, Jiri Slaby wrote:
> > >> Hi.
> > >>
> > >> I got this oops while suspending:
> > >> [ 309.366557] Disabling non-boot CPUs ...
> > >> [ 309.386563] CPU 1 is now offline
> > >> [ 309.387625] CPU1 is down
> > >> [ 309.387704] Stopping tasks ... done.
> > >> [ 310.030991] Shrinking memory... -<0>divide error: 0000 [#1]
> > >> [ 310.456669] SMP
> > >> [ 310.456814] last sysfs file:
> > >> /devices/pci0000:00/0000:00:1e.0/0000:02:08.0/eth0/statistics/collisions
> > >> [ 310.456919] Modules linked in: eth1394 floppy ohci1394 ide_cd ieee1394 cdrom
> > >> [ 310.457259] CPU: 0
> > >> [ 310.457260] EIP: 0060:[<c0150c9a>] Not tainted VLI
> > >> [ 310.457261] EFLAGS: 00210246 (2.6.20-rc1-mm1 #207)
> > >> [ 310.457478] EIP is at shrink_slab+0x9e/0x169
> > >
> > > Looks like we have a problem with slab shrinking here.
> > >
> > > Could you please use gdb to check what exactly is at shrink_slab+0x9e?
> >
> > Sure, but not till Friday, sorry (I am away).
>
> I reproduced this on one box, but then it turned out that EIP was at line 195
> of mm/vmscan.c where there was
>
> do_div(delta, lru_pages + 1);
>
> Well, I have no idea how this can lead to a divide error (lru_pages is
> unsigned).
>
> I'm unable to reproduce this on another i386 box, so it seems to be somewhat
> configuration specific.
>
> Does 2.6.20-rc1 work for you?
I have a patch in -mm that reduces lru_pages by what shrink_all_zones
returns. Could shrink_all_zones perhaps be returning incorrect values
such that lru_pages ends up becoming -1?
Regards,
Nigel
next prev parent reply other threads:[~2006-12-18 22:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-18 11:20 OOPS: divide error while s2dsk (2.6.20-rc1-mm1) Jiri Slaby
2006-12-18 15:46 ` [linux-pm] " Rafael J. Wysocki
2006-12-18 17:02 ` Jiri Slaby
2006-12-18 20:59 ` Andrew Morton
2006-12-18 22:38 ` Rafael J. Wysocki
2006-12-18 22:44 ` Nigel Cunningham [this message]
2006-12-18 23:09 ` Rafael J. Wysocki
2006-12-18 23:16 ` Nigel Cunningham
2006-12-18 23:17 ` Andrew Morton
2006-12-19 0:52 ` Rafael J. Wysocki
2006-12-19 1:18 ` David Rientjes
2006-12-19 1:28 ` Andrew Morton
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=1166481878.5044.4.camel@nigel.suspend2.net \
--to=nigel@nigel.suspend2.net \
--cc=akpm@osdl.org \
--cc=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@lists.osdl.org \
--cc=linux-pm@osdl.org \
--cc=rjw@sisk.pl \
/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