All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Can't open boot device for Solaris 8
@ 2016-08-29 19:02 Phillip Shin
  2016-08-30  9:14 ` Artyom Tarasenko
  0 siblings, 1 reply; 8+ messages in thread
From: Phillip Shin @ 2016-08-29 19:02 UTC (permalink / raw)
  To: qemu-devel

Hi,

I've been trying to install a Solaris 8 image using QEMU on a CentOS
machine this past week using mainly Artyom's blog (
http://tyom.blogspot.com/2009/12/solaris-under-qemu-how-to.html) and
neozeed's blog (
http://virtuallyfun.superglobalmegacorp.com/2010/10/03/formatting-disks-for-solaris/#comments),
but others here and there as well.
I've tried 2 different ISOs, from https://archive.org/details/sol-8-u7-ia
and https://winworldpc.com/product/sun-solaris/8 as I don't have access to
an official image. I got ss5.bin from Artyom's blog. I've cloned and
compiled the latest QEMU from git as per Artyom's blog's instruction.

Everything seems to run fine up until I'm at the ok prompt and try to run
boot disk2:d -vs I get the following message:
Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@2,0:d  File and
args: -vs
Bad magic number in disk label
Can't open disk label package

Can't open boot device

The following is the commands I used and the output the commands produced:
$ qemu-img create -f qcow2 36GB.disk 36G
Formatting '36GB.disk', fmt=qcow2 size=38654705664 encryption=off
cluster_size=65536 lazy_refcounts=off refcount_bits=16
$ qemu-system-sparc -bios ss5.bin -nographic -L . -hda 36GB.disk -m 256 -M
SS-5 -cdrom sol-8-u7-install-ia.iso

Power-ON Reset

$$$$$ WARNING: No Keyboard Detected! $$$$$
MMU Context Table Reg Test
MMU Context Register Test
MMU TLB Replace Ctrl Reg Tst
MMU Sync Fault Stat Reg Test
MMU Sync Fault Addr Reg Test
MMU TLB RAM NTA Pattern Test
    ERROR  : Address= 000000fc, exp= 07ffffdc, obs= 00000000, xor= 07ffffdc
initializing TLB
initializing cache

Allocating SRMMU Context Table
Setting SRMMU Context Register
Setting SRMMU Context Table Pointer Register
Allocating SRMMU Level 1 Table
Mapping RAM
Mapping ROM

ttya initialized
Probing Memory Bank #0 32 Megabytes
Probing Memory Bank #1 32 Megabytes
Probing Memory Bank #2 32 Megabytes
Probing Memory Bank #3 32 Megabytes
Probing Memory Bank #4 32 Megabytes
Probing Memory Bank #5 32 Megabytes
Probing Memory Bank #6 32 Megabytes
Probing Memory Bank #7 32 Megabytes
Incorrect configuration checksum;
Setting NVRAM parameters to default values.
Setting diag-switch? NVRAM parameter to true
Probing CPU FMI,MB86904
Probing /iommu@0,10000000/sbus@0,10001000 at 5,0  espdma esp sd st SUNW,bpp
ledma le
Probing /iommu@0,10000000/sbus@0,10001000 at 4,0  SUNW,CS4231
power-management
Probing /iommu@0,10000000/sbus@0,10001000 at 1,0  Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 2,0  Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 3,0  SUNW,tcx
Probing /iommu@0,10000000/sbus@0,10001000 at 0,0  Nothing there
Probing Memory Bank #0 32 Megabytes
Probing Memory Bank #1 32 Megabytes
Probing Memory Bank #2 32 Megabytes
Probing Memory Bank #3 32 Megabytes
Probing Memory Bank #4 32 Megabytes
Probing Memory Bank #5 32 Megabytes
Probing Memory Bank #6 32 Megabytes
Probing Memory Bank #7 32 Megabytes
Incorrect configuration checksum;
Setting NVRAM parameters to default values.
Setting diag-switch? NVRAM parameter to true
Probing CPU FMI,MB86904
Probing /iommu@0,10000000/sbus@0,10001000 at 5,0  espdma esp sd st SUNW,bpp
ledma le
Probing /iommu@0,10000000/sbus@0,10001000 at 4,0  SUNW,CS4231
power-management
Probing /iommu@0,10000000/sbus@0,10001000 at 1,0  Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 2,0  Nothing there
Probing /iommu@0,10000000/sbus@0,10001000 at 3,0  SUNW,tcx
Probing /iommu@0,10000000/sbus@0,10001000 at 0,0  Nothing there

SPARCstation 5, No Keyboard
ROM Rev. 2.15, 256 MB memory installed, Serial #1193046.
Ethernet address 52:54:0:12:34:56, Host ID: 80123456.



Boot device: /iommu/sbus/ledma@5,8400010/le@5,8c00000  File and args:
Internal loopback test -- Wrong packet length; expected 36, observed 64

Can't open boot device

Type  help  for more information

Then I'm at the ok prompt and try boot disk2:d -vs as mentioned above. This
is my first time attempting to do this, so any advice would be appreciated.
I've looked around many sites and tried different commands but the end
result is always the same. Could it be that the ISO I downloaded is faulty
or is there something else I'm missing? Thanks.

Best Regards,

Phillip

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] Can't open boot device for Solaris 8
  2016-08-29 19:02 [Qemu-devel] Can't open boot device for Solaris 8 Phillip Shin
@ 2016-08-30  9:14 ` Artyom Tarasenko
  2016-08-30 13:02   ` Phillip Shin
  0 siblings, 1 reply; 8+ messages in thread
From: Artyom Tarasenko @ 2016-08-30  9:14 UTC (permalink / raw)
  To: Phillip Shin; +Cc: qemu-devel

On Mon, Aug 29, 2016 at 9:02 PM, Phillip Shin <shin.phillip@gmail.com> wrote:
> Hi,
>
> I've been trying to install a Solaris 8 image using QEMU on a CentOS
> machine this past week using mainly Artyom's blog (
> http://tyom.blogspot.com/2009/12/solaris-under-qemu-how-to.html) and
> neozeed's blog (
> http://virtuallyfun.superglobalmegacorp.com/2010/10/03/formatting-disks-for-solaris/#comments),
> but others here and there as well.
> I've tried 2 different ISOs, from https://archive.org/details/sol-8-u7-ia
> and https://winworldpc.com/product/sun-solaris/8 as I don't have access to
> an official image. I got ss5.bin from Artyom's blog. I've cloned and
> compiled the latest QEMU from git as per Artyom's blog's instruction.
>
> Everything seems to run fine up until I'm at the ok prompt and try to run
> boot disk2:d -vs I get the following message:
> Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@2,0:d  File and
> args: -vs
> Bad magic number in disk label
> Can't open disk label package
>
> Can't open boot device
>
> The following is the commands I used and the output the commands produced:
> $ qemu-img create -f qcow2 36GB.disk 36G
> Formatting '36GB.disk', fmt=qcow2 size=38654705664 encryption=off
> cluster_size=65536 lazy_refcounts=off refcount_bits=16
> $ qemu-system-sparc -bios ss5.bin -nographic -L . -hda 36GB.disk -m 256 -M
> SS-5 -cdrom sol-8-u7-install-ia.iso


Looks like you are trying to install Solaris for Intel (ia)  machines
on a sun4m machine. For Intel Solaris you'd rather need
qemu-system-x86_64.

Artyom

-- 
Regards,
Artyom Tarasenko

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] Can't open boot device for Solaris 8
  2016-08-30  9:14 ` Artyom Tarasenko
