Hi Patrick,

It might not be what you are looking for, but just in case… if you want the 
latest linux kernel you should be just fine with ARM (aarch64). There are lots 
of people using ARM full system so there should also be plenty help available 
if needed.

Andreas

From: Patrick via gem5-users <[email protected]<mailto:[email protected]>>
Reply-To: Patrick <[email protected]<mailto:[email protected]>>, gem5 users 
mailing list <[email protected]<mailto:[email protected]>>
Date: Thursday, 5 March 2015 22:28
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: Re: [gem5-users] Linux kernel

Just to offer an update, I was able to build kernel version 2.6.28.4 by rolling 
back to gcc 3.4. When I try to run gem5 in FS mode with this kernel, though, I 
get this error:

Kernel panic - not syncing: Attempted to kill the idle task!

It looks like this error has come up in past discussions on the gem5 boards, so 
I will look over those. (Sorry for sidetracking the conversation. I will 
eventually like to look into newer versions of the kernel, but I figured 
starting with an older, known working version of the kernel was a good starting 
point.)

-Patrick

On Thu, Mar 5, 2015 at 10:53 AM, Patrick 
<[email protected]<mailto:[email protected]>> wrote:
Konstantinos,

I tried running the latest stable version (3.19). It built succesfully from 
source, but when I tried to run it, I got the following error:

panic: Resetting mouse wrap mode unimplemented.
 @ tick 928089856500
[processData:build/X86/dev/x86/i8042.cc, line 258]
Memory Usage: 1084128 KBytes
Program aborted at cycle 928089856500
Aborted (core dumped)

​I t​ried building two of the versions of the kernel for which there are 
configuration files provided for x86 on the gem5 wiki 
(here<http://www.m5sim.org/Linux_kernel>). This included versions 2.6.22.9 and 
2.6.28.4. When I tried building 2.6.22.9, I got this error:


In file included from arch/x86_64/kernel/asm-offsets.c:7:0:
include/linux/crypto.h:20:24: fatal error: asm/atomic.h: No such file or 
directory

When I tried to build 2.6.28.4, I got this error:

gcc: error: unrecognized command line option ‘-m’
gcc: error: elf_x86_64: No such file or directory

From reading discussion boards about building the kernel, I think these errors 
might mean I need to roll back my toolchain to build these previous versions of 
the kernel. However, I have little experience with building kernels, so I need 
to do more reading about this.

Just thought I'd share my experience, as it sounds like we are working on 
similar problems.

I had had a brief discussion with another individual on this message board a 
long time ago on the related topic of creating a disk image for gem5 
(link<http://www.mail-archive.com/gem5-users%40gem5.org/msg10731.html>). This 
discussion had lead me to the script gem5/gem5img.py, but I haven't yet gotten 
around to revisiting that to learn more about it.

I'd be interested in any updates you might have on this.

Thanks,
Patrick

On Sat, Feb 14, 2015 at 2:40 AM, Konstadinos PARASYRIS via gem5-users 
<[email protected]<mailto:[email protected]>> wrote:

Hi,

Has anyone successfully executed a kernel 3.2 or newer under X86 full system 
simulation?


Konstantinos Parasyris

_______________________________________________
gem5-users mailing list
[email protected]<mailto:[email protected]>
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users



-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to