Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10th May 2007, 05:09 PM
smp64 Offline
Registered User
 
Join Date: Aug 2004
Posts: 17
udevd and udev_run_devd with a USB driver

I am writing a simple driver for a USB dongle based on the
FDTI232R part. The driver itself seems to be working fine.
I can load and exercise it without problems. The issue I am
having is when I remove the module, the module itself seems
to disconnect properly, but I get 2 processes that seem to be
running rouge, "/sbin/udevd -d" and "/lib/udev/udev_run_devd".
The udev_run_devd process consumes massive amounts
of CPU time and slows everything down. If I install and remove
the USB driver again, I get another pair of processes.
Killing either of these processes causes a full system hang.

I have added the file "80-dlpd.rules" to "/etc/udev/rules.d"
which contains the single line;

KERNEL=="dlpd[0-9]*", NAME="%k", MODE="0666", OWNER="root", GROUP="root"

I previously had a similar entry in the "50-udev.rules" file
but with similar results.

The udevd process is looping on (from strace -p)
waitpid(8478, 0xbfc82844, WNOHANG) = 0
nanosleep({0, 100000000}, NULL) = 0
waitpid(8478, 0xbfc82844, WNOHANG) = 0
nanosleep({0, 100000000}, NULL) = 0


while the udev_run_devd process is looping on
getdents64(3, /* 170 entries */, 4096) = 4080
getdents64(3, /* 170 entries */, 4096) = 4080
getdents64(3, /* 170 entries */, 4096) = 4080
getdents64(3, /* 170 entries */, 4096) = 4080

I'm not too fimilar with these utilities and the source code
didn't help much, but I assume that they are trying to remove
the device node that was created when the driver was loaded.
The node has been removed from the /dev directory.

Any help would be greatly appreciated.

Thank You.
Reply With Quote
  #2  
Old 10th May 2007, 07:55 PM
smp64 Offline
Registered User
 
Join Date: Aug 2004
Posts: 17
Some additional information...

Apparently udev_run_devd is spawned off from
"51-hotplug.rules" in /etc/udev/rules.d (in response to a hotplug event),
because my USB drivers SUBSYSTEM type is not 'drivers' or 'module'
Reply With Quote
Reply

Tags
driver, udevd, udevrundevd, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
udevd rules file on Fedora Core 1 varelg Using Fedora 3 16th June 2006 06:24 AM
udevd consuming lot of CPU svangati Using Fedora 1 14th May 2006 02:33 AM
udevd consuming lot of CPU svangati Using Fedora 1 13th May 2006 04:14 PM
udevd root process consuming many CPU cycles jbauer Using Fedora 1 28th April 2006 04:00 AM
Where is udevd started on Fedora 3? pampo Using Fedora 0 11th April 2006 01:21 PM


Current GMT-time: 00:29 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat