Re: udev queue error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


2011/5/31 Tejun Heo <htejun@xxxxxxxxx>:
> Hello,
>
> On Mon, May 30, 2011 at 10:06:49PM +0200, Kay Sievers wrote:
>> Yeah, the fake cdrom on the stick seems pretty broken. It generates
>> media-changed events on very open(), and udev runs open() for the new
>> event, which ... creates the loop you are seeing.
>
> Ugh... :-(
>
Hello again!

Thanks for the fast reply!

Could I help with further debugging informations?
Some test cases, udev rules, etc?

Markus

>> We need to find a way to work around such issues in the kernel, I guess.
>>
>> Tejun, any idea?
>
> Hmmm... a couple of questions.
>
> * udev doesn't open device w/ O_EXCL, right?
>
> * Does a MEDIA_CHANGE event trigger multiple opens? ÂI _think_ if udev
> Âopens only once, the event shouldn't be re-generated immediately.
> ÂIt will happen on the next poll interval but it won't be a busy
> Âloop.
>
> Thanks.
>
> --
> tejun
>
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux DVB]     [Video Technology]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Devices]     [Fedora Women]     [ALSA Devel]     [Linux USB]

Add to Google Powered by Linux