diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-08-27 12:03:01 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-08-27 12:03:01 +0000 |
commit | 1cca5b1fec890167146284f2959d63e57a3b8077 (patch) | |
tree | 4024bad6b27c52c6e41a4ae818c2accc56ee8420 /target | |
parent | 173c4c7527a8c26bfbd375abfde8cad3e82fd619 (diff) | |
download | master-187ad058-1cca5b1fec890167146284f2959d63e57a3b8077.tar.gz master-187ad058-1cca5b1fec890167146284f2959d63e57a3b8077.tar.bz2 master-187ad058-1cca5b1fec890167146284f2959d63e57a3b8077.zip |
kernel: don't hide the 'Warning: unable to open an initial console' message
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37848 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
5 files changed, 0 insertions, 55 deletions
diff --git a/target/linux/generic/patches-3.10/920-unable_to_open_console.patch b/target/linux/generic/patches-3.10/920-unable_to_open_console.patch deleted file mode 100644 index 5511495d98..0000000000 --- a/target/linux/generic/patches-3.10/920-unable_to_open_console.patch +++ /dev/null @@ -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); diff --git a/target/linux/generic/patches-3.3/920-unable_to_open_console.patch b/target/linux/generic/patches-3.3/920-unable_to_open_console.patch deleted file mode 100644 index 11f67dc2c9..0000000000 --- a/target/linux/generic/patches-3.3/920-unable_to_open_console.patch +++ /dev/null @@ -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); diff --git a/target/linux/generic/patches-3.6/920-unable_to_open_console.patch b/target/linux/generic/patches-3.6/920-unable_to_open_console.patch deleted file mode 100644 index e141e7057c..0000000000 --- a/target/linux/generic/patches-3.6/920-unable_to_open_console.patch +++ /dev/null @@ -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); diff --git a/target/linux/generic/patches-3.8/920-unable_to_open_console.patch b/target/linux/generic/patches-3.8/920-unable_to_open_console.patch deleted file mode 100644 index 6202aa5ec3..0000000000 --- a/target/linux/generic/patches-3.8/920-unable_to_open_console.patch +++ /dev/null @@ -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); diff --git a/target/linux/generic/patches-3.9/920-unable_to_open_console.patch b/target/linux/generic/patches-3.9/920-unable_to_open_console.patch deleted file mode 100644 index 72aae53883..0000000000 --- a/target/linux/generic/patches-3.9/920-unable_to_open_console.patch +++ /dev/null @@ -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); |