【问题标题】:Pintos, make check failed. Run didn't start up properly: no "Pintos booting" messagePintos,检查失败。运行未正常启动:没有“Pintos booting”消息
【发布时间】:2017-11-02 05:41:17
【问题描述】:

发现有人在PintOS, kernel panic with -v option bochs on ubuntu之前问过相关问题

但是,我尝试过,但没有成功。 “pintos -- run alarm-multiple”看起来不错,但是当我做“make check”时

...... Run didn't start up properly: no "Pintos booting" message pintos -v -k -T 480 --bochs -- -q -mlfqs run mlfqs-block < /dev/null 2> tests/threads/mlfqs-block.errors > tests/threads/mlfqs-block.output perl -I../.. ../../tests/threads/mlfqs-block.ck tests/threads/mlfqs-block tests/threads/mlfqs-block.result FAIL tests/threads/mlfqs-block Run didn't start up properly: no "Pintos booting" message FAIL tests/threads/alarm-single FAIL tests/threads/alarm-multiple FAIL tests/threads/alarm-simultaneous FAIL tests/threads/alarm-priority FAIL tests/threads/alarm-zero FAIL tests/threads/alarm-negative FAIL tests/threads/priority-change FAIL tests/threads/priority-donate-one FAIL tests/threads/priority-donate-multiple FAIL tests/threads/priority-donate-multiple2 FAIL tests/threads/priority-donate-nest FAIL tests/threads/priority-donate-sema FAIL tests/threads/priority-donate-lower FAIL tests/threads/priority-fifo FAIL tests/threads/priority-preempt FAIL tests/threads/priority-sema FAIL tests/threads/priority-condvar FAIL tests/threads/priority-donate-chain FAIL tests/threads/mlfqs-load-1 FAIL tests/threads/mlfqs-load-60 FAIL tests/threads/mlfqs-load-avg FAIL tests/threads/mlfqs-recent-1 FAIL tests/threads/mlfqs-fair-2 FAIL tests/threads/mlfqs-fair-20 FAIL tests/threads/mlfqs-nice-2 FAIL tests/threads/mlfqs-nice-10 FAIL tests/threads/mlfqs-block 27 of 27 tests failed. ../../tests/Make.tests:26: recipe for target 'check' failed make: *** [check] Error 1

【问题讨论】:

    标签: linux operating-system bochs pintos


    【解决方案1】:

    我今天遇到了同样的问题,因为我试图将 qemu 设置为默认模拟器,所以我将 utils/pintos 中的第 103 行更改为

    $sim = "qemu" if !defined $sim;
    

    但我忘记将 threads/Make.vars 中的 SIMULATOR 值更改为

    SIMULATOR = --qemu
    

    由于我没有在我的机器上设置 bochs,make check 试图在其上运行测试,但如果无法启动。

    请注意,这是测试无法运行的一种情况,也可能是另一个原因,但因为

    pintos -- run alarm-multiple
    

    工作正常,我认为这可能与您遇到的问题相同。

    【讨论】:

      猜你喜欢
      • 2018-03-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-01-14
      • 1970-01-01
      相关资源
      最近更新 更多