The 'Warning: unable to open an initial console' message indicates an error in the rootfs. Remove the patch which hides the warning. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37848master
parent
fd0325324f
commit
a4c2853261
@ -1,11 +0,0 @@ |
|||||||
--- a/init/main.c
|
|
||||||
+++ b/init/main.c
|
|
||||||
@@ -881,7 +881,7 @@ static noinline void __init kernel_init_
|
|
||||||
|
|
||||||
/* Open the /dev/console on the rootfs, this should never fail */
|
|
||||||
if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
|
|
||||||
- pr_err("Warning: unable to open an initial console.\n");
|
|
||||||
+ pr_err("Please be patient, while OpenWrt loads ...\n");
|
|
||||||
|
|
||||||
(void) sys_dup(0);
|
|
||||||
(void) sys_dup(0);
|
|
@ -1,11 +0,0 @@ |
|||||||
--- a/init/main.c
|
|
||||||
+++ b/init/main.c
|
|
||||||
@@ -816,7 +816,7 @@ static int __init kernel_init(void * unu
|
|
||||||
|
|
||||||
/* Open the /dev/console on the rootfs, this should never fail */
|
|
||||||
if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
|
|
||||||
- printk(KERN_WARNING "Warning: unable to open an initial console.\n");
|
|
||||||
+ printk(KERN_WARNING "Please be patient, while OpenWrt loads ...\n");
|
|
||||||
|
|
||||||
(void) sys_dup(0);
|
|
||||||
(void) sys_dup(0);
|
|
@ -1,11 +0,0 @@ |
|||||||
--- a/init/main.c
|
|
||||||
+++ b/init/main.c
|
|
||||||
@@ -871,7 +871,7 @@ static int __init kernel_init(void * unu
|
|
||||||
|
|
||||||
/* Open the /dev/console on the rootfs, this should never fail */
|
|
||||||
if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
|
|
||||||
- printk(KERN_WARNING "Warning: unable to open an initial console.\n");
|
|
||||||
+ printk(KERN_WARNING "Please be patient, while OpenWrt loads ...\n");
|
|
||||||
|
|
||||||
(void) sys_dup(0);
|
|
||||||
(void) sys_dup(0);
|
|
@ -1,11 +0,0 @@ |
|||||||
--- a/init/main.c
|
|
||||||
+++ b/init/main.c
|
|
||||||
@@ -878,7 +878,7 @@ static noinline void __init kernel_init_
|
|
||||||
|
|
||||||
/* Open the /dev/console on the rootfs, this should never fail */
|
|
||||||
if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
|
|
||||||
- printk(KERN_WARNING "Warning: unable to open an initial console.\n");
|
|
||||||
+ printk(KERN_WARNING "Please be patient, while OpenWrt loads ...\n");
|
|
||||||
|
|
||||||
(void) sys_dup(0);
|
|
||||||
(void) sys_dup(0);
|
|
@ -1,11 +0,0 @@ |
|||||||
--- a/init/main.c
|
|
||||||
+++ b/init/main.c
|
|
||||||
@@ -891,7 +891,7 @@ static noinline void __init kernel_init_
|
|
||||||
|
|
||||||
/* Open the /dev/console on the rootfs, this should never fail */
|
|
||||||
if (sys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0)
|
|
||||||
- printk(KERN_WARNING "Warning: unable to open an initial console.\n");
|
|
||||||
+ printk(KERN_WARNING "Please be patient, while OpenWrt loads ...\n");
|
|
||||||
|
|
||||||
(void) sys_dup(0);
|
|
||||||
(void) sys_dup(0);
|
|
Loading…
Reference in new issue