linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kasper Sandberg <lkml@metanurb.dk>
To: Andrey Borzenkov <arvidjaar@mail.ru>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	michal.k.k.piotrowski@gmail.com, linux-kernel@vger.kernel.org,
	Pavel Machek <pavel@ucw.cz>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [possible regression] 2.6.22 reiserfs/libata sporadically hangs on resume from hibernation
Date: Sun, 02 Sep 2007 16:49:49 +0200	[thread overview]
Message-ID: <1188744589.11644.2.camel@localhost> (raw)
In-Reply-To: <200709021529.51165.arvidjaar@mail.ru>

Sorry for top posting, but this is MAYBE a related matter, i am not
sure.

the thing is, i am running with libata and reiserfs on a raid5 with 6
disks, and after i changed to libata it has worked excellently (before
it used to give DMA errors and then go boom).

however now i sometimes, if theres some load on the array, see that the
hdd leds go fully on, and for ~10sec to 1 min, all IO just stops
complete, and after the time, it resumes and works perfectly.

any ideas? and i also bring this up as it may give a clue as to what
causes this. - I also use CFQ

On Sun, 2007-09-02 at 15:29 +0400, Andrey Borzenkov wrote:
> On Sunday 01 July 2007, Rafael J. Wysocki wrote:
> > On Saturday, 30 June 2007 23:34, Andrey Borzenkov wrote:
> > > On Sunday 01 July 2007, Rafael J. Wysocki wrote:
> > > > On Saturday, 30 June 2007 06:59, Andrey Borzenkov wrote:
> > > > > Since 2.6.18 I do not have suspend to RAM; now I am starting to lose
> > > > > suspend to disk :)
> > > > >
> > > > > Environment - vanilla kernel (2.6.22-rc6 currently + squashfs +
> > > > > single pata_ali patch to switch off DMA on CD-ROM), single root on
> > > > > reiserfs, libata with pata_ali driver.
> > > > >
> > > > > Until 2.6.22-rc I never had problems with hibernation. With 2.6.22-rc
> > > > > system hung at least once in every rcX. Up to rc6 those lockups were
> > > > > absolutely silent (black screen without reaction to any key). In rc6
> > > > > I just got something different. After resume I got on screem:
> > > > >
> > > > > swsusp: Marking nosave pages: 000000000009f000-0000000000100000
> > > > > swsusp: Basic memory bitmaps created
> > > > > swsusp: Basic memory bitmaps freed
> > > > >
> > > > > After that it just sits there doing nothing. Ther was brief sound of
> > > > > HDD but I suspect it was related more to power-on. System was
> > > > > responding to power-on button press:
> > > > >
> > > > > ACPI Error (event-0305): No installed handler for fixed event
> > > > > [00000002 20070125]
> > > > >
> > > > > And SysRq was functioning.
> > > >
> > > > That probably means that there's a deadlock somewhere in there.
> > > >
> > > > > Unfortunately I do not have serial console so I
> > > > > copy manually stacks from several last screens of output; I have
> > > > > tried to make a photo but right now my kbluetooth is refusing to work
> > > > > at all so I cannot transfer them :( (but I suspect quality would be
> > > > > too bad anyway)
> > > > >
> > > > > laptop_mode D
> > > > > 	io_schedule+0xe/0x20
> > > >
> > > > Looks suspicious to me.  Can you identify what line of code this points
> > > > to?
> > >
> > > If you could explain how to ...
> >
> > Michal has already done that. :-)
> >
> > [--snip--]
> >
> > > > I see you're using CFQ as the default IO scheduler.  Can you please
> > > > switch to AS and see if that changes anything?
> > >
> > > Sure, but given that I have no idea how to reproduce the lockup, we may
> > > never know whether it actually helped.
> >
> > Well, if the lockup never happens with AS, that will indicate something ...
> >
> 
> I thought it is gone but it just happened again with 2.6.23-rc5. I thought I 
> have been running AS but no, I did use CFQ. Now I definitely switched to AS 
> default; let's see ...


  reply	other threads:[~2007-09-02 14:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-30  4:59 [possible regression] 2.6.22 reiserfs/libata sporadically hangs on resume from hibernation Andrey Borzenkov
2007-06-30 20:37 ` Rafael J. Wysocki
2007-06-30 21:34   ` Andrey Borzenkov
2007-06-30 23:33     ` Michal Piotrowski
2007-07-01 10:09     ` Rafael J. Wysocki
2007-07-15 18:56       ` Andrey Borzenkov
2007-09-02 11:29       ` Andrey Borzenkov
2007-09-02 14:49         ` Kasper Sandberg [this message]
2007-06-30 23:03   ` Pavel Machek
2007-09-09 14:00   ` Andrey Borzenkov
2007-09-09 17:07     ` Rafael J. Wysocki
2007-09-09 17:40       ` Andrey Borzenkov
2007-11-21 17:12       ` Andrey Borzenkov
2007-11-21 19:47         ` Rafael J. Wysocki
2008-03-13  4:08           ` Andrey Borzenkov
2008-03-13 20:46             ` Rafael J. Wysocki
2008-03-16 19:04               ` Andrey Borzenkov
2008-03-16 19:25                 ` Rafael J. Wysocki
2008-03-17  4:00                   ` Andrey Borzenkov

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=1188744589.11644.2.camel@localhost \
    --to=lkml@metanurb.dk \
    --cc=akpm@linux-foundation.org \
    --cc=arvidjaar@mail.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michal.k.k.piotrowski@gmail.com \
    --cc=pavel@ucw.cz \
    --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;
as well as URLs for NNTP newsgroup(s).