mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
init/main.c: improve usability in case of init binary failure
- new Documentation/init.txt file describing various forms of failure trying to load the init binary after kernel bootup - extend the init/main.c init failure message to direct to Documentation/init.txt Signed-off-by: Andreas Mohr <andi@lisas.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
87d5e0236d
commit
9a85b8d604
2 changed files with 51 additions and 1 deletions
|
@ -847,7 +847,8 @@ static noinline int init_post(void)
|
|||
run_init_process("/bin/init");
|
||||
run_init_process("/bin/sh");
|
||||
|
||||
panic("No init found. Try passing init= option to kernel.");
|
||||
panic("No init found. Try passing init= option to kernel. "
|
||||
"See Linux Documentation/init.txt for guidance.");
|
||||
}
|
||||
|
||||
static int __init kernel_init(void * unused)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue