On 4 February 2014 06:30, Anil Singhar <anil.sing...@linaro.org> wrote: > Hi Ryan, > > Thanks for your reply. > > RootFS getting corrupted by repeated <Ctrl+C>: Does that mean we have some > known limitations / stability issues with the foundation model (or rootfs)?
No. If you CTRL-C the *model* - not a running process within the model - you are effectively pulling the plug on the machine. This is the equivalent of you booting up and powering off your computer without cleanly unmounting the disk, you will eventually corrupt the disk if you keep doing it. > This was not an issue for past 6 months and has only showed up recently > after I used the custom image. If you were killing the model every time, you got lucky. > > So far I have generally launched the the model and used the model window > itself to do build etc.. I remember having issues with doing SSH to the > model from the host initially when I started using it. There was no steps > mentioned in the user guide and I had tried various things without success. > Few things I could do with the model were: > > 1. wget works > 2. scp from host pc into the model works. > 3. pinging an ip address from inside the model doesn't work (e.g "ping > google.com" fails) > Linaro images have SSHD set up already. You have a networking setup problem if you don't have DNS resolving hostnames, but if you have access via IP address, you should be able to SSH into a model easily. > So, I don't know completely if and how to connect to the model via ssh so Try this from your host PC: ssh root@<ip address of model instance> Eg, ssh root@192.168.1.88 > that I can avoid having to close a hung process by <Ctrl+c>. Could you > please point me to some resource? More advanced networking setup information is available from ARM's website as linked from the release notes: http://releases.linaro.org/14.01/openembedded/aarch64/ I've never been happy with NAT networking, so I use a bridged setup. > > Thanks, > Anil > > > > > On 3 February 2014 22:03, Ryan Harkin <ryan.har...@linaro.org> wrote: >> >> On 3 February 2014 13:38, Anil Singhar <anil.sing...@linaro.org> wrote: >> > Hi, >> > >> > I am running into problems with starting foundation model lately. >> > >> > 1. I had created an image using >> > >> > linaro-image-lamp-genericarmv8-20140127-635.rootfs.tar.gz >> > >> > 2. It was booting fine initially. >> > >> > 3. The problem started happening after I attempted to build Groff >> > package, >> > which was not getting build and the model was getting frozen (no >> > response to >> > Ctrl + C, etc.). However I was able to restart the model by closing it >> > from >> > the launch window and then restarting it. >> > >> > Now, the model simply fails to launch successfully (hangs in the middle, >> > doesn't get to the command prompt). >> >> I suspect you've corrupted your rootfs by killing the model >> repeatedly. Have you tried starting again with a "clean" rootfs, >> built with linaro-media-create? If not, you should. >> >> Generally, I tend to SSH into my machines to run commands, rather than >> using the serial terminal. And if a command locks a session, I log in >> again via SSH and kill the old one, rather than pull the plug on the >> model. >> >> >> >> > >> > Anyone knows whom should I report to about this? >> >> This is a good place to discuss it. >> >> > >> > Thanks, >> > Anil >> > >> > _______________________________________________ >> > linaro-dev mailing list >> > linaro-dev@lists.linaro.org >> > http://lists.linaro.org/mailman/listinfo/linaro-dev >> > > > _______________________________________________ linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev