【问题标题】:PintOS Installation in Bochs在 Bochs 中安装 PintOS
【发布时间】:2017-09-24 16:50:12
【问题描述】:

过去几天我在 Bochs 安装 Pintos。一切都在“线程”目录中编译得很好,我也把所有的路径都设置好了。我在 build 目录中有 kernel.lo 和其他文件。

问题在于我运行的最后一个命令: pintos 运行多个警报

这会产生错误: 无法识别的字符 \x16;在 if ($

pintos脚本第911行的代码是:

# Calls setitimer to set a timeout, then execs what was passed to us.
sub exec_setitimer {
if (defined $timeout) {
if ($  ge 5.8.0) {
    eval "
          use Time::HiRes qw(setitimer ITIMER_VIRTUAL);
          setitimer (ITIMER_VIRTUAL, $timeout, 0);
        ";
} else {
    { exec ("setitimer-helper", $timeout, @_); };
    exit 1 if !$!{ENOENT};
    print STDERR "warning: setitimer-helper is not installed, so ",
      "CPU time limit will not be enforced\n";
}
}
exec (@_);
exit (1);
}

我正在使用 Debian-9 Stretch

【问题讨论】:

    标签: c linux pintos


    【解决方案1】:

    我在 ubuntu 中重复了相同的步骤,并且成功了。好像 pintos 在 Debian 上运行有问题。

    【讨论】:

      【解决方案2】:

      用 vim 打开 utils 目录中的 Pintos 文件,通过实际输入控制字符来替换字符“^V”。这应该可以解决它。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2014-11-16
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多