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-03 Thread Dennis Luehring

try Artyom Tarasenko's blog
http://tyom.blogspot.de/2009/12/solaris-under-qemu-how-to.html

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



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 Will Senn

On 10/4/17 9:09 AM, Peter Maydell wrote:

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

I'm not sure where I got the 2.14 from, it's actually 2.5.0:
QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.16), Copyright 
(c) 2003-2008 Fabrice Bellard


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-04 Thread Mike Russo
I would stick to QEMU 2.6.1 or higher (and skip 2.8.0 since it has a bug with 
the OBP firmware fixed in 2.8.1 and higher).   I'm actually downloading an ISO 
of SunOS 4.1.4 now to play with in my spare time, I'll see if I run into the 
same issue.  

Sincerely,

Michael Russo, Systems Engineer
PaperSolve, Inc.
268 Watchogue Road
Staten Island, NY 10314

Randomly generated quote of the last 5 minutes:
Our documentation manager was showing her 2 year old son around the office.
He was introduced to me, at which time he pointed out that we were both
holding bags of popcorn.  We were both holding bottles of juice.  But only
*__he* had a lollipop.
He asked his mother, "Why doesn't HE have a lollipop?"
Her reply: "He can have a lollipop any time he wants to.  That's
what it means to be a programmer."
-Original Message-
From: Qemu-discuss [mailto:qemu-discuss-bounces+mike=papersolve@nongnu.org] 
On Behalf Of Will Senn
Sent: Wednesday, October 04, 2017 10:40 AM
To: Peter Maydell 
Cc: qemu-discuss 
Subject: 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

On 10/4/17 9:09 AM, Peter Maydell wrote:
> 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
I'm not sure where I got the 2.14 from, it's actually 2.5.0:
QEMU emulator version 2.5.0 (Debian 1:2.5+dfsg-5ubuntu10.16), Copyright
(c) 2003-2008 Fabrice Bellard

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-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
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-06 Thread Mike Russo
 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 at  SBus slot 5 0x100 pri 12 (onboard)

SUNW,fdtwo0 at  SBus slot 5 0x140 pri 11 (onboard)

fdintr: nobody sleeping

WARNING: clock gained 2 days -- CHECK AND RESET THE DATE!

root on sd3a fstype 4.2

swap on sd3b fstype spec size 98800K

dump on sd3b fstype spec size 98788K

le0: AUI Ethernet

checking filesystems

/dev/rsd3a: is stable.

/dev/rsd3h: is stable.

/dev/rsd3g: is stable.

Automatic reboot in progress...

Fri Oct  6 15:21:31 EDT 2017

checking quotas: done.

starting rpc port mapper.

starting RPC key server.

Flushing routing tables:

add net default: gateway 10.0.2.2

network interface configuration:

le0: flags=63

inet 10.0.2.15 netmask ff00 broadcast 10.0.0.0

ether 52:54:0:12:34:56

lo0: flags=49

inet 127.0.0.1 netmask ff00

mount -vat nfs

starting additional services: biod.

starting system logger

starting local daemons: auditdOct  6 15:21:33 sunguest vmunix: sd3:non-CCS 
device found at target 0 lun 0 on esp0

Oct  6 15:21:33 sunguest vmunix: Warning! System Clock freq out of range!

 sendmail statd lockd.

link-editor directory cache

preserving editor files

clearing /tmp

standard daemons: update cron uucp.

starting network daemons: inetd printer.

Fri Oct  6 15:21:34 EDT 2017


sunguest login: root

Oct  6 15:21:40 sunguest login: ROOT LOGIN console

Last login: Wed Oct  4 12:18:19 on console

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

sunguest# ls

.cshrc  bootkadbsbinvmunix

.login  dev lib sys

.profileetc lost+found  tmp

.rhosts export  mnt usr

bin homepcfsvar

sunguest# uname -a

SunOS sunguest 4.1.4 2 sun4m

sunguest# half

half: Command not found.

sunguest# halt

Oct  6 15:22:03 sunguest halt: halted by root

Oct  6 15:22:04 sunguest syslogd: going down on signal 15

syncing file systems... done

