<?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>Jepstone.net &#187; emulation</title>
	<atom:link href="http://www.jepstone.net/blog/category/emulation/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jepstone.net/blog</link>
	<description>Rants and Raves from South Kingstown, RI</description>
	<lastBuildDate>Mon, 30 Aug 2010 01:43:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Just about to give up on Parallels</title>
		<link>http://www.jepstone.net/blog/2007/07/18/just-about-to-give-up-on-parallels/</link>
		<comments>http://www.jepstone.net/blog/2007/07/18/just-about-to-give-up-on-parallels/#comments</comments>
		<pubDate>Wed, 18 Jul 2007 15:39:06 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[emulation]]></category>
		<category><![CDATA[vista]]></category>

		<guid isPermaLink="false">http://www.jepstone.net/blog/2007/07/18/just-about-to-give-up-on-parallels/</guid>
		<description><![CDATA[Parallels is driving me nuts. If I try to run Vista, it maxes out the CPU constantly, even in the background. In contrast, I&#8217;ve had two VMware Fusion VMs (Vista and XP) running in the background all morning, and I &#8230; <a href="http://www.jepstone.net/blog/2007/07/18/just-about-to-give-up-on-parallels/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src='http://www.jepstone.net/blog/wpcontent/uploads/2007/07/vmware_does_not_suck.jpg' alt='VMware CPU usage' /></p>
<p>Parallels is driving me nuts. If I try to run Vista, it <a href="http://forum.parallels.com/showthread.php?t=13367&#038;highlight=cpu">maxes out the CPU constantly</a>, even in the background. In contrast, I&#8217;ve had two VMware Fusion VMs (Vista and XP) running in the background all morning, and I <em>forgot they were there</em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2007/07/18/just-about-to-give-up-on-parallels/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What&#8217;s in the Mac OS X version of Silverlight 1.1 Alpha?</title>
		<link>http://www.jepstone.net/blog/2007/05/01/whats-in-the-mac-os-x-version-of-silverlight-11-alpha/</link>
		<comments>http://www.jepstone.net/blog/2007/05/01/whats-in-the-mac-os-x-version-of-silverlight-11-alpha/#comments</comments>
		<pubDate>Tue, 01 May 2007 19:14:32 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[emulation]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.jepstone.net/blog/2007/05/01/whats-in-the-mac-os-x-version-of-silverlight-11-alpha/</guid>
		<description><![CDATA[I downloaded Silverlight 1.1 Alpha and poked around until I found out where the .NET stuff lives. Here&#8217;s what&#8217;s in the bundle: $ cd /Library/Internet\ Plug-Ins/Silverlight.plugin/Contents/MacOS/ $ ls CoreCLR.bundle System.Core.dll IronPython.Modules.dll System.SilverLight.dll IronPython.dll System.Xml.Core.dll Microsoft.JScript.Compiler.dll System.dll Microsoft.JScript.Runtime.dll agclr.dll Microsoft.Scripting.SilverLight.dll agcore &#8230; <a href="http://www.jepstone.net/blog/2007/05/01/whats-in-the-mac-os-x-version-of-silverlight-11-alpha/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I <a href="http://www.microsoft.com/silverlight/downloads.aspx">downloaded Silverlight 1.1 Alpha</a> and poked around until I found out where the .NET stuff lives. Here&#8217;s what&#8217;s in the bundle:</p>
<pre>
$ <strong>cd /Library/Internet\ Plug-Ins/Silverlight.plugin/Contents/MacOS/</strong>
$ <strong>ls</strong>
  CoreCLR.bundle                          System.Core.dll
  IronPython.Modules.dll                  System.SilverLight.dll
  IronPython.dll                          System.Xml.Core.dll
  Microsoft.JScript.Compiler.dll          System.dll
  Microsoft.JScript.Runtime.dll           agclr.dll
  Microsoft.Scripting.SilverLight.dll     agcore
  Microsoft.Scripting.Vestigial.dll       slr.dll
  Microsoft.Scripting.dll                 slr.dll.managed_manifest
  Microsoft.VisualBasic.dll
</pre>
<p>And check out what those DLLs are made of:</p>
<pre>
$ <strong>file System.dll</strong>
  System.dll: MS Windows PE 32-bit Intel 80386 console DLL
</pre>
<p>But what&#8217;s this thing? Man, that&#8217;s big!</p>
<pre>
$ <strong>file agcore</strong>
  agcore: Mach-O universal binary with 2 architectures
  agcore (for architecture i386): Mach-O bundle i386
  agcore (for architecture ppc):  Mach-O bundle ppc
$ <strong>ls -l agcore</strong>
  -rwxr-xr-x   1 502  admin  16083600 Apr 26 03:16 agcore
</pre>
<p>So how much of those DLLs are managed code? Do they contain Win32 code, and does agcore have some magic in it for bootstrapping Win32 code?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2007/05/01/whats-in-the-mac-os-x-version-of-silverlight-11-alpha/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Does the Vista EULA Really Prohibit Virtualization?</title>
		<link>http://www.jepstone.net/blog/2007/02/12/does-the-vista-eula-really-prohibit-virtualization/</link>
		<comments>http://www.jepstone.net/blog/2007/02/12/does-the-vista-eula-really-prohibit-virtualization/#comments</comments>
		<pubDate>Mon, 12 Feb 2007 19:20:57 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[emulation]]></category>

		<guid isPermaLink="false">http://jepstone.net/blog/?p=596</guid>
		<description><![CDATA[I don&#8217;t think so, and here&#8217;s why. The EULA that this post refers to says (emphasis mine) &#8220;You may not use the software installed on the licensed device within a virtual (or otherwise emulated) hardware system.&#8221; I&#8217;m certainly not a &#8230; <a href="http://www.jepstone.net/blog/2007/02/12/does-the-vista-eula-really-prohibit-virtualization/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t think so, and here&#8217;s why. The EULA that <a href="http://parallelsvirtualization.blogspot.com/2007/01/vista-is-here-so-what-does-it-mean-for.html">this post refers to</a> says (emphasis mine) &#8220;You may not use the software <em>installed on the licensed device</em> within a virtual (or otherwise emulated) hardware system.&#8221; I&#8217;m certainly not a lawyer, but it sounds like the scenario addressed is taking the copy of Vista that you&#8217;ve installed on your PC, and running that same copy under virtualization.</p>
<p>The <a href="http://download.microsoft.com/documents/useterms/Windows%20Vista_Ultimate_English_36d0fe99-75e4-4875-8153-889cf5105718.pdf">EULA</a> (yes, it&#8217;s titled Ultimate, but it includes terms for other editions) defines a licensed device:</p>
<blockquote><p>
Before you use the software under a license, you must assign that license to one device (physical hardware system). That device is the &#8220;licensed device.&#8221; A hardware partition or blade is considered to be a separate device.</p></blockquote>
<p>And the prohibition against using Microsoft&#8217;s DRM within the virtual machine makes no sense unless you are talking about two identical copies (same activation key) of Vista running on top of each other.</p>
<p>So there&#8217;s some ambiguity here, and it would be great to get some clarity from <a href="http://windowsvistablog.com/blogs/windowsvista/">the Vista team</a>.  But here&#8217;s the thought I keep coming back to: if you go out and buy a copy of Vista that you intend to run only under Parallels, the only thing that seems to remotely qualify as the licensed device is the virtual machine itself. Here&#8217;s how I think the legalese translates:</p>
<p><em>&#8220;You may not use the software installed on the licensed device within a virtual (or otherwise emulated) hardware system.&#8221;</em>: You can&#8217;t take the copy of Vista you installed on your PC and run it under any kind of virtual or emulated system.</p>
<p><em>&#8220;You may use the software installed on the licensed device within a virtual (or otherwise emulated) hardware system on the licensed device.&#8221;</em>: You can take the copy of Vista you installed on your PC and run it under virtualization or emulation, but only on the same PC.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2007/02/12/does-the-vista-eula-really-prohibit-virtualization/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fedora Core 5 on Virtual PC 7 for Macintosh</title>
		<link>http://www.jepstone.net/blog/2006/04/13/fedora-core-5-on-virtual-pc-7-for-macintosh/</link>
		<comments>http://www.jepstone.net/blog/2006/04/13/fedora-core-5-on-virtual-pc-7-for-macintosh/#comments</comments>
		<pubDate>Thu, 13 Apr 2006 20:22:11 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[emulation]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>

		<guid isPermaLink="false">http://jepstone.net/blog/?p=520</guid>
		<description><![CDATA[I posted an entry a while back about getting this to work under an earlier beta of Fedora Core 5. I think these instructions are much more straightforward. You&#8217;ll need to go through the installation. I suggest using text mode &#8230; <a href="http://www.jepstone.net/blog/2006/04/13/fedora-core-5-on-virtual-pc-7-for-macintosh/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I <a href="http://jepstone.net/blog/?p=511">posted an entry a while back</a> about getting this to work under an earlier beta of Fedora Core 5. I think these instructions are much more straightforward. You&#8217;ll need to go through the installation. I suggest using text mode if you can (I specified &#8220;text expert&#8221; when I was installing).</p>
<p>When installation is finished, and you are prompted to reboot, use Alt-F2 to switch to a virtual console (Ctrl-Alt-F2 if you are in X11). Then, mount the install media:</p>
<pre># cd /tmp
# mknod hdc b 22 0
# mkdir /mnt/cdrom
# mount /tmp/hdc /mnt/cdrom</pre>
<p>Copy the i586 kernel over to root&#8217;s home directory on the new system:</p>
<pre># cp /mnt/cdrom/Fedora/RPMS/kernel-*i586* /mnt/sysimage/root</pre>
<p>Unmount and eject the install media and chroot into the new system:</p>
<pre># umount /mnt/cdrom/
# eject /tmp/hdc
# chroot /mnt/sysimage/</pre>
<p>Install the kernel and exit the chroot:</p>
<pre>chroot# cd root/
chroot# rpm --force -Uvh kernel-*i586.rpm
chroot# exit</pre>
<p>Use Alt-F1 (or Alt-F7 if you were in X11) to return to the installer, and<br />
reboot as prompted.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2006/04/13/fedora-core-5-on-virtual-pc-7-for-macintosh/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Ubuntu Hacks @ LinuxWorld Boston</title>
		<link>http://www.jepstone.net/blog/2006/04/05/ubuntu-hacks-linuxworld-boston/</link>
		<comments>http://www.jepstone.net/blog/2006/04/05/ubuntu-hacks-linuxworld-boston/#comments</comments>
		<pubDate>Wed, 05 Apr 2006 11:10:02 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[books]]></category>
		<category><![CDATA[emulation]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[wireless]]></category>

		<guid isPermaLink="false">http://jepstone.net/blog/?p=519</guid>
		<description><![CDATA[I&#8217;ll be giving a short talk and demonstration on Ubuntu Hacks today (Wednesday, April 5 at 12:30) at the O&#8217;Reilly LinuxWorld booth. Drop by and learn about getting Ubuntu running under colinux, going online with a Bluetooth connection and a &#8230; <a href="http://www.jepstone.net/blog/2006/04/05/ubuntu-hacks-linuxworld-boston/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.oreilly.com/catalog/covers/ubuntuhks_rc.s.gif" /></p>
<p>I&#8217;ll be giving a short talk and demonstration on <a href="http://www.oreilly.com/catalog/ubuntuhks/">Ubuntu Hacks</a> today (Wednesday, April 5 at 12:30) at the O&#8217;Reilly LinuxWorld booth. Drop by and learn about getting Ubuntu running under colinux, going online with a Bluetooth connection and a cell phone, and a few more things.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2006/04/05/ubuntu-hacks-linuxworld-boston/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSPARC</title>
		<link>http://www.jepstone.net/blog/2006/02/15/opensparc/</link>
		<comments>http://www.jepstone.net/blog/2006/02/15/opensparc/#comments</comments>
		<pubDate>Wed, 15 Feb 2006 19:04:45 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[emulation]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://jepstone.net/blog/?p=513</guid>
		<description><![CDATA[OpenSPARC Goals: &#8220;To significantly increase participation in processor architecture development and application design by making cutting-edge hardware IP freely available.&#8221; Getting the obvious Bart Simpson reference out of the way quickly (how long do you figure before they reword that &#8230; <a href="http://www.jepstone.net/blog/2006/02/15/opensparc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://opensparc.sunsource.net/nonav/index.html">OpenSPARC</a> Goals: &#8220;To significantly increase participation in processor architecture development and application design by making cutting-edge hardware IP freely available.&#8221; Getting the obvious <a href="http://en.wikipedia.org/wiki/Bart_Simpson#Bart_Simpon.27s_Prank_phone_calls">Bart Simpson reference</a> out of the way quickly (how long do you figure before they reword that first bullet point?), I&#8217;m wondering how someone like me could hack this? I can&#8217;t fab chips in my basement&#8230; yet. But <a href="http://fabrice.bellard.free.fr/qemu/status.html">Qemu emulates a SPARC</a>. Is there an opportunity for SunSource there? An emulator does not need to be full speed to be useful. (<a href="http://www.smartmobs.com/archive/2006/02/15/opensparc_ope.html">via Smart Mobs</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2006/02/15/opensparc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora Core 5 Test 2 on Virtual PC</title>
		<link>http://www.jepstone.net/blog/2006/02/04/fedora-core-5-test-2-on-virtual-pc/</link>
		<comments>http://www.jepstone.net/blog/2006/02/04/fedora-core-5-test-2-on-virtual-pc/#comments</comments>
		<pubDate>Sat, 04 Feb 2006 22:46:32 +0000</pubDate>
		<dc:creator>Brian Jepson</dc:creator>
				<category><![CDATA[emulation]]></category>
		<category><![CDATA[operating systems]]></category>

		<guid isPermaLink="false">http://jepstone.net/blog/?p=511</guid>
		<description><![CDATA[I tried loading up FC5 test 2 on Virtual PC on my Mac, and the install went well, but the smoke test (rebooting into my new Linux install) failed miserably with some weird errors: bad: scheduling from the idle thread! &#8230; <a href="http://www.jepstone.net/blog/2006/02/04/fedora-core-5-test-2-on-virtual-pc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I tried loading up FC5 test 2 on Virtual PC on my Mac, and the install went well, but the smoke test (rebooting into my new Linux install) failed miserably with some weird errors:</p>
<pre>bad: scheduling from the idle thread!
Unable to handle kernel NULL pointer derefence</pre>
<p>This was followed by a dialog telling me &#8220;An unrecoverable processor error has been encountered. The PC will restart now.&#8221;</p>
<p>Per <a href="http://www.macosx.com/newsgroups/showthread.php?t=199847">this post on macosx.com</a>, I found a suggestion to use Pentium-MMX as the target architecture instead of Pentium Pro, but the instructions didn&#8217;t work perfectly for me. There is a 586 architecture RPM available, but the Fedora installer fails to choose this, and uses the 686 RPM instead.</p>
<p>To actually get the kernel on the target system, I used the Virtual Disk Assistant to create an empty FAT32 disk image, mounted it on my Mac, copied the kernel to it (look for kernel-<em>version</em>.i586.rpm in <a href="http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/">this directory</a>), and unmounted it.</p>
<p>Then I configured the still-broken Fedora install to use that image as the second disk, put the install DVD into my machine, and booted into rescue mode. I figured I could just chroot to <em>/mnt/sysimage</em>, and rpm -ivh the file I needed. Unfortunately, I got a bunch of errors about the scriptlets, so I had to install it by hand.</p>
<p>First, I mounted <em>/dev/hdb1</em> (the FAT32 image), copied the kernel over to the root of the boot partition, and then installed it with cpio.</p>
<pre>sh-3.1# mkdir /mnt2
sh-3.1# mount /dev/hdb1 /mnt2
sh-3.1# cp /mnt2/kernel-2.6.15-1.1907_FC5.i586.rpm /mnt/sysimage/
sh-3.1# umount /mnt2
sh-3.1# chroot /mnt/sysimage/
sh-3.1# rpm2cpio kernel-2.6.15-1.1907_FC5.i586.rpm | cpio -u --extract</pre>
<p>Don&#8217;t reboot just yet, because when I tried booting, I got lots of errors from ksign about unsigned modules. It turns out there was one more thing to do: run the post-install scriptlet (which you can find with the command rpm -qp &#8211;scripts kernel-2.6.15-1.1907_FC5.i586.rpm):</p>
<pre>sh-3.1# /sbin/new-kernel-pkg --package kernel --mkinitrd --depmod --install 2.6.15-1.1907_FC5</pre>
<p>Now you&#8217;re ready to exit the chroot environment, halt the Fedora virtual machine, eject the DVD, and reboot.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jepstone.net/blog/2006/02/04/fedora-core-5-test-2-on-virtual-pc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

