Hello,

I have been following the building kernel turotial in
http://www.gem5.org/BBench-gem5. I intend to apply m5struct.diff patch
to it so I can integrate gem5 with streamline.

I use git clone git://linux-arm.org/linux-2.6-armdroid.git -b
2.6.35-armdroid this kernel and built with make ARCH=arm
CROSS_COMPILE=arm-none-linux-gnueabi- -j4 vmlinux
EXTRA_CFLAGS=-mno-unaligned-access, with config file from
http://bbench.eecs.umich.edu/bbench/vmlinux_and_config_arm.tgz.

However, even without patching, the freshly compiled kernel does not
work( the pre-compiled version that comes with the config file works,
however that does not allow me to apply patch to it)

14998121000: system.cpu.break_event: break event panic triggered
14998121500: system.cpu.break_event: break event panic triggered
14998122000: system.cpu.break_event: break event panic triggered
14998122500: system.cpu.break_event: break event panic triggered
14998123000: system.cpu.break_event: break event panic triggered

Furthur, even if I apply the m5struct.diff to the
linux-2.6-armdroid/kernel directory, the warning relates to it still
shows up.

warn: Unable to find kernel symbol task_struct_pid
warn: Kernel not compiled with task_struct info; can't get currently
executing task/process/thread name/ids!

I would really appreciate it if somebody can give me a hand.

Thanks,
Dao

-- 
Dao Lu
Graduate Student
Research Assistant
University of Illinois at Urbana-Champaign
(219)-208-5115
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to