Bug#572537: udev spins on drm device
On 2012-03-28, at 4:51 PM, Jonathan Nieder wrote:
> Hi Tony,
>
> Tony Mantler wrote:
>
>> It seems that a few minutes after waking my laptop from sleep I'll often
>> notice a sudden jump in system activity. I've traced this back to udev
>> looping on the graphics drm device for some reason. Running udevd --debug
>> results in the following messages looped over and over:
> [...]
>> [13925] event_queue_insert: seq 189967 queued, 'change' 'drm'
>> [13925] udev_monitor_send_device: passed 200 bytes to monitor 0x23d72d0
> [...]
>> [13925] event_queue_delete: seq 189967 done with 0
>>
>> Putting the laptop to sleep and then waking it up again "warm" seems to
>> clear the problem such that it does not reoccur again until the next time
>> I wake the system "cold".
>
> Thanks for a pleasant report. What kernel are you using these days?
> If you try the kernel from squeeze, can you still reproduce this? (It
> should work install without trouble on a wheezy/sid system.) Would
> you be interested in pursuing a fix for this in squeeze (for example
> by testing patches)?
Yes, I'm still getting the issue, sort of. My understanding is that some parts of the hotplug pipeline have moved around, but I still get a spam of hotplug events from the graphics that nearly kills the system after waking up. The most reliable way to trigger it is to wake from sleep, open firefox (iceweasel), and play a youtube video (flash). The symptoms will often occur without going through these exact steps though.
Executing the command "intel_reg_write 0x61110 0x0" as root stops the hotplug spam and restores system functionality, though this also apparently stops all hotplug events so the system won't detect attaching an external monitor or something to the VGA port.
I'm currently running linux-image-2.3.0-2-amd64 package version 3.2.12-1.
I could certainly test patched kernels, as I can very reliably reproduce the problem.
--
Tony 'Nicoya' Mantler - Master of Code-fu
-- nicoya@ubb.ca -- http://www.ubb.ca/ --
Reply to: