i tried to start linuxemu by my usual script, but nothing happened. there was no output in the window i started it from, and nothing appeared in the x window. normal behaviour is various messages from linux program's stderr in the starting window, and a background image and window manager things in the x window. the last time i ran linuxemu was january the 2nd; it ran correctly then.
i tried my script twice, then tried individual lines from it. these three worked (-i added for testing): linux -r /usr/ethan/linuxemu/mroot-fancy /bin/bash -i export PATH=~/bin:/opt/WindowMaker/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11 cd the following line started the window manager, wmaker. this failed with the symptoms above. it normally writes several lines to stdout/err, displays its widgets in the x display, and calls another program to draw a background image. none of these outputs appeared, and the program did not exit.
<del> returned me to a plan 9 prompt, and i tried again. this time instead of wmaker i started an xterm in the background. it did not appear in the x display, and did not exit. i ran ps (with no options) to see what had become of it. ps produced no output and did not exit.
those 4 runs were the extent of my testing. after i finished, i looked at the kprint window (normally hidden) and saw the following: 19688 linuxemu: checked 720 page table entries 19749 linuxemu: checked 754 page table entries 19887 linuxemu: checked 754 page table entries 19892 linuxemu: checked 754 page table entries
after this i recompiled linuxemu. this made no difference.
Comment #1
Posted on Apr 1, 2014 by Happy Giraffei retried with -d. here is input and output:
turku% linux -d -r /usr/ethan/linuxemu/mroot-fancy /bin/bash -i root@turku:/9/usr/ethan# cd root@turku:~# ps linuxemu 42718: suicide: sys: trap: fault read addr=0x0 pc=0x00000000
that's the whole output, ps stops, it doesn't end (just in case that wasn't clear). i also ran following commands with -dd; removing the 'cd' to shorten the output. the output is at http://ethan.uk.to/static/tmp/linuxemu-dd
linux -dd -r /usr/ethan/linuxemu/mroot-fancy /bin/bash -i ps
Comment #2
Posted on Apr 1, 2014 by Happy Hippowas changed format in devproc segment file, fixed in rdc4158e7c5e7. thanks! :)
Status: Fixed
Labels:
Type-FrontFellOff
Priority-Low