Re: [gem5-users] can't run new disk image(Ubuntu 14.04.img) in gem5 X86 FS mode

2017-06-26 Thread 赵智慧
Hello,

I have enabled devtmpfs in "Maintain a devtmpfs filesystem to mount at /dev" 
with the step of make menuconfig.

But it didn't work. FS mode still have the problem.



-原始邮件-
发件人:"Jason Lowe-Power" <ja...@lowepower.com>
发送时间:2017-06-22 22:15:20 (星期四)
收件人: "gem5 users mailing list" <gem5-users@gem5.org>
抄送:
主题: Re: [gem5-users] can't run new disk image(Ubuntu 14.04.img) in gem5 X86 FS 
mode


Hello,


From here: http://www.lowepower.com/jason/setting-up-gem5-full-system.html 


Problem: Can't mount /dev
> Failed to mount devtmpfs at /dev: No such device
> Freezing execution.


Something like the above (this was taken from arch linux boot). The problem is 
that that the right devfs is not compiled into the kernel. You need to make 
sure that devtmpfs is enabled in your kernel.


You may have to recompile the kernel with devtmpfs enabled.


Jason


On Thu, Jun 22, 2017 at 2:45 AM 赵智慧 <zhz...@hust.edu.cn> wrote:


hello, everyone

The default disk(linux-x86.img) can't support new version GLIBC(version 2.14) 
that my program needed.

So I create new disk image(ubuntu 14.04) to replace it, and I use the new 
kernel(x86-64_vmlinux_2.6.28.4).

But when I run gem5, the m5term output like this:




Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory

init: plymouth-upstart-bridge main process(948) terminated with status 1

init: plymouth-upstart-bridge main process ended, respawning




init: plymouth-upstart-bridge main process(948) terminated with status 1

init: plymouth-upstart-bridge main process ended, respawning

---

I see someone saying that this is not an error and will not affect the 
simulation. But like this,I can not get into the simulation system.

When I change the ubuntu-14.04.img to ubuntu-12.04.5.img,the m5term output like 
this:




mknod:extra operand '64'

Try 'mknod --help' for more information

mknod:extra operand '64'
Try 'mknod --help' for more information
mknod:extra operand '64'
Try 'mknod --help' for more information





Can anybody help me to slove the problem? It confused me for a long time. Thank 
you.




___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] can't run new disk image(Ubuntu 14.04.img) in gem5 X86 FS mode

2017-06-22 Thread 赵智慧
Thanks for your answer.
But which step can make sure the devtmpfs is enabled when compiling a kernel?




发件人:"Jason Lowe-Power" <ja...@lowepower.com>
发送日期:2017-06-22 22:15:20
收件人:"gem5 users mailing list" <gem5-users@gem5.org>
抄送人:
主 题:Re: [gem5-users] can't run new disk image(Ubuntu 14.04.img) in gem5 X86 FS 
mode

Hello,


From here: http://www.lowepower.com/jason/setting-up-gem5-full-system.html 


Problem: Can't mount /dev
> Failed to mount devtmpfs at /dev: No such device
> Freezing execution.


Something like the above (this was taken from arch linux boot). The problem is 
that that the right devfs is not compiled into the kernel. You need to make 
sure that devtmpfs is enabled in your kernel.


You may have to recompile the kernel with devtmpfs enabled.


Jason


On Thu, Jun 22, 2017 at 2:45 AM 赵智慧 <zhz...@hust.edu.cn> wrote:


hello, everyone

The default disk(linux-x86.img) can't support new version GLIBC(version 2.14) 
that my program needed.

So I create new disk image(ubuntu 14.04) to replace it, and I use the new 
kernel(x86-64_vmlinux_2.6.28.4).

But when I run gem5, the m5term output like this:




Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory

init: plymouth-upstart-bridge main process(948) terminated with status 1

init: plymouth-upstart-bridge main process ended, respawning

init: plymouth-upstart-bridge main process(948) terminated with status 1

init: plymouth-upstart-bridge main process ended, respawning

---

I see someone saying that this is not an error and will not affect the 
simulation. But like this,I can not get into the simulation system.

When I change the ubuntu-14.04.img to ubuntu-12.04.5.img,the m5term output like 
this:




mknod:extra operand '64'

Try 'mknod --help' for more information

mknod:extra operand '64'
Try 'mknod --help' for more information
mknod:extra operand '64'
Try 'mknod --help' for more information





Can anybody help me to slove the problem? It confused me for a long time. Thank 
you.




___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] can't run new disk image(Ubuntu 14.04.img) in gem5 X86 FS mode

2017-06-22 Thread Jason Lowe-Power
Hello,

>From here: http://www.lowepower.com/jason/setting-up-gem5-full-system.html

Problem: Can't mount /dev
> Failed to mount devtmpfs at /dev: No such device
> Freezing execution.

Something like the above (this was taken from arch linux boot). The problem
is that that the right devfs is not compiled into the kernel. *You need to
make sure that devtmpfs is enabled in your kernel.*

You may have to recompile the kernel with devtmpfs enabled.

Jason

On Thu, Jun 22, 2017 at 2:45 AM 赵智慧  wrote:

> hello, everyone
>
> The default disk(linux-x86.img) can't support new version GLIBC(version
> 2.14) that my program needed.
>
> So I create new disk image(ubuntu 14.04) to replace it, and I use the new
> kernel(x86-64_vmlinux_2.6.28.4).
>
> But when I run gem5, the m5term output like this:
>
>
> Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory
>
> init: plymouth-upstart-bridge main process(948) terminated with status 1
>
> init: plymouth-upstart-bridge main process ended, respawning
>
> init: plymouth-upstart-bridge main process(948) terminated with status 1
>
> init: plymouth-upstart-bridge main process ended, respawning
>
> ---
>
>
> I see someone saying that this is not an error and will not affect the
> simulation. But like this,I can not get into the simulation system.
>
> When I change the ubuntu-14.04.img to ubuntu-12.04.5.img,the m5term
> output like this:
>
>
> mknod:extra operand '64'
>
> Try 'mknod --help' for more information
>
> mknod:extra operand '64'
> Try 'mknod --help' for more information
> mknod:extra operand '64'
> Try 'mknod --help' for more information
> 
>
>
>
> Can anybody help me to slove the problem? It confused me for a long time.
> Thank you.
>
>
> ___
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] can't run new disk image(Ubuntu 14.04.img) in gem5 X86 FS mode

2017-06-22 Thread 赵智慧
hello, everyone

The default disk(linux-x86.img) can't support new version GLIBC(version 2.14) 
that my program needed.

So I create new disk image(ubuntu 14.04) to replace it, and I use the new 
kernel(x86-64_vmlinux_2.6.28.4).

But when I run gem5, the m5term output like this:




Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory

init: plymouth-upstart-bridge main process(948) terminated with status 1

init: plymouth-upstart-bridge main process ended, respawning

init: plymouth-upstart-bridge main process(948) terminated with status 1

init: plymouth-upstart-bridge main process ended, respawning

---

I see someone saying that this is not an error and will not affect the 
simulation. But like this,I can not get into the simulation system.

When I change the ubuntu-14.04.img to ubuntu-12.04.5.img,the m5term output like 
this:




mknod:extra operand '64'

Try 'mknod --help' for more information

mknod:extra operand '64'
Try 'mknod --help' for more information
mknod:extra operand '64'
Try 'mknod --help' for more information





Can anybody help me to slove the problem? It confused me for a long time. Thank 
you.


___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users