920-unable_to_open_console.patch 425 B

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