@ 2016-08-30 13:02   ` Phillip Shin
  2016-08-30 13:18     ` Artyom Tarasenko
  0 siblings, 1 reply; 8+ messages in thread
From: Phillip Shin @ 2016-08-30 13:02 UTC (permalink / raw)
  To: Artyom Tarasenko; +Cc: qemu-devel

Thanks for replying! I configured with target-list=x86_64-softmmu and
called make again. Then I tried this command:
$ qemu-system-x86_64 -bios ss5.bin -nographic -L . -hda 36GB.disk -m 256 -M
SS-5 -cdrom sol-8-u7-install-ia.iso
qemu-system-x86_64: -bios ss5.bin: unsupported machine type
Use -machine help to list supported machines

So I listed the supported machines:
Supported machines are:
pc                   Standard PC (i440FX + PIIX, 1996) (alias of
pc-i440fx-2.7)
pc-i440fx-2.7        Standard PC (i440FX + PIIX, 1996) (default)
pc-i440fx-2.6        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.5        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.4        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.3        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.2        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.1        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.0        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.7        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.6        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.5        Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.4        Standard PC (i440FX + PIIX, 1996)
pc-1.3               Standard PC (i440FX + PIIX, 1996)
pc-1.2               Standard PC (i440FX + PIIX, 1996)
pc-1.1               Standard PC (i440FX + PIIX, 1996)
pc-1.0               Standard PC (i440FX + PIIX, 1996)
pc-0.15              Standard PC (i440FX + PIIX, 1996)
pc-0.14              Standard PC (i440FX + PIIX, 1996)
pc-0.13              Standard PC (i440FX + PIIX, 1996)
pc-0.12              Standard PC (i440FX + PIIX, 1996)
pc-0.11              Standard PC (i440FX + PIIX, 1996)
pc-0.10              Standard PC (i440FX + PIIX, 1996)
q35                  Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-2.7)
pc-q35-2.7           Standard PC (Q35 + ICH9, 2009)
pc-q35-2.6           Standard PC (Q35 + ICH9, 2009)
pc-q35-2.5           Standard PC (Q35 + ICH9, 2009)
pc-q35-2.4           Standard PC (Q35 + ICH9, 2009)
isapc                ISA-only PC
none                 empty machine

