* udevadm settle waiting on an empty queue
@ 2009-11-05 9:33 Marco d'Itri
2009-11-05 10:17 ` Alan Jenkins
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Marco d'Itri @ 2009-11-05 9:33 UTC (permalink / raw)
To: linux-hotplug
What could cause udevadm settle to wait even if the queue is empty?
Apparently this is fully reproducible by at least two users.
----- Forwarded message from Christopher Schramm <debian@shakaweb.org> -----
From: Christopher Schramm <debian@shakaweb.org>
To: Marco d'Itri <md@Linux.IT>
CC: 554364@bugs.debian.org
[...]
I just tried and found out the problem also occurs when calling udevadm
in the running system. So I can comfortably debug it if you tell me how
to start.
Output is "After the udevadm settle timeout, the events queue contains:"
with two empty lines above and three below.
----- End forwarded message -----
--
ciao,
Marco
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: udevadm settle waiting on an empty queue
2009-11-05 9:33 udevadm settle waiting on an empty queue Marco d'Itri
@ 2009-11-05 10:17 ` Alan Jenkins
2009-11-05 12:44 ` Alan Jenkins
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Alan Jenkins @ 2009-11-05 10:17 UTC (permalink / raw)
To: linux-hotplug
On 11/5/09, Marco d'Itri <md@linux.it> wrote:
> What could cause udevadm settle to wait even if the queue is empty?
> Apparently this is fully reproducible by at least two users.
>
> ----- Forwarded message from Christopher Schramm <debian@shakaweb.org> -----
>
> From: Christopher Schramm <debian@shakaweb.org>
> To: Marco d'Itri <md@Linux.IT>
> CC: 554364@bugs.debian.org
>
> [...]
>
> I just tried and found out the problem also occurs when calling udevadm
> in the running system. So I can comfortably debug it if you tell me how
> to start.
>
> Output is "After the udevadm settle timeout, the events queue contains:"
> with two empty lines above and three below.
>
> ----- End forwarded message -----
>
> --
> ciao,
> Marco
Thanks. I should be able to reproduce and debug it, given the
contents of /dev/.udev/queue.bin and /sys/kernel/uevent_seqnum.
I guess it's a bug in the binary queue I wrote.
This would happen if udevd was terminated, so that it didn't have a
change to remove /dev/.udev/queue.bin, and if an event occurred
subsequent to that. But that's always been an issue and it doesn't
sound like it's whats happens here.
Regards
Alan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: udevadm settle waiting on an empty queue
2009-11-05 9:33 udevadm settle waiting on an empty queue Marco d'Itri
2009-11-05 10:17 ` Alan Jenkins
@ 2009-11-05 12:44 ` Alan Jenkins
2009-11-05 12:56 ` Alan Jenkins
2009-11-05 13:38 ` Christopher Schramm
3 siblings, 0 replies; 5+ messages in thread
From: Alan Jenkins @ 2009-11-05 12:44 UTC (permalink / raw)
To: linux-hotplug
On 11/5/09, Christopher Schramm <debian@shakaweb.org> wrote:
> Alan Jenkins wrote:
>> Thanks. I should be able to reproduce and debug it, given the
>> contents of /dev/.udev/queue.bin and /sys/kernel/uevent_seqnum.
>
> Please find attached.
>
> Best Regards
> Christopher Schramm
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: udevadm settle waiting on an empty queue
2009-11-05 9:33 udevadm settle waiting on an empty queue Marco d'Itri
2009-11-05 10:17 ` Alan Jenkins
2009-11-05 12:44 ` Alan Jenkins
@ 2009-11-05 12:56 ` Alan Jenkins
2009-11-05 13:38 ` Christopher Schramm
3 siblings, 0 replies; 5+ messages in thread
From: Alan Jenkins @ 2009-11-05 12:56 UTC (permalink / raw)
To: linux-hotplug
On 11/5/09, Christopher Schramm <debian@shakaweb.org> wrote:
> Alan Jenkins wrote:
>> Thanks. I should be able to reproduce and debug it, given the
>> contents of /dev/.udev/queue.bin and /sys/kernel/uevent_seqnum.
>
> Please find attached.
>
> Best Regards
> Christopher Schramm
>
Ok, I failed to reproduce it. But now I look at the archives I see
it's probably already been reported and fixed -
<http://www.spinics.net/lists/hotplug/msg02998.html>
Regards
Alan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: udevadm settle waiting on an empty queue
2009-11-05 9:33 udevadm settle waiting on an empty queue Marco d'Itri
` (2 preceding siblings ...)
2009-11-05 12:56 ` Alan Jenkins
@ 2009-11-05 13:38 ` Christopher Schramm
3 siblings, 0 replies; 5+ messages in thread
From: Christopher Schramm @ 2009-11-05 13:38 UTC (permalink / raw)
To: linux-hotplug
Alan Jenkins wrote:
> Ok, I failed to reproduce it. But now I look at the archives I see
> it's probably already been reported and fixed -
>
> <http://www.spinics.net/lists/hotplug/msg02998.html>
Looks fine. Just downloaded current deb-src and applied the patch to
udev/udevadm-settle.c. Other than the one installed on my system, the
resulting udevadm does not block. :-)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-11-05 13:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-05 9:33 udevadm settle waiting on an empty queue Marco d'Itri
2009-11-05 10:17 ` Alan Jenkins
2009-11-05 12:44 ` Alan Jenkins
2009-11-05 12:56 ` Alan Jenkins
2009-11-05 13:38 ` Christopher Schramm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.