Re: [m5-users] adding files to a disk image without root privileges

2008-11-20 Thread Eduardo Olmedo Sanchez
Hello again, I am having some problems with the execution of a simple Hello World program in FS, I have been executing the program 20 minutes and I do not get the output so I believe that something is going wrong. This is what I did I copied a HelloWorld program that works in SE mode to

Re: [m5-users] adding files to a disk image without root privileges

2008-11-20 Thread Lisa Hsu
Since you have changed the name/location of your disk image - did you change the simulator to actually point to it and use it? Lisa On Thu, Nov 20, 2008 at 3:12 PM, Eduardo Olmedo Sanchez [EMAIL PROTECTED]wrote: Hi Ali thanks for your answer, it says that it could not find the file loading

Re: [m5-users] adding files to a disk image without root privileges

2008-11-20 Thread Eduardo Olmedo Sanchez
Hi Lisa thanks for your answer, in the config.ini generated by the simulator it is ponting right to the img path. image_file=/m5-fs/disks/linux-latest.img In the disk folder there are two imgages I only made changes to the linux-latest, which one is the simulator using linux-latest or

Re: [m5-users] adding files to a disk image without root privileges

2008-11-20 Thread nathan binkert
You are missing a #!/bin/sh at the top of your rcS file. Yes, the disk image size shouldn't change. The disk image file is always exactly the size of the disk that it represents. So, if you want a 100GB disk, the image file would be 100GB. Some day, I'll add the qemu qcow2 format, but not

Re: [m5-users] adding files to a disk image without root privileges

2008-11-19 Thread Eduardo Olmedo Sanchez
Hi I have been able to run knoppix on vmware, but I still do not get what I have to do, do I need to do all the procedure from here http://www.m5sim.org/wiki/index.php/Using_linux-dist_to_Create_Disk_Images_and_Kernels_for_M5 to create the disk image?, or how can I use an existing disk image to

Re: [m5-users] adding files to a disk image without root privileges

2008-11-19 Thread Lisa Hsu
Try this: http://m5sim.org/wiki/index.php/Frequently_Asked_Questions#OS.2FLinux_Related That should help you add files to an image - you can just start with the one we distribute. Lisa On Wed, Nov 19, 2008 at 4:05 PM, Eduardo Olmedo Sanchez [EMAIL PROTECTED]wrote: Hi I have been able to run

Re: [m5-users] adding files to a disk image without root privileges

2008-11-19 Thread Eduardo Olmedo Sanchez
Hi Lisa thanks for your answer, so do you mean that I should mount your img file linux-latest.img then I add my own benchmarks to that img and after I copy the img to the simulator and change the python configuration file to point to the img and cross the fingers to see if everything is right?.

Re: [m5-users] adding files to a disk image without root privileges

2008-11-18 Thread Bob Nagel
Hello, I have been using some virtual machine environments, but I have not found what I need, usually the only disk images that I found are with complete linux environments that includes applications and user interface. So Clint or anyone can you tell me where I can get a disk image with a simple

Re: [m5-users] adding files to a disk image without root privileges

2008-11-18 Thread gblack
Gentoo stage 3 install CDs are fairly minimal but reliable live CDs. I've heard they work well. Gabe Quoting Bob Nagel [EMAIL PROTECTED]: Hello, I have been using some virtual machine environments, but I have not found what I need, usually the only disk images that I found are with

Re: [m5-users] adding files to a disk image without root privileges

2008-11-13 Thread Eduardo Olmedo Sanchez
Hello, I have installed bochs and now I have dllinux running and it using as hard disk a file called hd10meg.img, the kernel is 1.3.89. So the procedure that I should is: add my binary to the hd10meg.img and after move the img to the simulator. Where should I put the binary in the img? and Should

[m5-users] adding files to a disk image without root privileges

2008-11-12 Thread Bob Nagel
Hello, I want to run some of my own tests in FS mode, and I have seen here http://www.m5sim.org/wiki/index.php/Using_linux-dist_to_Create_Disk_Images_and_Kernels_for_M5, that to create the disk image and to add files to it I need to have root privileges. Is there any way to avoid this?, I am

Re: [m5-users] adding files to a disk image without root privileges

2008-11-12 Thread Ali Saidi
No, you don't need to have root privileges on the machine that you're running M5 on, but you do need them on some system because the mount requires root privileges. You could run linux inside a VM or with a emulator such as Bochs for this purpose. Ali On Nov 12, 2008, at 3:44 PM, Bob Nagel

Re: [m5-users] adding files to a disk image without root privileges

2008-11-12 Thread Bob Nagel
Hi Ali thanks for your answer, I do not know what you mean. Are you saying that I should create the Disk Image in another machine in which I have root privileges? and after how do I submit that disk image to the machine in which I have m5 installed?, I should run the simulation in that machine

Re: [m5-users] adding files to a disk image without root privileges

2008-11-12 Thread Bob Nagel
Thanks for your answer Clint, I know how to move the files, so the thing that I should do is: - Follow the steps from here Using linux-dist to Create Disk Images and Kernels for M5 to create my disk image - Add the binaries using this commnad /bin/mount -o loop,offset=32256 /z/foo.img