You are not logged in.

#1 2007-02-07 01:57:51

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

udev update: udev.rules file contains errors [was: dbus+hal update]

I am aware of the fact that there are already a few topics and a bug report (http://bugs.archlinux.org/task/6351) concerning the recent dbus & hal upgrades. However, my case seems different and more complex. I am not even sure if this is directly related to the others' issues.

Since the update to dbus-1.0.2-2 my system does not follow some dbus rules any more. The recent follow-up update to dbus-1.0.2-3 did not remedy my problems, either.

I think that this is due to the /etc/udev/rules.d/udev.rules file having become corrupted with the recent updates. Under the sections
#pty and tty legacy devices
and
#vc devices
several KERNEL=[...] lines have errors, at least the final double quotation marks are missing!

So far my problems are as follows:

- Intel i810 video driver fails to load: "No matching device [...] found".
- Thinkpad's nvram is not get created in /dev
- no pty devices / no ttyp devices are created in /dev. Therefore, none of my X-based consoles will start. Konsole, for example, exits with "Konsole is unable to open a PTY [...]".

I will investigate further and report. Anyone eslse experiencing similar problems?


Btw., contrary to the experience of others, removable devices are recognized and mounted.

Last edited by mutlu_inek (2007-02-07 02:52:34)

Offline

#2 2007-02-07 02:22:27

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: udev update: udev.rules file contains errors [was: dbus+hal update]

Those errors I found were actually introduced a few days ago by udev-105-1! The /etc/udev/rules.d/udev.rules provided by that package has errors!

Correcting those errors brought back my beloved pseudo teletypes in /dev/pts/X. smile But the nvram device is still not created.


Update:

Here is the diff output of udev-105-1's udev.rules compared with what it should be:

--- udev.rules    2007-02-06 21:20:06.000000000 -0500
+++ udev.rules_corrected    2007-02-06 21:16:36.000000000 -0500
@@ -143,8 +143,8 @@
 SUBSYSTEMS=="scsi", KERNEL=="sg[0-9]*", ATTRS{type}=="6", GROUP="scanner"
 
 # pty and tty legacy devices
-KERNEL=="pty[a-z][a-z,0-9]*", NAME="legacy/%k", OPTIONS="last_rule
-KERNEL=="tty[a-z][a-z,0-9]*", NAME="legacy/%k", OPTIONS="last_rule
+KERNEL=="pty[a-z][a-z,0-9]*", NAME="legacy/%k", OPTIONS="last_rule"
+KERNEL=="tty[a-z][a-z,0-9]*", NAME="legacy/%k", OPTIONS="last_rule"
 
 # md block devices
 KERNEL=="md[0-9]*", NAME="md%n", SYMLINK+="md/%n"
@@ -166,8 +166,8 @@
 KERNEL=="vcs[0-9]*",  NAME="vcc/%n", OPTIONS="last_rule"
 KERNEL=="vcsa",       NAME="vcc/a0", OPTIONS="last_rule"
 KERNEL=="vcsa[0-9]*", NAME="vcc/a%n", OPTIONS="last_rule"
-KERNEL=="ptmx",        MODE="0666", OPTIONS="last_rule
-KERNEL=="tty",        MODE="0666", OPTIONS="last_rule
+KERNEL=="ptmx",        MODE="0666", OPTIONS="last_rule"
+KERNEL=="tty",        MODE="0666", OPTIONS="last_rule"
 
 # video devices
 SUBSYSTEM=="video4linux", GROUP="video"

Last edited by mutlu_inek (2007-02-07 02:44:24)

Offline

#3 2007-02-07 05:17:55

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: udev update: udev.rules file contains errors [was: dbus+hal update]

Please submit a bug report so that  the package get  fixed.

Offline

#4 2007-02-07 06:17:40

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: udev update: udev.rules file contains errors [was: dbus+hal update]

Snowman wrote:

Please submit a bug report so that  the package get  fixed.

I had done that, I just forgot to post the link. Here it is: http://bugs.archlinux.org/task/6359


Btw, the nvram device node can be recreated by doing

sudo mknod /dev/thinkpad c 10 144

Edit: the Bug has been closed and the patch provided above is included in the new udev version. If anyone has this problem, just update.

Last edited by mutlu_inek (2007-02-07 07:42:51)

Offline

Board footer

Powered by FluxBB