public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: linux-pm@lists.osdl.org
Cc: akpm@osdl.org, linux-pm@osdl.org,
	Jiri Slaby <jirislaby@gmail.com>,
	Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: OOPS: divide error while s2dsk (2.6.20-rc1-mm1)
Date: Mon, 18 Dec 2006 16:46:22 +0100	[thread overview]
Message-ID: <200612181646.23292.rjw@sisk.pl> (raw)
In-Reply-To: <4586797B.3080007@gmail.com>

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?

> [  310.457548] eax: 00000000   ebx: 00000000   ecx: 00000000   edx: 00000000
> [  310.457623] esi: 00000000   edi: c18fe500   ebp: f7b3fe3c   esp: f7b3fe08
> [  310.457696] ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
> [  310.457772] Process swsusp (pid: 3243, ti=f7b3e000 task=f756f030
> task.ti=f7b3e000)
> [  310.457845] Stack: c175d8a0 c175daa0 c175db00 00000000 00000000 c053cec0
> 000045ec 000000d0
> [  310.458286]        00000000 00000000 00001179 00001179 00000000 f7b3fe94
> c0151445 00000001
> [  310.458723]        f7b3fe64 00001df1 00000002 00000001 00000001 00038000
> 00000c79 0000117b
> [  310.459199] Call Trace:
> [  310.459334]  [<c0103f1b>] show_trace_log_lvl+0x1a/0x30
> [  310.459450]  [<c0103fd6>] show_stack_log_lvl+0xa5/0xca
> [  310.459562]  [<c01041ce>] show_registers+0x1d3/0x2b8
> [  310.459673]  [<c01043d4>] die+0x121/0x243
> [  310.459781]  [<c010456c>] do_trap+0x76/0x9c
> [  310.459892]  [<c0104bd8>] do_divide_error+0x94/0x9e
> [  310.460001]  [<c038a7e4>] error_code+0x7c/0x84
> [  310.460113]  [<c0151445>] shrink_all_memory+0x211/0x2eb
> [  310.460225]  [<c01418c1>] swsusp_shrink_memory+0x187/0x196
> [  310.460335]  [<c0141a07>] prepare_processes+0x35/0xc8
> [  310.460446]  [<c0141cce>] pm_suspend_disk+0xd/0x16f
> [  310.460558]  [<c0140c87>] enter_state+0x129/0x19b
> [  310.460668]  [<c0140d9c>] state_store+0xa3/0xac
> [  310.460777]  [<c0198ab0>] subsys_attr_store+0x20/0x25
> [  310.460889]  [<c0198b9f>] sysfs_write_file+0x97/0xd8
> [  310.460998]  [<c0165262>] vfs_write+0x8b/0x149
> [  310.461108]  [<c01658cb>] sys_write+0x3d/0x64
> [  310.461216]  [<c0102fe4>] syscall_call+0x7/0xb
> [  310.461328]  =======================
> [  310.461397] Code: 31 c0 ff 17 89 c3 8b 45 e4 31 d2 f7 77 0c f7 e3 89 45 d8 89
> 55 dc 89 d1 89 c6 31 d2 85 c9 74 09 89 c8 31 d2 f7 75 f0 89 c1 89 f0 <f7> 75 f0
> 89 ca 89 45 d8 89 55 dc 8b 45 d8 03 47 10 89 47 10 85
> [  310.464079] EIP: [<c0150c9a>] shrink_slab+0x9e/0x169 SS:ESP 0068:f7b3fe08
> [  310.464228]
> 
> swsusp script is something like this:
> echo platform > /sys/power/disk
> echo disk > /sys/power/state
> 
> regards,

Greetings,
Rafael


-- 
If you don't have the time to read,
you don't have the time or the tools to write.
		- Stephen King

  reply	other threads:[~2006-12-18 15:46 UTC|newest]

Thread overview: 10+ 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 ` Rafael J. Wysocki [this message]
     [not found]   ` <4586C99C.9020606@gmail.com>
2006-12-18 22:38     ` [linux-pm] " Rafael J. Wysocki
2006-12-18 22:44       ` Nigel Cunningham
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=200612181646.23292.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --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 \
    /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