New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dom0 udev: disable unnecessary udev rules #605

Closed
marmarek opened this Issue Mar 8, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by joanna on 25 Jun 2012 13:56 UTC
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['/usr/bin/vmmouse_detect' unexpected exit with status 0x000b
  1. 40-redhat.rules -- this one is responsible for the following error at boot:
udevd-work[814](798]:): 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?

Migrated-From: https://wiki.qubes-os.org/ticket/605

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 25 Jun 2012 14:21 UTC
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.

Member

marmarek commented Mar 8, 2015

Comment by joanna on 25 Jun 2012 14:21 UTC
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.

@marmarek marmarek added P: major and removed P: minor labels Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 4 Jul 2012 23:44 UTC
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

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 4 Jul 2012 23:44 UTC
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

@marmarek marmarek closed this Mar 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment