I too get the same error when booting with num_cpus > 1 (single cpu boot goes fine):
panic: Unable to find destination for addr 0xa000000000001000 @ cycle 212557326876 [findPort:build/X86/mem/bus.cc, line 325] Memory Usage: 2256480 KBytes On Tue, Feb 21, 2012 at 8:43 PM, Jason Clemons <[email protected]> wrote: > Everyone, > > > I am new to gem5 and I am having a problem getting x86 Full System to > finishing booting when running with smp turned on. I have replicated this > problem with the kernels provided on the gem5 download site and with a > kernel I built. > > I am unsure how to proceed here since I am new. Any help on this would be > appreciated. > > > The command I am using is: > ~/Downloads/gem5/gem5$ build/X86/gem5.opt configs/example/fs.py -n 2 > --kernel=/home/jlclemon/**Downloads/gem5/SystemFiles/** > x86-system/binaries/x86_64-**vmlinux-2.6.28.4.smp > > > And the output from Gem5 is: > > > warning: add_child('terminal'): child 'terminal' already has parent > Global frequency set at 1000000000000 ticks per second > 0: rtc: Real-time clock set to Sun Jan 1 00:00:00 2012 > Listening for com_1 connection on port 3456 > warn: Reading current count from inactive timer. > 0: system.remote_gdb.listener: listening for remote gdb #0 on port 7000 > 0: system.remote_gdb.listener: listening for remote gdb #1 on port 7001 > info: kernel located at: /home/jlclemon/Downloads/gem5/** > SystemFiles/x86-system/**binaries/x86_64-vmlinux-2.6.**28.4.smp > **** REAL SIMULATION **** > info: Entering event queue @ 0. Starting simulation... > warn: Don't know what interrupt to clear for console. > warn: instruction 'wbinvd' unimplemented > 7989723500: system.pc.com_1.terminal: attach terminal 0 > warn: instruction 'fxsave' unimplemented > warn: instruction 'wbinvd' unimplemented > hack: Assuming logical destinations are 1 << id. > panic: Unable to find destination for addr 0xa000000000001000 > @ cycle 4629815896000 > [findPort:build/X86/mem/bus.**cc, line 325] > Memory Usage: 321436 KBytes > Program aborted at cycle 4629815896000 > Aborted > > And the m5Term is: > > BIOS EBDA/lowmem at: 00000000/00000000 > Linux version 2.6.28.4 (jlclemon@Bahamut-Linux) (gcc version 4.4.5 > (Ubuntu/Linaro 4.4.4-14ubuntu5) ) #4 SMP Tue Feb 21 21:02:35 EST 2012 > Command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923 root=/dev/hda1 > KERNEL supported cpus: > Intel GenuineIntel > AMD AuthenticAMD > Centaur CentaurHauls > CPU: vendor_id 'M5 Simulator' unknown, using generic init. > CPU: Your system may be unstable. > BIOS-provided physical RAM map: > BIOS-e820: 0000000000000000 - 0000000000100000 (reserved) > BIOS-e820: 0000000000100000 - 0000000020000000 (usable) > console [earlyser0] enabled > DMI 2.5 present. > last_pfn = 0x20000 max_arch_pfn = 0x3ffffffff > ------------[ cut here ]------------ > WARNING: at arch/x86/kernel/cpu/mtrr/main.**c:1604 > mtrr_trim_uncached_memory+**0x32b/0x32f() > WARNING: strange, CPU MTRRs all blank? > Modules linked in: > Pid: 0, comm: swapper Not tainted 2.6.28.4 #4 > Call Trace: > [<ffffffff802391f0>] warn_slowpath+0xc0/0x100 > [<ffffffff803a2798>] vsnprintf+0x268/0x6b0 > [<ffffffff80252afd>] up+0xd/0x40 > [<ffffffff802399e0>] release_console_sem+0x1b0/**0x200 > [<ffffffff8021a650>] post_set+0x20/0x40 > [<ffffffff80861833>] mtrr_trim_uncached_memory+**0x123/0x32f > [<ffffffff80861a3b>] mtrr_trim_uncached_memory+**0x32b/0x32f > [<ffffffff80614dcb>] printk+0x40/0x45 > [<ffffffff8085dc02>] setup_arch+0x385/0x5cc > [<ffffffff8085797e>] start_kernel+0x6e/0x321 > [<ffffffff80857404>] x86_64_start_kernel+0xd9/0xdd > [<ffffffff8085732b>] x86_64_start_kernel+0x0/0xdd > ---[ end trace 4eaa2a86a8e2da22 ]--- > init_memory_mapping: 0000000000000000-**0000000020000000 > last_map_addr: 20000000 end: 20000000 > (4 early reservations) ==> bootmem [0000000000 - 0020000000] > #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - > 0000001000] > #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - > 0000008000] > #2 [0000200000 - 000092fd28] TEXT DATA BSS ==> [0000200000 - > 000092fd28] > #3 [000009f000 - 0000100000] BIOS reserved ==> [000009f000 - > 0000100000] > found SMP MP-table at [ffff8800000f0050] 000f0050 > Zone PFN ranges: > DMA 0x00000100 -> 0x00001000 > DMA32 0x00001000 -> 0x00100000 > Normal 0x00100000 -> 0x00100000 > Movable zone start PFN for each node > early_node_map[1] active PFN ranges > 0: 0x00000100 -> 0x00020000 > Intel MultiProcessor Specification v1.4 > MPTABLE: OEM ID: > MPTABLE: Product ID: > MPTABLE: APIC at: 0xFEE00000 > Processor #0 (Bootup-CPU) > Processor #1 > I/O APIC #2 Version 17 at 0xFEC00000. > Processors: 2 > SMP: Allowing 2 CPUs, 0 hotplug CPUs > Allocating PCI resources starting at 30000000 (gap: 20000000:e0000000) > PERCPU: Allocating 45056 bytes of per cpu data > Built 1 zonelists in Zone order, mobility grouping on. Total pages: 127086 > Kernel command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923 > root=/dev/hda1 > Initializing CPU#0 > PID hash table entries: 2048 (order: 11, 16384 bytes) > Fast TSC calibration using PIT > Detected 2000.002 MHz processor. > Console: colour dummy device 80x25 > console handover: boot [earlyser0] -> real [ttyS0] > Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) > Inode-cache hash table entries: 32768 (order: 6, 262144 bytes) > Checking aperture... > No AGP bridge found > Memory: 506176k/524288k available (4218k kernel code, 1024k absent, 16472k > reserved, 2018k data, 324k init) > Calibrating delay loop (skipped) preset value.. 3999.96 BogoMIPS > (lpj=7999923) > Mount-cache hash table entries: 256 > CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) > CPU: L2 Cache: 1024K (64 bytes/line) > Setting APIC routing to flat > ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0 > CPU0: M5 Simulator Fake M5 x86_64 CPU stepping 01 > Booting processor 1 APIC 0x1 ip 0x6000 > Initializing CPU#1 > Calibrating delay loop (skipped) preset value.. 3999.96 BogoMIPS > (lpj=7999923) > CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) > CPU: L2 Cache: 1024K (64 bytes/line) > CPU1: M5 Simulator Fake M5 x86_64 CPU stepping 01 > Brought up 2 CPUs > Total of 2 processors activated (7999.92 BogoMIPS). > net_namespace: 888 bytes > NET: Registered protocol family 16 > PCI: Using configuration type 1 for base access > SCSI subsystem initialized > usbcore: registered new interface driver usbfs > usbcore: registered new interface driver hub > usbcore: registered new device driver usb > PCI: Probing PCI hardware > bus: 00 index 0 io port: [0x00-0xffff] > bus: 00 index 1 mmio: [0x000000-0xffffffffffffffff] > NET: Registered protocol family 2 > IP route cache hash table entries: 16384 (order: 5, 131072 bytes) > TCP established hash table entries: 65536 (order: 8, 1048576 bytes) > TCP bind hash table entries: 65536 (order: 8, 1048576 bytes) > TCP: Hash tables configured (established 65536 bind 65536) > TCP reno registered > NET: Registered protocol family 1 > platform rtc_cmos: registered platform RTC device (no PNP device found) > HugeTLB registered 2 MB page size, pre-allocated 0 pages > Installing knfsd (copyright (C) 1996 [email protected]). > msgmni has been set to 989 > io scheduler noop registered > io scheduler deadline registered > io scheduler cfq registered (default) > Real Time Clock Driver v1.12ac > Linux agpgart interface v0.103 > Serial: 8250/16550 driver4 ports, IRQ sharing disabled > serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 8250 > floppy0: no floppy controllers found > brd: module loaded > loop: module loaded > Intel(R) PRO/1000 Network Driver - version 7.3.20-k3-NAPI > Copyright (c) 1999-2006 Intel Corporation. > e100: Intel(R) PRO/100 Network Driver, 3.5.23-k6-NAPI > e100: Copyright(c) 1999-2006 Intel Corporation > tun: Universal TUN/TAP device driver, 1.6 > tun: (C) 1999-2004 Max Krasnyansky <[email protected]> > console [netcon0] enabled > netconsole: network logging started > Uniform Multi-Platform E-IDE driver > piix 0000:00:04.0: IDE controller (0x8086:0x7111 rev 0x00) > pci 0000:00:04.0: enabling device (0000 -> 0001) > piix 0000:00:04.0: not 100% native mode: will probe irqs later > ide0: BM-DMA at 0x1000-0x1007 > ide1: BM-DMA at 0x1008-0x100f > hda: M5 IDE Disk, ATA DISK drive > hdb: M5 IDE Disk, ATA DISK drive > hda: UDMA/33 mode selected > hdb: UDMA/33 mode selected > ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 > isa bounce pool size: 16 pages > ide1 at 0x170-0x177,0x376 on irq 15 > ide_generic: please use "probe_mask=0x3f" module parameter for probing all > legacy ISA IDE ports > ide-gd driver 1.18 > hda: max request size: 128KiB > hda: 1048320 sectors (536 MB), CHS=1040/16/63 > > > > Thanks, > > Jason > ______________________________**_________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/**mailman/listinfo/gem5-users<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
