Hello everyone.
My main plan is to simulate a client-server environment to collect some
data in FS mode.

Before doing that my current progress is: I recreate X86 GENTOO stage3
disk-image since the old one was too old to update properly.
Thus I have some questions.

1.)I noticed that /proc is empty so some commands doesn't work. Is that
normal?
If so how can i run some function like df, ifconfig /all, etc.

2.) Does FS.py supposed to mount linuxbigswap as their swap partition?
It seems like the original X86 image also doesn't mount that swap partition.
What should fstab actually look like to mount those SWAP image. (or
modification on FSConfig.py to do that.)

3.) Before figuring out about simulating 2 system at once.
I think i have to make NIC on one system work first so i tried to add
    self.ethernet =  NSGigE(pci_bus=0, pci_dev=2, pci_func=0)
    self.ethernet.pio = self.iobus.master
    self.ethernet.config = self.iobus.master
    self.ethernet.dma = self.iobus.slave
to makeX86System function of FSConfig.py. (trying to mimic other system)

then i add
    /sbin/ifconfig lo 127.0.0.1
    /sbin/ifconfig eth0 192.168.1.1
into etc/init.d/rcS. Kernel recompiled to include ethernet drivers.
Now I can ping 127.0.0.1 but it doesn't recognize eth0.
So i wonder if it just isn't named eth0 or i actually did something wrong.

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

Reply via email to