qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] SunOS 4.1.4 on Qemu 2.10.0 on Mac OS X 10.12.6 on mid


From: Will Senn
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
Date: Sat, 7 Oct 2017 13:33:18 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

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::4444,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 = 88000002

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 
/address@hidden<mailto:/address@hidden>,10000000/address@hidden<mailto:10000000/address@hidden>,10001000
 at 5,0  espdma esp sd st SUNW,bpp ledma le

Probing 
/address@hidden<mailto:/address@hidden>,10000000/address@hidden<mailto:10000000/address@hidden>,10001000
 at 4,0  SUNW,CS4231 power-management

Probing 
/address@hidden<mailto:/address@hidden>,10000000/address@hidden<mailto:10000000/address@hidden>,10001000
 at 1,0  Nothing there

Probing 
/address@hidden<mailto:/address@hidden>,10000000/address@hidden<mailto:10000000/address@hidden>,10001000
 at 2,0  Nothing there

Probing 
/address@hidden<mailto:/address@hidden>,10000000/address@hidden<mailto:10000000/address@hidden>,10001000
 at 3,0  SUNW,tcx

Probing 
/address@hidden<mailto:/address@hidden>,10000000/address@hidden<mailto:10000000/address@hidden>,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 
/address@hidden<mailto:/address@hidden>,10000000/address@hidden<mailto:10000000/address@hidden>,10001000
 at 5,0  espdma esp sd st SUNW,bpp ledma le

Probing 
/address@hidden<mailto:/address@hidden>,10000000/address@hidden<mailto:10000000/address@hidden>,10001000
 at 4,0  SUNW,CS4231 power-management

Probing 
/address@hidden<mailto:/address@hidden>,10000000/address@hidden<mailto:10000000/address@hidden>,10001000
 at 1,0  Nothing there

Probing 
/address@hidden<mailto:/address@hidden>,10000000/address@hidden<mailto:10000000/address@hidden>,10001000
 at 2,0  Nothing there

Probing 
/address@hidden<mailto:/address@hidden>,10000000/address@hidden<mailto:10000000/address@hidden>,10001000
 at 3,0  SUNW,tcx

Probing 
/address@hidden<mailto:/address@hidden>,10000000/address@hidden<mailto:10000000/address@hidden>,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/address@hidden<mailto:/iommu/sbus/address@hidden>,8400010/address@hidden<mailto:8400010/address@hidden>,8c00000
  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/address@hidden<mailto:/iommu/sbus/address@hidden>,8400000/address@hidden<mailto:8400000/address@hidden>,8800000/address@hidden<mailto:8800000/address@hidden>,0
  File and args:

root on 
/address@hidden<mailto:/address@hidden>,10000000/address@hidden<mailto:10000000/address@hidden>,10001000/address@hidden<mailto:10001000/address@hidden>,8400000/address@hidden<mailto:8400000/address@hidden>,8800000/address@hidden<mailto:8800000/address@hidden>,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 0x8400000

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

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

sd3 at esp0 target 0 lun 0

sd3: <SUN2.1G cyl 2733 alt 2 hd 19 sec 80>

Warning! System Clock freq out of range!

ledma0 at  SBus slot 5 0x8400010

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

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

SUNW,tcx0 at  SBus slot 3 0x800000 and  SBus slot 3 0x2000000 and  SBus slot 3 
0x4000000 and  SBus slot 3 0x6000000 and  SBus slot 3 0xa000000 and  SBus slot 
3 0xc000000 and  SBus slot 3 0xe000000 and  SBus slot 3 0x701000 and  SBus slot 
3 0x200000 and  SBus slot 3 0x300000 and  SBus slot 3 0x0 and  SBus slot 3 
0x240000 and  SBus slot 3 0x280000 pri 9 (sbus level 5)

tcx0: revision 0, screen 1024x768

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

zs1 at  SBus slot 5 0x1000000 pri 12 (onboard)

SUNW,fdtwo0 at  SBus slot 5 0x1400000 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<UP,BROADCAST,NOTRAILERS,RUNNING>

         inet 10.0.2.15 netmask ff000000 broadcast 10.0.0.0

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

lo0: flags=49<UP,LOOPBACK,RUNNING>

         inet 127.0.0.1 netmask ff000000

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          boot            kadb            sbin            vmunix

.login          dev             lib             sys

.profile        etc             lost+found      tmp

.rhosts         export          mnt             usr

bin             home            pcfs            var

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:address@hidden<mailto:address@hidden>
From: Dennis Luehring <address@hidden<mailto:address@hidden>>
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>

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]