After you finish doing something on the simulated sytsem you probably need to type sync and make sure that the changes made it back to the file system. Files are buffered in linux's file cache until something forces them to disk.
Ali On Jan 8, 2011, at 10:53 PM, Ong Wen Jian wrote: > > Hi Ali , > > I also try to remove the copy On write layer in fsconfig.py .. the following > code below is the code that i modified.. > > #class CowIdeDisk(IdeDisk): > # image = CowDiskImage(child= > RawDiskImage(read_only=False), > # read_only=False) > # > # def childImage(self, ci): > # self.image.child.image_file = ci > > class RawIdeDisk(IdeDisk): > image = RawDiskImage(read_only=False) > > def childImage(self, ci): > self.image.image_file = ci > > Since I'm using Linux Alpha System, on the def makeLinuxAlphaSystem(mem_mode, > mdesc = None): > > I changed the following codes > > #self.disk0 = CowIdeDisk(driveID='master') > #self.disk2 = CowIdeDisk(driveID='master') > self.disk0 = RawIdeDisk(driveID='master') > self.disk2 = RawIdeDisk(driveID='master') > > and , i try to compile a simple .c file using gcc on the M5 simulated linux > system, and it still end up the same result ... > > Pls Advice. > > regards > wj > > > > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
