[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

boot-floppies broken for 2.0 kernels?




Hi,

It seems to me the last changes about /dev/conosle breaks the
installation for 2.0 kernels because

There seems to be no conditional in the patch below for the creation
of /dev/console, am I wrong?

And as far as I understand, and as I experienced, with 2.0 kernels
"/dev/console c 5 1" does not work.


Loic


----------------------------
revision 1.48
date: 1999/02/22 23:03:58;  author: delaunay;  state: Exp;  lines: +7 -1

- /dev/console compatibility with 2.2 kernel (will be overwritten by dbootstrap
  in configure_base() if installing for 2.0)

- added /dev/cua[01] for sparc (no more provided my makedev; required to boot
  on serial console)
----------------------------
diff -u -r1.47 -r1.48
--- rootdisk.sh 1999/02/11 08:27:41     1.47
+++ rootdisk.sh 1999/02/22 23:03:58     1.48
@@ -232,7 +232,13 @@
 if [ ! -c $R/dev/tty0 ]; then
        mknod $R/dev/tty0 c 4 0
 fi
-ln -s tty0 $R/dev/console
+#ln -s tty0 $R/dev/console
+mknod $R/dev/console c 5 1
+if [ "$arch" = sparc ]; then
+       # for headless sparc workstations at least (not created by makedev anymore)
+       mknod $R/dev/cua0 c 5 64
+       mknod $R/dev/cua1 c 5 65
+fi
 
 if [ ! -b $R/dev/ram0 ]; then
        mknod $R/dev/ram0 b 1 0



Reply to: