* Re: s2disk hangs with kernel >=2.6.29, SATA, Gigabyte EG45M-DS2H (bisected) [not found] <20090516225153.GA7883@arbonne.lan> @ 2009-05-17 23:17 ` Bartlomiej Zolnierkiewicz 2009-05-18 14:16 ` Richard Atterer 0 siblings, 1 reply; 4+ messages in thread From: Bartlomiej Zolnierkiewicz @ 2009-05-17 23:17 UTC (permalink / raw) To: Richard Atterer; +Cc: Linux Kernel Mailing List, Elias Oltmanns, linux-ide On Sunday 17 May 2009 00:51:53 Richard Atterer wrote: > Hello, > > I have had problems using s2disk starting sometime before 2.6.29 (and > continuing up until now, 2.6.30-rc6), but only got around to bisecting the > issue now. > > The symptom is as follows: When I start s2disk (by running the hibernate > command), the system switches to the console and prints "s2disk: > Snapshotting system". The cursor freezes for a moment, I hear the noise > that my DVD writer makes when it is reset, the lights of my USB hub go off > and on again. Then the cursor continues to blink and nothing more happens, > the system just hangs. > > I have a Gigabyte EG45M-DS2H motherboard with two disks attached: One SATA > disk containing Linux, and one older PATA disk with data. AHCI is enabled > in the BIOS. > > The patch that causes the hang is 295f00042aaf6b553b5f37348f89bab463d4a469: > ide: don't execute the next queued command from the hard-IRQ context (v2) Hmm, this should have been fixed by: commit 2ea5521022ac8f4f528dcbae02668e02a3501a5a Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Date: Wed Jan 14 19:19:04 2009 +0100 ide: fix suspend regression On Monday 12 January 2009, Simon Holm Thøgersen wrote: > commit 295f000 ("ide: don't execute the next queued command from the > hard-IRQ context (v2)") breaks suspend to disk for me. On > 'echo disk > /sys/power/state' the systems hangs, letting me switch > virtual consoles, but not responding to Alt+SysRq Restart the request queue early for REQ_TYPE_PM_RESUME requests (though there is only one resume request for the whole resume sequence it stays in the queue until is fully completed and now depends on kblockd for processing consequential resume states). Reported-and-bisected-by: Simon Holm Thøgersen <odie@cs.aau.dk> Tested-by: Simon Holm Thøgersen <odie@cs.aau.dk> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> What was the last 'good' kernel that you've started bisection with? Thanks, Bart ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: s2disk hangs with kernel >=2.6.29, SATA, Gigabyte EG45M-DS2H (bisected) 2009-05-17 23:17 ` s2disk hangs with kernel >=2.6.29, SATA, Gigabyte EG45M-DS2H (bisected) Bartlomiej Zolnierkiewicz @ 2009-05-18 14:16 ` Richard Atterer 2009-05-18 14:29 ` Bartlomiej Zolnierkiewicz 0 siblings, 1 reply; 4+ messages in thread From: Richard Atterer @ 2009-05-18 14:16 UTC (permalink / raw) To: Bartlomiej Zolnierkiewicz Cc: Linux Kernel Mailing List, Elias Oltmanns, linux-ide On Mon, May 18, 2009 at 01:17:27AM +0200, Bartlomiej Zolnierkiewicz wrote: > On Sunday 17 May 2009 00:51:53 Richard Atterer wrote: > > The patch that causes the hang is 295f00042aaf6b553b5f37348f89bab463d4a469: > > ide: don't execute the next queued command from the hard-IRQ context (v2) > > Hmm, this should have been fixed by: > > commit 2ea5521022ac8f4f528dcbae02668e02a3501a5a > Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> > Date: Wed Jan 14 19:19:04 2009 +0100 > > ide: fix suspend regression I just tried that revision (with a small patch to get pcf50633-core to compile) and hibernating does not work. :-/ > What was the last 'good' kernel that you've started bisection with? I started with the 2.6.28 release. In case it makes a difference: The swap partition that I'm hibernating to is encrypted via luks and uses lvm. This is the standard way suggested by the Debian installer when you choose encryption. Cheers, Richard PS: This is my /etc/uswsusp.conf file: resume device = /dev/mapper/pc-swap splash = n compress = y early writeout = y image size = 1897884221 RSA key file = /etc/uswsusp.key <-- that file does not exist shutdown method = platform -- __ _ |_) /| Richard Atterer | GnuPG key: 888354F7 | \/¯| http://atterer.net | 08A9 7B7D 3D13 3EF2 3D25 D157 79E6 F6DC 8883 54F7 ¯ '` ¯ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: s2disk hangs with kernel >=2.6.29, SATA, Gigabyte EG45M-DS2H (bisected) 2009-05-18 14:16 ` Richard Atterer @ 2009-05-18 14:29 ` Bartlomiej Zolnierkiewicz 2009-05-18 15:00 ` Richard Atterer 0 siblings, 1 reply; 4+ messages in thread From: Bartlomiej Zolnierkiewicz @ 2009-05-18 14:29 UTC (permalink / raw) To: Richard Atterer; +Cc: Linux Kernel Mailing List, Elias Oltmanns, linux-ide On Monday 18 May 2009 16:16:46 Richard Atterer wrote: > On Mon, May 18, 2009 at 01:17:27AM +0200, Bartlomiej Zolnierkiewicz wrote: > > On Sunday 17 May 2009 00:51:53 Richard Atterer wrote: > > > The patch that causes the hang is 295f00042aaf6b553b5f37348f89bab463d4a469: > > > ide: don't execute the next queued command from the hard-IRQ context (v2) > > > > Hmm, this should have been fixed by: > > > > commit 2ea5521022ac8f4f528dcbae02668e02a3501a5a > > Author: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> > > Date: Wed Jan 14 19:19:04 2009 +0100 > > > > ide: fix suspend regression > > I just tried that revision (with a small patch to get pcf50633-core to > compile) and hibernating does not work. :-/ Ok, thanks for testing it, also just to make sure: Does the one commit before 295f00042aaf6b553b5f37348f89bab463d4a469 (namely ebdab07dad3d3a008e519b0a028e1e1ad5ecaef0) work fine? Thanks. Bart ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: s2disk hangs with kernel >=2.6.29, SATA, Gigabyte EG45M-DS2H (bisected) 2009-05-18 14:29 ` Bartlomiej Zolnierkiewicz @ 2009-05-18 15:00 ` Richard Atterer 0 siblings, 0 replies; 4+ messages in thread From: Richard Atterer @ 2009-05-18 15:00 UTC (permalink / raw) To: Bartlomiej Zolnierkiewicz Cc: Linux Kernel Mailing List, Elias Oltmanns, linux-ide On Mon, May 18, 2009 at 04:29:33PM +0200, Bartlomiej Zolnierkiewicz wrote: > Does the one commit before 295f00042aaf6b553b5f37348f89bab463d4a469 > (namely ebdab07dad3d3a008e519b0a028e1e1ad5ecaef0) work fine? Yes, it does; I tried that one during bisecting, and then re-tried before writing my first mail, just to ensure I hadn't messed something up. IIRC I also tried to modify my 2.6.30-rc6 checkout to reinstate the calls to spin_unlock() and local_irq_enable_in_hardirq() that were replaced with spin_unlock_irq() by patch 295f000. This also didn't cause the problem to go away. Anyway, I have no clue what all this code does, so that was just a shot in the dark! :-) Cheers, Richard -- __ _ |_) /| Richard Atterer | \/¯| http://atterer.net ¯ '` ¯ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-18 15:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20090516225153.GA7883@arbonne.lan>
2009-05-17 23:17 ` s2disk hangs with kernel >=2.6.29, SATA, Gigabyte EG45M-DS2H (bisected) Bartlomiej Zolnierkiewicz
2009-05-18 14:16 ` Richard Atterer
2009-05-18 14:29 ` Bartlomiej Zolnierkiewicz
2009-05-18 15:00 ` Richard Atterer
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).