Hi,

the attached patch creates /dev/null and /dev/console in the intrd. These are
needed on ia64 with 2.6.10 kernels, as something (init?) accesses them before
udev is properly up and running. If not applied, the kernel will die with the
message:
Warning: unable to open initial console.

regards,
Erich

--- initrd_source/initrd.rul_orig	2005-07-19 18:57:11.000000000 +0200
+++ initrd_source/initrd.rul	2005-07-19 18:58:58.000000000 +0200
@@ -114,6 +114,9 @@
 	cd $(INITRD_BUILD_DIR) && \
 	  mkdir -m 755 bin dev etc lib proc root sbin usr var
 	test ! -d /lib64 || mkdir -m 755 -p $(INITRD_BUILD_DIR)/lib64
+	cd $(INITRD_BUILD_DIR)/dev && \
+	  mknod -m 660 console c 5 1 && \
+	  mknod -m 660 null c 1 3
 	cd $(INITRD_BUILD_DIR) && \
 	  mkdir -m 755 usr/bin usr/sbin etc/init.d var/run
 	cd $(INITRD_BUILD_DIR) && mkdir -m 1777 tmp

Reply via email to