You are not logged in.

#1 2011-10-26 09:13:44

lswest
Member
From: Munich, Germany
Registered: 2008-06-14
Posts: 456
Website

[SOLVED]Udevd fails to recognize rules in /lib/udev/rules.d

I've been having a few crashes since the update of udev earlier this week (so far only on my laptop where the Xserver hangs and requires a hard reboot to get anything working again).  While investigating the logs, I ran across the following errors:

Oct 26 04:39:54 lswest-CULV [    0.836513] udevd[74]: starting version 173
Oct 26 04:39:54 lswest-CULV [   17.450369] udevd[260]: starting version 174
Oct 26 04:46:04 lswest-CULV [    0.839752] udevd[74]: starting version 173
Oct 26 04:46:04 lswest-CULV [    8.778232] udevd[259]: starting version 174
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/42-qemu-usb.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/50-firmware.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/50-udev-default.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/60-cdrom_id.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/60-persistent-alsa.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/60-persistent-input.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/60-persistent-serial.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/60-persistent-storage-tape.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/60-persistent-storage.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/60-persistent-v4l.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/61-accelerometer.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/70-udev-acl.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/75-net-description.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/75-probe_mtd.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/75-tty-description.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/78-sound-card.rules': No such file or directory
Oct 26 11:00:48 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/80-drivers.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/42-qemu-usb.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/50-firmware.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/50-udev-default.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/60-cdrom_id.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/60-persistent-alsa.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/60-persistent-input.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/60-persistent-serial.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/60-persistent-storage-tape.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/60-persistent-storage.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/60-persistent-v4l.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/61-accelerometer.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/70-udev-acl.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/75-net-description.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/75-probe_mtd.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/75-tty-description.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/78-sound-card.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/80-drivers.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/81-arch.rules': No such file or directory
Oct 26 11:01:16 lswest-CULV udevd[259]: can not find '/lib/udev/rules.d/95-keyboard-force-release.rules': No such file or directory

These errors have appeared since the 24th of October (the last marked update day for the udev package).  I'm also slightly concerned about the first 4 lines, where udevd "starts" version 173 and then version 174.  According to pacman -Q udev, only version 174 is installed.

Upon investigating the folder, I find that all the "missing" files are present:

