Thursday, December 1, 2011

How to get rid of annoying udevd error messages

Using Debian Squeeze, there is a high chance that you have error messages during boot time saying something like: "udevd[...] : SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device...". You can do 2 things:
  1. do not care
  2. fix the problem
Fortunately, both options work. If you do not mind that there are a lot of error messages during boot time, then do nothing (this is my favorite activity, anyway). Your system just works perfectly in spite of these messages. In the next release of Debian they will disappear.

However, if you do not like them you can fix the problem easily. Open a terminal, and type the following command as root:

# sed -i s/SYSFS/ATTR/g /etc/udev/rules.d/*



Then reconfigure the udev package and restart the udevd daemon:

# dpkg-reconfigure udev 
# /etc/init.d/udev restart

And VoilĂ ! Just have removed the annoying error messages. Congrats! :))

No comments:

Post a Comment