Root/target/linux/generic/patches-3.0/920-unable_to_open_console.patch

1--- a/init/main.c
2+++ b/init/main.c
3@@ -806,7 +806,7 @@ static int __init kernel_init(void * unu
4 
5     /* Open the /dev/console on the rootfs, this should never fail */
6     if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
7- printk(KERN_WARNING "Warning: unable to open an initial console.\n");
8+ printk(KERN_WARNING "Please be patient, while OpenWrt loads ...\n");
9 
10     (void) sys_dup(0);
11     (void) sys_dup(0);
12

Archive Download this file



interactive