我发现有人在PintOS, kernel panic with -v option bochs on ubuntu之前问了一个相关问题
但是,我尝试了一下,但没有成功。 “ pintos-运行警报多个”似乎很好,但是当我执行“ make check”时......Run didn't start up properly: no "Pintos booting" messagepintos -v -k -T 480 --bochs -- -q -mlfqs run mlfqs-block < /dev/null 2> tests/threads/mlfqs-block.errors > tests/threads/mlfqs-block.outputperl -I../.. ../../tests/threads/mlfqs-block.ck tests/threads/mlfqs-block tests/threads/mlfqs-block.resultFAIL tests/threads/mlfqs-blockRun didn't start up properly: no "Pintos booting" messageFAIL tests/threads/alarm-singleFAIL tests/threads/alarm-multipleFAIL tests/threads/alarm-simultaneousFAIL tests/threads/alarm-priorityFAIL tests/threads/alarm-zeroFAIL tests/threads/alarm-negativeFAIL tests/threads/priority-changeFAIL tests/threads/priority-donate-oneFAIL tests/threads/priority-donate-multipleFAIL tests/threads/priority-donate-multiple2FAIL tests/threads/priority-donate-nestFAIL tests/threads/priority-donate-semaFAIL tests/threads/priority-donate-lowerFAIL tests/threads/priority-fifoFAIL tests/threads/priority-preemptFAIL tests/threads/priority-semaFAIL tests/threads/priority-condvarFAIL tests/threads/priority-donate-chainFAIL tests/threads/mlfqs-load-1FAIL tests/threads/mlfqs-load-60FAIL tests/threads/mlfqs-load-avgFAIL tests/threads/mlfqs-recent-1FAIL tests/threads/mlfqs-fair-2FAIL tests/threads/mlfqs-fair-20FAIL tests/threads/mlfqs-nice-2FAIL tests/threads/mlfqs-nice-10FAIL tests/threads/mlfqs-block27 of 27 tests failed.../../tests/Make.tests:26: recipe for target 'check' failedmake: *** [check] Error 1
最佳答案
今天我遇到了同样的问题,这是因为我试图将qemu设置为默认模拟器,所以我将utils / pintos中的第103行更改为
$sim = "qemu" if !defined $sim;
但是我忘记将threads / Make.vars中的SIMULATOR值更改为
SIMULATOR = --qemu
由于未在计算机上安装bochs,因此
make check
试图在其上运行测试,但无法启动。请注意,这是测试无法运行的一种情况,这可能是另一个原因,但是由于
pintos -- run alarm-multiple
工作正常,我认为这可能是您遇到的相同问题。
关于linux - Pintos,使检查失败。运行未正确启动:没有“Pintos正在启动”消息,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/47068330/