Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev - something's mising
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
bbt5001
n00b
n00b


Joined: 21 May 2007
Posts: 22

PostPosted: Wed Feb 27, 2008 7:29 pm    Post subject: udev - something's mising Reply with quote

I have two systems running Gentoo. One has been kept fairly up-to-date, the other has just been updated for the first time in about a year. There might be some differences in the kernel configuration, but otherwise these are about the same as far as I can tell.

I have three device drivers for which I long ago wrote udev rules and an external script to build and remove the associated /dev entries. I have confirmed that the device drivers, udev rules, and dev-entry scripts are identical on both systems, properly installed and with the correct permissions.

When I load then unload any of these device drivers on the first system all of the corresponding /dev entries are properly created and destroyed.

When I do the same on the second system -- nothing happens.

The entries I expect to see in /proc appear and disappear on both systems. If I run udevtest I see the same things on both systems. For some reason the rules just are not being triggered on this second system.

So I set the log_priority to "debug", then ran "udevmonitor --environment --kernel --udev" on both systems. I then loaded then unloaded the device driver modules. Here's the result on the system that works propely

Code:

UEVENT[1204137737.953322] add      /module/pci4e (module)
ACTION=add
DEVPATH=/module/pci4e
SUBSYSTEM=module
SEQNUM=1903

UDEV  [1204137738.007387] add      /module/pci4e (module)
UDEV_LOG=7
ACTION=add
DEVPATH=/module/pci4e
SUBSYSTEM=module
SEQNUM=1903
UDEVD_EVENT=1

UEVENT[1204137781.010623] remove   /module/pci4e (module)
ACTION=remove
DEVPATH=/module/pci4e
SUBSYSTEM=module
SEQNUM=1904

UDEV  [1204137781.016644] remove   /module/pci4e (module)
UDEV_LOG=7
ACTION=remove
DEVPATH=/module/pci4e
SUBSYSTEM=module
SEQNUM=1904
UDEVD_EVENT=1


Now, for the system that does NOT work, I only get this:

Code:

UEVENT[1204137753.766791] add      /module/pci4e (module)
ACTION=add
DEVPATH=/module/pci4e
SUBSYSTEM=module
SEQNUM=1548

UEVENT[1204137794.415007] remove   /module/pci4e (module)
ACTION=remove
DEVPATH=/module/pci4e
SUBSYSTEM=module
SEQNUM=1549


So I am getting UEVENT entries on both systems, but no UDEV entries on the second system. What am I missing or perhaps have misconfigured that could cause this problem?

Thanks.
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Thu Feb 28, 2008 3:53 am    Post subject: Reply with quote

do you have hotplug installed on your second system? I forgot to install it; apparently udev needs a "UEVENT helper" specified in the kernel configs, and I forgot to install mine. Maybe you have the same issue?
_________________
I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.
Back to top
View user's profile Send private message
bbt5001
n00b
n00b


Joined: 21 May 2007
Posts: 22

PostPosted: Thu Feb 28, 2008 3:40 pm    Post subject: Reply with quote

Quote:

do you have hotplug installed on your second system? I forgot to install it; apparently udev needs a "UEVENT helper" specified in the kernel configs, and I forgot to install mine. Maybe you have the same issue?


This is odd: Both hotplug and hotplug-base are installed on the system that does NOT work; neither of these are installed on the system that DOES work!

Any other suggestions? Meanwhile, I'll keep looking.

By the way, thanks for the phrase "UEVENT helper" -- it's a dandy search string, and has given me a few leads. No resolution yet, though.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum