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

Reply via email to