Hi,

What is this configuration option for the kernel?

I tried running fs.py with -n 8. But I am getting the same warning message
as Mark and all other 7 processors are disabled.

Thanks,
Carole

On Fri, Jun 3, 2011 at 12:22 PM, Gabe Black <[email protected]> wrote:

> X86 doesn't have PAL code so you don't have to worry about that. There
> are Linux patches for it, but those aren't necessary for it to work
> properly, they just help the simulator run faster. There's a
> configuration option for the kernel that sets how many CPUs it supports.
> That's probably set to 1.
>
> Gabe
>
> On 06/03/11 05:44, 冠男陳 wrote:
> > Dear M5,
> > I'm now trying to simulate a full system with more than 1 core (CPU).
> > With image x86_64-vmlinux-2.6.22.9, I got following messages in m5term:
> >
> > markcup:~/Gem5/m5_new$ ./build/X86_FS/m5.debug configs/example/fs.py -n 4
> > ==== m5 slave terminal: Terminal 0 ====
> > Linux version 2.6.22.9 (blackga@nacho) (gcc version 4.1.2 (Gentoo
> > 4.1.2)) #2 Mon Oct 8 13:13:00 PDT 2007
> > Command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923 root=/dev/hda1
> > BIOS-provided physical RAM map:
> >  BIOS-e820: 0000000000000000 - 0000000000100000 (reserved)
> >  BIOS-e820: 0000000000100000 - 0000000008000000 (usable)
> > end_pfn_map = 32768
> > kernel direct mapping tables up to 8000000 @ 100000-102000
> > DMI 2.5 present.
> > Zone PFN ranges:
> >   DMA           256 ->     4096
> >   DMA32        4096 ->  1048576
> >   Normal    1048576 ->  1048576
> > early_node_map[1] active PFN ranges
> >     0:      256 ->    32768
> > Intel MultiProcessor Specification v1.4
> > MPTABLE: OEM ID:  MPTABLE: Product ID:  MPTABLE: APIC at: 0xFEE00000
> > Processor #0 (Bootup-CPU)
> > Processor #1
> > WARNING: NR_CPUS limit of 1 reached. Processor ignored.
> > Processor #2
> > WARNING: NR_CPUS limit of 1 reached. Processor ignored.
> > Processor #3
> > WARNING: NR_CPUS limit of 1 reached. Processor ignored.
> > I/O APIC #4 at 0xFEC00000.
> > Setting APIC routing to flat
> > Processors: 1
> > ......
> >
> > Then, I follow the page
> > http://www.m5sim.org/wiki/index.php/Compiling_a_Linux_Kernel,
> > and make linux-2.6.28 image with config file for 2.6.28.4 (from
> > http://www.m5sim.org/Download), but it's still not working.
> > Dose X86 have Linux patches and modified PAL code which are like
> Alpha_FS?
> > (
> http://www.m5sim.org/Frequently_Asked_Questions#How_many_CPUs_can_M5_run.3F
> )
> >
> > Thank you.
> > Mark Chen
> > _______________________________________________
> > 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
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to