[lswest@lswest-CULV: rules.d]% ls
total 652K
drwxr-xr-x 2 root root 4.0K Oct 26 11:01 ./
drwxr-xr-x 5 root root 4.0K Oct 26 11:01 ../
-r--r--r-- 1 root root 6.4K Aug 20 02:32 10-dm.rules
-rw-r--r-- 1 root root  505 Aug 16 19:06 10-vboxdrv.rules
-r--r--r-- 1 root root 1.3K Jul  7  2010 11-dm-lvm.rules
-r--r--r-- 1 root root 1011 Nov 13  2009 13-dm-disk.rules
-rw-r--r-- 1 root root 159K Nov 28  2010 40-gphoto.rules
-rw-r--r-- 1 root root  26K Oct  4 11:56 40-usb-media-players.rules
-rw-r--r-- 1 root root  764 Oct 19 23:43 42-qemu-usb.rules
-rw-r--r-- 1 root root 1.8K Jul 30 18:31 45-libnjb.rules
-rw-r--r-- 1 root root  219 Oct 19 23:43 50-firmware.rules
-rw-r--r-- 1 root root 3.5K Oct 19 23:43 50-udev-default.rules
-rw-r--r-- 1 root root  52K Jun 13 13:04 52-libmtp.rules
-rw-r--r-- 1 root root 104K Oct  5 23:42 53-sane.rules
-rw-r--r-- 1 root root  584 Oct 19 23:43 60-cdrom_id.rules
-rw-r--r-- 1 root root 1.1K Aug  3 18:54 60-pcmcia.rules
-rw-r--r-- 1 root root  616 Oct 19 23:43 60-persistent-alsa.rules
-rw-r--r-- 1 root root 2.4K Oct 19 23:43 60-persistent-input.rules
-rw-r--r-- 1 root root  947 Oct 19 23:43 60-persistent-serial.rules
-rw-r--r-- 1 root root 6.0K Oct 19 23:43 60-persistent-storage.rules
-rw-r--r-- 1 root root 1.4K Oct 19 23:43 60-persistent-storage-tape.rules
-rw-r--r-- 1 root root  770 Oct 19 23:43 60-persistent-v4l.rules
-rw-r--r-- 1 root root   46 Feb  9  2011 60-rfkill.rules
-rw-r--r-- 1 root root  166 Oct 19 23:43 61-accelerometer.rules
-rw-r--r-- 1 root root  369 Oct 17 15:34 61-gnome-bluetooth-rfkill.rules
-rw-r--r-- 1 root root 2.2K Sep 14 09:07 64-md-raid.rules
-rw-r--r-- 1 root root   40 Aug 12 18:32 65-kvm.rules
-rw-r--r-- 1 root root 4.0K Oct  4 09:34 69-cd-sensors.rules
-rw-r--r-- 1 root root  233 Jul 17 18:06 70-infrared.rules
-rw-r--r-- 1 root root 2.6K Oct 19 23:43 70-udev-acl.rules
-rw-r--r-- 1 root root  642 Oct 19 23:43 75-net-description.rules
-rw-r--r-- 1 root root  254 Oct 19 23:43 75-probe_mtd.rules
-rw-r--r-- 1 root root  642 Oct 19 23:43 75-tty-description.rules
-rw-r--r-- 1 root root 3.3K Aug  3 10:00 77-mm-ericsson-mbm.rules
-rw-r--r-- 1 root root  11K Aug  3 10:00 77-mm-longcheer-port-types.rules
-rw-r--r-- 1 root root  379 Aug  3 10:00 77-mm-pcmcia-device-blacklist.rules
-rw-r--r-- 1 root root  510 Aug  3 10:00 77-mm-platform-serial-whitelist.rules
-rw-r--r-- 1 root root 1.6K Aug  3 10:00 77-mm-simtech-port-types.rules
-rw-r--r-- 1 root root 3.0K Aug  3 10:00 77-mm-usb-device-blacklist.rules
-rw-r--r-- 1 root root 1.6K Aug  3 10:00 77-mm-x22x-port-types.rules
-rw-r--r-- 1 root root 9.3K Aug  3 10:00 77-mm-zte-port-types.rules
-rw-r--r-- 1 root root  284 Sep 20 09:26 77-nm-olpc-mesh.rules
-rw-r--r-- 1 root root 4.2K Oct 19 23:43 78-sound-card.rules
-rw-r--r-- 1 root root  559 Oct 19 23:43 80-drivers.rules
-rw-r--r-- 1 root root  667 Aug  3 10:00 80-mm-candidate.rules
-rw-r--r-- 1 root root 9.3K Aug 26 18:47 80-udisks.rules
-rw-r--r-- 1 root root  372 Oct 19 23:43 81-arch.rules
-rw-r--r-- 1 root root  335 Apr  4  2011 85-regulatory.rules
-rw-r--r-- 1 root root  602 Aug  4 17:39 85-usbmuxd.rules
-rw-r--r-- 1 root root  131 Aug 17 09:43 90-alsa-restore.rules
-rw-r--r-- 1 root root   83 Jan 10  2011 90-hal.rules
-rw-r--r-- 1 root root 1.9K Aug  9 15:18 90-libgpod.rules
-rw-r--r-- 1 root root 2.0K Oct 20 17:26 90-pulseaudio.rules
-rw-r--r-- 1 root root  847 Oct  4 09:34 95-cd-devices.rules
-r--r--r-- 1 root root  492 Nov  1  2009 95-dm-notify.rules
-rw-r--r-- 1 root root 3.0K Oct 19 23:43 95-keyboard-force-release.rules
-rw-r--r-- 1 root root  11K Oct 19 23:43 95-keymap.rules
-rw-r--r-- 1 root root  155 Oct 19 23:43 95-udev-late.rules
-rw-r--r-- 1 root root 2.8K Oct  3 13:17 95-upower-battery-recall-dell.rules
-rw-r--r-- 1 root root 1.2K Oct  3 13:17 95-upower-battery-recall-fujitsu.rules
-rw-r--r-- 1 root root 1020 Oct  3 13:17 95-upower-battery-recall-gateway.rules
-rw-r--r-- 1 root root 1.6K Oct  3 13:17 95-upower-battery-recall-ibm.rules
-rw-r--r-- 1 root root  774 Oct  3 13:17 95-upower-battery-recall-lenovo.rules
-rw-r--r-- 1 root root 1.1K Oct  3 13:17 95-upower-battery-recall-toshiba.rules
-rw-r--r-- 1 root root 1.6K Oct  3 13:17 95-upower-csr.rules
-rw-r--r-- 1 root root 6.0K Oct  3 13:17 95-upower-hid.rules
-rw-r--r-- 1 root root  354 Oct  3 13:17 95-upower-wup.rules
-rw-r--r-- 1 root root 1.4K Aug  1 12:20 97-bluetooth-hid2hci.rules
-rw-r--r-- 1 root root   28 Oct  7  2010 99-fuse.rules

