Re: [Qemu-discuss] SunOS 4.1.4 on Qemu 2.10.0 on Mac OS X 10.12.6 on mid 2012 Intel MBP w/16GB RAM

2017-10-07 Thread Will Senn
After much trial and error and after being reenergized by Mike's 
confirmation that it wasn't hopeless, I figured out what the problem was 
- apparently unselecting the ethernet device before setting it causes 
the install to misconfigure the nic and this causes the rpc problem 
during boot. Instead, just click x to select le0 even though it is 
already selected and then provide your ip address. With 'ansi' chosen as 
the terminal, there are some weird behaviors, 'xterms' is a better 
choice of terminal.


Thanks,

Will

On 10/6/17 2:23 PM, Mike Russo wrote:

I followed the instructions in the wiki and it worked for me.


/usr/local/bin/qemu-system-sparc --version

QEMU emulator version 2.9.0

Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

/usr/local/bin/qemu-system-sparc -monitor tcp::,server,nowait -bios 
ss5-170.bin -m 32 -nographic -hda sunos414.img


qemu-system-sparc: -hda sunos414.img: warning: bus=0,unit=0 is deprecated with 
this machine type


Power-ON Reset



MB86907 POST 2.2.3 03SEP96


Probing system memory: 32  0  0  0  0  0  0  0

Config = 8802

0Kb ecache detected


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 Nothing there

Probing Memory Bank #2 Nothing there

Probing Memory Bank #3 Nothing there

Probing Memory Bank #4 Nothing there

Probing Memory Bank #5 Nothing there

Probing Memory Bank #6 Nothing there

Probing Memory Bank #7 Nothing there

Incorrect configuration checksum;

Setting NVRAM parameters to default values.

Setting diag-switch? NVRAM parameter to true

Probing CPU FMI,MB86907

Probing 
/iommu@0,1000/sbus@0,10001000 at 
5,0  espdma esp sd st SUNW,bpp ledma le

Probing 
/iommu@0,1000/sbus@0,10001000 at 
4,0  SUNW,CS4231 power-management

Probing 
/iommu@0,1000/sbus@0,10001000 at 
1,0  Nothing there

Probing 
/iommu@0,1000/sbus@0,10001000 at 
2,0  Nothing there

Probing 
/iommu@0,1000/sbus@0,10001000 at 
3,0  SUNW,tcx

Probing 
/iommu@0,1000/sbus@0,10001000 at 
0,0  Nothing there

Probing Memory Bank #0 32 Megabytes

Probing Memory Bank #1 Nothing there

Probing Memory Bank #2 Nothing there

Probing Memory Bank #3 Nothing there

Probing Memory Bank #4 Nothing there

Probing Memory Bank #5 Nothing there

Probing Memory Bank #6 Nothing there

Probing Memory Bank #7 Nothing there

Incorrect configuration checksum;

Setting NVRAM parameters to default values.

Setting diag-switch? NVRAM parameter to true

Probing CPU FMI,MB86907

Probing 
/iommu@0,1000/sbus@0,10001000 at 
5,0  espdma esp sd st SUNW,bpp ledma le

Probing 
/iommu@0,1000/sbus@0,10001000 at 
4,0  SUNW,CS4231 power-management

Probing 
/iommu@0,1000/sbus@0,10001000 at 
1,0  Nothing there

Probing 
/iommu@0,1000/sbus@0,10001000 at 
2,0  Nothing there

Probing 
/iommu@0,1000/sbus@0,10001000 at 
3,0  SUNW,tcx

Probing 
/iommu@0,1000/sbus@0,10001000 at 
0,0  Nothing there


SPARCstation 5, No Keyboard

ROM Rev. 2.29, 32 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,8c0
  File and args:

Internal loopback test -- Wrong packet length; expected 36, observed 64


Can't open boot device


Type  help  for more information

ok boot disk0

Boot device: 
/iommu/sbus/espdma@5,840/esp@5,880/sd@0,0
  File and args:

root on 
/iommu@0,1000/sbus@0,10001000/espdma@5,840/esp@5,880/sd@0,0:a
 fstype 4.2

Boot: vmunix

Size: 1548288+463688+225704 bytes

VAC ENABLED

SunOS Release 4.1.4 (GENERIC) #2: Fri Oct 14 11:09:47 PDT 1994

Copyright (c) 1983-1993, Sun Microsystems, Inc.

cpu = SUNW,SPARCstation-5

mod0 = FMI,MB86907 (mid = 0)

mem = 32396K (0x1fa3000)

avail mem = 28839936

entering uniprocessor mode

