Which gem5 repo are you using? stable or dev? I suggest using dev.

--
Nilay

On Fri, 2 Mar 2012, Andrea Pellegrini wrote:

I can boot the O3 model multicore, but the system is highly unstable and
often it gets stuck or crashes. I attached a couple of logs from my
experiments.
The single core detailed model seems to work well.

-Andrea

--------------------------------------------------------
x86_64-vmlinux-2.6.28.4.smp


Script from M5 readfile is empty, starting bash shell...
(none) / #      cd parsec/install
(none) install # /etc/init.d/rcS: line 19: rcS[965]: segfault at
ffffffff8020b7c0 ip ffffffff8020b7d5 sp 00007fff47048b78 error 15  9
70 Segmentation fault      /bin/bash

Enter runle


--------------------------------------------------------
x86_64-vmlinux-2.6.22.9.smp


Unable to handle kernel NULL pointer dereference at 00000000000000ac RIP:
[<ffffffff80596900>] _spin_unlock_irqrestore+0x0/0x10
PGD 0
Oops: 0002 [1] SMP
CPU 0
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.22.9 #12
RIP: e200:[<ffffffff80596900>]  [<ffffffff80596900>]
_spin_unlock_irqrestore+0x0/0x10
RSP: 6633:ffffffff8023e138  EFLAGS: 000001a8
RAX: ffff81000121d3c0 RBX: 65fb8948078b4853 RCX: ffff810001369150
RDX: 00000000000002a8 RSI: ffff81000121d3d8 RDI: 00000000000000ac
RBP: 0000000000000001 R08: ffffffff80245691 R09: ffffffff80225b53
R10: ffffffff807beed0 R11: 0000000000000003 R12: 480000002425348b
R13: e838788b48fce083 R14: 0000000300000000 R15: ffffffff802254f7
FS:  00002b639e267dd0(0000) GS:ffffffff80757000(0000) knlGS:0000000000000000
CS:  0010 DS: 0018 ES: 180018 CR0: 000000008005003b
CR2: 00000000000000ac CR3: 0000000000201000 CR4: 00000000000006e0
Process swapper (pid: 0, threadinfo ffffffff80770000, task ffffffff806f13c0)
Stack:  48de8948fffff934 2e66668beb5bc789 0000000000841f0f 2eba0ff0f3894853
74c085d231c01900 468d48c3d0895b04 65217508463b4808 e80000002425348b
48de8948fffff8f4 5bffffff49e8c789 c3d08900000001ba 2e666666feeb0b0f
Call Trace:


Code: c7 07 01 00 00 00 56 9d c3 0f 1f 80 00 00 00 00 c7 07 01 00
RIP  [<ffffffff80596900>] _spin_unlock_irqrestore+0x0/0x10
RSP <ffffffff8023e138>
CR2: 00000000000000ac
Kernel panic - not syncing: Aiee, killing interrupt handler!


---------------------------------------------------------


On Fri, Mar 2, 2012 at 2:07 AM, Ankita (Garg) Goel <[email protected]>wrote:

Hi Xiao,

What config file did you use to build the kernel ? The error probably
could be that the fs drivers like ext3 or ext4 were not built into the
kernel so the root filesystem in the image provided could not be mounted.

There are a few sample config files provided in the X86 FS download
section on the wiki.

Regards,
Ankita


On Thu, Mar 1, 2012 at 10:41 PM, Xiao Guo <[email protected]> wrote:

I got kernel panic when booting 4 cores using linux kernel 2.6.27, does
anybody have a solution for this? Thanks!

Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Insert root floppy and press ENTER
VFS: Cannot open root device "<NULL>" or unknown-block(2,0)
Please append a correct "root=" boot option; here are the available
partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)

xiao


On Feb 28, 2012, at 8:44 PM, Gabriel Michael Black wrote:

I saw this problem as well. I don't know what's causing it. If you're
looking for ways to debug it, I'd suggest figuring out what the CPU is
doing while it's hung. Is it just waiting idle? Is it stuck in a loop?
Is it stuck at one point in time and not progressing the simulation
(unlikely)? Then try to find out what it's waiting for, if anything,
and why that hasn't happened or the CPU hasn't noticed that it happened.

Gabe

Quoting "Ankita (Garg) Goel" <[email protected]>:

I am facing the same issue as Jason mentioned with detailed CPUs. The
system boot-up seems to be going fine, but seems stuck at running INIT,
even after 2-3 hrs.

On Tue, Feb 28, 2012 at 2:37 PM, Nilay Vaish <[email protected]>
wrote:

I have booted a 64 core system using timing simple cpu.

--
Nilay



On Tue, 28 Feb 2012, Jason Clemons wrote:

I was able to boot 8 cores using atomic but I am still working on
multicore timing or detailed models. I currently get a error when
init
calls fork at the end of booting. I am trying a couple of patches
from the
website to see if they will help.


Later,

Jason


Sent from my Samsung Epic? 4G

Xiao Guo <[email protected]> wrote:

Is it possible to boot more than 4 cores in x86 FS?


On Feb 27, 2012, at 5:51 PM, Jason Clemons wrote:

Gabe,

Thanks for the patch.  I did a hg pull and hg update this afternoon
and
have made some progress on booting.  I found that with a custom built
version of 2.6.28.4 with smp on, the patch and the linux image files
(linux-bigswap2.img and linux-x86.img) from gem5.org I am able to
boot
multicore x86 using the default cpu type which I think is atomic.

After working with Andrea, we noted that the boot problem for x86
happens
with the PARSEC root image but not the linux-x86.img from gem5.org.
This was tested using the custom kernel and the default cpu type.

I am currently attempting to test the detailed cpu-type with 2 cpus.
 I
will let you know of any errors I run into.


Thanks,

Jason Clemons



Quoting Gabe Black <[email protected]>:

I looked into this more, and the code that sets up the memory
hierarchy
was broken a little while ago. I have a patch that seems to fix it
(attached) but then it gets stuck a little later. I remember a
while ago
someone had problems with atomic operations not being supported by
the
memory system fully, but I don't remember the specifics. This might
be
that problem too.

Gabe

On 02/24/12 02:45, Gabriel Michael Black wrote:

Yes, I have. You're using O3 though, and that support is fairly
new.

Gabe

Quoting "Ankita (Garg) Goel" <[email protected]>:

Hi,

Has anyone been able to boot multiple cpus wth FS mode on x86 ? If
yes, it
would greatly help if you could share your environmental setup.
The
issues
I am facing I have already posted in some previous emails.

Thanks for your help!

--
Regards,
Ankita



______________________________**_________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users>

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




--
Regards,
Ankita



_______________________________________________
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




--
Regards,
Ankita
Graduate Student
Department of Computer Science
University of Texas at Austin



_______________________________________________
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