Hi
I faced a panic error after loading a checkpoint for timing simulation

I used this command first:
mahmood@orca:gem5$ build/ALPHA_FS/m5.opt configs/example/fs.py -n 2
--script=configs/parsec/blackscholes_2c_simsmall_ckpts.rcS

Then a checkpoint was created.
mahmood@orca:gem5$ ls -R  m5out/
m5out/:
config.ini         first-run-output.txt   stats.txt
cpt.2280955395000  second-run-output.txt  system.terminal

m5out/cpt.2280955395000:
m5.cpt  system.disk0.image.cow  system.disk2.image.cow  system.physmem.physmem


Then I run this command for second run:
mahmood@orca:gem5$ build/ALPHA_FS/m5.opt configs/example/fs.py
--detailed --caches --l2cache --checkpoint-restore=1 -n 2

But I see this output

2287267311000: system.switch_cpus0.break_event: break event panic triggered
panic: Halt not implemented!
 @ cycle 2287345687500
[halt:build/ALPHA_FS/cpu/o3/cpu.hh, line 386]
Memory Usage: 278552 KBytes
Program aborted at cycle 2287345687500
Aborted

The output of terminal (while telneting to localhost 3456) is

Unable to handle kernel paging request at virtual address fffffc0000310d70
CPU 0 blackscholes(766): Oops -1
pc = [<fffffc0000310d70>]  ra = [<0000000120008a60>]  ps = 0000    Not tainted
pc is at entSys+0x0/0xc0
ra is at 0x120008a60
v0 = 000000000000004a  t0 = 0000000000000000  t1 = 0000000000000007
t2 = 0000020000829160  t3 = 0000000000000000  t4 = 00000200008297f8
t5 = 00000200008297fc  t6 = 0000000000000000  t7 = 0000000000000002
s0 = 00000200008290e0  s1 = 0000000000800000  s2 = 000000011f9279b0
s3 = 000000012007fa78  s4 = 0000000000002000  s5 = 0000000000800000
s6 = 000002000002a000
a0 = 000002000002a000  a1 = 0000000000002000  a2 = 0000000000000000
a3 = 0000000000000000  a4 = ffffffffffffffff  a5 = 0000000000000000
t8 = fffffc0007518000  t9 = 0000000120026480  t10= 0000000000000008
t11= 0000000000000010  pv = 0000000120001ba8  at = 0000000000000fff
gp = fffffc000085bf40  sp = fffffc0007517fd0
Trace:

Code: 211f3fff  a75da798  47c80108  47fe0410  a77df458  6bfb4674
<43d7153e> b41e0000
Unable to handle kernel paging request at virtual address fffffc0000310d70
CPU 0 script(759): Oops -1
pc = [<fffffc0000310d70>]  ra = [<000000012002f938>]  ps = 0000
Tainted: G      D
pc is at entSys+0x0/0xc0
ra is at 0x12002f938
v0 = 000000000000016d  t0 = 0000000000000000  t1 = 0000000000000004
t2 = 0000000120090960  t3 = 0000000000000000  t4 = 0000000000000000
t5 = 0000000000000002  t6 = 0000000000000007  t7 = 000000000000000f
s0 = ffffffffffffffff  s1 = 000000011fa41950  s2 = 0000000000000001
s3 = 000000012008923c  s4 = 0000000000000000  s5 = ffffffffffffffff
s6 = 0000000000000000
a0 = ffffffffffffffff  a1 = 000000011fa41950  a2 = 0000000000000001
a3 = 0000000000000000  a4 = 000002000007dcd0  a5 = 000000011fa40ac0
t8 = fffffc000763c000  t9 = 00000200000e53e0  t10= 0000000000000008
t11= 000000000000000a  pv = 00000200000e53a0  at = 0000000008b83168
gp = fffffc000085bf40  sp = fffffc000763bfd0
Trace:

Code: 211f3fff  a75da798  47c80108  47fe0410  a77df458  6bfb4674
<43d7153e> b41e0000
Unable to handle kernel paging request at virtual address fffffc0000310d70
CPU 0 init(758): Oops -1
pc = [<fffffc0000310d70>]  ra = [<00000200001d4ba4>]  ps = 0000
Tainted: G      D
pc is at entSys+0x0/0xc0
ra is at 0x200001d4ba4
v0 = 0000000000000036  t0 = 00000000000002f8  t1 = 0000000000000000
t2 = 0000000000000000  t3 = 0000000000000000  t4 = 0000000000000000
t5 = 0000000015161311  t6 = 00000000802c7414  t7 = 0000000000001c03
s0 = 00000000000002f7  s1 = 000000011f8fdb40  s2 = 0000000120060480
s3 = 0000000120060444  s4 = 0000000120060340  s5 = 0000000120051750
s6 = 0000000000000001
a0 = 0000000000000000  a1 = 0000000040047477  a2 = 000000011f8fd160
a3 = 0000000000000000  a4 = 0000020000141cd0  a5 = 0000000000000000
t8 = fffffc0007674000  t9 = 00000200001d5458  t10= 0000000000000008
t11= 0000000000000138  pv = 00000200001d5450  at = 000000000dcb105f
gp = fffffc000085bf40  sp = fffffc0007673fd0
Trace:

Code: 211f3fff  a75da798  47c80108  47fe0410  a77df458  6bfb4674
<43d7153e> b41e0000
Unable to handle kernel paging request at virtual address fffffc0000310d70
CPU 0 init(1): Oops -1
pc = [<fffffc0000310d70>]  ra = [<0000000120014070>]  ps = 0000
Tainted: G      D
pc is at entSys+0x0/0xc0
ra is at 0x120014070
v0 = 0000000000000030  t0 = 000000011f8fdac0  t1 = 0000000000080000
t2 = 0000000000000000  t3 = 0000000000000000  t4 = 0000000000000000
t5 = 00000000000000fe  t6 = 000000000000000f  t7 = 0000000000000003
s0 = 000000011f8fdac0  s1 = 000000011f8fdb40  s2 = 00000001200605c0
s3 = 0000000000000002  s4 = 0000000120060480  s5 = 0000000120051750
s6 = 0000000000000001
a0 = 0000000000000001  a1 = 0000000000080000  a2 = 000000011f8fdb40
a3 = 0000000000000000  a4 = 0000020000141cd0  a5 = 0000000000000000
t8 = fffffc0007054000  t9 = 0000020000140b0c  t10= 0000000000000008
t11= 0000000000000138  pv = 0000020000140ad4  at = 000000000921c2fd
gp = fffffc000085bf40  sp = fffffc0007053fd0
Trace:

Code: 211f3fff  a75da798  47c80108  47fe0410  a77df458  6bfb4674
<43d7153e> b41e0000
Kernel panic - not syncing: Attempted to kill init!


There are some posts on the mailing list about this problem.
http://comments.gmane.org/gmane.comp.emulators.m5.users/7615 for
example. It is stated there is a patch for that.

Any comment on that?
-- 
// Naderan *Mahmood;
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to