Ethernet address = 52:54:0:12:34:56

espdma0 at  SBus slot 5 0x840

esp0 at  SBus slot 5 0x880 pri 4 (onboard)

sd3:non-CCS device found at target 0 lun 0 on esp0

sd3 at esp0 target 0 lun 0

sd3: 

Warning! System Clock freq out of range!

ledma0 at  SBus slot 5 0x8400010


Re: [Qemu-discuss] SunOS 4.1.4 on Qemu 2.10.0 on Mac OS X 10.12.6 on mid 2012 Intel MBP w/16GB RAM

2017-10-06 Thread Mike Russo
I followed the instructions in the wiki and it worked for me.


/usr/local/bin/qemu-system-sparc --version

QEMU emulator version 2.9.0

Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers

/usr/local/bin/qemu-system-sparc -monitor tcp::,server,nowait -bios 
ss5-170.bin -m 32 -nographic -hda sunos414.img


qemu-system-sparc: -hda sunos414.img: warning: bus=0,unit=0 is deprecated with 
this machine type


Power-ON Reset



MB86907 POST 2.2.3 03SEP96


Probing system memory: 32  0  0  0  0  0  0  0

Config = 8802

0Kb ecache detected


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 Nothing there

Probing Memory Bank #2 Nothing there

Probing Memory Bank #3 Nothing there

Probing Memory Bank #4 Nothing there

Probing Memory Bank #5 Nothing there

Probing Memory Bank #6 Nothing there

Probing Memory Bank #7 Nothing there

Incorrect configuration checksum;

Setting NVRAM parameters to default values.

Setting diag-switch? NVRAM parameter to true

Probing CPU FMI,MB86907

Probing 
/iommu@0,1000/sbus@0,10001000 at 
5,0  espdma esp sd st SUNW,bpp ledma le

Probing 
/iommu@0,1000/sbus@0,10001000 at 
4,0  SUNW,CS4231 power-management

Probing 
/iommu@0,1000/sbus@0,10001000 at 
1,0  Nothing there

Probing 
/iommu@0,1000/sbus@0,10001000 at 
2,0  Nothing there

Probing 
/iommu@0,1000/sbus@0,10001000 at 
3,0  SUNW,tcx

Probing 
/iommu@0,1000/sbus@0,10001000 at 
0,0  Nothing there

Probing Memory Bank #0 32 Megabytes

Probing Memory Bank #1 Nothing there

Probing Memory Bank #2 Nothing there

Probing Memory Bank #3 Nothing there

Probing Memory Bank #4 Nothing there

Probing Memory Bank #5 Nothing there

Probing Memory Bank #6 Nothing there

Probing Memory Bank #7 Nothing there

Incorrect configuration checksum;

Setting NVRAM parameters to default values.

Setting diag-switch? NVRAM parameter to true

Probing CPU FMI,MB86907

Probing 
/iommu@0,1000/sbus@0,10001000 at 
5,0  espdma esp sd st SUNW,bpp ledma le

Probing 
/iommu@0,1000/sbus@0,10001000 at 
4,0  SUNW,CS4231 power-management

Probing 
/iommu@0,1000/sbus@0,10001000 at 
1,0  Nothing there

Probing 
/iommu@0,1000/sbus@0,10001000 at 
2,0  Nothing there

Probing 
/iommu@0,1000/sbus@0,10001000 at 
3,0  SUNW,tcx

Probing 
/iommu@0,1000/sbus@0,10001000 at 
0,0  Nothing there


SPARCstation 5, No Keyboard

ROM Rev. 2.29, 32 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,8c0
  File and args:

Internal loopback test -- Wrong packet length; expected 36, observed 64


Can't open boot device


Type  help  for more information

ok boot disk0

Boot device: 
/iommu/sbus/espdma@5,840/esp@5,880/sd@0,0
  File and args:

root on 
/iommu@0,1000/sbus@0,10001000/espdma@5,840/esp@5,880/sd@0,0:a
 fstype 4.2

Boot: vmunix

Size: 1548288+463688+225704 bytes

VAC ENABLED

SunOS Release 4.1.4 (GENERIC) #2: Fri Oct 14 11:09:47 PDT 1994

Copyright (c) 1983-1993, Sun Microsystems, Inc.

cpu = SUNW,SPARCstation-5

mod0 = FMI,MB86907 (mid = 0)

mem = 32396K (0x1fa3000)

avail mem = 28839936

entering uniprocessor mode

Ethernet address = 52:54:0:12:34:56

espdma0 at  SBus slot 5 0x840

esp0 at  SBus slot 5 0x880 pri 4 (onboard)

