Article 4V588 Failed to execute /init (error -7)

Failed to execute /init (error -7)

by
redacted
from LinuxQuestions.org on (#4V588)
kernel version 4.18.20

I am porting a 4.15 custom kernel to 4.18. It compiles cleanly. It fails early in the boot process with:

Failed to execute /init (error -7)
Starting init: /bin/sh exists but couldn't execute it (error -7)

A kernel built from the same source code without my modifications boots and runs.

According to "errno" error -7 is "E2BIG 7 Argument list too long"

Any ideas what might cause this failure mode?latest?d=yIl2AUoC8zA latest?i=_h67ECSVO7Q:gmmNKz7BrRY:F7zBnMy latest?i=_h67ECSVO7Q:gmmNKz7BrRY:V_sGLiP latest?d=qj6IDK7rITs latest?i=_h67ECSVO7Q:gmmNKz7BrRY:gIN9vFw_h67ECSVO7Q
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments