On 07/12/15 07:24, st...@nixia.no wrote: > Den 2015-12-06 16:34, skrev Vegard Nossum: >> Hi, >> >> I've been running into some odd crashes when starting my UML instance >> from Python. This is my script: >> >> import subprocess >> subprocess.check_call(['path/to/vmlinux', 'mem=2048M', >> 'rootfstype=hostfs', 'rw', 'init=/bin/bash']) >> >> [ 1.880000] winch_thread : TIOCSCTTY failed on fd 1 err = 1 >> > I suspect subprocess.check_call() uses pipes and not pty/tty when > creating this process.
It does. > Same problem probably happens if do you something > like > > cat /dev/null | path/to/vmlinux mem=2048M rootfstype=hostfs rw > init=/bin/bash 2>&1 >log Brgds, A. > > > > Stian > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > User-mode-linux-devel mailing list > User-mode-linux-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel > ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ User-mode-linux-devel mailing list User-mode-linux-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel