第二个项目(用户程序)是否必须以不同的方式安装Pintos?每当我试图在我的安装上运行pintos -f -q时,我都会得到一个错误,其中Pintos无法识别参数"-f“。
Back to tcg accelerator.
PiLo hda1
Loading..........
Kernel command line: -f -q
Kernel PANIC at ../../threads/init.c:264 in parse_options(): unknown option `-f' (use -h for help)
Call stack: 0xc00283de.
The `backtrace' program can make call stacks useful.
Read "Backtraces" in the "Debugging Tools" chapter
of the Pintos documentation for more information.这就是所有参数都由Pintos:http://www.cse.iitd.ernet.in/~sbansal/csl373/pintos/doc/pintos_html/init_8c-source.html处理的地方,我在任何地方也找不到FILESYS的定义。有没有人能帮帮我?
发布于 2015-10-01 06:34:28
在utils/pintos中,将行号259更改为/home/<your home username>/<pintos dir>/src/userprog/build/kernel.bin
在utils/Pintos.pm中,将行号362更改为/home/<your home username>/<pintos dir>/src/userprog/build/loader.bin
再次在userprog,utils中运行make。
发布于 2014-01-05 20:13:51
遇到同样的问题,您需要在安装pintos时将内核和加载器指向userprog/build中的内核和加载器,而不是线程/build
https://stackoverflow.com/questions/20822969
复制相似问题