<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.12-alpha" -->
<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/"
	>

<channel>
	<title>iMac's Homepage</title>
	<link>http://www.ianbmacdonald.com/wordpress</link>
	<description>Ian MacDonald's Blog</description>
	<pubDate>Sun, 21 Oct 2007 14:46:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.12-alpha</generator>
	<language>en</language>
			<item>
		<title>AMD X2, Abit nVidia 570, OCZ 4GB</title>
		<link>http://www.ianbmacdonald.com/wordpress/2007/08/05/amd-x2-abit-nvidia-570-ocz-4gb/</link>
		<comments>http://www.ianbmacdonald.com/wordpress/2007/08/05/amd-x2-abit-nvidia-570-ocz-4gb/#comments</comments>
		<pubDate>Sun, 05 Aug 2007 14:48:23 +0000</pubDate>
		<dc:creator>iMac</dc:creator>
		
		<category>Debian</category>

		<guid isPermaLink="false">http://www.ianbmacdonald.com/wordpress/2007/08/05/amd-x2-abit-nvidia-570-ocz-4gb/</guid>
		<description><![CDATA[After struggling with growing CPU and I/O bandwidth requirements on my infrastructure, I finally made the jump to 64bit.  A quick ]]></description>
			<content:encoded><![CDATA[<p>After struggling with growing CPU and I/O bandwidth requirements on my infrastructure, I finally made the jump to 64bit.  A quick <$600 upgrade was not without its interesting issues.</p>
<p>A few interesting notes:</p>
<p>The Abit KN9 mobo requires me to override my default RAM voltage, and set it manually to 2.0V - Something that was conveniently included on a small note in my box - possibly put there by my reliable vendor, Premier Computer. (www.pccanada.com)<br />
Without this little tweak, memory corruption on default settings didn&#8217;t even allow the system to boot.  A sort of scary experience after assembling all the hardware.</p>
<p>Even after overcoming this, there was apparent instability running the Xen Hypervisor - strange messages similar to &#8220;Invalid CPU Instruction [SMP] CPU 0&#8243; followed by kernel oops and general instability.  Turns out a BIOS upgrade solved this - &#8220;Wheew&#8221;.  A notable line in the Abit changelog is &#8220;Improved Linux Compatibility&#8221;.</p>
<p>In the end I have replaced my Pentium 2.0GHz with 1.5GB of PC133, with a Dual Core X2 4600 @ 2.4 GHz with 4GB of PC6400 OCZ Vista Series.  The Xen 64bit PV guests boot in around seven seconds, including the slow MTA start.  A fully virtualized 32bit HVM guest running Etch was required to handle the old Xen PV 32bit guests from the old hardware.  Until Xen 3.1 is packaged, you can not run 32bit PV guest on a 64bit host/Dom0.  The slower 32bit HVM is still much faster than the older system.  The additional RAM gives plenty more room to each of the virtualized systems, Web, Mail, DNS, SQL, VPN and Media.   Everything but the Media server will eventually become 64bit PV, until TwonkyVision add a 64bit binary to their list of architectures.  Fast and Stable Hardware Virtualization for less than $600.  Awesome what you can do for the the average small business with no software costs whatsoever.  Debian stable packages make day-to-day management effortless, allowing the average enthusiast to focus on continued integration.</p>
<p>Constantly running the latest Debian stable environment, this recent 32bit- to 64it change will mark the first time I have ever &#8220;Re-installed&#8217; my OS since originally deploying Debian Potato as my Internet gateway in 2001/2002.</p>
<p>Over the years, thanks to Debian, I have had time to add many new services to the basic mail and web infrastructure.  With the addition of Xen, all the physically separate boxes merged into one piece of hot iron.   Creating a new &#8220;LDAP&#8221; server, and a new &#8220;SVN&#8221; server, and testing out migrations to PowerDNS,  Apache2, and leveraging OpenSWAN and OpenVPN all became trivial experiments that did not  impact production services or incur any hardware costs, with the help of Xen.</p>
<p>Xen 3.x on a Debian stable system, supported by HP is certainly a winning combination we would love to help any leading edge and technology dependent business take advantage of.
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianbmacdonald.com/wordpress/2007/08/05/amd-x2-abit-nvidia-570-ocz-4gb/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SI 3114 and 750GB Drives</title>
		<link>http://www.ianbmacdonald.com/wordpress/2007/07/10/sig-3114-and-750gb-drives/</link>
		<comments>http://www.ianbmacdonald.com/wordpress/2007/07/10/sig-3114-and-750gb-drives/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 04:20:19 +0000</pubDate>
		<dc:creator>iMac</dc:creator>
		
		<category>Debian</category>

		<guid isPermaLink="false">http://www.ianbmacdonald.com/wordpress/2007/07/10/sig-3114-and-750gb-drives/</guid>
		<description><![CDATA[Recently purchased a new 750GB SATA drive and a nice Vantec Nexstar 3 enclosure with the eSata interface, allowing up to 3.0Gbps transfer rates.   (Only 1.5Gbps on PCI SATA)
Plugged it into a new SI3114 based PCI card. Interestingly the Linux kernel (stock 2.6.18) seemed to handle a power-up of the 750GB drive without [...]]]></description>
			<content:encoded><![CDATA[<p>Recently purchased a new 750GB SATA drive and a nice Vantec Nexstar 3 enclosure with the eSata interface, allowing up to 3.0Gbps transfer rates.   (Only 1.5Gbps on PCI SATA)</p>
<p>Plugged it into a new SI3114 based PCI card. Interestingly the Linux kernel (stock 2.6.18) seemed to handle a power-up of the 750GB drive without any problem when the system was already running, however the 5.0.32 firmware it shipped with would freeze when the drive had power during the BIOS post.  The <a href="http://lotso.livejournal.com/95505.html">common problem </a>was easily resolved by downloading a firmware <a href="http://www.siliconimage.com/support/supportsearchresults.aspx?pid=28&#038;cid=15&#038;ctid=2&#038;osid=0&#038;">upgrade from Silicon Image</a> and upgrading to the 5.4 series BIOS.</p>
<p>After building the FreeDOS bootdisk as recommended in the README, entering the command <tt> updflash r5314.bin </tt> fixed everything.
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianbmacdonald.com/wordpress/2007/07/10/sig-3114-and-750gb-drives/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Debian 2.6.18-4-xen-k7 Extinct</title>
		<link>http://www.ianbmacdonald.com/wordpress/2007/03/25/debian-2618-4-xen-k7-extinct/</link>
		<comments>http://www.ianbmacdonald.com/wordpress/2007/03/25/debian-2618-4-xen-k7-extinct/#comments</comments>
		<pubDate>Sun, 25 Mar 2007 17:23:10 +0000</pubDate>
		<dc:creator>iMac</dc:creator>
		
		<category>Debian</category>

		<guid isPermaLink="false">http://www.ianbmacdonald.com/wordpress/2007/03/25/debian-2618-4-xen-k7-extinct/</guid>
		<description><![CDATA[Up until recently,  Debian users needed to understand various chip-specific flavours within each architecture. For instance -486, -k7, -k7-smp, -686, -686-smp, etc. were all under the i386 architecture (The 32bit AMD/Intel compatible architecture) and -amd64-k8, -amd64-k8-smp, em64t-p4, etc. were all under the amd64 architecture (The 64bit AMD/Intel architecture).

Recently the chip specific versions have been [...]]]></description>
			<content:encoded><![CDATA[<p>Up until recently,  Debian users needed to understand various chip-specific flavours within each architecture. For instance -486, -k7, -k7-smp, -686, -686-smp, etc. were all under the i386 architecture (The 32bit AMD/Intel compatible architecture) and -amd64-k8, -amd64-k8-smp, em64t-p4, etc. were all under the amd64 architecture (The 64bit AMD/Intel architecture).</p>
<p>
Recently the chip specific versions have been merging to common binary images with module component for chip-specific hardware and smp options.  One binary flavour, <a href="http://packages.debian.org/testing/admin/linux-image-2.6.18-4-k7">the -k7</a>, still exists separately suggesting some optimizations require separate binaries and cannot be rolled up into a common binary package.</p>
<p>
This was fine until recently there was no longer an AMD-K7 specific flavour of the Debian Xen Linux System.  For now, it appears all current 32bit AMD/Intel processors should run on the &#8216;686&#8242; flavour and all current AMD/Intel 64bit processors continue to run on the &#8216;amd64&#8242; flavour.   Why there is not a <a href="http://packages.debian.org/unstable/admin/linux-image-2.6-em64t-p4">transitional package</a>, used to map the K7 upgrades to the 686 binaries must be due to the focus on Etch release.  Since there is no Xen-K7 in Sarge, official transition is not required.  Unfortunately for Debian K7 users, Xen has been stable and available for some time and many Etch deployments will face the unofficial manual transition from -k7 to -686.  In any event, the lack of communication on this as indicated in <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405187">Bug 405187</a> is a bit unusual.   One interesting note is that <a href="http://packages.debian.org/testing/admin/linux-image-2.6-k7">linux-image-2.6-k7</a> is alive and well, suggesting it is no easy task to merge xen-linux-686 with the linux-image-k7 optimizations.  For now, an AthlonXP user will have a -k7 image for non-xen usage, and a -686 image for xen usage. It just does not seem to be sound logic.  Certainly  it should all be resolved for the Etch release.   </p>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianbmacdonald.com/wordpress/2007/03/25/debian-2618-4-xen-k7-extinct/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Windows on Xen HVM on HP Pavillion dv9000z</title>
		<link>http://www.ianbmacdonald.com/wordpress/2007/01/20/windows-on-xen-hvm-on-hp-pavillion-dv9000z/</link>
		<comments>http://www.ianbmacdonald.com/wordpress/2007/01/20/windows-on-xen-hvm-on-hp-pavillion-dv9000z/#comments</comments>
		<pubDate>Sat, 20 Jan 2007 18:26:14 +0000</pubDate>
		<dc:creator>iMac</dc:creator>
		
		<category>Debian</category>

		<guid isPermaLink="false">http://www.ianbmacdonald.com/wordpress/2007/01/20/windows-on-xen-hvm-on-hp-pavillion-dv9000z/</guid>
		<description><![CDATA[It all seems to be working great now.  Running Debian default packages and kernels with iommu=off, I used QEMU  to  run the installer for WinXP and Win2K3.   With Xen, both installers seemed to get hung-up at &#8220;Setup is Starting&#8230;&#8221;  or thereabouts.  In XP, once, I was able to [...]]]></description>
			<content:encoded><![CDATA[<p>It all seems to be working great now.  Running Debian default packages and kernels with iommu=off, I used <a title="QEMU" target="_blank" href="https://help.ubuntu.com/community/WindowsXPUnderQemuHowTo">QEMU</a>  to  run the installer for WinXP and Win2K3.   With Xen, both installers seemed to get hung-up at &#8220;Setup is Starting&#8230;&#8221;  or thereabouts.  In XP, once, I was able to see the F5 menu (only two options in XP) before it hung (still utilizing CPU).  In Win2K3 I could never get to the F5 menu leaving me at  &#8220;Setup is Starting&#8221; screen with CPU still being utilized.  Using QEMU to get through until the first reboot worked great, and allowed me to proceed to boot using Xen for the subsequent installation process.  Both OSes are now up and running, and surprising fast and responsive running on qemu qcow disk images under Xen. Time to test out Solaris, Nexenta and others, and fool around with Suspend/Resume.<br />
<a title="Xen HVM running Windows" target="_blank" href="http://www.ianbmacdonald.com/wordpress/wp-content/uploads/2007/01/xen_hvm.png"></p>
<div style="text-align: center"><img id="image53" alt="Windows on Xen HVM" src="http://www.ianbmacdonald.com/wordpress/wp-content/uploads/2007/01/xen_hvm.thumbnail.png" /></div>
<p></a>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianbmacdonald.com/wordpress/2007/01/20/windows-on-xen-hvm-on-hp-pavillion-dv9000z/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Xen Linux on HP Pavillion Laptop w/ Turion X2</title>
		<link>http://www.ianbmacdonald.com/wordpress/2007/01/15/xen-linux-on-hp-pavillion-laptop-w-turion-x2/</link>
		<comments>http://www.ianbmacdonald.com/wordpress/2007/01/15/xen-linux-on-hp-pavillion-laptop-w-turion-x2/#comments</comments>
		<pubDate>Tue, 16 Jan 2007 02:23:31 +0000</pubDate>
		<dc:creator>iMac</dc:creator>
		
		<category>Debian</category>

		<guid isPermaLink="false">http://www.ianbmacdonald.com/wordpress/2007/01/15/xen-linux-on-hp-pavillion-laptop-w-turion-x2/</guid>
		<description><![CDATA[After a bit of research, and a hot tip on iommu=off, I am now running Xen on my dv9000z, which is exactly what I spec&#8217;d it to do.  Read more here.
]]></description>
			<content:encoded><![CDATA[<p>After a bit of research, and a hot tip on iommu=off, I am now running Xen on my dv9000z, which is exactly what I spec&#8217;d it to do.  <a href="http://www.ianbmacdonald.com/wordpress/debian-linux-on-dv9000z/">Read more here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianbmacdonald.com/wordpress/2007/01/15/xen-linux-on-hp-pavillion-laptop-w-turion-x2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SIIG, Sunix - Initio Chipset coming to Linux</title>
		<link>http://www.ianbmacdonald.com/wordpress/2007/01/13/siig-sunix-initio-chipset-coming-to-linux/</link>
		<comments>http://www.ianbmacdonald.com/wordpress/2007/01/13/siig-sunix-initio-chipset-coming-to-linux/#comments</comments>
		<pubDate>Sat, 13 Jan 2007 19:34:28 +0000</pubDate>
		<dc:creator>iMac</dc:creator>
		
		<category>Debian</category>

		<guid isPermaLink="false">http://www.ianbmacdonald.com/wordpress/2007/01/13/siig-sunix-initio-chipset-coming-to-linux/</guid>
		<description><![CDATA[Yesterday, I was digging around for a quick SATA controller to get a new 500GB disk online. The requirement was short term so I jumped on a $40CAD SIIG SATA-II controller at the computer shop (OTA) next to my office.  The cheapest option for $30CAD was a SATA-I SiG Chipset, but $10CAD more for the [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, I was digging around for a quick SATA controller to get a new 500GB disk online. The requirement was short term so I jumped on a $40CAD SIIG SATA-II controller at the computer shop (OTA) next to my office.  The cheapest option for $30CAD was a SATA-I SiG Chipset, but $10CAD more for the SATA-II/NCQ capability seemed ok, and I was anxious after having no luck with the $15CAD HW-629 IDE-SATA adapter. For all the time consumed so far, I would have been happy to just pay $60CAD for a high-end Promise controller.  The sticker on the SIIG chipset was the first sign of trouble.  A couple of old threads suggesting no Linux support for Initio Corporation 1622/1623 devices (as discovered by lspci) confirmed the worst.  Then, I found this <a target="_blank" title="Kernel IDE Development " href="http://www.mail-archive.com/linux-ide@vger.kernel.org/msg02612.html">new thread discussing recent linux support</a>. There may be hope yet for anyone else with one of these Initio 162x SATA controllers mad by <a target="_blank" title="Sunix SATA2100" href="http://www.sunix.com.tw/it/en/Product_Detail.php?cate=2&#038;class_a_id=34&#038;sid=447">Sunix</a>, <a target="_blank" title="SIIG SATA II-150" href="http://www.siig.com/product.asp?query=SC-SA0012-S1&#038;faqid=10050949&#038;pid=1043">SIIG</a> and others.
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianbmacdonald.com/wordpress/2007/01/13/siig-sunix-initio-chipset-coming-to-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>iPhone looks promising for Linux</title>
		<link>http://www.ianbmacdonald.com/wordpress/2007/01/09/iphone-looks-promising-for-linux/</link>
		<comments>http://www.ianbmacdonald.com/wordpress/2007/01/09/iphone-looks-promising-for-linux/#comments</comments>
		<pubDate>Tue, 09 Jan 2007 21:16:44 +0000</pubDate>
		<dc:creator>iMac</dc:creator>
		
		<category>Debian</category>

		<guid isPermaLink="false">http://www.ianbmacdonald.com/wordpress/2007/01/09/iphone-looks-promising-for-linux/</guid>
		<description><![CDATA[I hope to find myself running Debian on one of these someday soon.  I have yet to see the hardware specs, however today I know of no other OS X capable device that does not run Linux well.  My fingers are crossed as I wait to see what the first ones look like on the inside.  Running a [...]]]></description>
			<content:encoded><![CDATA[<p>I hope to find myself running Debian on one of <a title="Steve Jobs of Apple Inc. on the iPhone" href="http://www.engadget.com/2007/01/09/live-from-macworld-2007-steve-jobs-keynote/" target="_blank">these</a> someday soon.  I have yet to see the hardware specs, however today I know of no other OS X capable device that does not run Linux well.  My fingers are crossed as I wait to see what the first ones look like on the inside.  Running a VOIP client on the <a title="Toronto Hydro Telecom - One Zone" href="http://www.thtelecom.ca/onezone/index.html" target="_blank">Toronto Wifi network</a> could certainly be one way to claw back at the increasing incremental cost of mobile phone technology.  Stretch your imagination to include a <a title="Hauppage WINTV PVR-USB2" href="http://www.isely.net/pvrusb2/pvrusb2.html" target="_blank">V4L device</a>, a <a title="VideoLAN streaming server and client" href="http://www.videolan.org/" target="_blank">vlc server and client</a>, a <a title="OpenS/WAN IPSEC" href="http://www.openswan.org/" target="_blank">vpn client</a> running on <a title="Thecus N2100 running Debian" href="http://www.cyrius.com/debian/iop/n2100/install.html">another small device</a>, and voila, the home theatre goes mobile.  Native OSX could probably handle this just fine also - Just no fancy package management. <img id="image50" height="84" alt="iPhone" src="http://www.ianbmacdonald.com/wordpress/wp-content/uploads/2007/01/iphone.thumbnail.jpg" />
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianbmacdonald.com/wordpress/2007/01/09/iphone-looks-promising-for-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Some Real Data from my DSPAM Stats Engine</title>
		<link>http://www.ianbmacdonald.com/wordpress/2007/01/08/some-real-data-from-my-dspam-stats-engine/</link>
		<comments>http://www.ianbmacdonald.com/wordpress/2007/01/08/some-real-data-from-my-dspam-stats-engine/#comments</comments>
		<pubDate>Mon, 08 Jan 2007 16:33:18 +0000</pubDate>
		<dc:creator>iMac</dc:creator>
		
		<category>Debian</category>

		<category>E-Mail</category>

		<guid isPermaLink="false">http://www.ianbmacdonald.com/wordpress/2007/01/08/some-real-data-from-my-dspam-stats-engine/</guid>
		<description><![CDATA[Well, I get a fair bit of mail these days.  Some can attest that my response to personal email can be at times, a bit slow.  Thank goodness for DSPAM.  I use a variety of e-mail clients (Linux-Evolution,  Windows-Outlook,  OSX-SeaMonkey, etc.) so having great spam filtering on the server, and NOT on the email client is very [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I get a fair bit of mail these days.  Some can attest that my response to personal email can be at times, a bit slow.  Thank goodness for <a title="DSPAM Spam Filtering" href="http://dspam.nuclearelephant.com/" target="_blank">DSPAM</a>.  I use a variety of e-mail clients (Linux-Evolution,  Windows-Outlook,  OSX-SeaMonkey, etc.) so having great spam filtering on the server, and NOT on the email client is very important to me.   Since DSPAM provides a nice GUI for analysis of spam,  I thought I would share with you my experience to date.   Here are my stats, noting that more than 3/4 of my mail is spam, and accuracy on delivery is over 97%, which is quite manageable. Not bad for free, and without a team reviewing emails for me.  I might say it is great.  A must for anyone who wants to publish their email address without fear of spammers.</p>
<p><a class="imagelink" title="DSPAM Stats" href="http://www.ianbmacdonald.com/wordpress/wp-content/uploads/2007/01/070107_dspam_stats.png"><img id="image47" height="96" alt="DSPAM Stats" src="http://www.ianbmacdonald.com/wordpress/wp-content/uploads/2007/01/070107_dspam_stats.png" /></a></p>
<p> </p>
<p> 
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianbmacdonald.com/wordpress/2007/01/08/some-real-data-from-my-dspam-stats-engine/feed/</wfw:commentRss>
		</item>
		<item>
		<title>KVM, Options for AMD-V and Intel VT</title>
		<link>http://www.ianbmacdonald.com/wordpress/2007/01/03/kvm-more-options-for-amd-v-intel-vt-users/</link>
		<comments>http://www.ianbmacdonald.com/wordpress/2007/01/03/kvm-more-options-for-amd-v-intel-vt-users/#comments</comments>
		<pubDate>Wed, 03 Jan 2007 19:19:31 +0000</pubDate>
		<dc:creator>iMac</dc:creator>
		
		<category>Debian</category>

		<guid isPermaLink="false">http://www.ianbmacdonald.com/wordpress/2007/01/03/kvm-more-options-for-amd-v-intel-vt-users/</guid>
		<description><![CDATA[Thanks to a colleague, I found a nice informative link on Virtualization.  Trying to resolve ACPI on my new laptop, I recently stumbled on the 2.6.20-rc2 kernel option for KVM and assumed it to be some new piece my Xen hypervisor could take advantage of (once I get the ACPI issues resolved).  Instead, [...]]]></description>
			<content:encoded><![CDATA[<p><font size="2">Thanks to a colleague, I found a nice <a target="_blank" title="IBM Developerworks on Virtualization" href="http://www-128.ibm.com/developerworks/linux/library/l-linuxvirt/?ca=dgr-lnxw01Virtual-Linux">informative link on Virtualization</a>.  Trying to resolve ACPI on my new laptop, I recently stumbled on the 2.6.20-rc2 kernel option for KVM and assumed it to be some new piece my Xen hypervisor could take advantage of (once I get the ACPI issues resolved).  Instead, I have just learned that it provides native kernel virtualization, such that you can just boot your favorite ISO (Windows, Solaris, OSX, Linux) and go.  Seems easy enough I will try out the Deban instructions tonight a</font><font size="2">s shown on <a target="_blank" title="kvm.sf.net" href="http://kvm.sourceforge.net/debian.html">kvm.sourceforge.net</a></font><font size="2">. The first step is only <tt>apt-get install kvm</tt>  if you already have a 2.6.20-rc2 or greater kernel.</font></p>
<blockquote><p>To install and run kvm on Debian, follow these steps:</p>
<ol>
<li>Run the commands:<br />
<tt>apt-get install kvm</tt> <tt>apt-get install kvm-source</tt><br />
<tt>m-a build kvm</tt><br />
<tt>m-a install kvm</tt><br />
<tt>modprobe kvm</tt></li>
<li>Create a disk image:<br />
<tt>qemu-img create -f qcow vdisk.img 10G</tt></li>
<li>Install an operating system:<br />
<tt>kvm -hda vdisk.img -cdrom /path/to/boot-media.iso -boot d -m 384</tt>If you&#8217;re installing Windows, add the <code>-no-acpi</code> flag.</li>
<li>After installation is complete, run it with:<br />
<tt>kvm -hda vdisk.img -boot c -m 384</tt></li>
</ol>
<p><font size="2" /></p></blockquote>
<p>Note, the mm series of the current kernel (2.6.20-rc4-mm1) has quite a few KVM updates.
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianbmacdonald.com/wordpress/2007/01/03/kvm-more-options-for-amd-v-intel-vt-users/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Christmas is here&#8230; Linux on HP dv9000z</title>
		<link>http://www.ianbmacdonald.com/wordpress/2006/12/21/christmas-is-here-linux-on-hp-dv9000z/</link>
		<comments>http://www.ianbmacdonald.com/wordpress/2006/12/21/christmas-is-here-linux-on-hp-dv9000z/#comments</comments>
		<pubDate>Thu, 21 Dec 2006 20:47:47 +0000</pubDate>
		<dc:creator>iMac</dc:creator>
		
		<category>Debian</category>

		<guid isPermaLink="false">http://www.ianbmacdonald.com/wordpress/2006/12/21/christmas-is-here-linux-on-hp-dv9000z/</guid>
		<description><![CDATA[Hit the dv9000z page for the latest&#8230; 
Well, my Mac G3 Pismo (500Mhz/768MB PPC) has been a true warrior. I picked mine up second hand a few years back from a close friend whose company was upgrading to G4s. Running Debian on it has been great, though recently I find myself wanting to run Xen, browse [...]]]></description>
			<content:encoded><![CDATA[<p>Hit the <a title="Updates on dv9000z" href="http://www.ianbmacdonald.com/wordpress/debian-linux-on-dv9000z/" target="_blank">dv9000z page</a> for the latest&#8230; </p>
<p>Well, my Mac G3 Pismo (500Mhz/768MB PPC) has been a true warrior. I picked mine up second hand a few years back from a close friend whose company was upgrading to G4s. Running Debian on it has been great, though recently I find myself wanting to run Xen, browse YouTube (requires i386 libflash) and running out of battery (power adapter internal contacts require manual bending nearly ever other time I plug it in now). Today I am posting from my new dv9000z running Debian Sid. The only gamble was the Broadcom Wifi, which turned out to be a breeze, albeit with the clunky ndiswrapper. A quick overview of the features:</p>
<ul>
<li><a title="WSXGA Wide XGA+" href="http://en.wikipedia.org/wiki/Image:Vector_Video_Standards.png" target="_blank">WSXGA+ (1680 x 850)</a> - Lots of desktop real estate - this was a requirement</li>
<li><a title="Dual Core 2.0 Ghz w/ AMD-V and DDR2" href="http://www.tomshardware.com/2006/08/22/amd_dual_core_laptops_have_arrived/page2.html" target="_blank">Turion X2 TL-60</a> - Dual Core, Hardware Virtualization, On-Die Memory Controller w/512KB cache per core - Runs AMD64 distributions - This was a requirement, and ruled out Lenovo or Macbook Pro (too bad)</li>
<li>2GB DDR2-667 RAM, Dual 80GB Drives - Plenty of RAM for OS Virtualization (Nexenta/Solaris, BSD, Windows, Maybe a trial OSX hack) - Software RAID, now allows me to use my laptop for mission critical work, without the risk of disk failure - This quickly became a requirement once I learned the HP laptops supported it. When drive prices come down, I will drop in more capacity. For now my main capacity requirement is for media, most of which will be NFS mounted from my new <a title="Ultimate Debian Media Server" href="http://www.cyrius.com/debian/iop/n2100/install.html">Thecus N2100</a> replacing my <a title="Cheap Great Debian Media Server" href="http://www.cyrius.com/debian/nslu2/">NSLU2</a> (due to memory limitations).</li>
<li>Other Bells and Whistles including DVD burner, webcam, nice finish, good speakers, card readers and various I/O ports</li>
</ul>
<p>Everything installed from Debian packages, which was nice. Kernel option pci=usepirqmask can lead to instability before X is loaded; noapic is totally stable, but breaks USB2. A quick overview of what I have completed/learned in the evenings of the Christmas break so far:<a id="more-44"></a></p>
<ol>
<li><strong>Disk Layout</strong> - I Installed Debian to the second hard disk (sdb), leaving the pre-installed, unconfigured Windows partition (with free Vista upgrade later) alone for now. Since I opted out of the $20 restore disk I will backup these partitions, using <a title="Backup / Restore NTFS Partitions" href="http://man.linux-ntfs.org/ntfsclone.8.html" target="_blank">ntfsclone</a>, in their pristine state before launching the default setup process, and then modify the partition tables and enable Software RAID. The partition layout on the first disk was as follows</li>
<p><code>Disk /dev/sda: 80.0 GB, 80026361856 bytes<br />
255 heads, 63 sectors/track, 9729 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</code></p>
<p>Device Boot Start End Blocks Id System<br />
/dev/sda1 * 1 3135 25181856 7 HPFS/NTFS<br />
/dev/sda2 8355 9598 9992430 c W95 FAT32 (LBA)<br />
/dev/sda3 9599 9729 1052257+ 7 HPFS/NTFS</p>
<li><strong>PCI Hardware</strong> - Below is an lspci from my current 2.6.18-3-amd64 kernel</li>
<p><code>00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)<br />
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)<br />
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)<br />
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)<br />
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)<br />
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)<br />
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)<br />
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)<br />
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)<br />
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)<br />
00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)<br />
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)<br />
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)<br />
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)<br />
00:0a.3 Co-processor: nVidia Corporation MCP51 PMU (rev a3)<br />
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)<br />
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)<br />
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev f1)<br />
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)<br />
00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)<br />
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)<br />
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)<br />
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)<br />
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration<br />
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map<br />
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller<br />
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control<br />
03:00.0 Network controller: Broadcom Corporation BCM4310 UART (rev 01)<br />
05:00.0 VGA compatible controller: nVidia Corporation G70 [GeForce Go 7600] (rev a1)<br />
07:05.0 FireWire (IEEE 1394): Ricoh Co Ltd Unknown device 0832<br />
07:05.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)<br />
07:05.2 System peripheral: Ricoh Co Ltd Unknown device 0843 (rev 01)<br />
07:05.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 0a)<br />
07:05.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)<br />
</code></p>
<li><strong>dv9000z Debian Installation Notes</strong> - Etch RC1 Installer, upgraded to Sid</li>
<ul>
<li>Graphical Installer did not have working mouse support (Synaptic or External USB), used <code>expert</code>.</li>
<li>Do not use the ALT-Fn consoles during the install; My installation froze when I tried to observe the other consoles during download of packages.</li>
<li>Once installed, immediately add <code>pci=usepirqmask </code>to the kernel boot options, or the system freezes sporatically (Better than <code>noapic</code> that breaks USB2).</li>
</ul>
<li><strong>Wireless BCM4310</strong> - (as seen in lspci above) is enabled easily with ndiswrapper</li>
<ul>
<li>I used the 64bit Windows driver (sp33008.exe) suggested by <a title="BCM4310 / sp33008.exe" href="http://starbase-12.blogspot.com/2006/09/compaq-presario-v3000-with-ubuntu-606.html" target="_blank">WiskeyTangoFoxtrot</a></li>
<li>Note this link is the same as the <a title="HP v6.00 A drivers for bcm43xx" href="http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?lc=en&#038;cc=us&#038;os=228&#038;dest_page=product&#038;dlc=en&#038;product=3224049&#038;softwareitem=ob-41607-1" target="_blank">HP link</a>, so I am not convinced about the differences WiskeyTangoFoxtrot suggests (64bit vs 32bit).</li>
</ul>
<li><strong>nVidia GeForce Go 7600</strong> - (as seen in lspci above) is enabled easily with the nVidia 9631 drivers</li>
<ul>
<li>These were in experimental pending the Etch release, so I went straight to the 9631 version - I assume it was required given the newness of the Go 7600</li>
</ul>
<li><strong>Installation Transcript</strong> - Right from my .bash_history ; non-related stuff removed</li>
<p>// Add pci=noapic, unlesss stable USB2 is required.. then gamble with pci=usepirqmask (which I have found stable after GUI loads with some kernels)<br />
vi /boot/grub/menu.lst<br />
reboot // Add debian-multimedia.org, sid and experimental repositories<br />
vi /etc/apt/sources.list<br />
// Set default to unstable (so all experimental does not come down)<br />
vi /etc/apt/apt.conf<br />
apt-get update<br />
apt-get upgrade<br />
apt-get dist-upgrade<br />
// Add the gpg keys for debian-multimedia to avoid unwanted warnings<br />
gpg &#8211;keyserver hkp://wwwkeys.eu.pgp.net &#8211;recv-keys 1F41B907<br />
gpg &#8211;armor &#8211;export 1F41B907 | apt-key add -<br />
// Grab the current nvidia stuff<br />
apt-get install nvidia-glx nvidia-xconfig nvidia-settings<br />
// Grab the 9361 nVidia drivers<br />
apt-get install nvidia-kernel-source/experimental fakeroot patchutils kernel-package devscripts build-essential<br />
apt-get install module-assistant<br />
// Auto-build and install nVidia packages against the current kernel<br />
m-a a-i nvidia<br />
apt-get install nvidia-glx/experimental<br />
// Reconfigure Xorg, selecting &#8216;nvidia&#8217; driver and resolution, otherwise defaults<br />
dpkg-reconfigure xserver-xorg<br />
// Test out new module<br />
modprobe nvidia<br />
// Add &#8216;nvidia&#8217; to the list<br />
vi /etc/modules<br />
apt-get update<br />
apt-get upgrade<br />
apt-get install apt-listchanges<br />
apt-get install apt-listbugs<br />
apt-get install vim screen<br />
// Check how hot my new laptop is getting<br />
cat /proc/acpi/thermal_zone/THRM/temperature<br />
// See what ndis* related packages exist and grap &#8216;em<br />
apt-cache pkgnames | grep ndis<br />
apt-get install ndiswrapper-utils-1.9 ndiswrapper-source ndiswrapper-utils ndiswrapper-common<br />
// Auto-build and install the ndiswrapper packages<br />
m-a a-i ndiswrapper<br />
apt-get install cabextract<br />
// Downloaded sp33008.exe using my web browser in the background<br />
cd downloads/<br />
ls<br />
cabextract sp33008.exe<br />
ndiswrapper -i bcmwl5.inf<br />
ndiswrapper -l<br />
lsmod | grep bcm<br />
ndiswrapper -m<br />
// Some weird output from having both the 1.1 and 1.9 ndis-utils but all fine<br />
cat /etc/modprobe.d/ndiswrapper<br />
modprobe ndiswrapper<br />
// Take down my wired connection to test wireless<br />
ifconfig eth1 down<br />
// Set my essid and basic WEP key (these are unique to me)<br />
iwconfig wlan0 essid Westshore<br />
iwconfig wlan0 key 4165551212<br />
dhclient wlan0<br />
// IT WORKED - awesome; I have had this fail on MANY BCM4306 cards (HP nx6325, WPM54G PCI)<br />
ifconfig<br />
routre<br />
route<br />
iwconfig wlan0<br />
// Add &#8216;ndiswrapper&#8217; to have it load automatically<br />
vi /etc/modules<br />
// Modify my interfaces to bring up wlan0 automatically<br />
vi /etc/network/interfaces</p>
<li>The <code>Disabling IRQ #7</code> problem that was breaking the USB 2.0 (<a title="USB 2.0 fails, IRQ 7 Disabled" href="http://www.linuxforums.org/forum/linux-laptops/75587-linux-hp-dv6000-amd-laptops-2.html" target="_blank">known issue</a>) was resolved by switching to <code>pci=usepirqmask</code>. Next I neet to test out the webcam and cardreader, verify other remaining I/O ports that appear to be working (firewire, Bluetooth, Sound jacks, external video, ExpressCard) and fire up the Xen kernels.</li>
<li>Other dv9000 links</li>
<ul>
<li><a title="FC6 on dv9000t" href="http://www4.ncsu.edu/~ambrown4/linuxondv9000.html" target="_blank">Fedora Core 6 on Intel Version</a> - Proof the graphics should work fine</li>
<li><a title="Ubuntu on v3000" href="http://starbase-12.blogspot.com/2006/09/compaq-presario-v3000-with-ubuntu-606.html" target="_blank">Ubuntu 6.06 on V3000 (Similar Hardware)</a> - Found the 64bit ndis driver</li>
<li><a title="Gentoo on dv6000z" href="http://gentoo-wiki.com/HARDWARE_Gentoo_on_HP_Pavillion_dv6119us" target="_blank">Gentoo on dv6000z</a> - Found the pci=usepirqmask option</li>
<li><a title="Linux on Laptops Discussion" href="http://www.linuxforums.org/forum/linux-laptops/75587-linux-hp-dv6000-amd-laptops.html" target="_blank">Linux on Laptops discussion</a> - Ongoing discussion on the HP nForce laptop hardware</li>
<li><a title="HP Supports Debian" href="http://h71028.www7.hp.com/enterprise/cache/433095-0-0-0-121.html" target="_blank">HP Supports Debian!</a> (Okay, this is just FYI)</li>
</ul>
</ol>
<p>I have now patched nvidia drivers for use with Xen sucessfully; Unfortunately I can&#8217;t get Xen up with &#8216;noapic&#8217; and with pci=usepirqmask, nvidia module loading causes reboot. Time to look at 2.6.19 or other apic options for Xen.
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ianbmacdonald.com/wordpress/2006/12/21/christmas-is-here-linux-on-hp-dv9000z/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