Halted


Program terminated

ok power-off




Maybe there is something wrong with the disk image you downloaded or something 
else went wrong - so I'm going to put the BIOS and disk file in an archive and 
send you an email with the download location.



--

Michael Russo, Systems Engineer PaperSolve, Inc. 268 Watchogue Road Staten 
Island, NY 10314 Your random quote for today: Sendmail may be safely run 
set-user-id to root. -- Eric Allman, "Sendmail Installation Guide"

-Original Message-

Date: Fri, 6 Oct 2017 07:46:59 +0200
Subject: 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
To: qemu-discuss@nongnu.org<mailto:qemu-discuss@nongnu.org>
From: Dennis Luehring 
mailto:dennis%20luehring%20%3cdl.so...@gmx.net%3e>>
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<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://www.qemu.org/download/#source>
> > https://gns3.com/news/article/how-to-compile-qemu-2-2-0-in-ubu<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<https://en.wikibooks.org/wiki/QEMU/SunOS_4.1.4>
> >>
> >> Wh

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
t  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 at  SBus slot 5 0x100 pri 12 (onboard)

SUNW,fdtwo0 at  SBus slot 5 0x140 pri 11 (onboard)

fdintr: nobody sleeping

WARNING: clock gained 2 days -- CHECK AND RESET THE DATE!

root on sd3a fstype 4.2

swap on sd3b fstype spec size 98800K

dump on sd3b fstype spec size 98788K

le0: AUI Ethernet

checking filesystems

/dev/rsd3a: is stable.

/dev/rsd3h: is stable.

/dev/rsd3g: is stable.

Automatic reboot in progress...

Fri Oct  6 15:21:31 EDT 2017

checking quotas: done.

starting rpc port mapper.

starting RPC key server.

Flushing routing tables:

add net default: gateway 10.0.2.2

network interface configuration:

le0: flags=63

 inet 10.0.2.15 netmask ff00 broadcast 10.0.0.0

 ether 52:54:0:12:34:56

lo0: flags=49

 inet 127.0.0.1 netmask ff00

mount -vat nfs

starting additional services: biod.

starting system logger

starting local daemons: auditdOct  6 15:21:33 sunguest vmunix: sd3:non-CCS 
device found at target 0 lun 0 on esp0

Oct  6 15:21:33 sunguest vmunix: Warning! System Clock freq out of range!

  sendmail statd lockd.

link-editor directory cache

preserving editor files

clearing /tmp

standard daemons: update cron uucp.

starting network daemons: inetd printer.

Fri Oct  6 15:21:34 EDT 2017


sunguest login: root

Oct  6 15:21:40 sunguest login: ROOT LOGIN console

Last login: Wed Oct  4 12:18:19 on console

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

sunguest# ls

.cshrc  bootkadbsbinvmunix

.login  dev lib sys

.profileetc lost+found  tmp

.rhosts export  mnt usr

bin homepcfsvar

sunguest# uname -a

SunOS sunguest 4.1.4 2 sun4m

sunguest# half

half: Command not found.

sunguest# halt

Oct  6 15:22:03 sunguest halt: halted by root

Oct  6 15:22:04 sunguest syslogd: going down on signal 15

syncing file systems... done

Halted


Program terminated

ok power-off




Maybe there is something wrong with the disk image you downloaded or something 
else went wrong - so I'm going to put the BIOS and disk file in an archive and 
send you an email with the download location.



--

Michael Russo, Systems Engineer PaperSolve, Inc. 268 Watchogue Road Staten Island, NY 
10314 Your random quote for today: Sendmail may be safely run set-user-id to root. -- 
Eric Allman, "Sendmail Installation Guide"

-Original Message-

Date: Fri, 6 Oct 2017 07:46:59 +0200
Subject: 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
To:qemu-discuss@nongnu.org<mailto:qemu-discuss@nongnu.org>
From: Dennis Luehring 
mailto:dennis%20luehring%20%3cdl.so...@gmx.net%3e>>
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<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://www.qemu.org/download/#source>
https://gns3.com/news/article/how-to-compile-qemu-2-2-0-in-ubu<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

r