Can anyone confirm this?  If I get confirmation that this is indeed present for other users (and a bug, not a "feature"), I'll open a bug report for the udev package.

Also, semi-related, in the post-install message from the udev package they refer you to the folder /etc/udev.d/rules, however, that directory structure doesn't exist on my system, and the old /etc/udev/rules.d is still present.

I'd appreciate any information or input.  If any further information is required, I'll gladly supply it.

Last edited by lswest (2011-10-26 09:54:58)


Lswest <- the first letter of my username is a lowercase "L".
"...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it." - Linus Torvalds

Offline

#2 2011-10-26 09:42:15

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,545

Re: [SOLVED]Udevd fails to recognize rules in /lib/udev/rules.d

lswest wrote:

These errors have appeared since the 24th of October (the last marked update day for the udev package).  I'm also slightly concerned about the first 4 lines, where udevd "starts" version 173 and then version 174.  According to pacman -Q udev, only version 174 is installed.

Recreate the initramfs image
https://wiki.archlinux.org/index.php/Mkinitcpio

Online

#3 2011-10-26 09:51:06

lswest
Member
From: Munich, Germany
Registered: 2008-06-14
Posts: 456
Website

Re: [SOLVED]Udevd fails to recognize rules in /lib/udev/rules.d

skunktrader wrote:

Thanks, I hadn't considered that.  I've recreated the initramfs and will edit this post/post back to see if it had an impact on the other logged errors.

*EDIT* After a reboot my log contains exactly 2 lines concerning udev, and that is simply a log of udev starting (version 174).  As such I am marking this [SOLVED]

Last edited by lswest (2011-10-26 09:56:13)


Lswest <- the first letter of my username is a lowercase "L".
"...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it." - Linus Torvalds

Offline

#4 2011-10-29 09:48:44

oceans11
Member
Registered: 2010-06-24
Posts: 15

Re: [SOLVED]Udevd fails to recognize rules in /lib/udev/rules.d

And what for the ones that use a static kernel, without initramfs?

Offline

#5 2011-10-29 10:03:32

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED]Udevd fails to recognize rules in /lib/udev/rules.d

oceans11 wrote:

And what for the ones that use a static kernel, without initramfs?

I use that, and I don't have any issues. Udev starts ok, everything is working. The only udev message dmesg shows is "udevd[70]: starting version 174"

Offline

#6 2011-10-29 10:23:03

oceans11
Member
Registered: 2010-06-24
Posts: 15

Re: [SOLVED]Udevd fails to recognize rules in /lib/udev/rules.d

Since the upgrade to 174, thunar doesn't mount anymore external hdd or usb. I removed my user from storage group.
Searching for solutions I find out that I have the same errors in the logs that lswest has.

/var/log/messages.log:

Oct 29 10:29:46 localhost udevd[75]: starting version 174

while /var/log/errors.log:

Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/42-qemu-usb.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/50-firmware.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/50-udev-default.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/60-cdrom_id.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/60-persistent-alsa.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/60-persistent-input.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/60-persistent-serial.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/60-persistent-storage-tape.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/60-persistent-storage.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/60-persistent-v4l.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/61-accelerometer.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/70-udev-acl.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/75-net-description.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/75-probe_mtd.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/75-tty-description.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/78-sound-card.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/80-drivers.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/81-arch.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/95-keyboard-force-release.rules': No such file or directory
Oct 29 11:42:14 localhost udevd[75]: can not find '/lib/udev/rules.d/95-keymap.rules': No such file or directory

Edit: a fresh installation of udev seems stopping error message flooding in errors.log, but I still can't automount drives and reboot/shutdown with dbus-send method.

Last edited by oceans11 (2011-10-29 10:29:48)

Offline

Board footer

Powered by FluxBB