#605 closed defect (fixed)

Dom0 udev: disable unnecessary udev rules

Reported by: joanna Owned by: joanna
Priority: major Milestone: Release 1
Component: kernel Keywords:
Cc: marmarek

Description

Some of those rules report errors on startup (probably because they were created for older kernels), and potentially also slow down Dom0 boot. The rules that are particularly annoying:

1) 69-xorg-vmmouse.rules -- this one always displays the following error at boot:

udevd-work[798]: '/usr/bin/vmmouse_detect' unexpected exit with status 0x000b

2) 40-redhat.rules -- this one is responsible for the following error at boot:

udevd-work[814]: error opening ATTR{/sys/devices/system/cpu/cpu0/online} for writing: No such file or directory

Generally, other udev rules should be reviewed. Perhaps we would like to upgrade the udev package?

Change History (2)

comment:1 Changed 11 months ago by joanna

  • Priority changed from minor to major

Ha! Actually, after I manually removed the above two udev rules (i.e. the whole 69-xorg-vmmouse.rules, and the "ACTION=="add", SUBSYSTEM=="cpu", KERNEL=="cpu[0-9]*", ATTR{online}="1"" from 40-redhat.rules) this solved all the "hanging udev" problems on my system, on both 3.2.7, as well as on 3.4.4 kernel.

So, bumping a priority of this task to Major.

comment:2 Changed 11 months ago by marmarek

  • Resolution set to fixed
  • Status changed from new to closed

I believe that removing 69-xorg-vmmouse.rules is enough (it called some app on input devices). The line from 40-redhat.rules does nothing as there is no 'online' attr in this kernel.

http://git.qubes-os.org/gitweb/?p=marmarek/core.git;a=commit;h=8b2be6b6934d263175a148d9ebf01e18b0bcea10

Note: See TracTickets for help on using tickets.