It's not hung, it can just take a long, long time to run all the init
scripts (less than a day, but maybe not much less). If you're willing to
wait they should all complete and get you to a log in prompt. You'll
want to make sure you change fstab and the root password in your image
before hand. There may be some other small tweak you'll need to make to
the image, but I don't know off hand what it would be. It's fine to
replace the init scripts with something that runs your benchmark and
that will speed up boot significantly.

Gabe

Feng Lu wrote:
> Hi,
>
> I was trying to simulate X86_FS with m5.opt. 
> Since M5 only supports x86_64, I built an amd64 linux kernel as the
> binary, and an image of amd64 Gentoo as the disk.
> I have tried quite a few kernel versions and Gentoo versions, but the
> best progress I could get with m5 is:
>
>
> -------------------------------------------------------------------------------------
> [    0.692039] Write protecting the kernel read-only data: 1368k
> INIT: version 2.86 booting
>
> Gentoo Linux; http://www.gentoo.org/
>  Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2
>
> Press I to enter interactive boot mode
>
>  * Mounting proc at /proc ...    [ ok ]
>  * Mounting sysfs at /sys ...    [ ok ]
>  * Mounting /dev for udev ...    [ ok ]
>  * Seeding /dev with needed nodes ...    [ ok ]
>  * Starting udevd ...    [ ok ]
>  * Populating /dev with existing devices through uevents ...    [ ok ]
>  * Letting udev process events ...
> -------------------------------------------------------------------------------------
>
>
> Then the program seems to hang.
>
> I wonder whether it's due to compatibility issue between binary kernel
> version & linux kernel version, or I did something wrong generating
> the disk image.
>
> The binary is kernel 2.6.22.9;
> The disk is gentoo-2008.0-r1, with kernel version 2.6.24;
>
> How I made the disk image was that, I create an image with the
> mkblankimage.sh in m5, then extract the stage3 files of Gentoo into
> the mounted image.
>
> Does anyone know where the problem is?
> Or, could anyone provide a working combination of binary kernel
> version + linux version, for x86_64 simulation?
>
> Thanks a lot.
>
> Best Regards,
> Feng
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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

Reply via email to