2002-07-22 16:08:20

by Ewan Mac Mahon

[permalink] [raw]
Subject: VT code in 2.5.26,27 breaks with devfs


Hi,

It seems that the rearranged VT/console init code in 2.5.26 and 2.5.27
doesn't call con_init_devfs to register the VTs. On boot a devfs only
system can't open gettys since the /dev/vc/x nodes don't exist, while a
non-devfs system is fine.

This one liner fixes it for me,

Ewan

diff -urN linux-2.5.27-clean/drivers/char/console.c linux-2.5.27-devfs_vc/drivers/char/console.c
--- linux-2.5.27-clean/drivers/char/console.c Sat Jul 20 20:11:57 2002
+++ linux-2.5.27-devfs_vc/drivers/char/console.c Mon Jul 22 10:44:09 2002
@@ -2525,6 +2525,7 @@

kbd_init();
console_map_init();
+ con_init_devfs();
vcs_init();
return 0;
}