Hello Wendy,


I set the tXP parameter of the memory, and can successful run gem5 SE mode.



But there are still some problems, when run FS mode.



After I use the command “build/X86/gem5.opt configs/example/fs.py
--kernel=x86_64-vmlinux-3.4.112 --disk-image=linux-x86.img
--mem-type=GDDR5_4000_x64 --cpu-type=TimingSimpleCPU
--script=/home/lab/try/rivertower.sh”, it will show some normal message,
but it will stop at one message and doesn’t dump gem5.



The main Terminal show,



gem5 Simulator System.  http://gem5.org

gem5 is copyrighted software; use the --copyright option for details.



gem5 compiled Nov  7 2018 03:18:55

gem5 started Nov  7 2018 05:39:37

gem5 executing on lab-All-Series, pid 9042

command line: build/X86/gem5.opt configs/example/fs.py
--kernel=x86_64-vmlinux-3.4.112 --disk-image=linux-x86.img
--mem-type=GDDR5_4000_x64 --cpu-type=TimingSimpleCPU
--script=/home/lab/try/rivertower.sh



Global frequency set at 1000000000000 ticks per second

warn: DRAM device capacity (256 Mbytes) does not match the address range
assigned (512 Mbytes)

info: kernel located at:
/home/lab/full_system_images/x86/binaries/x86_64-vmlinux-3.4.112

Listening for com_1 connection on port 3456

      0: rtc: Real-time clock set to Sun Jan  1 00:00:00 2012

0: system.remote_gdb: listening for remote gdb on port 7000

warn: Reading current count from inactive timer.

**** REAL SIMULATION ****

info: Entering event queue @ 0.  Starting simulation...

warn: x86 cpuid family 0x0000: unimplemented function 6

warn: x86 cpuid family 0x0000: unimplemented function 6

warn: x86 cpuid family 0x0000: unimplemented function 6

warn: x86 cpuid family 0x0000: unimplemented function 6

warn: x86 cpuid family 0x0000: unimplemented function 6

warn: x86 cpuid family 0x0000: unimplemented function 6

warn: x86 cpuid family 0x0000: unimplemented function 6

warn: Don't know what interrupt to clear for console.

warn: instruction 'wbinvd' unimplemented

727596018000: system.pc.com_1.device: attach terminal 0

warn: x86 cpuid family 0x0000: unimplemented function 6

warn: x86 cpuid family 0x0000: unimplemented function 6

warn: x86 cpuid family 0x0000: unimplemented function 6

warn: x86 cpuid family 0x0000: unimplemented function 6

warn: x86 cpuid family 0x0000: unimplemented function 6

warn: x86 cpuid family 0x0000: unimplemented function 6

warn: x86 cpuid family 0x0000: unimplemented function 6

warn: x86 cpuid family 0x0000: unimplemented function 5

warn: Tried to clear PCI interrupt 14

warn: Write to unknown i8042 (keyboard controller) command port.

hack: Assuming logical destinations are 1 << id.

warn: Unknown mouse command 0xe1.





And the m5term terminal show some message, but the message is too long, I
just present the last message.





---

input: AT Translated Set 2 keyboard as
/devices/platform/i8042/serio0/input/input0

device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised:
[email protected]

input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input1

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

oprofile: using timer interrupt.

TCP: cubic registered

NET: Registered protocol family 10

IPv6 over IPv4 tunneling driver

NET: Registered protocol family 17

console [netcon0] enabled

netconsole: network logging started

13VFS: Cannot open root device "hda1" or unknown-block(3,1): error -6

Please append a correct "root=" boot option; here are the available
partitions:

0300        11168768 hda  driver: ide-gd

0340         2088960 hdb  driver: ide-gd

Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(3,1)

Pid: 1, comm: swapper/0 Not tainted 3.4.112 #1

Call Trace:

[<ffffffff81467841>] ? panic+0xbf/0x1ae

[<ffffffff816e1e97>] ? mount_block_root+0x16d/0x20c

[<ffffffff810ee910>] ? sys_mknodat+0xb0/0x1f0

[<ffffffff816e218d>] ? mount_root+0x139/0x142

[<ffffffff816e2d47>] ? initrd_load+0x329/0x32f

[<ffffffff816e22f9>] ? prepare_namespace+0x163/0x199

[<ffffffff816e1c13>] ? kernel_init+0x180/0x185

