<?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>PCR&#039;s notepad &#187; hardware</title>
	<atom:link href="http://notepad.patheticcockroach.com/category/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://notepad.patheticcockroach.com</link>
	<description>The area in patheticcockroach.com where the EEG isn&#039;t isoelectric</description>
	<lastBuildDate>Sun, 05 Feb 2012 12:11:36 +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>Switching your SATA hard drive from IDE to AHCI</title>
		<link>http://notepad.patheticcockroach.com/2168/switching-your-sata-hard-drive-from-ide-to-ahci/</link>
		<comments>http://notepad.patheticcockroach.com/2168/switching-your-sata-hard-drive-from-ide-to-ahci/#comments</comments>
		<pubDate>Sat, 27 Aug 2011 08:53:55 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=2168</guid>
		<description><![CDATA[AHCI (for Advanced Host Controller Interface) is a standard defined by Intel for operating SATA devices (see Wikipedia for some technical gibberish ). Bottom-line is, switching an SATA hard drive from IDE to AHCI will probably give you a nice speed boost, as you can see in this article (in French, sorry). It&#8217;s supported natively [...]]]></description>
			<content:encoded><![CDATA[<p>AHCI (for Advanced Host Controller Interface) is a standard defined by Intel for operating SATA devices (see <a href="http://en.wikipedia.org/wiki/Advanced_Host_Controller_Interface">Wikipedia</a> for some technical gibberish <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). Bottom-line is, switching an SATA hard drive from IDE to AHCI will probably give you a nice speed boost, as you can see in <a href="http://www.tt-hardware.com/test/hardware/passer-en-ahci-vraiment-la-galere">this article</a> (in French, sorry). It&#8217;s supported natively in Windows Vista/7 and Linux starting with kernel 2.6.19.</p>
<p>From what I read, there are many potential issues for switching from IDE to AHCI under Windows XP and Vista, and I can&#8217;t test those so I just won&#8217;t cover them. Basically on Windows XP you&#8217;ll need to install AHCI drivers, on Windows Vista you&#8217;ll need to apply the latest updates.</p>
<p>For Windows 7, the drivers are already there, but you need to activate them. That is, if you install Windows 7 on a drive already configured in AHCI, you have nothing to do, all will be handled automatically, but if your hard drive was configured in IDE when you installed Windows 7, then you&#8217;ll need to enable AHCI drivers manually. To do so:</p>
<ul>
<li>Launch regedit (hit start button, type &#8220;regedit&#8221; and hit enter)</li>
<li>Navigate to the <code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\iaStorV</code> key, and change the <em>Start</em> value from 3 to 0</li>
<li>Do the same with key <code>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\msahci</code></li>
</ul>
<p>That&#8217;s it, your Windows 7 is now ready to run on an AHCI drive. Now you just need to make the switch from IDE to AHCI in your BIOS.</p>
<p>Source: <a href="http://support.microsoft.com/kb/922976">Microsoft Knowledge Base &#8211; Error message when you start a Windows 7 or Windows Vista-based computer after you change the SATA mode of the boot drive: &#8220;STOP 0x0000007B INACCESSABLE_BOOT_DEVICE&#8221;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/2168/switching-your-sata-hard-drive-from-ide-to-ahci/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Overclocking the Mobility Radeon HD 5650</title>
		<link>http://notepad.patheticcockroach.com/1172/overclocking-the-mobility-radeon-hd-5650/</link>
		<comments>http://notepad.patheticcockroach.com/1172/overclocking-the-mobility-radeon-hd-5650/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 06:08:02 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Acer Aspire 5553G]]></category>
		<category><![CDATA[AMD]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=1172</guid>
		<description><![CDATA[I looked into this like 9 months ago but never took the time to post it&#8230; This time I won&#8217;t make a guide nearly as long as the one on overclocking the GeForce 9650M GT, so if you&#8217;re new to overclocking you might want to take a look at it about usual disclaimer (basically: overclocking [...]]]></description>
			<content:encoded><![CDATA[<p>I looked into this like 9 months ago but never took the time to post it&#8230; This time I won&#8217;t make a guide nearly as long as the one on <a href="http://notepad.patheticcockroach.com/502/overclocking-the-geforce-9650m-gt/">overclocking the GeForce 9650M GT</a>, so if you&#8217;re new to overclocking you might want to take a look at it about usual disclaimer (basically: overclocking can void your warranty and kill your graphic card), temperature stuff (my Mobility Radeon HD 5650 runs around 80°C at full), trying increasing frequencies, and performance checking.</p>
<h2>Getting the tools</h2>
<p>You&#8217;ll need <a href="http://www.techpowerup.com/downloads/1641/AMD_GPU_Clock_Tool_v0.9.26.0_For_HD_5870.html">AMD GPU Clock Tool 0.9.26.0 for HD 5870</a> (<a href="http://www.guru3d.com/news/amd-gpu-clock-tool-v09260-for-hd-5870/">Guru3D mirror</a>) to perform the clock changes, and optionally yet recommended <a href="http://www.techpowerup.com/gpuz/">GPU-Z</a> to check the frequency and temperature.</p>
<h2>Performing the overclock</h2>
<p>AMD GPU Clock Tool is really quite straightforward. Since you are working on a Mobility 5650 chances are, though, that your laptop contains 2 GPU: an integrated one (something around Mobility Radeon 4200 is what I have in my Acer 5553G) and the discrete one. Well, make sure you pick the proper one in the <em>Device</em> field. To know if you&#8217;re on the right one, check the frequencies: the Mobility Radeon 5650 HD has a core clock (noted as &#8220;engine&#8221; in this tool) by default at 550 MHz, and a memory clock by default at 800. My Mobility 42XX chipset has those clocks respectively at 500 and 400.<br />
To change the frequency, just edit the values in the engine and memory clock fields then press &#8220;Set Clocks&#8221;. That&#8217;s all <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The only limitation with this overclocking compared to the one I previously presented about the GeForce 9650M GT is that I didn&#8217;t find a way to automate it: every time you restart your laptop the frequency of your GPU will be reset to factory settings, and you&#8217;ll have to run the AMD GPU Clock Tool and change frequencies again if you still want to be overclocked.</p>
<p>A few figures and illustrations to finish: I managed to raise my core to 586.7 MHz and my memory to 848.8 MHz, although I could probably get more (I didn&#8217;t try to push to the limit).<br />
<a href="http://img.patheticcockroach.com/01/overclocked_Mobility_Radeon_HD_5650.png"><img src="http://img.patheticcockroach.com/01/overclocked_Mobility_Radeon_HD_5650.png" alt="An overclocked AMD/ATI Mobility Radeon HD 5650 in GPU-Z" width="390" height="488"/></a><br />
Here&#8217;s <a href="http://www.techpowerup.com/gpuz/26ssu/">my GPU-Z validation</a> (note that GPU-Z still bugs with this card: the base frequencies are the ones detected when opening the tool, so since I had already performed the overclock before launching GPU-Z my overclocked frequencies are the same as default). And finally some videos, I don&#8217;t really remember why I kept them in this post&#8217;s draft, but I don&#8217;t have the heart to delete them now ^^: <a href="http://www.youtube.com/watch?v=jHtdc_3Sla0">How to overclock ATI Mobility 5650 to MAXIMUM</a>, <a href="http://www.youtube.com/watch?v=XyYYgn55x0A">crysis with an Ati 5650 mobility</a>.</p>
<p>Edit: <a href="http://www.techpowerup.com/gpuz/66d95/">harder, better, faster, stronger</a> <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Edit 2: some more details about temperature: when running at 100% alone (ie CPU not used or almost not used), my Mobility Radeon HD 5650 is around 80°C (79-82°C). When the CPU runs too everything gets pretty much warmer, and in those conditions the GPU already reached 100°C. Although I wouldn&#8217;t say this would be safe on the long term, it didn&#8217;t kill it on the spot either (but I could hear from the fan that it wasn&#8217;t very happy though <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). Also at this temperature, with the CPU in the 80+°C too, the laptop case becomes a bit uncomfortable to lay your hands on indeed.</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/1172/overclocking-the-mobility-radeon-hd-5650/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>An archive of AMD Mobility Catalyst Windows 7 x64 drivers</title>
		<link>http://notepad.patheticcockroach.com/1285/an-archive-of-amd-mobility-win-7-x64-drivers/</link>
		<comments>http://notepad.patheticcockroach.com/1285/an-archive-of-amd-mobility-win-7-x64-drivers/#comments</comments>
		<pubDate>Wed, 19 Jan 2011 20:59:16 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Acer Aspire 5553G]]></category>
		<category><![CDATA[AMD]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[graphic cards]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=1285</guid>
		<description><![CDATA[I find AMD/ATI Radeon drivers hardly browsable on their site. I mean, okay the current version can somehow be downloaded (you need to first download a downloader program, then use it to try and grab the current Mobility Catalyst version), but it&#8217;s not exactly a smooth process, and the older versions are just nowhere to [...]]]></description>
			<content:encoded><![CDATA[<p>I find AMD/ATI Radeon drivers hardly browsable on their site. I mean, okay the current version can somehow be downloaded (you need to first download a downloader program, then use it to try and grab the current Mobility Catalyst version), but it&#8217;s not exactly a smooth process, and the older versions are just nowhere to be found.<br />
It wouldn&#8217;t be a big deal if newer versions worked always good, but the problem is, sometimes a new version breaks a thing or two. And in the case of laptops, this seems to be even more often the case.<br />
So, for those who needs to get an older version, I&#8217;ll try to keep a Megaupload folder updated with the drivers I used. For the moment it contains:</p>
<ul>
<li>10-8_mobility_vista_win7_64_dd_ccc (Mobility Catalyst 10.8 for Vista/Se7en x64)</li>
<li>10-10_mobility_vista_win7_64_dd_ccc (Mobility Catalyst 10.10 for Vista/Se7en x64)</li>
<li>10-11_mobility_vista_win7_64_dd_ccc_ocl (Mobility Catalyst 10.11 for Vista/Se7en x64)</li>
<li>10-12_mobility_vista_win7_64_dd_ccc_ocl (Mobility Catalyst 10.12 for Vista/Se7en x64)</li>
<li>11-1_mobility_vista_win7_64_dd_ccc_ocl (Mobility Catalyst 11.1 for Vista/Se7en x64)</li>
<li>11-2_mobility_vista_win7_64_dd_ccc_ocl (Mobility Catalyst 11.2 for Vista/Se7en x64)</li>
<li>11-3_mobility_vista_win7_64_dd_ccc_ocl (Mobility Catalyst 11.3 for Vista/Se7en x64)</li>
<li>11-4_mobility_vista_win7_64_dd_ccc_ocl (Mobility Catalyst 11.4 for Vista/Se7en x64)</li>
<li>11-5_mobility_vista_win7_64_dd_ccc_ocl (Mobility Catalyst 11.5 for Vista/Se7en x64)</li>
<li>11-6_mobility_vista_win7_64_dd_ccc_ocl (Mobility Catalyst 11.6 for Vista/Se7en x64)</li>
<li>11-7_mobility_vista_win7_64_dd_ccc_ocl (Mobility Catalyst 11.7 for Vista/Se7en x64)</li>
<li>11-8_mobility_vista_win7_64_dd_ccc_ocl (Mobility Catalyst 11.8 for Vista/Se7en x64)</li>
<li>11-9_mobility_vista_win7_64_dd_ccc_ocl (Mobility Catalyst 11.9 for Vista/Se7en x64)</li>
<li>11-10_mobility_vista_win7_64_dd_ccc (Mobility Catalyst 11.10 for Vista/Se7en x64) NB: I downloaded this one from a third party site, not directly from AMD (I missed it). I didn&#8217;t test it either.</li>
<li>11-11_mobility_vista_win7_64_dd_ccc_ocl (Mobility Catalyst 11.11 for Vista/Se7en x64)</li>
<li>11-12_mobility_vista_win7_64_dd_ccc_ocl (Mobility Catalyst 11.12 for Vista/Se7en x64)</li>
</ul>
<p>That&#8217;s right, I missed version 10.9. That&#8217;s pretty weird too, because that should have been the current drivers just when I got my laptop&#8230; Or maybe AMD skipped 10.9, it looks like I downloaded 10.8 in mid-October already.<br />
Anyway, here&#8217;s again the link to the <del datetime="2012-01-23T10:30:04+00:00">megaupload folder</del> (<del datetime="2011-10-02T06:09:56+00:00">FileSonic mirror</del>).</p>
<p>Update (2011-01-29): added Catalyst 11.1<br />
Update (2011-02-18): added Catalyst 11.2 + FileSonic mirror<br />
Update (2011-04-02): added Catalyst 11.3<br />
Update (2011-05-10): added Catalyst 11.4 and 11.5<br />
Update (2011-07-02): added Catalyst 11.6<br />
Update (2011-07-28): added Catalyst 11.7<br />
Update (2011-09-03): added Catalyst 11.8 (on FileSonic only because MU uploader is down ATM)<br />
Update (2011-09-08): mirrored Catalyst 11.8 on MU<br />
Update (2011-10-02): added Catalyst 11.9, removed FileSonic mirror because the files there get removed too fast when there&#8217;s no downloads.<br />
Update (2011-12-04): added Catalyst 11.10 and 11.11<br />
Update (2011-12-31): added Catalyst 11.12</p>
<h2>Update (2012-01-23)</h2>
<p>All those files were stolen by the FBI, and I don&#8217;t have the resources to host them myself (<a href="http://notepad.patheticcockroach.com/2616/oops-the-fbi-stole-my-files/">for more details see this post</a>). So I&#8217;m sorry but this archive is discontinued, feel free to <a href="http://www.whitehouse.gov/contact">thank Obama and the US government</a>&#8230;<br />
For posterity, here are the former links to the files:<br />
http://www.megaupload.com/?f=TT2Z8M6G (folder)<br />
http://www.megaupload.com/?d=1I2M2QFW (10.8)<br />
http://www.megaupload.com/?d=Y7234J3S (10.10)<br />
http://www.megaupload.com/?d=6ZUGB5SG (10.11)<br />
http://www.megaupload.com/?d=Z1DTSV4C (10.12)<br />
http://www.megaupload.com/?d=ZFLELCH2 (11.1)<br />
http://www.megaupload.com/?d=9MOAQLXQ (11.2)<br />
http://www.megaupload.com/?d=MF2W7YMM (11.3)<br />
http://www.megaupload.com/?d=GJJARTN8 (11.4)<br />
http://www.megaupload.com/?d=WM1BEHFH (11.5)<br />
http://www.megaupload.com/?d=ULJF05ZX (11.6)<br />
http://www.megaupload.com/?d=G8FD5OFH (11.7)<br />
http://www.megaupload.com/?d=YY1RSZV3 (11.8)<br />
http://www.megaupload.com/?d=31ZPA1UE (11.9)<br />
http://www.megaupload.com/?d=I7FO4ATO (11.10)<br />
http://www.megaupload.com/?d=DIPX28KJ (11.11)<br />
http://www.megaupload.com/?d=T1DSHYML (11.12)</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/1285/an-archive-of-amd-mobility-win-7-x64-drivers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Dealing with WD Advanced Format hard drives on Linux (part 2)</title>
		<link>http://notepad.patheticcockroach.com/927/dealing-with-wd-advanced-format-hard-drives-on-linux-part-2/</link>
		<comments>http://notepad.patheticcockroach.com/927/dealing-with-wd-advanced-format-hard-drives-on-linux-part-2/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 20:57:58 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[hardware]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=927</guid>
		<description><![CDATA[If you&#8217;re in a hurry, you can skip to the third chapter (&#8220;The proper method&#8221;). As mentioned in a previous post, I wanted to find a solution using fdisk and gparted. I used the latest ones available for Ubuntu 10.04 by the beginning of August, but since we&#8217;ll be doing everything quite manually, older versions [...]]]></description>
			<content:encoded><![CDATA[<p><em>If you&#8217;re in a hurry, you can skip to the third chapter (&#8220;The proper method&#8221;).</em></p>
<p>As mentioned <a href="http://notepad.patheticcockroach.com/900/dealing-with-wd-advanced-format-hard-drives-on-linux-windows-and-mac-os-part-1/">in a previous post</a>, I wanted to find a solution using fdisk and gparted. I used the latest ones available for Ubuntu 10.04 by the beginning of August, but since we&#8217;ll be doing everything quite manually, older versions have a fair chance to work decently too. Note that I only wanted to create one big extended partitions with many logical ones inside. Also, when I&#8217;ll talk about a sector, I&#8217;ll refer to the virtual 512 bytes sectors.</p>
<h2>First try</h2>
<p>I had great hope after finding what seemed to be <a href="http://www.linuxconfig.org/linux-wd-ears-advanced-format">a great tutorial on Linuxconfig.org</a>. Pretty short and crystal clear: to make it even shorter:</p>
<ul>
<li>change fdisk units to sectors (once fdisk is running, type &#8220;u&#8221;)</li>
<li>start the extended partition at sector 64 (the default is 63), and end it at sector (<em>total amount of sectors on the drive &#8211; 1</em>)</li>
<li>then make partitions with a size which is a multiple of 64 sectors, leaving a space of 64 sectors between them</li>
</ul>
<p>So I made myself a little <a href="http://img.patheticcockroach.com/01/WD_advanced_format_partition_calculator.ods">OpenOffice spreadsheet (first sheet)</a> to help me calculate all this, and then applied to the drive with fdisk (we&#8217;ll see the syntax in the paragraph where the partition scheme actually works). I then formatted using gparted (don&#8217;t edit the partitions, just right-click the partitions and select <em>Format to</em>).</p>
<h2>Checking and correcting</h2>
<p>I used the Paragon version of <a href="http://support.wdc.com/product/download.asp?groupid=805&#038;lang=en">WD Align</a>, because I started using it when I used to have a few data on the drive. I guess you won&#8217;t have data at that point, so you should rather get the Acronis version, which is way much faster, not even for fixing but also for detection/testing (I used it too, later). Anyway, I ran the thing and only one partition was properly aligned&#8230; so I made the software fix them, then analyzed the correction. If you want to details (not really explained though, that&#8217;s just some of the raw calculations I tried), check out the second sheet on the previously-mentioned <a href="http://img.patheticcockroach.com/01/WD_advanced_format_partition_calculator.ods">OpenOffice spreadsheet</a>.</p>
<h2>The proper method</h2>
<p>Here are my conclusions from the correction performed by the WD Align tool:</p>
<ul>
<li>The extended partition should start at sector 64 (it could probably start elsewhere too, like maybe at 2048 or 4096, but 64 is just fine according to the WD Align software, so why waste more? <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) and end at sector (<em>total amount of sectors on the drive &#8211; 1</em>).</li>
<li>The first logical partition should start at sector 4096 (I don&#8217;t know where it should start if the extended partition started somewhere else than s64).</li>
<li>Logical partitions should have a size, in 512B sectors, in the form of 2048*n, where n is an integer. Since this include both the first and last sectors, this means that the last sector will be [first sector]+(2048*n)<strong>-1</strong> (I know, the parenthesis aren&#8217;t necessary, but just in case someone wouldn&#8217;t know, it does no harm either).</li>
<li>Any logical partition should start 2049 sectors after the previous one ended. Or, more accurately: [first sector of partition 2]=[last sec of P1]+2049. Which means there&#8217;s a gap of 2048 sectors between 2 partitions.</li>
</ul>
<p>A quite noticeable consequence of those rules is that partitions will start on an even sector, and (except maybe for the extended one) end on an odd sector. Another noticeable thing is that partitions size will be best determined in mebibytes (MiB), since 1 MiB = 2^20 Bytes = 2048 sectors. So on the <a href="http://img.patheticcockroach.com/01/WD_advanced_format_partition_calculator.ods">third and final sheet of the spreadsheet</a>, the partition size will be measured in MiB.</p>
<h2>Creating and formatting the partitions</h2>
<p>Now that you figured out the proper partition sizes, you can create them with fdisk. The quick syntax guide for this would be:</p>
<ul>
<li><em>su</em>: login as root (&#8220;<strong>s</strong>uper <strong>u</strong>ser&#8221;)</li>
<li><em>fdisk /dev/sda</em>: launch fdisk for drive sda. If you&#8217;re on en external drive, this will probably be sdb or more. Make sure you&#8217;re working on the right drive before messing with it! A good check could be simply to list the existing partitions (see next step)</li>
<li><em>p</em>: displays the partition table (<strong>very important: this includes all pending operations on the drive</strong> &#8211; fdisk won&#8217;t write anything to the disk until you &#8220;write table to disk&#8221; &#8211; see later)</li>
<li><em>u</em>: toggles between cylinders and sectors as the display <strong>and entry</strong> unit. You&#8217;ll want to use it to switch to sectors before doing anything else, as sectors are all what this guide is about!</li>
<li><em>n</em>: create a new partition, it will then ask whether you want a primary (&#8220;p&#8221;), extended (&#8220;e&#8221;) or logical (&#8220;l&#8221;) partition, then ask for starting sector then ending sector.</li>
<li><em>w</em>: &#8220;write table to disk and exit&#8221;: this will execute all pending operations and close fdisk. If you don&#8217;t want to apply your changes, use &#8220;q&#8221; instead.</li>
</ul>
<div style="font-size:small;text-align:center;font-style:italic;"><a href="http://img.patheticcockroach.com/01/WD_advanced_format_second_try.png"><img src="http://img.patheticcockroach.com/01/WD_advanced_format_second_try.png" alt="In the end, this will look like this" height="356" width="500"/></a><br />
In the end, this will look like this</div>
<p>That&#8217;s pretty much all you should need. In case you need more, you can always list the commands by using &#8220;m&#8221; (menu). Finally, here are the commands I used to create the partitions on my WD20EARS (NB: that&#8217;s only the part when I delimit the partitions, I removed the preparation and final execution):<br />
<code>n<br />
e<br />
64<br />
3907024064</p>
<p>n<br />
l<br />
4096<br />
8196095</p>
<p>n<br />
l<br />
8198144<br />
217094143</p>
<p>n<br />
l<br />
217096192<br />
427016191</p>
<p>n<br />
l<br />
427018240<br />
637962239</p>
<p>n<br />
l<br />
637964288<br />
849932287</p>
<p>n<br />
l<br />
849934336<br />
1062926335</p>
<p>n<br />
l<br />
1062928384<br />
2009104383</p>
<p>n<br />
l<br />
2009106432<br />
2956306431</p>
<p>n<br />
l<br />
2956308480<br />
3907022847</code></p>
<p>After you&#8217;ve created the partitions (and written the changes), you can simply format them using gparted, as mentioned at the end of chapter 1. The only weird thing is that gparted will display unallocated 1MiB blocks between every partitions. Just ignore those. That&#8217;s how it will look:<br />
<a href="http://img.patheticcockroach.com/01/WD_advanced_format_GPartedSS.png"><img src="http://img.patheticcockroach.com/01/WD_advanced_format_GPartedSS.png" alt="GParted applied on a properly aligned Western Digital Advanced Format Technology drive" height="386" width="500"/></a><br />
And here you are, with a properly aligned drive (you can switch back to Windows and run Acronis WD Align to be sure).<br />
<a href="http://img.patheticcockroach.com/01/WD_advanced_format_perfectly_aligned_HD.png"><img src="http://img.patheticcockroach.com/01/WD_advanced_format_perfectly_aligned_HD.png" alt="Perfect Score!" height="444" width="500"/></a></p>
<div style="font-size:small;text-align:center;font-style:italic;"><a href="http://img.patheticcockroach.com/01/Dr_Who_who_s_the_man.jpg"><img src="http://img.patheticcockroach.com/01/Dr_Who_who_s_the_man.jpg" alt="Doctor Who - Who's the man? - Screenshot from Season 5 Episode 1" height="282" width="500"/></a><br />
After such a long time without any <a href="http://notepad.patheticcockroach.com/category/doctor-who/">Dr Who</a> trailers, I couldn&#8217;t resist the temptation in such an appropriate setting ^^</div>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/927/dealing-with-wd-advanced-format-hard-drives-on-linux-part-2/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Dealing with WD Advanced Format hard drives on Linux, Windows and Mac OS (part 1)</title>
		<link>http://notepad.patheticcockroach.com/900/dealing-with-wd-advanced-format-hard-drives-on-linux-windows-and-mac-os-part-1/</link>
		<comments>http://notepad.patheticcockroach.com/900/dealing-with-wd-advanced-format-hard-drives-on-linux-windows-and-mac-os-part-1/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 17:25:47 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=900</guid>
		<description><![CDATA[I recently bought the currently biggest Western Digital Caviar Green hard drive, the WD20EARS (on WD) (2 TB, 64MiB cache, Serial ATA 3 Gbps). Since I&#8217;m using Linux and Windows XP I knew I&#8217;d have some trouble partitioning it, since this drive features WD&#8217;s quite recent Advanced Format Technology (AFT). Yet I didn&#8217;t think it [...]]]></description>
			<content:encoded><![CDATA[<p>I recently bought the currently biggest Western Digital Caviar Green hard drive, the <a href="http://www.ldlc.com/fiche/PB00096376.html">WD20EARS</a> (<a href="http://www.wdc.com/en/products/products.asp?driveid=773">on WD</a>) (2 TB, 64MiB cache, Serial ATA 3 Gbps). Since I&#8217;m using Linux and Windows XP I knew I&#8217;d have some trouble partitioning it, since this drive features WD&#8217;s quite recent Advanced Format Technology (AFT). Yet I didn&#8217;t think it would be so time consuming to figure out a working and proper method.</p>
<h2>What&#8217;s the Advanced Format Technology (AFT)?</h2>
<p>To make a long story short, hard drives are organized into sectors. Each sector starts with a Sync/DAM block, then come the &#8220;real&#8221; data, then finally an Error Correction Code (ECC) block&#8230; and then a gap before the next sector (or rather, the next Sync/DAM block). For the last three decades, sectors have been 512 bytes big. This made sense when drive sizes were around some megabytes (since you can&#8217;t place 2 files inside 1 sector, the sector size determines the minimum space a file can use), but with today&#8217;s terabyte drives, this just doesn&#8217;t seem as appropriate (plus anyway modern file systems regroup sectors in indivisible 4KiB clusters). AFT simply changes the sector size to 4096&#160;B (512&#160;B&#160;x&#160;8).<br />
With this larger sector come the following advantages:</p>
<ul>
<li>for a 512 byte sector you needed 40 bytes of ECC, but for a 4096 bytes sector you can use only 100 bytes of ECC, a 220 bytes saving from what it takes for eight 512 bytes sectors (8&#215;40-100=220).</li>
<li>for a 4096 B sector you only need one Sync/DAM block, down from 8 blocks if you have 8 512 B blocks (although I couldn&#8217;t find anywhere if an AFT Sync/DAM block if bigger than a normal Sync/DAM block)</li>
<li>each 4096 B sector, you get a sector gap, while on non-AFT hard drives you get a sector gap after each 512 B sector. So on AFT you have 8 times fewer sector gaps.</li>
</ul>
<p><a href="http://img.patheticcockroach.com/01/legacy_vs_AFT_sectors.png"><img src="http://img.patheticcockroach.com/01/legacy_vs_AFT_sectors.png" alt="512 bytes legacy vs 4096 bytes Advanced Format sectors" width="472" height="97" /></a><br />
So globally, the main point of this is to stick more data into the same physical space (about 7-11% more according the sources I found &#8211; see at the end of this chapter &#8211; so the picture above is quite a bit exaggerated <img src='http://notepad.patheticcockroach.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). The use of one bigger ECC block instead of several smaller ones also improves burst error correction by 50% according to WD&#8217;s white paper on AFT. Finally AFT allows better performances (not <em>a lot</em> faster, but still faster): I didn&#8217;t find precisely why, but I guess this has to do with 8 times fewer sectors to read (since an AFT sector has 8 times more data) and smaller areas to read (since the AFT equivalent of 8 legacy 512 sectors is smaller).</p>
<p>I won&#8217;t go deeper into details, if you want further reading there you go:</p>
<ul>
<li><a href="http://www.wdc.com/wdproducts/library/WhitePapers/ENG/2579-771430.pdf">Western digital &#8211; Advanced Format Technology &#8211; White Paper</a> (PDF)</li>
<li><a href="http://hothardware.com/Articles/WDs-1TB-Caviar-Green-w-Advanced-Format-Windows-XP-Users-Pay-Attention/">HotHardware &#8211; Exploring WD&#8217;s Advanced Format HD Technology</a></li>
<li><a href="http://www.anandtech.com/show/2888">AnandTech &#8211; Western Digital’s Advanced Format: The 4K Sector Transition Begins</a></li>
</ul>
<h2>What&#8217;s the problem with Advanced Format Technology?</h2>
<p>As above-mentioned, 512 bytes sectors have been around for like an eternity. Thus any other sector size isn&#8217;t supported by, for instance Windows XP or even recent versions of Linux. To make the disk work anyway in all cases, Western Digital made it emulate 512 bytes sectors (see at the end of the white paper). So AFT disks will work in old OSes. But they won&#8217;t work in an optimal way: the OS will believe the sectors are 512 B, and thus will misalign clusters with physical sectors, which can be pretty much harmful for performance (although not at all physically damaging for the disk).</p>
<h2>Ok, now what&#8217;s the solution?</h2>
<p>If you&#8217;re on Windows or Mac OS 10.4+ using the GUID Partitioning Table scheme (GPT), check <a href="http://www.wdc.com/en/products/advancedformat/">WD&#8217;s AFT page</a>. If your Windows version is Vista or Seven, or if it&#8217;s XP and you&#8217;re sure you won&#8217;t need to edit any partition after using WD Align, that will be all.</p>
<p>Otherwise:</p>
<ul>
<li>if you&#8217;re on Windows XP and willing to edit your partitions after using WD Align, you&#8217;ll need either a third-party partitioning software, or Linux (I used Ubuntu 10.04 on this). This is because once you have aligned partitions using WD Align you shouldn&#8217;t EVER use Windows&#8217;s built-in partitioner (I tried that, it destroyed all my partitions in a fraction of a second) (note that you can still use Windows disk manager, just don&#8217;t try to modify the partitions with it on the whole AFT drive).</li>
<li>if you&#8217;re on Linux: if you&#8217;re on kernel 2.6.34 you should be fine. Otherwise, if you have parted in its version >= 2.1 you can use it with the <code>-a optimal</code> parameter and it should create properly aligned partitions. The source of this information is <a href="http://wdc.custhelp.com/cgi-bin/wdc.cfg/php/enduser/std_adp.php?p_faqid=5655">WD&#8217;s Knowledge Base</a>. They claim that Ubuntu 10.04 and Fedora 13 should align AFT drives properly (implicit: because they&#8217;re on kernel 2.6.34?). Well, Fedora 13 doesn&#8217;t, and has kernel 2.6.33 if I remember well, and neither does Ubuntu 10.04 (kernel 2.6.32). But Ubuntu 10.04 does have parted version 2.2.</li>
</ul>
<p>OK, so, solved your problem yet? If not, I guess you&#8217;re either:</p>
<ul>
<li>On Mac OS using Apple Partition Manager (APM): you&#8217;re screwed, really. Yet, it works, after all&#8230; just not as fast as it could&#8230;</li>
<li>On Windows XP, willing to edit the partitions later and not willing to buy a specific piece partitioning software: get Linux (you can just use some LiveUSB Linux: no installation required, can install/update packages if you configure persistent storage properly on your USB key)</li>
<li>On Windows XP, willing to edit the partitions later and not willing to buy a specific piece partitioning software nor to get Linux. Well, you&#8217;ll have to make a choice: either don&#8217;t edit the partitions or get what it takes to edit them.</li>
</ul>
<p>Or finally, you might be on Linux, without kernel 2.6.34 and not willing to use parted (or not having a recent enough parted), or just curious about aligning the partitions manually. Well, lucky you: I came up with a solution using GNU fdisk!</p>
<p>Update (17 August): here it is, finally, the fdisk + gparted guide: <a href="http://notepad.patheticcockroach.com/927/dealing-with-wd-advanced-format-hard-drives-on-linux-part-2/">Dealing with WD Advanced Format hard drives on Linux (part 2)</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/900/dealing-with-wd-advanced-format-hard-drives-on-linux-windows-and-mac-os-part-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Asus M50Vn seriously crashing since mid/end July 2010</title>
		<link>http://notepad.patheticcockroach.com/879/asus-m50vn-seriously-crashing-since-midend-july-2010/</link>
		<comments>http://notepad.patheticcockroach.com/879/asus-m50vn-seriously-crashing-since-midend-july-2010/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 07:56:41 +0000</pubDate>
		<dc:creator>David Dernoncourt</dc:creator>
				<category><![CDATA[Asus M50Vn]]></category>
		<category><![CDATA[nVidia]]></category>

		<guid isPermaLink="false">http://notepad.patheticcockroach.com/?p=879</guid>
		<description><![CDATA[Last Sunday, my Asus M50Vn crashed like I&#8217;d never seen before while I was working playing &#8220;working&#8221; for Wiki4Games: while getting ready in Alien Swarm&#8217;s limbo, the PC suddenly shutdown. Not a BSoD, not a freeze, just an immediate shutdown, with the computer switch&#8217;s &#8220;click&#8221;. At first I even thought it was a hardware failure, [...]]]></description>
			<content:encoded><![CDATA[<p>Last Sunday, my Asus M50Vn crashed like I&#8217;d never seen before while I was <del>working</del> <del>playing</del> &#8220;working&#8221; for <a href="http://www.wiki4games.com">Wiki4Games</a>: while getting ready in Alien Swarm&#8217;s limbo, the PC suddenly shutdown. Not a BSoD, not a freeze, just an immediate shutdown, with the computer switch&#8217;s &#8220;click&#8221;. At first I even thought it was a hardware failure, but I turned it back on without a problem, and it worked fine for the rest of the day. The day after, while doing basic stuff on the desktop (some OpenOffice and such), the screen suddenly went all blue and blinking at the bottom, and I had to do a hard reboot. This time this looked more like software trouble, so I thought about what could possibly have recently changed on that PC. And something had, indeed: I updated the graphics drivers the Saturday just before (because I hoped it would help with the shitloads of crashes I got with the Lead and Gold demo): I upgraded the <a href="http://www.nvidia.com/object/notebook_winxp_197.16_whql.html">197.16</a> drivers to <a href="http://www.nvidia.com/object/notebook-winxp-258.96-whql-driver.html">258.96</a>. So, well, this was time for a downgrade ^^. And it indeed solved the problem.</p>
<p>So, to sum up, NVIDIA graphics drivers version 258.96 may create trouble on the Asus M50Vn with a GeForce 9650M GT running Windows XP. If you experience random crashes with this notebook and those drivers, try to downgrade to 197.16.</p>
]]></content:encoded>
			<wfw:commentRss>http://notepad.patheticcockroach.com/879/asus-m50vn-seriously-crashing-since-midend-july-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