sd3:non-CCS device found at target 0 lun 0 on esp0

sd3 at esp0 target 0 lun 0

sd3: 

Warning! System Clock freq out of range!

ledma0 at  SBus slot 5 0x8400010

le0 at  SBus slot 5 0x8c0 pri 6 (onboard)

SUNW,CS42310 at  SBus slot 4 0xc00 pri 9 (sbus level 5)

SUNW,tcx0 at  SBus slot 3 0x80 and  SBus slot 3 0x200 and  SBus slot 3 
0x400 and  SBus slot 3 0x600 and  SBus slot 3 0xa00 and  SBus slot 
3 0xc00 and  SBus slot 3 0xe00 and  SBus slot 3 0x701000 and  SBus slot 
3 0x20 and  SBus slot 3 0x30 and  SBus slot 3 0x0 and  SBus slot 3 
0x24 and  SBus slot 3 0x28 pri 9 (sbus level 5)

tcx0: revision 0, screen 1024x768

zs0 at  SBus slot 5 0x110 pri 12 (onboard)

zs1 

Re: [Qemu-discuss] SunOS 4.1.4 on Qemu 2.10.0 on Mac OS X 10.12.6 on mid 2012 Intel MBP w/16GB RAM

2017-10-05 Thread Dennis Luehring
then you need to wait for Michael Russo who wants "now to play with in 
my spare time, I'll see if I run into the same issue." or ask
Artyom Tarasenko 
(http://tyom.blogspot.de/2009/12/solaris-under-qemu-how-to.html) for 
help - he once helped to get linux on sparc64 running and was very helpfull


Am 06.10.2017 um 07:24 schrieb Will Senn:

I did that as well, but got the same errors - here's the version I'm
running now on Fedora 26.

qemu-system-sparc --version
QEMU emulator version 2.10.50 (v2.10.0-991-gd147f7e815)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers


On 10/6/17 12:18 AM, Dennis Luehring wrote:
> first i would should build lastest qemu release from source - and test 
> with that version - its very easy

>
> you only need some additional packages to build
>
> https://www.qemu.org/download/#source
> https://gns3.com/news/article/how-to-compile-qemu-2-2-0-in-ubu
>
> no need for install - just make
>
>
> Am 04.10.2017 um 01:20 schrieb Will Senn:
>> Hi,
>>
>> I heard on the TUHs mailing list that it was possible to emulate sparc
>> on qemu and further that you could run SunOS. So, I did the following:
>>
>> brew install qemu - which got qemu on my mac
>>
>> rounded up the sunos 4.1.4 install media and the sparcstation 5 version
>> 2.15 boot prom
>>
>> and then followed the directions (and a bunch of variations) at
>> https://en.wikibooks.org/wiki/QEMU/SunOS_4.1.4
>>
>> When I got to the post-install reboot, the VM booted up to the point
>> where it was starting network services and then reported a bunch of,
>> "rpc.lockd: Cannot contact status monitor!" and hung. I thought maybe it
>> was environmental, but I got the same errors on Linux Mint 18 with qemu
>> 1.7, 2.0, and 2.14 as well as on FreeBSD with qemu 2.8.1, so I'm asking
>> for help.
>>
>> First question - is there a better/more up-to-date guide than what's on
>> the wiki (I googled but didn't find anything better)?
>>
>> Second question - any idea why the error is happening or how to make it
>> stop (google returned a bunch of Sun notes saying stop and restart rpc,
>> but this isn't really helpful as it happens during boot and it hangs
>> without letting me make any changes)?
>>
>> Third question - has anyone heard of this working on modern hardware and
>> software configurations (the Wiki article is pretty old and the few
>> videos I saw on youtube were Crunchbang - circa Ubuntu 8?
>>
>> Any substantive help appreciated.
>>
>> Thanks,
>>
>> Will
>>
>
>






Re: [Qemu-discuss] SunOS 4.1.4 on Qemu 2.10.0 on Mac OS X 10.12.6 on mid 2012 Intel MBP w/16GB RAM

2017-10-05 Thread Will Senn
I did that as well, but got the same errors - here's the version I'm 
running now on Fedora 26.


qemu-system-sparc --version
QEMU emulator version 2.10.50 (v2.10.0-991-gd147f7e815)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers


On 10/6/17 12:18 AM, Dennis Luehring wrote:
first i would should build lastest qemu release from source - and test 
with that version - its very easy


you only need some additional packages to build

https://www.qemu.org/download/#source
https://gns3.com/news/article/how-to-compile-qemu-2-2-0-in-ubu

no need for install - just make


Am 04.10.2017 um 01:20 schrieb Will Senn:

Hi,

I heard on the TUHs mailing list that it was possible to emulate sparc
on qemu and further that you could run SunOS. So, I did the following:

brew install qemu - which got qemu on my mac

rounded up the sunos 4.1.4 install media and the sparcstation 5 version
2.15 boot prom

and then followed the directions (and a bunch of variations) at
https://en.wikibooks.org/wiki/QEMU/SunOS_4.1.4

When I got to the post-install reboot, the VM booted up to the point
where it was starting network services and then reported a bunch of,
"rpc.lockd: Cannot contact status monitor!" and hung. I thought maybe it
was environmental, but I got the same errors on Linux Mint 18 with qemu
1.7, 2.0, and 2.14 as well as on FreeBSD with qemu 2.8.1, so I'm asking
for help.

First question - is there a better/more up-to-date guide than what's on
the wiki (I googled but didn't find anything better)?

Second question - any idea why the error is happening or how to make it
stop (google returned a bunch of Sun notes saying stop and restart rpc,
but this isn't really helpful as it happens during boot and it hangs
without letting me make any changes)?

Third question - has anyone heard of this working on modern hardware and
software configurations (the Wiki article is pretty old and the few
videos I saw on youtube were Crunchbang - circa Ubuntu 8?

Any substantive help appreciated.

Thanks,

Will






--
GPG Fingerprint: 68F4 B3BD 1730 555A 4462  7D45 3EAA 5B6D A982 BAAF




Re: [Qemu-discuss] SunOS 4.1.4 on Qemu 2.10.0 on Mac OS X 10.12.6 on mid 2012 Intel MBP w/16GB RAM

2017-10-05 Thread Dennis Luehring
first i would should build lastest qemu release from source - and test 
with that version - its very easy


you only need some additional packages to build

https://www.qemu.org/download/#source
https://gns3.com/news/article/how-to-compile-qemu-2-2-0-in-ubu

no need for install - just make


Am 04.10.2017 um 01:20 schrieb Will Senn:

Hi,

I heard on the TUHs mailing list that it was possible to emulate sparc
on qemu and further that you could run SunOS. So, I did the following:

brew install qemu - which got qemu on my mac

rounded up the sunos 4.1.4 install media and the sparcstation 5 version
2.15 boot prom

and then followed the directions (and a bunch of variations) at
https://en.wikibooks.org/wiki/QEMU/SunOS_4.1.4

When I got to the post-install reboot, the VM booted up to the point
where it was starting network services and then reported a bunch of,
"rpc.lockd: Cannot contact status monitor!" and hung. I thought maybe it
was environmental, but I got the same errors on Linux Mint 18 with qemu
1.7, 2.0, and 2.14 as well as on FreeBSD with qemu 2.8.1, so I'm asking
for help.

First question - is there a better/more up-to-date guide than what's on
the wiki (I googled but didn't find anything better)?

Second question - any idea why the error is happening or how to make it
stop (google returned a bunch of Sun notes saying stop and restart rpc,
but this isn't really helpful as it happens during boot and it hangs
without letting me make any changes)?

Third question - has anyone heard of this working on modern hardware and
software configurations (the Wiki article is pretty old and the few
videos I saw on youtube were Crunchbang - circa Ubuntu 8?

Any substantive help appreciated.

Thanks,

Will






Re: [Qemu-discuss] SunOS 4.1.4 on Qemu 2.10.0 on Mac OS X 10.12.6 on mid 2012 Intel MBP w/16GB RAM

2017-10-04 Thread Peter Maydell
On 4 October 2017 at 00:20, Will Senn  wrote:
> I thought maybe it was
> environmental, but I got the same errors on Linux Mint 18 with qemu 1.7,
> 2.0, and 2.14 as well as on FreeBSD with qemu 2.8.1, so I'm asking for help.

There is no QEMU 2.14 -- 2.10 is the most recent release. I would start
by trying with 2.10. Given the description of the symptoms it's quite
likely it won't help, but it's an easy thing to try.

thanks
-- PMM



Re: [Qemu-discuss] SunOS 4.1.4 on Qemu 2.10.0 on Mac OS X 10.12.6 on mid 2012 Intel MBP w/16GB RAM

2017-10-04 Thread Peter Maydell
On 4 October 2017 at 05:42, Dennis Luehring  wrote:
> try Artyom Tarasenko's blog
> http://tyom.blogspot.de/2009/12/solaris-under-qemu-how-to.html

That's now 8 years old and very likely to be no longer accurate
about the current situation...

thanks
-- PMM