[Buildroot] Issue performing switch_root to a UBIFS partition

Arnout Vandecappelle arnout at mind.be
Mon Mar 27 15:16:10 UTC 2017



On 27-03-17 14:59, Yegor Yefremov wrote:
> getpid()                                = 915

 PID must be 1. Forgot to mention that in the script representation :-) Of
course, here it's due to the strace... To avoid, you could use "strace -fp 1 &"
but I'm not sure how that would behave across the exec.

> write(2, "BusyBox v1.26.2 (2017-03-24 16:3"..., 41BusyBox v1.26.2
> (2017-03-24 16:39:44 CET)) =
> write(2, " multi-call binary.\n", 20 multi-call binary.
> )   = 20
> write(2, "\nUsage: ", 8
> Usage: )                = 8

 Did this Usage: part also come out when running without strace? It's very weird
that the rest of the usage output is not appearing. Or perhaps that's because
you get a kernel panic immediately afterwards because PID 1 exits?

> can't open /dev/ttyO0: No such file or directory

 Still no explanation where this comes from...

 Regards,
 Arnout


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF


More information about the buildroot mailing list