【问题标题】:Powerpc systemsim-p8 does not boot debian 64 in ubuntu 64 16.04 LTSPowerpc systemsim-p8 无法在 ubuntu 64 16.04 LTS 中启动 debian 64
【发布时间】:2018-09-25 20:51:42
【问题描述】:

我正在尝试在模拟中启动 debian ppc power8(或 7)。 我按照 [1] 中的说明进行操作。

我唯一能启动的是带有 mambo 内核的 ram 驱动器 ( initrd ),但它是一个封闭源代码。我对此无能为力。 因此,现在我尝试使用 [1] 中的 debian 映像磁盘从 [2] 启动 mambo 内核(具有 bigus 磁盘支持)。

内核设法安装驱动器,但我没有达到 [3] 中描述的登录。

[1]https://www14.software.ibm.com/webapp/set2/sas/f/pwrfs/pwrfsinstall.html.

[2]https://github.com/rpsene/linux.git

[3]

9415446: (688292884): [^[[32m  OK  ^[[0m] Reached target Local File Systems.
729612844: (688490282):          Starting LSB: Raise network interfaces....
730353740: (689231178):          Starting Trigger Flushing of Journal to Persistent Storage...
731308417: (690185857):          Starting Create Volatile Files and Directories...
736470477: (695348428): udev-finish (1378) used greatest stack depth: 10752 bytes left
753931943: (712810985): [^[[32m  OK  ^[[0m] Started Copy rules generated while the root was ro.
765419589: (724298838): [^[[32m  OK  ^[[0m] Started Trigger Flushing of Journal to Persistent Storage.
804041342: (762920770): [^[[32m  OK  ^[[0m] Started Create Volatile Files and Directories.
804330683: (763210111):          Starting Update UTMP about System Reboot/Shutdown...
815762188: (774642735): [^[[32m  OK  ^[[0m] Started Update UTMP about System Reboot/Shutdown.
817676182: (776556815): systemd-journald[1213]: Received request to flush runtime journal from PID 1
1076627432: (1035512412): [^[[32m  OK  ^[[0m] Started udev Coldplug all Devices.

【问题讨论】:

  • 内核/initrd 是否与 qemu-system-ppc64 一起工作?如果您谈论的是 debian 或 ubuntu,它有点模棱两可。为什么选择这个内核树?

标签: powerpc


【解决方案1】:

你试过这个https://github.com/open-power-sdk/power-simulator吗?这是我去年上传的版本。 (欢迎报告错误)。

此外,您还可以通过 https://minicloud.parqtec.unicamp.br/minicloud/ 获得免费的 Power VM

I have got the simulator up and running: 
https://pastebin.com/ibGPeEFu

cloudusr@mambo:~$ ssh root@172.19.98.109
The authenticity of host '172.19.98.109 (172.19.98.109)' can't be established.
ECDSA key fingerprint is SHA256:x4/jPYq6SggOeSPOlQaxJlucih6elJLqog+i4P/euxY.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '172.19.98.109' (ECDSA) to the list of known hosts.
root@172.19.98.109's password:

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debianle:~# cat /proc/cpuinfo
processor   : 0
cpu     : POWER9 (raw), altivec supported
clock       : 2000.000000MHz
revision    : 2.0 (pvr 004e 0200)

timebase    : 512000000
platform    : PowerNV
model       : Mambo,Simulated-System
machine     : PowerNV Mambo,Simulated-System
firmware    : OPAL

【讨论】:

  • raz@localhost:~/power-simulator$ ./dev install Traceback(最近一次调用最后一次):文件“./setup.py”,第 24 行,来自 pip.req 的 import parse_requirements ImportError: No module named req Traceback (last recent call last): File "./setup.py", line 24, in from pip.req import parse_requirements ImportError: No module named req [sudo] password for raz :/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/__init__.py:83:RequestsDependencyWarning:旧版本的密码学([1、2、3])可能会导致速度变慢。
  • 尝试以root身份运行,sudo -i。
【解决方案2】:

我已经用 ubuntu 用户空间启动了很多次 systemsim。你有我可以尝试的磁盘映像的副本吗? sim 用户空间是 LE 还是 BE?

【讨论】:

    猜你喜欢
    • 2017-08-17
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-02-18
    • 2014-01-29
    • 1970-01-01
    • 2017-06-28
    • 1970-01-01
    相关资源
    最近更新 更多