From: Andrey Borzenkov <arvidjaar@mail.ru>
To: Richard Purdie <rpurdie@rpsys.net>
Cc: hal@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: 2.6.30: hald crashes on resume from STR apparently on LED device
Date: Sun, 28 Jun 2009 00:34:48 +0400 [thread overview]
Message-ID: <200906280034.51738.arvidjaar@mail.ru> (raw)
In-Reply-To: <1245679044.10200.17.camel@dax.rpnet.com>
[-- Attachment #1: Type: Text/Plain, Size: 1031 bytes --]
On Monday 22 of June 2009 17:57:24 Richard Purdie wrote:
> On Sun, 2009-06-21 at 18:17 +0400, Andrey Borzenkov wrote:
> > So what happens is simple. During suspend led device is removed;
> > during resume it is recreated. Apparently removing led device cause
> > hald-addon- leds to exit (thus disconnecting D-Bus connection); and
> > sometimes next "add" event comes too early, before hald had chance
> > to notice missing addon.
>
> Note that its the underlying device that is being removed here and
> since the LED is connected to that its removed as well. The LED
> subsystem hasn't changed in how it works. I don't think that has any
> bearing on your patch though.
>
Yes, looking more closely there is inherent race condition between
tearing down existing helper and processing ADD event for it. Most
likely some timing was changed in current kernel that made it more
easily exposed. If Mandriva had not compiled D-Bus with assertions
enabled, this would simply fail silently without anyone noticing.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
prev parent reply other threads:[~2009-06-27 20:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-14 18:19 Andrey Borzenkov
2009-06-21 14:17 ` Andrey Borzenkov
2009-06-22 13:57 ` Richard Purdie
2009-06-27 20:34 ` Andrey Borzenkov [this message]
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=200906280034.51738.arvidjaar@mail.ru \
--to=arvidjaar@mail.ru \
--cc=hal@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rpurdie@rpsys.net \
/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
all inboxes | Powered by JetHome®