Hi,
Sorry, I'm not sure which exact image you're using at this point. First
check that the binary exists inside the image. If you have mounted it
you should be able to check it (you will need sudo, I think) just by
doing "ls /mnt_point/bin/" and checking if bash is there. If it's
present, do a file command on it "file /mnt_point/bin/bash" and send the
output.
Regards,
Oscar
On 09/05/18 16:24, Raman Arora wrote:
Hi Gabe,
Could you please suggest any measures i could take in order to debug
the problem?
Any document or suggestion that could help me solve this issue would
be helpful.
Raman
On Wed, 9 May 2018 at 01:13, Gabe Black <gabebl...@google.com
<mailto:gabebl...@google.com>> wrote:
The problem is that your system doesn't think it can run
/bin/bash. In the case of ARM, it's because the binary in the
image is for ARM, but the host computer is x86. In that case, you
need qemu so that your x86 computer can run the ARM /bin/bash from
the image. In your case, I'm assuming your host is x86, so it
should be able to run a /bin/bash from an x86 disk image with no
problem.
If, however, it can't run /bin/bash for some other reason, like if
the binary doesn't exist, your user doesn't have permission to run
it for some reason, etc., then it could fail with a similar error
message.
Gabe
On Tue, May 8, 2018 at 8:13 PM, Raman Arora
<mail.arorara...@gmail.com <mailto:mail.arorara...@gmail.com>> wrote:
Hi All,
I am trying to run the full system files for X86 architecture
following the presentation
https://www.youtube.com/watch?v=Oh3NK12fnbg&list=LLpWtB08-0ZzqUaF98EZQqAA&index=4&t=300s
and Document
https://docs.google.com/document/d/1B7nZSqMLwkwoVNEj_58tMPTk4bKWvoEMbokOAjqeC-k/preview
But I am facing the following error,
*chroot: failed to run command ‘/bin/bash’: No such file or
directory*
**
*I have installed qemu,qemu-user,qemu-user-static,qemu-system
and the dependencies. I am using image file
*Linux-parsec-2-1-m5.img.* *
I have looked and the closest I have got to is a fix for ARM
architecture
https://www.mail-archive.com/gem5-users@gem5.org/msg15112.html
and and unresolved fix for X86
https://groups.google.com/forum/#!topic/openpiton/MdPPkRKWl9A
<https://groups.google.com/forum/#%21topic/openpiton/MdPPkRKWl9A>
Could you please let me know how to fix the same for X86 as well?
Thanks and Regards,
Raman
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org <mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org <mailto:gem5-users@gem5.org>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users