<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sparc &#8211; Virtually Fun</title>
	<atom:link href="https://virtuallyfun.com/category/sparc/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Sun, 09 Mar 2025 23:25:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>Macintosh Application Environment (Failure pt 1)</title>
		<link>https://virtuallyfun.com/2019/08/25/macintosh-application-environment-failure-pt-1/</link>
					<comments>https://virtuallyfun.com/2019/08/25/macintosh-application-environment-failure-pt-1/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sun, 25 Aug 2019 15:53:31 +0000</pubDate>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sparc]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/wordpress/?p=9756</guid>

					<description><![CDATA[It&#8217;s a rainy day, and I didn&#8217;t feel well enough to wander around outside, and check out the &#8216;spyware street lights&#8217;. Although that&#8217;s the latest rage at the moment along with the usual stuff. Instead I thought it&#8217;d be fun &#8230; <a href="https://virtuallyfun.com/2019/08/25/macintosh-application-environment-failure-pt-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">It&#8217;s a rainy day, and I didn&#8217;t feel well enough to wander around outside, and check out the &#8216;spyware street lights&#8217;.  Although that&#8217;s the latest rage at the moment along with the usual stuff.</p>



<p class="wp-block-paragraph">Instead I thought it&#8217;d be fun to try some &#8216;undercover&#8217; software like that time when Apple thought it would be a good idea to port the ToolBox to Unix and run it as a competitor to programs like SoftPC as people with $30,000 workstations clearly needed a virtual Macintosh.</p>



<p class="wp-block-paragraph">So I spent way too much time letting my 2006 Mac Pro grind out a Solaris 2.6 install, and then using the latest Tenox dump on archive.org <a href="https://archive.org/download/sunsolaris/Apps/MAE/">I installed MAE 2.0</a>!  For anyone wondering the actual serial number is: 192c4838330166201b</p>



<div class="wp-block-image"><figure class="aligncenter"><img fetchpriority="high" decoding="async" width="816" height="748" src="https://virtuallyfun.com/wp-content/uploads/2019/08/MAE-2.0-crash.png" alt="" class="wp-image-9757" srcset="https://virtuallyfun.com/wp-content/uploads/2019/08/MAE-2.0-crash.png 816w, https://virtuallyfun.com/wp-content/uploads/2019/08/MAE-2.0-crash-300x275.png 300w, https://virtuallyfun.com/wp-content/uploads/2019/08/MAE-2.0-crash-768x704.png 768w, https://virtuallyfun.com/wp-content/uploads/2019/08/MAE-2.0-crash-327x300.png 327w" sizes="(max-width: 816px) 100vw, 816px" /></figure></div>



<p class="wp-block-paragraph">And after serializing the app, and running it, I get a nice kernel panic.  I thought I was playing it safe by opting out of the kernel module stuff as I don&#8217;t care about reading MacOS formatted diskettes.</p>



<p class="wp-block-paragraph">I guess I really need Solaris 2.4 and those weird patches.</p>



<figure class="wp-block-image"><img decoding="async" width="859" height="662" src="https://virtuallyfun.com/wp-content/uploads/2019/08/IE5-on-Solaris.png" alt="" class="wp-image-9758" srcset="https://virtuallyfun.com/wp-content/uploads/2019/08/IE5-on-Solaris.png 859w, https://virtuallyfun.com/wp-content/uploads/2019/08/IE5-on-Solaris-300x231.png 300w, https://virtuallyfun.com/wp-content/uploads/2019/08/IE5-on-Solaris-768x592.png 768w, https://virtuallyfun.com/wp-content/uploads/2019/08/IE5-on-Solaris-389x300.png 389w" sizes="(max-width: 859px) 100vw, 859px" /><figcaption>Internet Explorer. For Unix. Really.</figcaption></figure>



<p class="wp-block-paragraph">Meanwhile you can rest assured that <a href="https://archive.org/download/sunsolaris/Apps/Internet%20Explorer/5.0/">Internet Explorer 5.0</a> loads up just fine.  It is painfully slow, but there it is.  I was even able to download stuff with my <a href="http://vpsland.superglobalmegacorp.com:8080/install/Solaris/">&#8216;http backdoor&#8217; thing to vpsland</a>.  So at least that works.</p>



<p class="wp-block-paragraph">Hard to imagine a time that Microsoft was going cross platform under Gates, but Internet Explorer 3/4/5 were available on MacOS &amp; OS X, with 4&amp;5 under Solaris and HP/UX.  Then of course there was that SUN Java lawsuit and they pulled the rug out from interoptability.  Although I was a Linux on SPARC user in this era, having it available on Linux would have helped a LOT, but naturally Microsoft didn&#8217;t entertain that Linux market thing as it was cancer to them.  Meanwhile Chromium Edge is only a Windows / OS X thing.</p>



<p class="wp-block-paragraph">I was hoping to go further, but it appears not today.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2019/08/25/macintosh-application-environment-failure-pt-1/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
			</item>
		<item>
		<title>Revisiting a Solaris on Qemu install</title>
		<link>https://virtuallyfun.com/2017/12/06/revisiting-a-solaris-on-qemu-install/</link>
					<comments>https://virtuallyfun.com/2017/12/06/revisiting-a-solaris-on-qemu-install/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 06 Dec 2017 12:41:19 +0000</pubDate>
				<category><![CDATA[QEMU]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sparc]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=7890</guid>

					<description><![CDATA[Since I had written about it the last time, quite a bit of the emulation on Qemu has improved significantly since then.  As always you&#8217;ll need to create and prepare a disk image, and I&#8217;m using an old SUN Station &#8230; <a href="https://virtuallyfun.com/2017/12/06/revisiting-a-solaris-on-qemu-install/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Since I had written about it the last time, quite a bit of the emulation on <a href="https://virtuallyfun.com/2010/05/03/solaris-2-4-on-qemu-sparc/">Qemu has improved significantly since then</a>.  As always you&#8217;ll need to <a href="https://virtuallyfun.com/2010/10/03/formatting-disks-for-solaris/">create and prepare a disk image</a>, and I&#8217;m using an old <a href="https://github.com/andarazoroflove/sparc/blob/master/ss5.bin?raw=true">SUN Station 5 PROM</a>.</p>
<p style="padding-left: 30px;">qemu-system-sparc -L . -m 64 -M SS-5 -bios ss5.bin -drive file=36G.disk,bus=0,unit=0,media=disk -drive file=solaris_2.6_598_sparc.iso,bus=0,unit=6,media=cdrom -startdate &#8220;1999-04-19&#8221;</p>
<p>One nice thing is that now you can boot off the CD-ROM.  And you can boot Solaris 2.6 directly into single user mode to format and label the disk.  It&#8217;s very convenient.  All you need here is</p>
<p style="padding-left: 30px;">boot cdrom:d</p>
<p>And from there you can either kick off the disk partitioning, or the installer will boot up.</p>
<p><div id="attachment_7891" style="width: 1036px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/12/boot-prom-to-cd.png"><img decoding="async" aria-describedby="caption-attachment-7891" class="size-full wp-image-7891" src="https://virtuallyfun.com/wp-content/uploads/2017/12/boot-prom-to-cd.png" alt="" width="1026" height="824" /></a><p id="caption-attachment-7891" class="wp-caption-text">Booting from Prom to CD-ROM</p></div></p>
<p>And now to the graphical welcome screen!</p>
<p><div id="attachment_7892" style="width: 1036px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/12/Solaris-Welcome.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7892" class="size-full wp-image-7892" src="https://virtuallyfun.com/wp-content/uploads/2017/12/Solaris-Welcome.png" alt="" width="1026" height="824" /></a><p id="caption-attachment-7892" class="wp-caption-text">Welcome</p></div></p>
<p>And then off to the &#8216;graphical&#8217; installer.  Yes, it&#8217;s not that graphical at all.  Like before, it&#8217;s important that you don&#8217;t let it reboot on completion, you have to make changes to the system so it&#8217;ll boot up correctly, and make changes to the network config.  At least in graphical mode vi works.</p>
<p><div id="attachment_7893" style="width: 1036px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/12/installing-Solaris.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7893" class="size-full wp-image-7893" src="https://virtuallyfun.com/wp-content/uploads/2017/12/installing-Solaris.png" alt="" width="1026" height="824" /></a><p id="caption-attachment-7893" class="wp-caption-text">installation</p></div></p>
<p>It is absolutely critical that you make this change or the disk will not boot at all.</p>
<p style="padding-left: 30px;">cd /a/etc<br />
# cat &gt;&gt; system<br />
set scsi_options=0x58<br />
^D</p>
<p>For networking:</p>
<p>And you will want a default routeâ€¦</p>
<p style="padding-left: 30px;"># cat &gt; defaultrouter<br />
10.0.2.2<br />
^D</p>
<p>Then in the file /etc/nsswitch.conf change the following:</p>
<p>hosts: files</p>
<p>to</p>
<p style="padding-left: 30px;">hosts: files dns</p>
<p>Then to â€˜fixâ€<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2122.png" alt="™" class="wp-smiley" style="height: 1em; max-height: 1em;" /> up your /etc/resolv.conf</p>
<p style="padding-left: 30px;"># cat &gt; resolv.conf<br />
nameserver 10.0.2.3<br />
#</p>
<p>And then I like to add the following hosts to speed up telnetâ€¦</p>
<p style="padding-left: 30px;"># cat &gt;&gt; hosts<br />
10.0.2.2 qemunat<br />
10.0.2.3 qemudns<br />
^D</p>
<p>And then hit Control+D and it&#8217;ll reboot back to the PROM.  Now all you have to type in the PROM monitor is:</p>
<p style="padding-left: 30px;">boot disk0:</p>
<p>And in a minute you&#8217;ll be at the login screen.</p>
<p><div id="attachment_7894" style="width: 1036px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/12/Solaris-login.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7894" class="size-full wp-image-7894" src="https://virtuallyfun.com/wp-content/uploads/2017/12/Solaris-login.png" alt="" width="1026" height="824" /></a><p id="caption-attachment-7894" class="wp-caption-text">Login Window</p></div></p>
<p>I went ahead with CDE, and over on <a href="https://archive.org/details/RareSimcity">archive.org the old SimCity for UNIX</a> versions are over there.  One nice thing about being able to use CD-ROM&#8217;s is that Qemu can finally auto-mount the disk images.  It&#8217;s great.</p>
<p><div id="attachment_7895" style="width: 1036px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2017/12/SimCity-for-Solaris-timedemo-meltdown.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-7895" class="size-full wp-image-7895" src="https://virtuallyfun.com/wp-content/uploads/2017/12/SimCity-for-Solaris-timedemo-meltdown.png" alt="" width="1026" height="824" /></a><p id="caption-attachment-7895" class="wp-caption-text">Meltdown</p></div></p>
<p>There is no license for SimCity, and after 5 minutes the city goes into a &#8216;meltdown&#8217; mode.  It&#8217;s a shame that back in the day the upstart x86 Linux was largely ignored by the UNIX market.  But Qemu has come quite a bit where you can run some of this proprietary VAR software.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2017/12/06/revisiting-a-solaris-on-qemu-install/feed/</wfw:commentRss>
			<slash:comments>28</slash:comments>
		
		
			</item>
		<item>
		<title>TorbjÃ¶rn Granlund&#8217;s Excellent resource on running free OS&#8217;s on Qemu</title>
		<link>https://virtuallyfun.com/2016/10/02/torbjorn-granlunds-excellent-resource-on-running-free-oss-on-qemu/</link>
					<comments>https://virtuallyfun.com/2016/10/02/torbjorn-granlunds-excellent-resource-on-running-free-oss-on-qemu/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sun, 02 Oct 2016 04:51:44 +0000</pubDate>
				<category><![CDATA[arm]]></category>
		<category><![CDATA[DEC Alpha]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mainframe]]></category>
		<category><![CDATA[MIPS]]></category>
		<category><![CDATA[netbsd]]></category>
		<category><![CDATA[powerpc]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[sparc]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=6444</guid>

					<description><![CDATA[Ever get tired of x86 on x86? Â yeah me too. How to solve that problem? Simple, grab QEMU, and jump off into all those cool RISC processors of the 1990&#8217;s that were going to save us all from the WINTEL &#8230; <a href="https://virtuallyfun.com/2016/10/02/torbjorn-granlunds-excellent-resource-on-running-free-oss-on-qemu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Ever get tired of x86 on x86? Â yeah me too.</p>
<p>How to solve that problem?</p>
<p>Simple, grab QEMU, and jump off into all those cool RISC processors of the 1990&#8217;s that were going to save us all from the WINTEL hegemony!</p>
<p>Lots of instructions, samples, images, and hints here:</p>
<p><a href="https://gmplib.org/~tege/qemu.html">https://gmplib.org/~tege/qemu.html</a></p>
<p>It&#8217;s really more comprehensive than I&#8217;ve sat down to do, so yeah it&#8217;s awesome!</p>
<p>Supported platforms include:</p>
<p>mips32,mips64,sparc32,sparc64,ppc32,ppc64,arm32,arm64,s390x,alpha</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2016/10/02/torbjorn-granlunds-excellent-resource-on-running-free-oss-on-qemu/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>20 years of OpenBSD</title>
		<link>https://virtuallyfun.com/2015/10/19/20-years-of-openbsd/</link>
					<comments>https://virtuallyfun.com/2015/10/19/20-years-of-openbsd/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Sun, 18 Oct 2015 16:22:17 +0000</pubDate>
				<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[sparc]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=5628</guid>

					<description><![CDATA[Yes, 20 years! The list announcement: OpenBSD's source tree just turned 20 years old. I recall the import taking about 3 hours on an EISA-bus 486 with two ESDI drives. There was an import attempt a few days earlier, but &#8230; <a href="https://virtuallyfun.com/2015/10/19/20-years-of-openbsd/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="https://virtuallyfun.com/wp-content/uploads/2015/10/puffy58.gif"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-5632" src="https://virtuallyfun.com/wp-content/uploads/2015/10/puffy58.gif" alt="puffy58" width="599" height="199" /></a>Yes, 20 years!</p>
<p><a href="https://marc.info/?l=openbsd-misc&amp;m=144515087006177&amp;w=2">The list announcement</a>:</p>
<pre>OpenBSD's source tree just turned 20 years old.

I recall the import taking about 3 hours on an EISA-bus 486 with 
two ESDI drives.  There was an import attempt a few days earlier, 
but it failed due to insufficient space.  It took some time to 
repartition the machine.

It wasn't terribly long before David Miller, Chuck Cranor and 
Niklas Hallqvist were commiting... then more people showed up.

The first developments were improvements to 32-bit sparc.

Chuck and I also worked on setting up the first 'anoncvs' to make 
sure noone was ever cut out from 'the language of diffs' again.
I guess that was the precursor for the github concept these 
days :-).  People forget, but even FSF was a walled garden at 
the time -- throwing tar files with vague logs over the wall 
every couple months.

I was lucky to have one of the few 64Kbit ISDN links in town,
otherwise this would not have happened.  My desktop was a 
Sparcstation 10; the third machine I had was a very slow 386.

The project is now at:

~322,000 commits
~44 commits/day average
~356 hackers through the years</pre>
<p>I thought I&#8217;d try <a href="http://ftp.vim.org/pub/os/OpenBSD/2.0/">OpenBSD 2.0</a> SPARC on Qemu! Â Well either with SUN PROMs, or OpenBIOS the result is the same, it crashes when initializing the SCSI bus.</p>
<p style="padding-left: 30px;">ok boot disk0:b<br />
Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@0,0:b File and args:<br />
>&gt; OpenBSD BOOT [$Revision: 1.2 $]<br />
Booting /bsd @ 0x4000<br />
1179616+113448+93300+[48552+53058]=0x16f46e<br />
(if this doesn&#8217;t work, fix pmap_bootstrap4m in pmap.c)[ preserving 101620 bytes of bsd symbol table ]<br />
Copyright (c) 1982, 1986, 1989, 1991, 1993<br />
The Regents of the University of California. All rights reserved.</p>
<p style="padding-left: 30px;">OpenBSD 2.0 (GENERIC) #2: Thu Oct 10 17:50:37 MDT 1996<br />
deraadt@sun4c:/usr/src/sys/arch/sparc/compile/GENERIC<br />
real mem = 33165312<br />
avail mem = 29028352<br />
using 404 buffers containing 1654784 bytes of memory<br />
bootpath: /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@0,0:b<br />
mainbus0 (root): SUNW,SPARCstation-5<br />
cpu0 at mainbus0: FMI,MB86904 @ 1169 MHz, MB86910 or WTL1164/5 FPU<br />
cpu0: physical 16K instruction (32 b/l), 8K data (16 b/l) cache NOT enabled for 4/0 cpu/mmu combination<br />
obio0 at mainbus0<br />
clock0 at obio0 addr 0x71200000: mk48t08 (eeprom)<br />
timer0 at obio0 addr 0x71d00000 delay constant 73<br />
auxreg0 at obio0 addr 0x71900000<br />
zs0 at obio0 addr 0x71100000 pri 12, softpri 6<br />
zs0a: console i/o<br />
zs1 at obio0 addr 0x71000000 pri 12, softpri 6<br />
[slavioconfig at obio0] addr 0x71800000 not configured<br />
power0 at obio0 addr 0x71910000<br />
fdc0 at obio0 addr 0x71400000 pri 11, softpri 4: chip 82077<br />
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec<br />
iommu0 at mainbus0 addr 0x10000000: version 5/0, page-size 4096, range 64MB<br />
sbus0 at iommu0: clock = 584.500 MHz<br />
dma0 at sbus0 slot 5 offset 0x8400000: rev 2<br />
esp0 at dma0 slot 0x5 offset 0x8800000 pri 4: ESP200 40Mhz, target 7<br />
scsibus0 at esp0<br />
trap type 0x29: pc=f80e2494 npc=f80e2498 psr=4001bc0&lt;EF,S,PS&gt;<br />
panic: trap<br />
Stopped at _Debugger+0x4: jmpl [%o7 + 0x8], %g0<br />
db&gt;</p>
<p>But you can play kernel hangman, if you are into that kind of thing.</p>
<p>But make no mistake, the new 5.8 release (just released!) boots up just fine on Qemu:</p>
<p style="padding-left: 30px;">Welcome to OpenBIOS v1.1 built on Jun 17 2015 18:50<br />
Type &#8216;help&#8217; for detailed information<br />
Trying disk&#8230;<br />
Not a bootable ELF image<br />
Loading a.out image&#8230;<br />
Loaded 66648 bytes<br />
entry point is 0x4000<br />
bootpath: /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@0,0</p>
<p style="padding-left: 30px;">Jumping to entry point 00004000 for type 00000005&#8230;<br />
switching to new context:<br />
>&gt; OpenBSD BOOT 2.11<br />
Booting bsd<br />
Loading at physical address 400000<br />
1316320+2139464+409400=0x3b0604<br />
cannot open /etc/random.seed: No such file or directory<br />
console is ttya<br />
Copyright (c) 1982, 1986, 1989, 1991, 1993<br />
The Regents of the University of California. All rights reserved.<br />
Copyright (c) 1995-2015 OpenBSD. All rights reserved. http://www.OpenBSD.org</p>
<p style="padding-left: 30px;">OpenBSD 5.8 (RAMDISK) #23: Sun Aug 9 00:08:29 GMT 2015<br />
miod@tekumel.gentiane.org:/usr/src/sys/arch/sparc/compile/RAMDISK<br />
real mem = 117309440 (111MB)<br />
avail mem = 111083520 (105MB)<br />
mainbus0 at root: SUNW,SPARCstation-5<br />
cpu0 at mainbus0: MB86904 @ 170 MHz, MB86910 or WTL1164/5 FPU<br />
cpu0: 16K instruction (32 b/l), 8K data (16 b/l), 512K external (32 b/l) cache enabled<br />
obio0 at mainbus0<br />
clock0 at obio0 addr 0x71200000: mk48t08 (eeprom)<br />
timer0 at obio0 addr 0x71d00000: delay constant 73, frequency 2000000 Hz<br />
zs0 at obio0 addr 0x71100000 pri 12, softpri 6<br />
zstty0 at zs0 channel 0: console<br />
zstty1 at zs0 channel 1<br />
zs1 at obio0 addr 0x71000000 pri 12, softpri 6<br />
zskbd0 at zs1 channel 0: no keyboard<br />
zstty2 at zs1 channel 1: mouse<br />
fdc0 at obio0 addr 0x71400000 pri 11, softpri 4: chip 82077<br />
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec<br />
auxreg0 at obio0 addr 0x71900000<br />
power0 at obio0 addr 0x71910000<br />
slavioconfig at obio0 addr 0x71800000 not configured<br />
chosen &#8220;reg&#8221; property length = -1 (need multiple of 12)<br />
builtin &#8220;reg&#8221; property length = -1 (need multiple of 12)<br />
iommu0 at mainbus0 addr 0x10000000: version 0x5/0x0, page-size 4096, range 64MB<br />
sbus0 at iommu0: 21.250 MHz<br />
dma0 at sbus0 slot 5 offset 0x8400000: rev 2<br />
esp0 at dma0 offset 0x8800000 pri 4: ESP200, 40MHz<br />
scsibus0 at esp0: 8 targets, initiator 7<br />
sd0 at scsibus0 targ 0 lun 0: &lt;QEMU, QEMU HARDDISK, 2.4.&gt; SCSI3 0/direct fixed<br />
sd0: 6MB, 512 bytes/sector, 12288 sectors<br />
cd0 at scsibus0 targ 2 lun 0: &lt;QEMU, QEMU CD-ROM, 2.4.&gt; SCSI3 5/cdrom removable<br />
ledma0 at sbus0 slot 5 offset 0x8400010: rev 2<br />
le0 at ledma0 offset 0x8c00000 pri 6: address 52:54:00:12:34:56<br />
le0: 16 receive buffers, 4 transmit buffers<br />
tcx0 at sbus0 slot 3 offset 0x800000 pri 9: 1024x768x8<br />
wsdisplay0 at tcx0<br />
wsdisplay0: screen 0 added (std, sun emulation)<br />
&#8220;SUNW,CS4231&#8221; at sbus0 class serial slot 4 offset 0xc000000 not configured<br />
&#8220;power-management&#8221; at sbus0 slot 4 offset 0xa000000 not configured<br />
bootpath: /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@0,0<br />
root on rd0a swap on rd0b dump on rd0b<br />
erase ^?, werase ^W, kill ^U, intr ^C, status ^T</p>
<p style="padding-left: 30px;">Welcome to the OpenBSD/sparc 5.8 installation program.<br />
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell?</p>
<p>Just don&#8217;t bother with the &#8216;install diskette&#8217; try the miniroot instead.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2015/10/19/20-years-of-openbsd/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>OpenBSD 5.6 Sparc64 on Qemu</title>
		<link>https://virtuallyfun.com/2015/01/14/openbsd-5-6-sparc64-on-qemu/</link>
					<comments>https://virtuallyfun.com/2015/01/14/openbsd-5-6-sparc64-on-qemu/#respond</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 14 Jan 2015 10:43:27 +0000</pubDate>
				<category><![CDATA[64bit computing]]></category>
		<category><![CDATA[OpenBSD]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[sparc]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=4945</guid>

					<description><![CDATA[Well the good news is that like NetBSD the kernel boots. Â The downside is that none of the network adapters I could think of work. Â They are either ignored, or crash out the kernel. OpenBIOS for Sparc64 Configuration device id &#8230; <a href="https://virtuallyfun.com/2015/01/14/openbsd-5-6-sparc64-on-qemu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Well the good news is that like <a href="https://virtuallyfun.com/?p=4942">NetBSD</a> the kernel boots. Â The downside is that none of the network adapters I could think of work. Â They are either ignored, or crash out the kernel.</p>
<p style="padding-left: 30px;">OpenBIOS for Sparc64<br />
Configuration device id QEMU version 1 machine id 0<br />
kernel cmdline<br />
CPUs: 1 x SUNW,UltraSPARC-IIi<br />
UUID: 00000000-0000-0000-0000-000000000000<br />
Welcome to OpenBIOS v1.1 built on Nov 15 2014 12:59<br />
Type &#8216;help&#8217; for detailed information<br />
Trying cdrom:f&#8230;<br />
Not a bootable ELF image<br />
Not a bootable a.out image</p>
<p style="padding-left: 30px;">Loading FCode image&#8230;<br />
Loaded 4829 bytes<br />
entry point is 0x4000<br />
OpenBSD IEEE 1275 Bootblock 1.3<br />
..<br />
Jumping to entry point 0000000000100000 for type 0000000000000001&#8230;<br />
switching to new context: entry point 0x100000 stack 0x00000000ffe8aa09<br />
&gt;&gt; OpenBSD BOOT 1.6<br />
Trying bsd&#8230;<br />
open /pci@1fe,0/pci-ata@5/ide1@2200/cdrom@0:f/etc/random.seed: No such file or d<br />
irectory<br />
Booting /pci@1fe,0/pci-ata@5/ide1@2200/cdrom@0:f/bsd<br />
3864176@0x1000000+2448@0x13af670+3261928@0x1800000+932376@0x1b1c5e8<br />
symbols @ 0xffc5a300 119 start=0x1000000</p>
<p style="padding-left: 30px;">Unexpected client interface exception: -1<br />
console is /pci@1fe,0/ebus@3/su<br />
Copyright (c) 1982, 1986, 1989, 1991, 1993<br />
The Regents of the University of California. All rights reserved.<br />
Copyright (c) 1995-2014 OpenBSD. All rights reserved. http://www.OpenBSD.org</p>
<p style="padding-left: 30px;">OpenBSD 5.6 (RAMDISK) #178: Fri Aug 8 05:00:27 MDT 2014<br />
deraadt@sparc64.openbsd.org:/usr/src/sys/arch/sparc64/compile/RAMDISK<br />
real mem = 2147483648 (2048MB)<br />
avail mem = 2103877632 (2006MB)<br />
mainbus0 at root: OpenBiosTeam,OpenBIOS<br />
cpu0 at mainbus0: SUNW,UltraSPARC-IIi (rev 9.1) @ 100 MHz<br />
cpu0: physical 256K instruction (64 b/l), 16K data (32 b/l), 256K external (64 b<br />
/l)<br />
psycho0 at mainbus0: SUNW,sabre, impl 0, version 0, ign 7c0<br />
psycho0: bus range 0-2, PCI bus 0<br />
psycho0: dvma map c0000000-dfffffff<br />
pci0 at psycho0<br />
ppb0 at pci0 dev 1 function 0 &#8220;Sun Simba&#8221; rev 0x11<br />
pci1 at ppb0 bus 1<br />
ppb1 at pci0 dev 1 function 1 &#8220;Sun Simba&#8221; rev 0x11<br />
pci2 at ppb1 bus 2<br />
unknown vendor 0x1234 product 0x1111 (class display subclass VGA, rev 0x02) at p<br />
ci0 dev 2 function 0 not configured<br />
ebus0 at pci0 dev 3 function 0 &#8220;Sun PCIO EBus2&#8221; rev 0x01<br />
&#8220;fdthree&#8221; at ebus0 addr 0-ffffffff not configured<br />
com0 at ebus0 addr 3f8-3ff ivec 0x2b: ns16550a, 16 byte fifo<br />
com0: console<br />
&#8220;kb_ps2&#8221; at ebus0 addr 60-67 not configured<br />
&#8220;Realtek 8029&#8221; rev 0x00 at pci0 dev 4 function 0 not configured<br />
pciide0 at pci0 dev 5 function 0 &#8220;CMD Technology PCI0646&#8221; rev 0x07: DMA, channel<br />
0 configured to native-PCI, channel 1 configured to native-PCI<br />
pciide0: using ivec 0x7d4 for native-PCI interrupt<br />
pciide0: channel 0 disabled (no drives)<br />
atapiscsi0 at pciide0 channel 1 drive 0<br />
scsibus0 at atapiscsi0: 2 targets<br />
cd0 at scsibus0 targ 0 lun 0: &lt;QEMU, QEMU DVD-ROM, 2.2.&gt; ATAPI 5/cdrom removable<br />
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2<br />
prtc0 at mainbus0<br />
softraid0 at root<br />
scsibus1 at softraid0: 256 targets<br />
bootpath: /pci@1fe,0/pci-ata@5,0/ide1@2200,0/cdrom@0,0:f<br />
root on rd0a swap on rd0b dump on rd0b<br />
unix-gettod:interpret: exception -13 caught<br />
interpret h# 01c099ec unix-gettod failed with error ffffffffffffffed<br />
WARNING: bad date in battery clock &#8212; CHECK AND RESET THE DATE!<br />
erase ^?, werase ^W, kill ^U, intr ^C, status ^T</p>
<p style="padding-left: 30px;">Welcome to the OpenBSD/sparc64 5.6 installation program.<br />
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell?</p>
<p style="padding-left: 30px;">(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? (I)nstall, (U)pgrade, (A)utoinst<br />
all or (S)hell? s</p>
<p style="padding-left: 30px;">#</p>
<p>But it&#8217;s great it&#8217;s this close!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2015/01/14/openbsd-5-6-sparc64-on-qemu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>NetBSD 6.1.5 Sparc64 on Qemu</title>
		<link>https://virtuallyfun.com/2015/01/14/netbsd-6-1-5-sparc64-on-qemu/</link>
					<comments>https://virtuallyfun.com/2015/01/14/netbsd-6-1-5-sparc64-on-qemu/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Wed, 14 Jan 2015 07:28:34 +0000</pubDate>
				<category><![CDATA[64bit computing]]></category>
		<category><![CDATA[netbsd]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[sparc]]></category>
		<category><![CDATA[Win64]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=4942</guid>

					<description><![CDATA[Yes, really! I thought I&#8217;d try it for the heck of it, and it&#8217;s working enough to go multiuser, but it has some issues with hitting the disk &#38; network pretty hard.  But it does let you install! I just &#8230; <a href="https://virtuallyfun.com/2015/01/14/netbsd-6-1-5-sparc64-on-qemu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Yes, really!</p>
<p>I thought I&#8217;d try it for the heck of it, and it&#8217;s working enough to go multiuser, but it has some issues with hitting the disk &amp; network pretty hard.  But it does let you install!</p>
<p>I just started it up like this:</p>
<p style="padding-left: 30px;">qemu-system-sparc64.exe -cdrom NetBSD-6.1.5-sparc64.iso -net nic,model=ne2k_pci -net user -boot c -hda netbsd-615-sparc64.raw -nographic -serial mon:telnet:127.0.0.1:23,server,wait -m 2048 -boot d</p>
<p>And in no time I was booting up!</p>
<p style="padding-left: 30px;">OpenBIOS for Sparc64<br />
Configuration device id QEMU version 1 machine id 0<br />
kernel cmdline<br />
CPUs: 1 x SUNW,UltraSPARC-IIi<br />
UUID: 00000000-0000-0000-0000-000000000000<br />
Welcome to OpenBIOS v1.1 built on Nov 15 2014 12:59<br />
Type &#8216;help&#8217; for detailed information<br />
Trying cdrom:f&#8230;<br />
Not a bootable ELF image<br />
Not a bootable a.out image</p>
<p style="padding-left: 30px;">Loading FCode image&#8230;<br />
Loaded 7478 bytes<br />
entry point is 0x4000<br />
NetBSD IEEE 1275 Multi-FS Bootblock<br />
Version $NetBSD: bootblk.fth,v 1.13 2010/06/24 00:54:12 eeh Exp $<br />
..<br />
Jumping to entry point 0000000000100000 for type 0000000000000001&#8230;<br />
switching to new context: entry point 0x100000 stack 0x00000000ffe8aa09<br />
&gt;&gt; NetBSD/sparc64 OpenFirmware Boot, Revision 1.16<br />
=0x8870a0<br />
Loading netbsd: 8072208+553056+339856 [601032+393301]=0x9cd528<br />
Unimplemented service set-symbol-lookup ([2] &#8212; [0])</p>
<p style="padding-left: 30px;">Unexpected client interface exception: -1<br />
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,<br />
2006, 2007, 2008, 2009, 2010, 2011, 2012<br />
The NetBSD Foundation, Inc. All rights reserved.<br />
Copyright (c) 1982, 1986, 1989, 1991, 1993<br />
The Regents of the University of California. All rights reserved.</p>
<p style="padding-left: 30px;">NetBSD 6.1.5 (GENERIC)<br />
total memory = 2048 MB<br />
avail memory = 1997 MB<br />
mainbus0 (root): OpenBiosTeam,OpenBIOS: hostid 80123456<br />
cpu0 at mainbus0: SUNW,UltraSPARC-IIi @ 100 MHz, UPA id 0<br />
cpu0: 256K instruction (64 b/l), 16K data (32 b/l), 256K external (64 b/l)<br />
psycho0 at mainbus0<br />
psycho0: SUNW,sabre: impl 0, version 0: ign 7c0 bus range 0 to 2; PCI bus 0<br />
pci0 at psycho0<br />
ppb0 at pci0 dev 1 function 0: Sun Microsystems Simba PCI Bridge (rev. 0x11)<br />
pci1 at ppb0 bus 1<br />
ppb1 at pci0 dev 1 function 1: Sun Microsystems Simba PCI Bridge (rev. 0x11)<br />
pci2 at ppb1 bus 2<br />
genfb0 at pci0 dev 2 function 0: unmatched vendor 0x1234 product 0x1111 (rev. 0x02)<br />
ebus0 at pci0 dev 3 function 0<br />
ebus0: Sun Microsystems PCIO Ebus2, revision 0x01<br />
fdthree at ebus0 addr 0-ffffffff not configured<br />
com0 at ebus0 addr 3f8-3ff ipl 2b: ns16550a, working fifo<br />
com0: console<br />
kb_ps2 at ebus0 addr 60-67 not configured<br />
ne0 at pci0 dev 4 function 0: Realtek 8029 Ethernet<br />
ne0: Ethernet address 52:54:00:12:34:56<br />
ne0: 10base2, 10baseT, 10baseT-FDX, auto, default [0x40 0x40] 10baseT-FDX<br />
ne0: interrupting at ivec 3010<br />
cmdide0 at pci0 dev 5 function 0: CMD Technology PCI0646 (rev. 0x07)<br />
cmdide0: primary channel configured to native-PCI mode<br />
cmdide0: using ivec 14 for native-PCI interrupt<br />
atabus0 at cmdide0 channel 0<br />
cmdide0: secondary channel configured to native-PCI mode<br />
atabus1 at cmdide0 channel 1<br />
NULL phandle<br />
Unexpected client interface exception: -1<br />
pcons at mainbus0 not configured<br />
No counter-timer &#8212; using %tick at 100MHz as system clock.<br />
wd0 at atabus0 drive 0<br />
wd0: &lt;QEMU HARDDISK&gt;<br />
wd0: 2048 MB, 4161 cyl, 16 head, 63 sec, 512 bytes/sect x 4194304 sectors<br />
atapibus0 at atabus1: 2 targets<br />
cd0 at atapibus0 drive 0: &lt;QEMU DVD-ROM, QM00003, 2.2.50&gt; cdrom removable<br />
wd0: no disk label<br />
wd0: no disk label<br />
FATAL: boot device not found, check your firmware settings!<br />
root device: cd0c<br />
dump device (default cd0b):<br />
file system (default generic):<br />
root on cd0c dumps on cd0b<br />
root file system type: cd9660<br />
WARNING: no TOD clock present<br />
WARNING: using default initial time<br />
warning: no /dev/console<br />
init path (default /sbin/init):<br />
init: trying /sbin/init<br />
Created tmpfs /dev (622592 byte, 1184 inodes)<br />
init: kernel security level changed from 0 to 1</p>
<p style="padding-left: 30px;">You are using a serial console, we do not know your terminal emulation.<br />
Please select one, typical values are:</p>
<p style="padding-left: 30px;">vt100<br />
ansi<br />
xterm</p>
<p style="padding-left: 30px;">Terminal type (just hit ENTER for &#8216;vt220&#8217;): xterm</p>
<p style="padding-left: 30px;">NetBSD/sparc64 6.1.5</p>
<p style="padding-left: 30px;">This menu-driven tool is designed to help you install NetBSD to a hard disk,<br />
or upgrade an existing NetBSD system, with a minimum of work.<br />
In the following menus type the reference letter (a, b, c, &#8230;) to select an<br />
item, or type CTRL+N/CTRL+P to select the next/previous item.<br />
The arrow keys and Page-up/Page-down may also work.<br />
Activate the current selection from the menu by typing the enter key.</p>
<p style="padding-left: 30px;">â”Œâ”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”<br />
â”‚&gt;a: Installation messages in English â”‚<br />
â”‚ b: Installation auf Deutsch â”‚<br />
â”‚ c: Mensajes de instalacion en castellano â”‚<br />
â”‚ d: Messages d&#8217;installation en franÃ§ais â”‚<br />
â”‚ e: Komunikaty instalacyjne w jezyku polskim â”‚<br />
â””â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”˜</p>
<p>Wow, how&#8217;s that for cool?</p>
<p>A few notes though, if you use a VMDK disk access is dreadfully slow during the install, raw disk images are MUCH MUCH faster (36Kb/sec vs 3+MB/sec).  The kernel cannot figure out the root disk, so you have to tell it on every boot.  When installing it&#8217;s cd0c, when booting off the harddisk it&#8217;s wd0a. The e1000 adapter causes the kernel to go crazy, and on bootup the system indexes the man pages, which seems to kill the machine.</p>
<p><div id="attachment_4943" style="width: 685px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2015/01/makemandb-slaming-netbsd.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-4943" class="size-full wp-image-4943" src="https://virtuallyfun.com/wp-content/uploads/2015/01/makemandb-slaming-netbsd.png" alt="makemandb" width="675" height="424" /></a><p id="caption-attachment-4943" class="wp-caption-text">makemandb indexing like crazy</p></div></p>
<p>As you can see this is what happens when you hit the disk too hard..</p>
<p style="padding-left: 30px;"># dd if=/dev/wd0c of=/dev/null bs=1m<br />
^Ccmdide0:0:0: lost interrupt<br />
type: ata tc_bcount: 2048 tc_skip: 0<br />
463+0 records in<br />
463+0 records out<br />
485490688 bytes transferred in 59.701 secs (8132036 bytes/sec)</p>
<p>and if you don&#8217;t incur the rage of the disk controller it&#8217;s the same speed:</p>
<p style="padding-left: 30px;"># dd if=/dev/wd0c of=/dev/null bs=1m count=10<br />
10+0 records in<br />
10+0 records out<br />
10485760 bytes transferred in 1.217 secs (8616072 bytes/sec)</p>
<p>But yeah, I can&#8217;t complain!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2015/01/14/netbsd-6-1-5-sparc64-on-qemu/feed/</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
			</item>
		<item>
		<title>Qemu &#038; SunOS 4.1.4</title>
		<link>https://virtuallyfun.com/2013/12/05/qemu-sunos-4-1-4/</link>
					<comments>https://virtuallyfun.com/2013/12/05/qemu-sunos-4-1-4/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Thu, 05 Dec 2013 03:08:29 +0000</pubDate>
				<category><![CDATA[QEMU]]></category>
		<category><![CDATA[sparc]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[SunOS]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=3632</guid>

					<description><![CDATA[SunOS 4.1.4 was the last version of the BSD based SunOS for the SPARC platform.  I had received an email earlier asking if Qemu could run SunOS.  Earlier it was &#8216;capable&#8217; however there were issues with the serial ports.  And &#8230; <a href="https://virtuallyfun.com/2013/12/05/qemu-sunos-4-1-4/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>SunOS 4.1.4 was the last version of the BSD based SunOS for the SPARC platform.  I had received an email earlier asking if Qemu could run SunOS.  Earlier it was &#8216;capable&#8217; however there were issues with the serial ports.  And the framebuffer stuff that the SUN Proms recognized was never mainlined (please tell me I&#8217;m wrong?).</p>
<p>But then with a quick google search I came across <a href="http://en.wikibooks.org/wiki/QEMU/SunOS_4.1.4">this wikibook page</a> with detailed instructions on how to install SunOS 4.1.4.</p>
<p><div id="attachment_3633" style="width: 583px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2013/12/Screen-Shot-2013-12-05-at-11.00.31-AM.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-3633" class="size-full wp-image-3633" src="https://virtuallyfun.com/wp-content/uploads/2013/12/Screen-Shot-2013-12-05-at-11.00.31-AM.png" alt="SunOS" width="573" height="366" /></a><p id="caption-attachment-3633" class="wp-caption-text">SunOS on Qemu 1.7.0rc2</p></div></p>
<p>So I quickly built a sparc version of Qemu 1.7.0rc2, and followed the instructions.  I was amazed that now we are able to boot off the CD (still attached as a HD though) but label the main hard disk, and install SunOS.  I have to say it is very impressive<a href="http://vpsland.superglobalmegacorp.com/install/Solaris/SunOS-4.14.7z">.</a></p>
<p>Another hint I came across is the more correct way to boot the Sparc Station 20&#8217;s</p>
<p style="padding-left: 30px;">-bios /usr/local/share/qemu/ss20_v2.25_rom -M SS-20 -smp 2,cores=4 -cpu &#8220;TI SuperSparc 60&#8221;</p>
<p>Sadly there is no graphical output, but the PROM won&#8217;t crash.  I think you can have 512MB of ram on the SS-20.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2013/12/05/qemu-sunos-4-1-4/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>SPARC NetBSD on Qemu 0.14.0</title>
		<link>https://virtuallyfun.com/2011/03/15/sparc-netbsd-on-qemu-0-14-0/</link>
					<comments>https://virtuallyfun.com/2011/03/15/sparc-netbsd-on-qemu-0-14-0/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Tue, 15 Mar 2011 21:50:00 +0000</pubDate>
				<category><![CDATA[netbsd]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[sparc]]></category>
		<category><![CDATA[Zork]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=383</guid>

					<description><![CDATA[I came across this link, in some kind of vain search to see if NetBSD Sparc could run on Qemu. Â And the answer is a resounding yes! I have to admit it was pretty simple to setup too. I did &#8230; <a href="https://virtuallyfun.com/2011/03/15/sparc-netbsd-on-qemu-0-14-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="https://virtuallyfun.com/wp-content/uploads/2011/03/NetBSD-5.01-booting-on-Qemu-0.14.0.png"><img loading="lazy" decoding="async" class="alignleft size-medium wp-image-1396" title="NetBSD 5.01 booting on Qemu 0.14.0" src="https://virtuallyfun.com/wp-content/uploads/2011/03/NetBSD-5.01-booting-on-Qemu-0.14.0-300x232.png" alt="" width="300" height="232" /></a>I came across <a href="http://mail-index.netbsd.org/port-sparc/2010/01/15/msg000546.html">this link</a>, in some kind of vain search to see if NetBSD Sparc could run on Qemu. Â And the answer is a resounding yes!</p>
<p>I have to admit it was pretty simple to setup too. I did a network install, so all I needed in a minimal config was a GENERIC kernel, and the miniroot. I did it this way because booting with the inserted kernel lets me easily choose my root&#8230;</p>
<p>First I created a 2GB data disk, then start up Qemu like this&#8230;</p>
<blockquote><p>qemu-system-sparc.exe -kernel netbsd-GENERIC -L pc-bios -hda sparc.disk -hdb miniroot.fs -net nic -net user</p></blockquote>
<p>And it&#8217;ll boot up!</p>
<p>I specify the root to be sd1c, I&#8217;m not sure if it&#8217;d pick up on sd1, or sd1a but at any rate sd1c certainly works. The other gotcha I found was the keyboard, sun-type4 worked best. I also had to configure the network manually (maybe I missed something?) but the settings are simple for NAT.</p>
<p>address 10.0.2.15<br />
mask 0xffffff00<br />
gateway 10.0.2.2<br />
dns 8.8.8.8</p>
<p>Any attempt to ping the gateway will fail. But it&#8217;s nothing to worry about, and the install can continue normally. I pulled the rest of NetBSD down via HTTP, and it booted up!</p>
<p>I should also add that the CD-ROM iso install works as well. And the NetBSD site has lots of ways of getting the install ISO for the sparc.</p>
<p>And of course, will it run Zork?</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2011/03/dungeon-on-sparc-netbsd.png"><img loading="lazy" decoding="async" class="aligncenter size-large wp-image-1401" title="dungeon on sparc netbsd" src="https://virtuallyfun.com/wp-content/uploads/2011/03/dungeon-on-sparc-netbsd-1024x422.png" alt="" width="640" height="263" /></a></p>
<p><a href="http://vpsland.superglobalmegacorp.com/install/f2c/dungeon-2.5.6-sparc-NetBSD51.tar.gz">Yes it does</a>!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2011/03/15/sparc-netbsd-on-qemu-0-14-0/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>Solaris 2.4 on Qemu (SPARC)</title>
		<link>https://virtuallyfun.com/2010/05/03/solaris-2-4-on-qemu-sparc/</link>
					<comments>https://virtuallyfun.com/2010/05/03/solaris-2-4-on-qemu-sparc/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Mon, 03 May 2010 20:33:00 +0000</pubDate>
				<category><![CDATA[QEMU]]></category>
		<category><![CDATA[solaris]]></category>
		<category><![CDATA[sparc]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=232</guid>

					<description><![CDATA[&#160; Well after a lot of digging around, I was able to come up with Solaris 2.4 and proceeded to install it on QEMU. And it works! From my notes though, it was far easier to use Solaris 2.9&#8217;s &#8220;format&#8221; &#8230; <a href="https://virtuallyfun.com/2010/05/03/solaris-2-4-on-qemu-sparc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>&nbsp;</p>
<p><a href="https://virtuallyfun.com/wp-content/uploads/2010/05/Solaris-2.4-running-on-Qemu.jpg"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-1469" title="Solaris 2.4 running on Qemu" src="https://virtuallyfun.com/wp-content/uploads/2010/05/Solaris-2.4-running-on-Qemu.jpg" alt="" width="675" height="422" /></a>Well after a lot of digging around, I was able to come up with Solaris 2.4 and proceeded to install it on QEMU.</p>
<p>And it works!</p>
<p>From my notes though, it was far easier to use Solaris 2.9&#8217;s &#8220;format&#8221; command to prepare a 2GB hard disk. For some reason Solaris 2.4&#8217;s format command didn&#8217;t want to write the label to the disk.</p>
<p>But with a <a href="http://vpsland.superglobalmegacorp.com/install/qemu/solaris.disk.gz">labeled disk in hand</a>, and placing the ISO image under the &#8220;hdb&#8221; position I was able to boot up the installer with a simple</p>
<blockquote><p>boot disk1:d</p></blockquote>
<p>During the installation, you can select networking, just remember that the ip address you&#8217;ll use is 10.0.2.15, the workstation is networked with a netmask of 255.255.255.0 and you should use the &#8220;other&#8221; method of resolving names.</p>
<p>As mentioned <a href="http://tyom.blogspot.com/2009/12/solaris-under-qemu-how-to.html">in the FAQ</a>, don&#8217;t let the installer reboot when it&#8217;s done (it&#8217;s an option), be sure to do the following:</p>
<blockquote><p>cd /a/etc<br />
# cat &gt;&gt; system<br />
set scsi_options=0x58<br />
^D</p></blockquote>
<p>Otherwise it&#8217;ll load up the drivers in the wrong order, and it won&#8217;t mount the root partition&#8230; The best part, is that the networking works great, and that I&#8217;m able to telnet INTO the VM, and out of the VM.</p>
<p>And you will want a default route&#8230;</p>
<blockquote><p># cat &gt; defaultrouter<br />
10.0.2.2<br />
^D</p></blockquote>
<p>Then in the file /etc/nsswitch.conf change the following:</p>
<blockquote><p>hosts: files</p></blockquote>
<p>to</p>
<blockquote><p>hosts: files dns</p></blockquote>
<p>Then to &#8216;fix&#8217; up your /etc/resolv.conf</p>
<blockquote><p># cat &gt; resolv.conf<br />
nameserver 10.0.2.3<br />
#</p></blockquote>
<p>And then I like to add the following hosts to speed up telnet&#8230;</p>
<blockquote><p># cat &gt;&gt; hosts<br />
10.0.2.2 qemunat<br />
10.0.2.3 qemudns<br />
^D</p></blockquote>
<p>Then finally (yes!) the file /etc/default/login</p>
<p>comment out the line:</p>
<blockquote><p>CONSOLE=/dev/console</p></blockquote>
<p>Now you should be good to go!</p>
<p>Or at lest those are the steps I took to make my system boot. Oh, and don&#8217;t forget it won&#8217;t auto boot, you&#8217;ll have to issue</p>
<blockquote><p>boot disk0</p></blockquote>
<p>every time you fire up Qemu.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2010/05/03/solaris-2-4-on-qemu-sparc/feed/</wfw:commentRss>
			<slash:comments>25</slash:comments>
		
		
			</item>
		<item>
		<title>More CDROM madness.</title>
		<link>https://virtuallyfun.com/2010/04/11/more-cdrom-madness/</link>
					<comments>https://virtuallyfun.com/2010/04/11/more-cdrom-madness/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Mon, 12 Apr 2010 01:16:00 +0000</pubDate>
				<category><![CDATA[cdroms]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[sparc]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=223</guid>

					<description><![CDATA[Well I found that one of the things that was preventing me from booting up this &#8220;Solaris 1.1.2&#8221; AKA SunOS 4.1.4 CD is that Qemu on Win32 using raw devices has issues with all these slices and whatnot. Slices you &#8230; <a href="https://virtuallyfun.com/2010/04/11/more-cdrom-madness/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Well I found that one of the things that was preventing me from booting up this &#8220;Solaris 1.1.2&#8221; AKA SunOS 4.1.4 CD is that Qemu on Win32 using raw devices has issues with all these slices and whatnot.</p>
<p>Slices you say?</p>
<p>Yeah, back in the ISO9660 Rock Ridge days, CD-ROMS were basically given a common format for the &#8220;LCD&#8221; of the day.  In that case MS-DOS.  Naturally people like Unix vendors were not to keen on that, as they wanted file attributes, long file names, symbolic links etc&#8230; So a *LOT* of people started to split up their CD&#8217;s into partitions like hard disks, and slap down actual filesystems on the disks.  NeXT just used one giant partition on the CD-ROM, but their exe format let them &#8216;bind&#8217; all the CISC machines onto one CD, and all the RISC machines on another.  Meanwhile SUN decided to make all these &#8216;boot&#8217; partitions for various machines, a miniroot, then an I9660 partition for basic tar files of the OS&#8230;</p>
<p>Like this:</p>
<blockquote><p>  2,998,272 DEBUGGING<br />  4,161,536 DEMO<br />  3,219,456 GAMES<br />  1,826,816 GRAPHICS<br />    999,424 INSTALL<br />  1,073,152 NETWORKING<br />  7,815,168 OPENWINDOWS_DEMO<br />  9,748,480 OPENWINDOWS_FONTS<br /> 23,756,800 OPENWINDOWS_PROGRAMMERS<br /> 34,316,288 OPENWINDOWS_USERS<br />    925,696 RFS<br />    327,680 SECURITY<br />  1,409,024 SHLIB_CUSTOM<br />    524,288 SUNVIEW_DEMO<br />  1,884,160 SUNVIEW_PROGRAMMERS<br />  2,727,936 SUNVIEW_USERS<br />  4,104,192 SYSTEM_V<br />    729,088 TEXT<br />     49,152 TLI<br />  7,872,512 USER_DIAG<br /> 29,638,656 USR<br />    622,592 UUCP<br />  6,103,040 VERSATEC</p></blockquote>
<p>Which is kind of funny seeing how some BSD derived OS&#8217;s still keep some of these package names alive.</p>
<p>Anyways, the problem is that I tried to use \\.\d: for the cdrom, and booting didn&#8217;t work at all.  I even tried reading an ISO from the CD, but all it ended up doing was skipping to the ISO9660 part, and dumping that, ignoring the slices, giving me this:</p>
<blockquote><p>243,599,360 sol14.iso</p></blockquote>
<p>So after googling around, trying to at least find a way to back up this CD (it was a souvenir from Japan!) I found someone mentioning to backup their Solaris CD, they had to use the &#8220;readcd&#8221; program.  </p>
<p>Well, I&#8217;d never explored that much with the cdrtools, but behold there is a readcd program that&#8217;ll dump an entire CD out!</p>
<p>So running it with &#8211;scan-bus to find your CD drive&#8230;</p>
<blockquote><p>readcd -scanbus<br />scsibus0:<br />        0,0,0     0) *<br />        0,1,0     1) &#8216;HL-DT-ST&#8217; &#8216;BDDVDRW GBC-H20L&#8217; &#8216;1.B8&#8217; Removable CD-ROM<br />        0,2,0     2) *</p></blockquote>
<p>We can go on to dump a full image of the CD.</p>
<blockquote><p>readcd -dev=0,1,0 f=sunos.iso</p></blockquote>
<p>Which now gives us a much larger ISO image&#8230;</p>
<blockquote><p>329,605,120 sunos.iso</p></blockquote>
<p>Sadly it crashes on bootup&#8230; But on Win32 it&#8217;s a lot better then not reading *ANYTHING* at all!</p>
<blockquote><p>ok boot disk1:d -vs<br />Boot device: /iommu/sbus/espdma@5,8400000/esp@5,8800000/sd@1,0:d File and args: -vs<br />Boot Release 4.1.4 (sun4m) #2: Fri Oct 14 11:07:52 PDT 1994<br />Copyright (c) 1983-1990, Sun Microsystems, Inc.<br />Boot: Romvec version 3.<br />root on /iommu@0,10000000/sbus@0,10001000/espdma@5,8400000/esp@5,8800000/sd@1,0:d fstype 4.2<br />Boot: vmunix<br />.Size: 868352&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;+2319136+75288 bytes<br />Statistics:</p></blockquote>
<p>&#8211;edit</p>
<p>I should also add that Qemu&#8217;s CDROM (like 99% in the world) are fixed block, while SUN (and other vendors) had these CD ROM&#8217;s that could change block size&#8230; So in Qemu you have to use the DISK driver vs the CDROM driver&#8230;.   </p>
<p>ie use -hdb sunos.iso instead of -cdrom sunos.iso</p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2010/04/11/more-cdrom-madness/feed/</wfw:commentRss>
			<slash:comments>8</slash:comments>
		
		
			</item>
	</channel>
</rss>