[<ffffffff814749d4>] ? kernel_thread_helper+0x4/0x10

[<ffffffff816e1a93>] ? start_kernel+0x31c/0x31c

[<ffffffff814749d0>] ? gs_change+0xb/0xb



---



It has run two or three hours, but it just stop there and doesn’t dump.



Look forward to hearing from you.



Respectfully yours, Yo-Xian,Wang

王宥憲 <[email protected]> 於 2018年10月31日 週三 上午6:41寫道:

> Hello everyone,
>
> I want to use "GDDR5_4000_2x32" memory type on gem5 SE mode and FS mode.
>
> I can successfully use it when doesn't any cpu type, just use default
> value.
>
> But there will show some error when memory type chose "GDDR5_4000_2x32"
> and cpu type chose "TimingSimpleCPU" at the same time.
>
>
> gem5 Simulator System.  http://gem5.org
> gem5 is copyrighted software; use the --copyright option for details.
>
> gem5 compiled Oct 31 2018 04:53:40
> gem5 started Oct 31 2018 05:07:52
> gem5 executing on lab-All-Series, pid 15813
> command line: build/X86/gem5.opt configs/example/se.py -c
> /home/lab/try/a.out --mem-type=ScratchpadMemoryDRAM
> --cpu-type=TimingSimpleCPU
>
> Global frequency set at 1000000000000 ticks per second
> warn: DRAM device capacity (1024 Mbytes) does not match the address range
> assigned (512 Mbytes)
> 0: system.remote_gdb: listening for remote gdb on port 7000
> **** REAL SIMULATION ****
> info: Entering event queue @ 0.  Starting simulation...
> gem5.opt: build/X86/mem/dram_ctrl.cc:2113: void
> DRAMCtrl::Rank::processWakeUpEvent(): Assertion `(pwrState == PWR_ACT_PDN)
> || (pwrState == PWR_PRE_PDN) || (pwrState == PWR_SREF)' failed.
> Program aborted at tick 123000
> --- BEGIN LIBC BACKTRACE ---
> build/X86/gem5.opt(_Z15print_backtracev+0x28)[0xe1f5f8]
> build/X86/gem5.opt(_Z12abortHandleri+0x46)[0xe32b66]
> /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f9191d64390]
> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f91903c6428]
> /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f91903c802a]
> /lib/x86_64-linux-gnu/libc.so.6(+0x2dbd7)[0x7f91903bebd7]
> /lib/x86_64-linux-gnu/libc.so.6(+0x2dc82)[0x7f91903bec82]
> build/X86/gem5.opt[0xcdfdeb]
> build/X86/gem5.opt(_ZN10EventQueue10serviceOneEv+0xd5)[0xe26555]
> build/X86/gem5.opt(_Z9doSimLoopP10EventQueue+0x48)[0xe3f878]
> build/X86/gem5.opt(_Z8simulatem+0xce3)[0xe40913]
> build/X86/gem5.opt[0xe0845d]
> build/X86/gem5.opt[0x96c3dc]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x7852)[0x7f9192021772]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[0x7f919215805c]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6ffd)[0x7f9192020f1d]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[0x7f919215805c]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6ffd)[0x7f9192020f1d]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[0x7f919215805c]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6ffd)[0x7f9192020f1d]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[0x7f919215805c]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7f9192019da9]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x613b)[0x7f919202005b]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[0x7f919215805c]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x6ffd)[0x7f9192020f1d]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCodeEx+0x85c)[0x7f919215805c]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyEval_EvalCode+0x19)[0x7f9192019da9]
>
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0(PyRun_StringFlags+0x76)[0x7f91920941f6]
> build/X86/gem5.opt(_Z6m5MainiPPc+0x8f)[0xe3152f]
> build/X86/gem5.opt(main+0x33)[0x6b9ad3]
> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f91903b1830]
> build/X86/gem5.opt(_start+0x29)[0x6db809]
> --- END LIBC BACKTRACE ---
> 已經終止 (core dumped)
>
> My gem5 clone from "http://repo.gem5.org/gem5"; and I don't change any
> file.
>
> My compiler is gcc 6 and OS version is ubuntu 16.04.5 LTS.
>
> Can anyone help me?
> Look forward to hearing from you.
>
> Respectfully yours, Yo-Xian,Wang
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> 不含病毒。www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_9058575449372618754_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to