From: Frederik Deweerdt <deweerdt@free.fr>
To: Pavel Machek <pavel@ucw.cz>
Cc: Andrew Morton <akpm@osdl.org>,
greg@kroah.com, linux-kernel@vger.kernel.org, linux-pm@osdl.org,
stern@rowland.harvard.edu
Subject: Re: [linux-pm] swsusp regression [Was: 2.6.17-mm1]
Date: Fri, 23 Jun 2006 15:47:26 +0200 [thread overview]
Message-ID: <20060623134726.GD2234@slug> (raw)
In-Reply-To: <20060623125658.GB8048@elf.ucw.cz>
On Fri, Jun 23, 2006 at 02:57:01PM +0200, Pavel Machek wrote:
> Hi!
>
> > > > > 2.6.17 wasn't supposed to oops. Do you have details on this?
> > > > >
> > > > For some reason, unknown to me, the oops won't display on the serial
> > > > link :(.
> > >
> > > Serial console is currently broken by suspend, resume. _But_ I have a
> > > patch I'd like you to try.... pretty please?
> > >
> > Sure :)... I applied it but the output went to the laptop's screen anyway...
>
> Do you need some kernel command line options? This is s2ram, do I
> recall it correctly?
I think the options are ok: I'm passing console=tty0 console=ttyS0,9600 and
everything works fine in cu(1). Until the 'echo mem > /sys/power/state', that is :)
> > esi: 00000003 edit: 00000000 ebp: f6cb9eb8 esp: f6cb9ea4
> > ds: 007b es: 007b ss: 0068
> > Process bash (pid: 9402, threadinfo=f6cb8000 task=f7a5c570)
>
> This stack lines are not really interesting (can you comment them from
> sources?) and they make interesting info scroll away :-(.
I'll comment them out and send you the trace, but I won't get the time to
do it today, I'll try to get it done by monday.
> Or maybe vga=1 can help?
I've tried it. But somehow, the suspend process resets the resolution to the
lowest one.
>
> > Stack: c0229b71 00000046 00000000 00000286 c0383ca7 f6cb9ecc c013b242 00000003
> > 00000000 00000003 f6cb9ee0 c013b2e8 00000003 c0436890 f6c9a003 f6cb9f08
> > c013b481 00000003 00000003 00000246 c1788b00 00000003 c04368a0 c043692c
c0229b71 is in acpi_pm_enter:
case PM_SUSPEND_MEM:
--> do_suspend_lowlevel();
break;
c013b242 is in suspend_enter:
}
--> error = pm_ops->enter(state);
device_power_up();
c013b2e8 is in enter_state
pr_debug("PM: Entering %s sleep\n", pm_states[state]);
--> error = suspend_enter(state);
c013b481 is in state_store
if (state < PM_SUSPEND_MAX && *s)
--> error = enter_state(state);
else
> > Call Trace:
> > <c0103eea> show_stack_log_lvl+0x92/0xb7 <c0104100> show_registers+0x1a3/0x21b
> > <c0104319> die+0x117/0x230 <c03627a6> do_page_fault+0x39c/0x72a
> > <c0103b2f> error_code+0x4f/0x54 <c013b242> suspend_enter+0x2f/0x52
> > <c013b2e8> enter_state+0x4b/0x8d <c013b481> state_store+0xa0/0xa2
> > <c01a5151> subsys_attr_store+0x37/0x41 <c01a53d2> flush_write_buffer+0x3c/0x46
> > <c01a5443> sysfs_write_file+0x67/0x8b <c0166bb6> vfs_write+0x1b9/0x1be
> > <c0166c7b> sys_write+0x4b/0x75 <c010300f> sysenter_past_esp+0x54/0x75
> >
> > Code: 05 c4 42 43 c0 31 43 43 c0 c3 8b 2d 68 6e 54 c0 8b 1d 60 6e 54 c0 8b 35 6c 6e 54 c0 8b 3d 70 6d 54 c0 ff 35 74 6e 54 c0 9d c3 90 <e8> 6d 38 ea ff e8 a2 ff ff ff 6a 03 e8 ec b6 de ff 83 c4 04 c3
> > EIP: [c043431c>] do_suspend_lowlevel+0x0/0x15 SS:ESP 0068:f6cb6ea4
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Ha, wait a moment, this is interesting line. Can you trace down which
> instruction causes this?
This disassembles as follows:
c043431c <do_suspend_lowlevel>:
c043431c: e8 6d 38 ea ff call c02d7b8e <save_processor_state>
c0434321: e8 a2 ff ff ff call c04342c8 <save_registers>
c0434326: 6a 03 push $0x3
c0434328: e8 ec b6 de ff call c021fa19 <acpi_enter_sleep_state>
c043432d: 83 c4 04 add $0x4,%esp
c0434330: c3 ret
So it looks like where crashing when calling save_processor_state.
> We recently changed pagetable handling during swsusp, perhaps thats
> it? It went to Linus few minutes ago...
Sorry, I don't understand what you mean: do you want me to try the latest git?
Regards,
Frederik
next prev parent reply other threads:[~2006-06-23 13:57 UTC|newest]
Thread overview: 132+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-21 10:48 2.6.17-mm1 Andrew Morton
2006-06-21 11:07 ` 2.6.17-mm1 Michal Piotrowski
2006-06-21 11:17 ` 2.6.17-mm1 Andrew Morton
2006-06-21 11:29 ` 2.6.17-mm1 Michal Piotrowski
2006-06-21 13:53 ` 2.6.17-mm1 Cedric Le Goater
2006-06-21 14:13 ` 2.6.17-mm1 Michal Piotrowski
2006-06-21 16:44 ` 2.6.17-mm1 H. Peter Anvin
2006-06-21 19:26 ` 2.6.17-mm1 Cedric Le Goater
2006-06-21 21:46 ` 2.6.17-mm1 Michal Piotrowski
2006-06-21 11:28 ` 2.6.17-mm1 Andrew Morton
2006-06-21 15:35 ` 2.6.17-mm1 Christoph Lameter
2006-06-21 12:06 ` 2.6.17-mm1 Michal Piotrowski
2006-06-21 15:10 ` [-mm patch] drivers/net/ni5010.c: fix compile error Adrian Bunk
2006-06-22 8:13 ` Andreas Mohr
2006-06-22 8:45 ` Adrian Bunk
2006-06-21 18:22 ` [PATCH] pi-futex-rt-mutex-core-merge.patch (was Re: 2.6.17-mm1 Valdis.Kletnieks
2006-06-21 21:48 ` swsusp regression [Was: 2.6.17-mm1] Jiri Slaby
2006-06-21 22:14 ` Mattia Dongili
2006-06-21 22:18 ` Mattia Dongili
2006-06-22 6:19 ` [linux-pm] " Greg KH
2006-06-22 7:46 ` Andrew Morton
2006-06-22 8:25 ` Jeremy Fitzhardinge
2006-06-22 15:51 ` Alan Stern
2006-06-22 17:17 ` Jeremy Fitzhardinge
2006-06-22 18:46 ` Greg KH
2006-06-22 19:07 ` Greg KH
2006-06-22 19:57 ` Alan Stern
2006-06-22 20:22 ` Greg KH
2006-06-22 20:38 ` Jiri Slaby
2006-06-22 21:09 ` Alan Stern
2006-06-22 21:11 ` Greg KH
2006-06-22 16:04 ` Frederik Deweerdt
2006-06-22 16:25 ` Andrew Morton
2006-06-22 19:07 ` Frederik Deweerdt
2006-06-23 9:02 ` Frederik Deweerdt
2006-06-23 9:10 ` Pavel Machek
2006-06-23 9:31 ` Andrew Morton
2006-06-23 12:12 ` Frederik Deweerdt
2006-06-23 12:57 ` Pavel Machek
2006-06-23 13:47 ` Frederik Deweerdt [this message]
2006-06-23 19:57 ` Andrew Morton
2006-06-26 9:00 ` Frederik Deweerdt
2006-06-23 19:41 ` Russell King
2006-06-23 20:22 ` Dave Jones
2006-06-23 21:10 ` Rafael J. Wysocki
2006-06-23 22:11 ` Pavel Machek
2006-06-23 23:53 ` Frederik Deweerdt
2006-06-24 17:16 ` Rafael J. Wysocki
2006-06-21 21:57 ` [-mm patch] drivers/acpi/scan.c: make acpi_bus_type static Adrian Bunk
2006-06-21 21:57 ` [-mm patch] drivers/ide/legacy/ide-cs.c: make 2 functions static Adrian Bunk
2006-06-21 21:57 ` [-mm patch] drivers/md/md.c: make code static Adrian Bunk
2006-06-21 21:57 ` [-mm patch] drivers/media/video/vivi.c: make 2 functions static Adrian Bunk
2006-06-21 21:57 ` [-mm patch] gpio: make two mutexes static again Adrian Bunk
2006-06-21 22:54 ` [-mm patch] drivers/scsi/qla2xxx/: make some functions static Adrian Bunk
2006-06-21 23:20 ` [-mm patch] make drivers/scsi/pata_pcmcia.c:pcmcia_remove_one() static Adrian Bunk
2006-06-22 10:50 ` Alan Cox
2006-06-21 23:37 ` [-mm patch] make drivers/usb/misc/cy7c63.c:vendor_command() static Adrian Bunk
2006-06-21 23:39 ` 2.6.17-mm1 : two PF flags with the same value Peter Williams
2006-06-21 23:44 ` Andrew Morton
2006-06-22 0:12 ` Paul Jackson
2006-06-22 10:03 ` [-mm patch] #if 0 drivers/usb/input/hid-core.c:hid_find_field_by_usage() Adrian Bunk
2006-06-22 10:03 ` [-mm patch] fs/gfs2/: make code static Adrian Bunk
2006-06-22 10:25 ` Steven Whitehouse
2006-06-22 14:58 ` 2.6.17-mm1 Franck Bui-Huu
2006-06-22 15:20 ` 2.6.17-mm1 Mel Gorman
2006-06-22 15:50 ` 2.6.17-mm1 Franck Bui-Huu
2006-06-22 15:54 ` 2.6.17-mm1 Mel Gorman
2006-06-22 16:14 ` 2.6.17-mm1 Russell King
2006-06-22 16:50 ` 2.6.17-mm1 Mel Gorman
2006-06-22 17:25 ` 2.6.17-mm1 Franck Bui-Huu
2006-06-23 10:20 ` 2.6.17-mm1 Mel Gorman
2006-06-23 12:22 ` 2.6.17-mm1 Franck Bui-Huu
2006-06-23 12:56 ` 2.6.17-mm1 Franck Bui-Huu
2006-06-23 13:46 ` 2.6.17-mm1 Mel Gorman
2006-06-23 14:52 ` 2.6.17-mm1 Franck Bui-Huu
2006-06-23 15:06 ` 2.6.17-mm1 Franck Bui-Huu
2006-06-23 15:13 ` 2.6.17-mm1 Mel Gorman
2006-06-23 15:51 ` 2.6.17-mm1 Franck Bui-Huu
2006-06-23 16:38 ` 2.6.17-mm1 Mel Gorman
2006-06-26 8:31 ` 2.6.17-mm1 Franck Bui-Huu
2006-06-26 10:37 ` 2.6.17-mm1 Mel Gorman
2006-06-26 11:31 ` 2.6.17-mm1 Franck Bui-Huu
2006-06-26 13:22 ` 2.6.17-mm1 Mel Gorman
2006-06-26 13:49 ` 2.6.17-mm1 Franck Bui-Huu
2006-06-26 14:31 ` 2.6.17-mm1 Mel Gorman
2006-06-26 15:05 ` 2.6.17-mm1 Franck Bui-Huu
2006-06-26 15:15 ` 2.6.17-mm1 Mel Gorman
2006-06-23 15:14 ` 2.6.17-mm1 Franck Bui-Huu
2006-06-23 19:55 ` 2.6.17-mm1 Russell King
2006-06-22 15:52 ` 2.6.17-mm1: kernel/lockdep.c: write-only variables Adrian Bunk
2006-06-23 7:26 ` Ingo Molnar
2006-06-23 7:49 ` Ingo Molnar
2006-06-22 21:34 ` 2.6.17-mm1: UML failing w/o SKAS enabled Theodore Tso
2006-06-22 21:57 ` Andrew Morton
2006-06-23 2:54 ` Jeff Dike
2006-06-23 10:10 ` Roman Zippel
2006-06-23 14:28 ` Jeff Dike
2006-06-26 11:52 ` Roman Zippel
2006-06-29 21:13 ` Jeff Dike
2006-06-23 2:42 ` Jeff Dike
2006-06-23 21:07 ` Theodore Tso
2006-06-23 21:46 ` Jeff Dike
2006-06-24 12:43 ` Theodore Tso
2006-06-24 15:18 ` Jeff Dike
2006-06-24 14:00 ` Theodore Tso
2006-06-24 15:22 ` Jeff Dike
2006-06-24 15:38 ` Theodore Tso
2006-06-24 16:06 ` Thomas Gleixner
2006-06-25 16:08 ` Jeff Dike
2006-06-23 10:55 ` [-mm patch] fs/reiser4/: possible cleanups Adrian Bunk
2006-06-23 15:54 ` Hans Reiser
2006-06-23 10:55 ` [-mm patch] fs/ufs/inode.c: make 2 functions static Adrian Bunk
2006-06-23 10:55 ` [-mm patch] make ipc/sem.c:exit_sem() static Adrian Bunk
2006-06-23 10:55 ` [-mm patch] kernel/lockdep.c: make 3 functions static Adrian Bunk
2006-06-23 11:08 ` Ingo Molnar
2006-06-23 10:55 ` [-mm patch] drivers/char/agp/nvidia-agp.c: remove unused variable Adrian Bunk
2006-06-23 10:55 ` [-mm patch] make kernel/sysctl.c:_proc_do_string() static Adrian Bunk
2006-06-23 10:55 ` [-mm patch] make kernel/utsname.c:clone_uts_ns() Adrian Bunk
2006-06-23 16:35 ` Serge E. Hallyn
2006-06-23 10:56 ` [-mm patch] mm/readahead.c: cleanups Adrian Bunk
2006-06-24 6:00 ` Andrew Morton
2006-06-23 12:33 ` 2.6.17-mm1 Michal Piotrowski
2006-06-23 20:42 ` 2.6.17-mm1 Andrew Morton
2006-06-23 15:48 ` 2.6.17-mm1 Eduard Bloch
2006-06-23 16:42 ` 2.6.17-mm1 Jiri Slaby
2006-06-23 20:39 ` 2.6.17-mm1 Keith Mannthey
2006-06-23 21:32 ` 2.6.17-mm1 Andrew Morton
2006-06-24 21:27 ` 2.6.17-mm1 Sam Ravnborg
2006-06-24 21:53 ` 2.6.17-mm1 Andrew Morton
2006-07-02 18:54 ` 2.6.17-mm1 Tom Rini
-- strict thread matches above, loose matches on Subject: below --
2006-06-24 1:54 [linux-pm] swsusp regression [Was: 2.6.17-mm1] Chuck Ebbert
2006-06-24 4: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=20060623134726.GD2234@slug \
--to=deweerdt@free.fr \
--cc=akpm@osdl.org \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@osdl.org \
--cc=pavel@ucw.cz \
--cc=stern@rowland.harvard.edu \
/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).