Hello!
what version of the linux kernel are you using?
i'm not sure why you need an up to date filesystem, but you will need an up
to date kernel version as well.

the LibC used on ubuntu 15.04 requires a kernel >= 2.6.24 i think... and
the Linux available on the gem5 wiki is older than that.

maybe you could try an older version of ubuntu?
i used the lucid release (10.04) to build my filesystem & LibC 2.11.

best regards


On Mon, Jun 6, 2016 at 5:48 PM, Giray <[email protected]> wrote:

> Hi All,
>
> I need an up to date X86 disk image for gem5 full system simulation. The
> downloadable ones are unfortunately too old. So that I tried to build my
> own
> disk image. Could somebody help me building it?
>
> Here is what I've done so far:
>
> $ cd ${M5_PATH}
> $ python util/gem5img.py init disks/mybuntu.img 5120
> $ sudo losetup -f
> /dev/loop0
> $ sudo losetup -o 32256 /dev/loop0 disks/mybuntu.img
> $ wget
> http://releases.ubuntu.com/15.04/ubuntu-15.04-snappy-amd64-generic.img.xz
> $ unxz -c ubuntu-15.04-snappy-amd64-generic.img.xz | sudo dd of=/dev/loop0
> bs=32M
> $ sudo losetup -d /dev/loop0
> $ build/X86/gem5.opt configs/example/fs.py
> --disk-image=${M5_PATH}/disks/mybuntu.img
>
> Boot process returns the following error about file system:
>
> No filesystem could mount root, tried:  reiserfs ext3 ext2 msdos vfat
> iso9660
> Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(3,1)
>
> What am I missing here?
>
>
>
> _______________________________________________
> 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