首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在QEMU上仿真Solaris 10 SPARC

在QEMU上仿真Solaris 10 SPARC
EN

Stack Overflow用户
提问于 2019-04-04 21:27:47
回答 2查看 5.1K关注 0票数 2

我有一个旧的Solaris SPARC应用程序正在尝试运行。

我从这个问题那里了解到,x86 Solaris不会剪掉它。我最近了解到,virtualbox不能模仿SPARC架构。因此,我目前正在尝试使用QEMU来模拟Solaris 10 SPARC。

我已经从这里获得了Solaris 10 SPARC iso (sol-10-u11-ga-sparc-dvd.iso)。

我安装了Qemu 3.1.50。

然而,当我尝试跑步时,它给了我:

代码语言:javascript
复制
C:\Users\xxxx\Documents\CMARPS>"C:\Program Files\qemu\qemu-system-sparc64" -m 512 -cdrom "sol-10-u11-ga-sparc-dvd.iso" -boot d -nographic
OpenBIOS for Sparc64
Configuration device id QEMU version 1 machine id 0
kernel cmdline
CPUs: 1 x SUNW,UltraSPARC-IIi
UUID: 00000000-0000-0000-0000-000000000000
Welcome to OpenBIOS v1.1 built on Feb 15 2019 10:05
  Type 'help' for detailed information
Trying cdrom:f...
Not a bootable ELF image
Not a bootable a.out image

Loading FCode image...
Loaded 7420 bytes
entry point is 0x4000
Evaluating FCode...
Evaluating FCode...
Ignoring failed claim for va 1000000 memsz af6d6!
Ignoring failed claim for va 1402000 memsz 4dcc8!
Ignoring failed claim for va 1800000 memsz 510c8!
SunOS Release 5.10 Version Generic_147147-26 64-bit
Copyright (c) 1983, 2013, Oracle and/or its affiliates. All rights reserved.
could not find debugger-vocabulary-hook>threads:interpret: exception -13 caught
interpret \ Copyright (c) 1995-1999 by Sun Microsystems, Inc.
\ All rights reserved.
\
\ ident "@(#)data64.fth 1.3     00/07/17 SMI"

hex

only forth also definitions
vocabulary kdbg-words
also kdbg-words definitions

defer p@
defer p!
['] x@ is p@
['] x! is p!

8 constant ptrsize

d# 32 constant nbitsminor
h# ffffffff constant maxmin
\
\ Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
\ Use is subject to license terms.
\

\ #pragma ident "@(#)kdbg.fth   1.20    08/06/06 SMI"

h# 7ff constant v9bias
h# panic - kernel: no nucleus hblk8 to allocate
EXIT

试图引导我:

代码语言:javascript
复制
0 > boot
boot Not a Linux kernel image
Not a bootable ELF image
Not a bootable a.out image

Loading FCode image...
Unhandled Exception 0x00000000ffeb6080
PC = 0x00000000ffd27954 NPC = 0x00000000ffd27958
Stopping execution

要么是导致内核恐慌的原因,要么是我的iso实际上没有正确引导(?)

我以为iso实际上是32位的SPARC,所以我试了一下:

代码语言:javascript
复制
C:\Users\xxxx\Documents\CMARPS>"C:\Program Files\qemu\qemu-system-sparc" -m 256 -cdrom "sol-10-u11-ga-sparc-dvd.iso" -boot d -nographic
Configuration device id QEMU version 1 machine id 32
Probing SBus slot 0 offset 0
Probing SBus slot 1 offset 0
Probing SBus slot 2 offset 0
Probing SBus slot 3 offset 0
Probing SBus slot 4 offset 0
Probing SBus slot 5 offset 0
Invalid FCode start byte
CPUs: 1 x FMI,MB86904
UUID: 00000000-0000-0000-0000-000000000000
Welcome to OpenBIOS v1.1 built on Feb 15 2019 10:04
  Type 'help' for detailed information
Trying cdrom:d...
Not a bootable ELF image
Not a bootable a.out image
No valid state has been set by load or init-program

0 > boot
boot Trying cdrom:d...
Not a bootable ELF image
Not a bootable a.out image
No valid state has been set by load or init-program
 ok
0 >

我在这里做错什么了?

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2019-04-05 09:41:47

您试图运行的内存只有512 mb:

代码语言:javascript
复制
...qemu-system-sparc64" -m 512 ...

根据Oracle 10 1/13安装指南:系统要求和建议上安装和升级页面的规划

对于UFS或ZFS根文件系统,1.5GB是安装所需的最小内存。但是,请注意,只有在存在足够内存的情况下才启用某些可选安装功能。例如,如果您的系统内存不足,并且通过DVD安装,则通过Oracle Solaris安装程序的文本安装程序安装,而不是通过GUI安装。

票数 4
EN

Stack Overflow用户

发布于 2020-06-09 18:17:32

当前版本的QEMU (我上次用4.1测试)还不支持SPARC64系统。虽然指令集是受支持的,但是要运行OpenSolaris,其余的硬件也需要仿真。系统仿真代码尚未完成,但我在Git上看到了一些缓慢的进展。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/55525170

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档