Kernel modules don't go in /bin, although I couldn't say for sure where
they *are* supposed to go. That will be the same as it would be on a
real system, so you can look for that in Linux kernel documentation. You
should read this to get started working with disk images.

http://gem5.org/Disk_images

Gabe

On 07/21/11 20:02, Guangyi Cao wrote:
> Dear M5,
> I intend to incorporate a loadable kernel module in my linux file
> system using X86_FS mode. I guess to do this I have to compile a file
> system with this module so that this module can be installed in /bin
> and ready to use.
>  I saw a link  http://www.m5sim.org/dist/current/linux-dist.tgz under
> ALPHA category saying it contains everything you need to create your
> own disk image and compile everything in it from scratch. But I am not
> sure if it is OK for X86 as well and I really have no clue how to use
> it since I am a newbie in kernel development. My current situation is
> I can build x86_fs mode for M5 and I can compile and run simple code
> like helloworld under x86_FS. Can anybody give me a hint on this?
> Thanks!
> Guangyi Cao
>
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

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

Reply via email to