<?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>HPPA &#8211; Virtually Fun</title>
	<atom:link href="https://virtuallyfun.com/category/hppa/feed/" rel="self" type="application/rss+xml" />
	<link>https://virtuallyfun.com</link>
	<description>Fun with Virtualization</description>
	<lastBuildDate>Sun, 02 Nov 2025 13:46:40 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.1</generator>
	<item>
		<title>Installing HP-UX 11i v1 (11.11) 32bit PA1.1 on QEMU 10.1</title>
		<link>https://virtuallyfun.com/2025/10/26/installing-hp-ux-11i-v1-11-11-32bit-pa1-1-on-qemu-10-1/</link>
					<comments>https://virtuallyfun.com/2025/10/26/installing-hp-ux-11i-v1-11-11-32bit-pa1-1-on-qemu-10-1/#respond</comments>
		
		<dc:creator><![CDATA[tenox]]></dc:creator>
		<pubDate>Sun, 26 Oct 2025 23:20:23 +0000</pubDate>
				<category><![CDATA[guest post]]></category>
		<category><![CDATA[HPPA]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[unix]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/?p=15494</guid>

					<description><![CDATA[(This is a guest post by Antoni Sawicki aka Tenox) Definitely not the first person doing this. In fact this has been quite widely documented, in particular by astr0baby and openpa.net. Just my personal observations and tweaks. Install ISOs from &#8230; <a href="https://virtuallyfun.com/2025/10/26/installing-hp-ux-11i-v1-11-11-32bit-pa1-1-on-qemu-10-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><em>(This is a guest post by Antoni Sawicki aka Tenox)</em></p>



<p class="wp-block-paragraph">Definitely not the first person doing this. In fact this has been quite widely documented, in particular by <a href="https://astr0baby.wordpress.com/2021/04/21/running-hp-ux-11-11-on-the-apple-m1/">astr0baby</a> and <a href="https://www.openpa.net/qemu_pa-risc_emulation.html">openpa.net</a>. Just my personal observations and tweaks.</p>



<h2 class="wp-block-heading">Install</h2>



<p class="wp-block-paragraph"><a href="http://tenox.pdp-11.ru/os/hpux/OS/11.11/2006-12%20MCOE,%20Apps/">ISOs from 2006 MCOE</a> work just fine</p>



<pre class="wp-block-code"><code>qemu-img create -f qcow2 hpux.img 20G

qemu-system-hppa \
-machine B160L \
-smp cpus=4 \
-accel tcg,thread=multi \
-boot d \
-drive if=scsi,bus=0,index=6,file=hpux.img,format=qcow2 \
-m 512 \
-d nochain \
-cdrom mcoe.1_5.iso \
-net nic,model=tulip \
-net user
</code></pre>



<p class="wp-block-paragraph">I installed mostly the defaults, removed Java spyware and Web based management.</p>



<p class="wp-block-paragraph">I recommend using advanced mode and editing File Systems to your desired size or just leaving /stand and / and deleting everything else. Otherwise, if you do defaults, you will be facing resizing them in single user mode later.</p>



<p class="wp-block-paragraph">Forget any serial console, telnet stdio or forwarding X over SSH nonsense. Graphical console now works fully end to end without any issues, except for <code>nsswitch.conf</code>. </p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="845" src="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxlogin-1024x845.png" alt="" class="wp-image-15496" srcset="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxlogin-1024x845.png 1024w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxlogin-300x247.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxlogin-768x633.png 768w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxlogin-364x300.png 364w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxlogin.png 1290w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">When trying to login via CDE you will get an error about unable to start desktop messaging system. Login either via text console or failsafe session. Copy <code>/etc/nsswitch.files</code> to <code>/etc/nsswitch.conf</code>. Also make sure that your hostname can resolve via <code>/etc/hosts</code>.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="876" height="405" src="https://virtuallyfun.com/wp-content/uploads/2025/10/Screenshot-2025-10-26-at-1.33.00-AM.png" alt="" class="wp-image-15495" srcset="https://virtuallyfun.com/wp-content/uploads/2025/10/Screenshot-2025-10-26-at-1.33.00-AM.png 876w, https://virtuallyfun.com/wp-content/uploads/2025/10/Screenshot-2025-10-26-at-1.33.00-AM-300x139.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/10/Screenshot-2025-10-26-at-1.33.00-AM-768x355.png 768w, https://virtuallyfun.com/wp-content/uploads/2025/10/Screenshot-2025-10-26-at-1.33.00-AM-500x231.png 500w" sizes="(max-width: 876px) 100vw, 876px" /></figure>



<p class="wp-block-paragraph">Once this is done you should be able to login via CDE:</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="840" src="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxcde-1024x840.png" alt="" class="wp-image-15497" srcset="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxcde-1024x840.png 1024w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxcde-300x246.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxcde-768x630.png 768w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxcde-366x300.png 366w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxcde.png 1296w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">If you left filesystem defaults, you will be facing this:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="881" height="366" src="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxalloc.png" alt="" class="wp-image-15499" srcset="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxalloc.png 881w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxalloc-300x125.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxalloc-768x319.png 768w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxalloc-500x208.png 500w" sizes="auto, (max-width: 881px) 100vw, 881px" /></figure>



<p class="wp-block-paragraph">To fix this, add <code>-boot menu=on</code> to qemu parameters, run <code>boot pri</code> then answer yes to interact with IPL and then type <code>hpux -is</code>.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="641" height="366" src="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsingle.png" alt="" class="wp-image-15500" srcset="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsingle.png 641w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsingle-300x171.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsingle-500x285.png 500w" sizes="auto, (max-width: 641px) 100vw, 641px" /></figure>



<p class="wp-block-paragraph">This will land you in single user mode where you can extend volumes like so:</p>



<pre class="wp-block-code"><code># cat /etc/fstab
....
lvextend -L 4096 /dev/vg00/lvol7
extendfs /dev/vg00/lvol7
....
</code></pre>



<p class="wp-block-paragraph">But ideally this should be done ahead of time during install in File Systems tabs (advanced mode).</p>



<p class="wp-block-paragraph">I like to disable some slow starting and unnecessary services on startup, to do so go to <code>/etc/rc.config.d</code> and edit bunch of files changing value from <code>=1</code> to <code>=0</code>. I typically disable SNMP, CIM and Mailserver, Webadmin, Diagnostics, EMS, nettl, icod, etc at minimum. Also some stubborn services need to be disabled by renaming or removing them from <code>/sbin/rcX.d</code> &#8230;</p>



<h2 class="wp-block-heading">Software Install</h2>



<p class="wp-block-paragraph">Note that this emulates <strong>PA-RISC 1.1</strong> (32bit) and software built for <strong>PA-RISC 2.0</strong> (64bit) will not work. Very little software is marked which platform is it for, so your mileage will vary. You will encounter errors and crashes. To avoid confusion check the binary with <code>file(1)</code> utility.</p>



<p class="wp-block-paragraph">I have a bunch of handy tools like bash/gmake/gzip/gtar/ncftp bundled up <a href="http://tenox.pdp-11.ru/os/hpux/OS/11.11/tools/tools-hpux11iv1.tar.lz">here</a>. There is GCC 4.0.2 <a href="http://tenox.pdp-11.ru/os/hpux/OS/11.11/hppa1.1-hp-hpux11.11/gcc-4.0.2.depot.tar.lz">here</a> as a depot and <a href="http://tenox.pdp-11.ru/os/hpux/OS/11.11/tools/gcc-core-402-hpux11v1.tar.lz">here</a> as a tarball. I also installed a bunch of tools and enhancements from Soft Pack and Apps cdroms.</p>



<p class="wp-block-paragraph">Most importantly SimCity!</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="839" src="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsim-1024x839.png" alt="" class="wp-image-15506" srcset="https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsim-1024x839.png 1024w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsim-300x246.png 300w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsim-768x629.png 768w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsim-366x300.png 366w, https://virtuallyfun.com/wp-content/uploads/2025/10/hpuxsim.png 1299w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">More games can be found <a href="https://www.openpa.net/hp-ux_games_software.html">here</a>. However this emulated HP-UX doesn&#8217;t have working OpenGL so don&#8217;t expect much.</p>



<p class="wp-block-paragraph">Finally, to shut down the os:</p>



<pre class="wp-block-code"><code>reboot -h</code></pre>



<p class="wp-block-paragraph">The ready to run image is available <a href="http://tenox.pdp-11.ru/os/hpux/Qemu/hpux11v1-qemu.tar.lz">here</a>. It works with QEMU 10.1. It has bash &amp; gcc pre-installed. Login as root/root.</p>



<p class="wp-block-paragraph"></p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2025/10/26/installing-hp-ux-11i-v1-11-11-32bit-pa1-1-on-qemu-10-1/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Qemu now supports the HPPA in softmmu mode!</title>
		<link>https://virtuallyfun.com/2018/04/30/qemu-now-supports-the-hppa-in-softmmu-mode/</link>
					<comments>https://virtuallyfun.com/2018/04/30/qemu-now-supports-the-hppa-in-softmmu-mode/#comments</comments>
		
		<dc:creator><![CDATA[neozeed]]></dc:creator>
		<pubDate>Mon, 30 Apr 2018 03:31:36 +0000</pubDate>
				<category><![CDATA[HPPA]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[QEMU]]></category>
		<guid isPermaLink="false">https://virtuallyfun.com/wordpress/?p=8357</guid>

					<description><![CDATA[I&#8217;ve worked on machines with HP-UX, but never owned one.Â  Well Qemu now has system emulation thanks toÂ Richard Henderson! You can find information over at: https://parisc.wiki.kernel.org/index.php/Qemu Being the unfair person I am, I thought I&#8217;d try NeXTSTEP to see how &#8230; <a href="https://virtuallyfun.com/2018/04/30/qemu-now-supports-the-hppa-in-softmmu-mode/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><a href="https://virtuallyfun.com/wp-content/uploads/2018/04/parisc-tux.png"><img loading="lazy" decoding="async" class="alignleft size-full wp-image-8361" src="https://virtuallyfun.com/wp-content/uploads/2018/04/parisc-tux.png" alt="" width="116" height="135" /></a>I&#8217;ve worked on machines with HP-UX, but never owned one.Â  Well Qemu now has system emulation thanks toÂ Richard Henderson! You can find information over at:</p>
<p><a href="https://parisc.wiki.kernel.org/index.php/Qemu">https://parisc.wiki.kernel.org/index.php/Qemu</a></p>
<p>Being the unfair person I am, I thought I&#8217;d try NeXTSTEP to see how far it gets.</p>
<pre>Processor   Speed            State           Coprocessor State  Cache Size
---------  --------   ---------------------  -----------------  ----------
0      250 MHz    Active                 Functional            0 KB

Available memory: 512 MB
Good memory required: 16 MB

Primary boot path: FWSCSI.6.0
Alternate boot path: LAN.0.0.0.0.0.0
Console path: SERIAL_1.9600.8.none
Keyboard path: PS2

Available boot devices:
1. DVD/CD [lsi 00:00.0 2:0 Drive QEMU QEMU CD-ROM 2.5+]
2. lsi 00:00.0 0:0 Drive QEMU QEMU HARDDISK 2.5+

Booting from lsi 00:00.0 0:0 Drive QEMU QEMU HARDDISK 2.5+

Booting...
Boot IO Dependent Code (IODC) revision 153

HARD Booted.
Can't determine I/O subsystem type

NEXTSTEP boot v3.3.4.17
524288 memory

NEXTSTEP will start up in 10 seconds, or you can:
Type -v and press Return to start up NEXTSTEP with diagnostic messages
Type ? and press Return to learn about advanced startup options
Type any other character to stop NEXTSTEP from starting up automatically

boot:
</pre>
<p>And amazingly the bootloader works, although that is about it. Trying to boot up OpenBSD gets about this far:</p>
<pre>PDC_CHASSIS: Initialize (3), CHASSIS  cec0
&gt;&gt; OpenBSD/hppa CDBOOT 0.2
booting dk0a:/bsd.rd: 2703360+851960+2675712+547840=0x8631f0


SeaBIOS: Unimplemented PDC_CACHE function 1 8ddad0 1 1 1</pre>
<p>I found on Windows though that the Debian 8 CD&#8217;s work the best, as the earlier ones lock up after loading a kernel, and the later one doesn&#8217;t fully initialize.Â  I&#8217;ve been usingÂ this one: <a href="https://cdimage.debian.org/cdimage/ports/8.0/hppa/iso-cd/debian-8.0-hppa-NETINST-1.iso">debian-8.0-hppa-NETINST-1.iso</a>Â  Serial console interaction is the way to go, so I ran Qemu like this:</p>
<p>qemu-system-hppa.exe -L . -serial telnet:127.0.0.1:4444,server,wait -boot d -cdrom debian-8.0-hppa-NETINST-1.iso -hda Deiban8HPPA.vmdk</p>
<p>So this way I can get get the install kicked off.Â  Although I should probably have just downloadedÂ <a href="https://cdimage.debian.org/cdimage/ports/8.0/hppa/iso-cd/debian-8.0-hppa-CD-1.iso">debian-8.0-hppa-CD-1.iso</a></p>
<p><div id="attachment_8358" style="width: 989px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2018/04/Installing-Linux-HPPA.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-8358" class="size-full wp-image-8358" src="https://virtuallyfun.com/wp-content/uploads/2018/04/Installing-Linux-HPPA.png" alt="" width="979" height="512" /></a><p id="caption-attachment-8358" class="wp-caption-text">Linux on HPPA</p></div></p>
<p>Otherwise, yeah, it&#8217;s Linux, on HPPA</p>
<p>And for anyone who is interested, the only version of HP-UX I have hanging around,Â HP-UX 10.20 [HP9000 S700] gives me the following:</p>
<p><div id="attachment_8359" style="width: 639px" class="wp-caption aligncenter"><a href="https://virtuallyfun.com/wp-content/uploads/2018/04/HPUX-boot.png"><img loading="lazy" decoding="async" aria-describedby="caption-attachment-8359" class="size-full wp-image-8359" src="https://virtuallyfun.com/wp-content/uploads/2018/04/HPUX-boot.png" alt="" width="629" height="385" /></a><p id="caption-attachment-8359" class="wp-caption-text">HP-UX 10.20 on Qemu</p></div></p>
]]></content:encoded>
					
					<wfw:commentRss>https://virtuallyfun.com/2018/04/30/qemu-now-supports-the-hppa-in-softmmu-mode/feed/</wfw:commentRss>
			<slash:comments>28</slash:comments>
		
		
			</item>
	</channel>
</rss>