Now I've no clue which machine I'm supposed to use and how to change the
command. I've looked around and tried to change the command but I either
get the same message or it just hangs and I can only quit by closing the
terminal. Any advice on how to proceed is again appreciated!

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] Can't open boot device for Solaris 8
  2016-08-30 13:02   ` Phillip Shin
@ 2016-08-30 13:18     ` Artyom Tarasenko
  2016-08-30 14:23       ` Phillip Shin
  0 siblings, 1 reply; 8+ messages in thread
From: Artyom Tarasenko @ 2016-08-30 13:18 UTC (permalink / raw)
  To: Phillip Shin; +Cc: qemu-devel

On Tue, Aug 30, 2016 at 3:02 PM, Phillip Shin <shin.phillip@gmail.com> wrote:
> Thanks for replying! I configured with target-list=x86_64-softmmu and called
> make again. Then I tried this command:
> $ qemu-system-x86_64 -bios ss5.bin -nographic -L . -hda 36GB.disk -m 256 -M
> SS-5 -cdrom sol-8-u7-install-ia.iso
> qemu-system-x86_64: -bios ss5.bin: unsupported machine type
> Use -machine help to list supported machines

Just try

qemu-system-x86_64  -hda 36GB.disk -cdrom sol-8-u7-install-ia.iso -boot d

-- 
Regards,
Artyom Tarasenko

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] Can't open boot device for Solaris 8
  2016-08-30 13:18     ` Artyom Tarasenko
@ 2016-08-30 14:23       ` Phillip Shin
  2016-08-30 15:20         ` Artyom Tarasenko
  0 siblings, 1 reply; 8+ messages in thread
From: Phillip Shin @ 2016-08-30 14:23 UTC (permalink / raw)
  To: Artyom Tarasenko; +Cc: qemu-devel

Thanks that starts a new window and boots! Then it reaches:
SunOS Secondary Boot Version 3.00

prom_panic: Could not mount filesystem.

Entering boot debugger:
[131085]:

Thoughts on this issue? I've looked at a similar thread from 2004 but it
didn't help much.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] Can't open boot device for Solaris 8
  2016-08-30 14:23       ` Phillip Shin
@ 2016-08-30 15:20         ` Artyom Tarasenko
  2016-08-30 16:14           ` Phillip Shin
  0 siblings, 1 reply; 8+ messages in thread
From: Artyom Tarasenko @ 2016-08-30 15:20 UTC (permalink / raw)
  To: Phillip Shin; +Cc: qemu-devel

On Tue, Aug 30, 2016 at 4:23 PM, Phillip Shin <shin.phillip@gmail.com> wrote:
> Thanks that starts a new window and boots! Then it reaches:
> SunOS Secondary Boot Version 3.00
>
> prom_panic: Could not mount filesystem.
>
> Entering boot debugger:
> [131085]:
>
> Thoughts on this issue? I've looked at a similar thread from 2004 but it
> didn't help much.

On a second thought, the x86_64 was not there yet back at Solaris 8
times, so try

qemu-system-i386  -hda 36GB.disk -cdrom sol-8-u7-install-ia.iso -boot d



-- 
Regards,
Artyom Tarasenko

SPARC and PPC PReP under qemu blog: http://tyom.blogspot.com/search/label/qemu

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] Can't open boot device for Solaris 8
  2016-08-30 15:20         ` Artyom Tarasenko
@ 2016-08-30 16:14           ` Phillip Shin
  2016-09-06 18:36             ` Phillip Shin
  0 siblings, 1 reply; 8+ messages in thread
From: Phillip Shin @ 2016-08-30 16:14 UTC (permalink / raw)
  To: Artyom Tarasenko; +Cc: qemu-devel

I still get the same prom_panic with that command. I reconfigured with
--target-list=i386-softmmu and remade QEMU before trying the command.
Thoughts?

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Qemu-devel] Can't open boot device for Solaris 8
  2016-08-30 16:14           ` Phillip Shin
@ 2016-09-06 18:36             ` Phillip Shin
  0 siblings, 0 replies; 8+ messages in thread
From: Phillip Shin @ 2016-09-06 18:36 UTC (permalink / raw)
  To: Artyom Tarasenko; +Cc: qemu-devel

Turns out the iso was the issue, once I found a SPARC iso, it
booted/installed without issue. Thanks!

On Tue, Aug 30, 2016 at 12:14 PM, Phillip Shin <shin.phillip@gmail.com>
wrote:

> I still get the same prom_panic with that command. I reconfigured with
> --target-list=i386-softmmu and remade QEMU before trying the command.
> Thoughts?
>



-- 
Phillip Shin
B.S. Computer Science
Virginia Tech
Mobile: (703) 336-9500

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-09-06 18:36 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-29 19:02 [Qemu-devel] Can't open boot device for Solaris 8 Phillip Shin
2016-08-30  9:14 ` Artyom Tarasenko
2016-08-30 13:02   ` Phillip Shin
2016-08-30 13:18     ` Artyom Tarasenko
2016-08-30 14:23       ` Phillip Shin
2016-08-30 15:20         ` Artyom Tarasenko
2016-08-30 16:14           ` Phillip Shin
2016-09-06 18:36             ` Phillip Shin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.