[Bug 780266] Re: udevd takes 100% of cpu

2011-07-11 Thread Dmitry Savvateev
There is a source code patch in the message - it should be applied to the original sources, and re-compiled. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/780266 Title: udevd takes 100% of cpu To

[Bug 780266] Re: udevd takes 100% of cpu

2011-07-09 Thread Alex
Where is the patch, and how to apply it? I couldn't find it in the link. Please direct me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/780266 Title: udevd takes 100% of cpu To manage

[Bug 780266] Re: udevd takes 100% of cpu

2011-06-27 Thread Dmitry Savvateev
I have found a way to reduce CPU load without entirely stopping the udev queue. Create /etc/udev/rules.d/my.rules file, and put the following line into it: KERNEL==sr1, ACTION==change, WAIT_FOR=nothing This will introduce a 10 seconds delay when processing 'change' events from /dev/sr1. As a

[Bug 780266] Re: udevd takes 100% of cpu

2011-06-27 Thread Dmitry Savvateev
Here's the answer from Kay Sievers (udev mailing list): It's a broken device, that tells with every check that the media has changed. This patch needs to be tested: http://marc.info/?l=linux-hotplugm=130843331916959w=2 -- You received this bug notification because you are a member of Ubuntu

Re: [Bug 780266] Re: udevd takes 100% of cpu

2011-06-25 Thread Sam Liddicott
thank-you for this solution. I've been plugging my memory stick into my NAS and using NFS to mount it, which is clearly stupid. Your solution is much better. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 780266] Re: udevd takes 100% of cpu

2011-06-24 Thread Dmitry Savvateev
I have the same problem with USB stick with integrated CD (Transcend). I often keep it inserted all the time, so I have to disable udev with 'udevadm control --stop-exec-queue'. This is not a solution, of course, but so far I could not figure out how to block media change events from sr1. -- You

[Bug 780266] Re: udevd takes 100% of cpu

2011-05-12 Thread Sam Liddicott
A trigger of this is inserting my Sandisk Cruzer USB memory stick with fake integrated CD-ROM. This it dmesg when I insert the USB memory stick: May 12 14:46:20 sojo kernel: [95455.488104] usb 1-3: new high speed USB device using ehci_hcd and address 12 May 12 14:46:20 sojo kernel:

[Bug 780266] Re: udevd takes 100% of cpu

2011-05-12 Thread Sam Liddicott
A while after I removed my usb stick, udisks-daemon and dbus-daemon quietened down. Maybe they were handling the backlog of inode changed messages? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/780266

[Bug 780266] Re: udevd takes 100% of cpu

2011-05-11 Thread Sam Liddicott
Here is what strace shows: recv(8, 0xbfced218, 8, MSG_DONTWAIT)= -1 EAGAIN (Resource temporarily unavailable) sendmsg(5, {msg_name(12)={sa_family=AF_NETLINK, pid=-4298, groups=}, msg_iov(2)=[{libudev\0\376\355\312\376(\0\0\0(\0\0\0\322\0\0\0\360\3\35\267{\313\305\356..., 40},

[Bug 780266] Re: udevd takes 100% of cpu

2011-05-09 Thread picgla
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/780266 Title: udevd takes 100% of cpu -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs