The disk image only has /bin/sh not bash on it. You likely have #!/bin/bash at 
the top of your script so the interpreter isn't found.

Ali

On Aug 16, 2012, at 2:05 AM, Yi Liu wrote:

> Hi all
> The ARM Full-system staff(e.g. linux-arm-ael.img from gem5 download page) 
> seems 
> having problems while using configs/example/fs.py "--script" parameter.
> the command line is:
> ./build/ARM/gem5.opt configs/example/fs.py -n 2 --checkpoint-
> dir=/home/liuyix/Dev/gem5/mytests/loop_inst_test/cpt_dir/ --
> kernel=/home/liuyix/Dev/gem5_system/binaries/vmlinux.arm.smp.fb.2.6.38.8 
> --disk-
> image=/home/liuyix/Dev/gem5_system/disks/linux-arm-ael.img --
> script=/home/liuyix/Dev/gem5/mytests/loop_inst_test/script.rcS
> 
> m5term boot message:
> ....
> [    0.260804]  sda: sda1
> [    0.260977] sd 0:0:0:0: [sda] Attached SCSI disk
> [    0.700110] input: AT Raw Set 2 keyboard as 
> /devices/fpga:kmi0/serio0/input/input0
> [    0.840517] VFS: Mounted root (ext2 filesystem) on device 8:1.
> [    0.840715] devtmpfs: mounted
> [    0.840727] Freeing init memory: 132K
> init started: BusyBox v1.15.3 (2010-05-07 01:27:07 BST)
> starting pid 333, tty '': '/etc/rc.d/rc.local'
> warning: can't open /etc/mtab: No such file or directory
> Thu Jan  1 00:00:00 UTC 1970
> S: devpts
> Thu Jan  1 00:00:00 UTC 1970
> /etc/rc.d/rc.local: exec: line 99: /tmp/script: not found
> starting pid 356, tty '': '/sbin/getty -L ttySA0 38400 vt100'
> 
> AEL login: [    2.300097] input: touchkitPS/2 eGalax Touchscreen as 
> /devices/fpga:kmi1/serio1/input/input1
> 
> It shows complaints about "/etc/rc.d/rc.local: exec: line 99: /tmp/script: 
> not 
> found"
> however,when I entered the terminal, I did find /tmp/script, which actually 
> was 
> the script in the parameter.
> 
> 
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> 

_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to