<?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>BigSmoke &#187; T61</title>
	<atom:link href="http://blog.bigsmoke.us/tag/t61/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.bigsmoke.us</link>
	<description>Smokes your problems, coughs fresh air.</description>
	<lastBuildDate>Wed, 08 Sep 2010 14:31:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Gentoo update: WiFi drivers (iwl4965)</title>
		<link>http://blog.bigsmoke.us/2009/06/11/gentoo-iwl4965-wifi-drivers</link>
		<comments>http://blog.bigsmoke.us/2009/06/11/gentoo-iwl4965-wifi-drivers#comments</comments>
		<pubDate>Thu, 11 Jun 2009 09:34:09 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Lenovo]]></category>
		<category><![CDATA[Linux Gentoo]]></category>
		<category><![CDATA[T61]]></category>
		<category><![CDATA[Thinkpad]]></category>
		<category><![CDATA[WiFi]]></category>
		<category><![CDATA[Wireless]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=572</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>When I got the Wireless working on this laptop (a Lenovo <a href="/tag/t61">T61</a>), I was using Linux kernel 2.6.25. I remember that it was quite a pain, because the iwlwifi stuff had only just stabilized enough to replace the (now deprecated) ipw stuff. One of the things I didn&#8217;t get working at the time was <a href="http://en.wikipedia.org/wiki/Monitor_mode">Monitor mode</a>.</p>

<p>Now, I&#8217;m upgrading to kernel 2.6.29, and there have been some changes to the kernel configuration for the iwl4965 driver. <tt>CONFIG_IWL4965</tt> is now a suboption of <tt>CONFIG_IWLAGN</tt>. The wireless didn&#8217;t work on the first boot however. <tt>eth0</tt> didn&#8217;t work either. But, when I changed the wired driver from &#8220;Intel PRO/1000 Gigabit Ethernet&#8221; (<tt>CONFIG_E1000</tt>) to the same for PCI-express (<tt>CONFIG_E1000E</tt>), it did work on the next boot and the wireless magically started working too. <img src='http://blog.bigsmoke.us/wp-factory/wp-includes/images/smilies/icon_confused.gif' alt=':-?' class='wp-smiley' /> </p>

<p>I was surprised because I don&#8217;t see what the wired and the wireless driver have got to do with each other. Also, before, I&#8217;ve always successfully used the non-PCI-express driver for my wired Ethernet interface and I&#8217;m so old fashioned that I can&#8217;t imagine either way that <em>my</em> hardware uses something so modern as PCI-express. <img src='http://blog.bigsmoke.us/wp-factory/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>

<p>Anyway, it works now. I&#8217;ve gone from kernel 2.6.25 to 2.6.29 and everything seems to be working. I still have to find out how to get Monitor mode working though.</p>

<p>One final thing I noticed is that upgrading <tt>net-wireless/iwl4965-ucode</tt> created an extra entry in my world profile: <tt>net-wireless/iwl4965-ucode<b>:0</b></tt>. I wonder what that is for.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2009/06/11/gentoo-iwl4965-wifi-drivers/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentoo update: e2fsprogs blocks e2fsprogs</title>
		<link>http://blog.bigsmoke.us/2009/01/28/gentoo-update-e2fsprogs</link>
		<comments>http://blog.bigsmoke.us/2009/01/28/gentoo-update-e2fsprogs#comments</comments>
		<pubDate>Wed, 28 Jan 2009 21:01:15 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[e2fsprogs]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Opschoot]]></category>
		<category><![CDATA[T61]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=319</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>Yesterday evening, I dropped by at <a href="/author/halfgaar">Wiebe</a>&#8216;s with my <a href="/tag/t61">laptop</a> to start updating our Gentoo systems together. I hadn&#8217;t updated this machine since first installing it in spring last year, so I expected quite a few problems. The first <q>blockage</q> that we both had to solve was caused by <a href="http://packages.gentoo.org/package/sys-fs/e2fsprogs">e2fsprogs</a>.</p>

<p>Wiebe searched the forums for help and found an unfortunate abundance of it. Eventually, I decided to give one of the many contradictory tips a try, although it seemed risky.</p> 

<pre>$ emerge --unmerge --ask --verbose e2fsprogs</pre>

<p>Until you reinstall e2fsprogs, you won&#8217;t have any of the ext2/3 utilities such as e2fsck. So, reinstall immediately:</p>

<pre>$ emerge --oneshot --ask --verbose e2fsprogs</pre>

<p>This will remove <a href="http://packages.gentoo.org/package/sys-libs/com_err">libcom_err</a> and <a href="http://packages.gentoo.org/package/sys-libs/ss">libss</a>, and replace them with <a href="http://packages.gentoo.org/package/sys-libs/e2fsprogs-libs">e2fsprogs-libs</a>, thus solving the blockages.</p>

<p>Wiebe tried an alternative route by first unmerging com_err and ss, and then replacing e2fsprogs. This didn&#8217;t work as expected, probably because he had <tt>kerberos</tt> in his use flags. libkerberos used libcom_err, which broke wget. Scp&#8217;ing the distfiles to him didn&#8217;t work either (OpenSSH also has kerberos support). Neither did mounting an USB stick with the files. Luckily, Thunderbird still worked, so I emailed the distfiles and the problem was solved. We found it amusing to have to use e-mail while being in the same room. <img src='http://blog.bigsmoke.us/wp-factory/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>

<p>The reason why this blockage occurred is not entirely clear to me. What I do understand is that com_err and ss were both provided by the e2fsprogs <a href="http://e2fsprogs.sourceforge.net/">project</a> and are now deprecated in favor of e2fsprogs-libs. Also, it&#8217;s clear that the new libraries are binary compatible with the old libraries or his system would have remained unusable, even after merging e2fsprogs-libs.</p>

<p>Before we tackled this problem, I had only updated <tt>portage</tt> and <tt>net-print/foomatic-db-ppds</tt> (also a blocking situation). Afterwards, I had just some motivation left to update krb5. Which leaves another 282 packages for the next get-together.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2009/01/28/gentoo-update-e2fsprogs/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>My quest for the ultimate Bash prompt</title>
		<link>http://blog.bigsmoke.us/2008/12/05/my-new-bash-prompt</link>
		<comments>http://blog.bigsmoke.us/2008/12/05/my-new-bash-prompt#comments</comments>
		<pubDate>Thu, 04 Dec 2008 22:55:13 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[T61]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=211</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>On my new laptop (a Lenovo T61) I was still using the default Gentoo prompt in Bash. This was kind of a shame since my last Gentoo installation (on what is now my sister&#8217;s Ubuntu machine) had a beautifully customized prompt. It was time to dig up the old escape codes.</p>

<h2>The old</h2>

<p>To recover my old prompt I didn&#8217;t even need to go rummaging through old files. All I had to do was to find an <a href="http://forums.gentoo.org/viewtopic-p-919582.html#919582">old forum post</a> on the Gentoo forums. But, I noticed immediately that I didn&#8217;t like this old prompt so much anymore. It had too much stuff and it didn&#8217;t have very strong root warning signals.</p>

<div id="attachment_212" class="wp-caption alignnone" style="width: 510px"><img src="http://blog.bigsmoke.us/wp-factory/../uploads/2008/12/my-old-bash-prompt.png" alt="My old Bash prompt" title="My old Bash prompt" class="size-full wp-image-212" /><p class="wp-caption-text">My old Bash prompt</p></div>

<div id="attachment_217" class="wp-caption alignnone" style="width: 510px"><img src="http://blog.bigsmoke.us/wp-factory/../uploads/2008/12/my-old-bash-prompt-as-root.png" alt="My old Bash prompt as root" title="My old Bash prompt as root" class="size-full wp-image-217" /><p class="wp-caption-text">My old Bash prompt as root</p></div>

<h2>The new</h2>

<div id="attachment_214" class="wp-caption alignnone" style="width: 510px"><img src="http://blog.bigsmoke.us/wp-factory/../uploads/2008/12/my-bash-prompt.png" alt="My new Bash prompt" title="My new Bash prompt" class="size-full wp-image-214" /><p class="wp-caption-text">My new Bash prompt</p></div>

<p>For my new prompt I used the <tt>PROMPT_COMMAND</tt> environment variable. The command in this environment variable is always run before the prompt is displayed. This means that, if you set the <tt>PS1</tt> environment variable from this command, you can change your prompt depending on circumstances.</p>

<p>I pushed the dollar (or hash)-sign all the way to the left because I often type in very long commands. A little more space is used if there are background jobs, but only <em>if</em> there are background jobs.</p>

<div id="attachment_213" class="wp-caption alignnone" style="width: 510px"><img src="http://blog.bigsmoke.us/wp-factory/../uploads/2008/12/my-bash-prompt-with-background-jobs.png" alt="My new Bash prompt with background jobs" title="My Bash prompt with background jobs" class="size-full wp-image-213" /><p class="wp-caption-text">My new Bash prompt with background jobs</p></div>

<p>You should never be root for too long, so I made being root very noticeable (and even slightly annoying):</p>

<div id="attachment_215" class="wp-caption alignnone" style="width: 510px"><img src="http://blog.bigsmoke.us/wp-factory/../uploads/2008/12/my-bash-prompt-as-root.png" alt="My new Bash prompt as root (and with background jobs)" title="My new Bash prompt as root" class="size-full wp-image-215" /><p class="wp-caption-text">My new Bash prompt as root (and with background jobs)</p></div>

<p>The following is the code I use to create the prompt. Stick it wherever you want it (e.g. in your user&#8217;s bashrc or in the system-wide bashrc) and adjust it to look nice and play nice with the rest of your environment. The code isn&#8217;t pretty, but it does what it has to. <img src='http://blog.bigsmoke.us/wp-factory/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  </p>

<pre class="bash"><span style="color: #b1b100;">function</span> prompt_command <span style="color: #66cc66;">&#123;</span>
  <span style="color: #000066;">local</span> <span style="color: #0000ff;">XTERM_TITLE=</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\e</span>]2;<span style="color: #000099; font-weight: bold;">\u</span>@<span style="color: #000099; font-weight: bold;">\H</span>:<span style="color: #000099; font-weight: bold;">\w</span><span style="color: #000099; font-weight: bold;">\a</span>&quot;</span>
&nbsp;
  <span style="color: #000066;">local</span> <span style="color: #0000ff;">BGJOBS_COLOR=</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\[</span><span style="color: #000099; font-weight: bold;">\e</span>[1;30m<span style="color: #000099; font-weight: bold;">\]</span>&quot;</span>
  <span style="color: #000066;">local</span> <span style="color: #0000ff;">BGJOBS=</span><span style="color: #ff0000;">&quot;&quot;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#91;</span> <span style="color: #ff0000;">&quot;$(jobs | head -c1)&quot;</span> <span style="color: #66cc66;">&#93;</span>; <span style="color: #b1b100;">then</span> <span style="color: #0000ff;">BGJOBS=</span><span style="color: #ff0000;">&quot; $BGJOBS_COLOR(bg:<span style="color: #000099; font-weight: bold;">\j</span>)&quot;</span>; <span style="color: #b1b100;">fi</span>
&nbsp;
  <span style="color: #000066;">local</span> <span style="color: #0000ff;">DOLLAR_COLOR=</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\[</span><span style="color: #000099; font-weight: bold;">\e</span>[1;32m<span style="color: #000099; font-weight: bold;">\]</span>&quot;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#91;</span> <span style="color: #0000ff;">$<span style="color: #66cc66;">&#123;</span>EUID<span style="color: #66cc66;">&#125;</span></span> == <span style="color: #cc66cc;">0</span> <span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span> ; <span style="color: #b1b100;">then</span> <span style="color: #0000ff;">DOLLAR_COLOR=</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\[</span><span style="color: #000099; font-weight: bold;">\e</span>[1;31m<span style="color: #000099; font-weight: bold;">\]</span>&quot;</span>; <span style="color: #b1b100;">fi</span>
  <span style="color: #000066;">local</span> <span style="color: #0000ff;">DOLLAR=</span><span style="color: #ff0000;">&quot;$DOLLAR_COLOR<span style="color: #000099; font-weight: bold;">\\</span><span style="color: #000099; font-weight: bold;">\$</span>&quot;</span>
&nbsp;
  <span style="color: #000066;">local</span> <span style="color: #0000ff;">USER_COLOR=</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\[</span><span style="color: #000099; font-weight: bold;">\e</span>[1;32m<span style="color: #000099; font-weight: bold;">\]</span>&quot;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#91;</span> <span style="color: #0000ff;">$<span style="color: #66cc66;">&#123;</span>EUID<span style="color: #66cc66;">&#125;</span></span> == <span style="color: #cc66cc;">0</span> <span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#93;</span>; <span style="color: #b1b100;">then</span> <span style="color: #0000ff;">USER_COLOR=</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\[</span><span style="color: #000099; font-weight: bold;">\e</span>[41;1;32m<span style="color: #000099; font-weight: bold;">\]</span>&quot;</span>; <span style="color: #b1b100;">fi</span>
&nbsp;
  <span style="color: #0000ff;">PS1=</span><span style="color: #ff0000;">&quot;$XTERM_TITLE$USER_COLOR<span style="color: #000099; font-weight: bold;">\u</span><span style="color: #000099; font-weight: bold;">\[</span><span style="color: #000099; font-weight: bold;">\e</span>[1;32m<span style="color: #000099; font-weight: bold;">\]</span>@<span style="color: #000099; font-weight: bold;">\H</span>:<span style="color: #000099; font-weight: bold;">\[</span><span style="color: #000099; font-weight: bold;">\e</span>[m<span style="color: #000099; font-weight: bold;">\]</span> <span style="color: #000099; font-weight: bold;">\[</span><span style="color: #000099; font-weight: bold;">\e</span>[1;34m<span style="color: #000099; font-weight: bold;">\]</span><span style="color: #000099; font-weight: bold;">\w</span><span style="color: #000099; font-weight: bold;">\[</span><span style="color: #000099; font-weight: bold;">\e</span>[m<span style="color: #000099; font-weight: bold;">\]</span><span style="color: #000099; font-weight: bold;">\n</span><span style="color: #000099; font-weight: bold;">\</span>
$DOLLAR$BGJOBS <span style="color: #000099; font-weight: bold;">\[</span><span style="color: #000099; font-weight: bold;">\e</span>[m<span style="color: #000099; font-weight: bold;">\]</span>&quot;</span>
<span style="color: #66cc66;">&#125;</span>
<span style="color: #000066;">export</span> <span style="color: #0000ff;">PROMPT_COMMAND=</span>prompt_command</pre>

<h2>More info</h2>

<p>If you want to learn more about customizing your prompt, there&#8217;s an <a href="http://www.ibm.com/developerworks/linux/library/l-tip-prompt/">article</a> up at IBM&#8217;s website. From it, I stole this nice color table:</p>

<div id="attachment_216" class="wp-caption alignnone" style="width: 496px"><img src="http://blog.bigsmoke.us/wp-factory/../uploads/2008/12/console-color-code-table.gif" alt="Console color codes table" title="Console color codes table" width="486" height="335" class="size-full wp-image-216" /><p class="wp-caption-text">Console color codes table</p></div>

<p>Another tip: you can type <q><kbd>man console_codes</kbd></q> for everything about &#8230; console codes.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2008/12/05/my-new-bash-prompt/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using Caps Lock as an extra Control key</title>
		<link>http://blog.bigsmoke.us/2008/07/15/using-caps-lock-as-an-extra-control-key</link>
		<comments>http://blog.bigsmoke.us/2008/07/15/using-caps-lock-as-an-extra-control-key#comments</comments>
		<pubDate>Tue, 15 Jul 2008 10:31:35 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[Lenovo]]></category>
		<category><![CDATA[PuTTY]]></category>
		<category><![CDATA[T61]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=98</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>With me mostly posting about computer stuff on this weblog, it might surprise you that, until May this year, I hadn&#8217;t owned a personal computer in years while the last one that I did own was a slow pig grown from some old parts of an even slower pig and some second-hand replacements. So, you can image my joy when I got a shiny, new Lenovo Thinkpad 61 this spring.</p>

<p>One of the joys of once more owning a personal computer is that I don&#8217;t have to live through PuTTY anymore. (I used to SSH to the local Debian server here if I wanted to get <em>anything</em> done.) I&#8217;ve reacquainted myself with Gentoo and I&#8217;m loving it. Of course, there&#8217;s a lot more to configure than with Ubuntu (which supports the T61 very neatly out of the box), but that&#8217;s the whole point; I want to be able to configure everything my way and I want to update my knowledge about how Linux systems are made up these days. Control.</p>

<p>On the topic of control, the Control key on the Lenovo keyboard, as with many laptop keyboards that I&#8217;ve encountered, is in a bit of an awkward position, squeezed to the right by the Function key. Since, I very much depend on the Control key for shortcuts (in just about anything, but especially in <a href="http://www.bigsmoke.us/readline/shortcuts">libreadline-based programs</a>), I decided to change the Caps Lock key to be an extra Control key. I&#8217;ve never actually used the CapsLock key in my life, I probably never will, older keyboards used that very spot for the Control Key, and why not? It&#8217;s a much better spot, requiring less gymnastics for my little pinky to reach. Once I considered this I was actually puzzled about why I&#8217;ve always wasted such an well-accessible key position.</p>

<h2>X</h2>

<p>On to the configuration. I wanted this to work in both Console mode and in X. But first X. In the <tt>xorg.conf</tt>, I went to the <tt>InputDevice</tt> section for my keyboard and added <tt>ctrl:nocaps</tt> to <tt>XkbOptions</tt>. The full <tt>XkbOptions</tt> line now reads:</p>

<pre>Option "XkbOptions" "ctrl:nocaps,altwin:menu,compose:ralt,eurosign:e"</pre>

<p>That&#8217;s it. I had to take a few more steps to get it to work in the console also.</p>

<h2>Console</h2>

<p>First, I created a file called &#8220;<tt>/etc/extra-key-conf</tt>&#8221; with the following contents:</p>

<pre>
keymaps 0-15
keycode 58 = Control
</pre>

<p>Then I added the following to <tt>/etc/conf.d/local.start</tt>. This is a Gentoo specific script that is loaded by <tt>/etc/init.d/local</tt>.</p>

<pre class="bash"><span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#91;</span> -z <span style="color: #ff0000;">&quot;$DISPLAY&quot;</span> -a -e /etc/extra-key-conf <span style="color: #66cc66;">&#93;</span>; <span style="color: #b1b100;">then</span>
        loadkeys /etc/extra-key-conf &amp;&gt;/dev/null
<span style="color: #b1b100;">fi</span></pre>

<p>What this does is to check if the <tt>$DISPLAY</tt> variable isn&#8217;t set (of which we can be sure in this context, but may be useful if you plan to copy this snippet). It also checks if <tt>/etc/extra-key-conf</tt> exists. If both conditions are satisfied, <tt>loadkeys</tt> is called with that file as its argument.</p>

<h2>In conclusion</h2>

<p>I can really recommend this configuration even if your Control key is not awkwardly positioned on your keyboard. Do you use your Caps Lock key? Regularly? If you don&#8217;t, this will make your keyboard use more effective.</p>

<h2>Reference</h2>

<p>If you want to read into this more extensively, I recommend the <cite><a href="http://c2.com/cgi/wiki?RemapCapsLock">Remap Caps Lock</a></cite> article from the Portland Pattern Repository.]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2008/07/15/using-caps-lock-as-an-extra-control-key/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My CD-RW drive can read everything it writes</title>
		<link>http://blog.bigsmoke.us/2008/07/14/my-cd-rw-drive-can-read-everything-it-writes</link>
		<comments>http://blog.bigsmoke.us/2008/07/14/my-cd-rw-drive-can-read-everything-it-writes#comments</comments>
		<pubDate>Mon, 14 Jul 2008 16:10:50 +0000</pubDate>
		<dc:creator>Rowan Rodrik</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[CD-ROM]]></category>
		<category><![CDATA[CD-RW]]></category>
		<category><![CDATA[Lenovo]]></category>
		<category><![CDATA[T61]]></category>

		<guid isPermaLink="false">http://blog.bigsmoke.us/?p=97</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>The HL-DT-ST CD-RW/DVD drive in my Lenovo T61 laptop, has a certain peculiarity. I was burning an ISO image, wich exceeded the supported size of a standard 80 minute CD by 7 MB. (The image was 707 MB.) Using cdrecord with the <tt>-overburn</tt> option seemed to work, until I tried to mount the CD-ROM. It would inevitably&#8212;</p>

<pre># mount /dev/cdrom /mnt/cdrom -t iso9660
mount: block device /dev/sr0 is write-protected, mounting read-only</pre>

<p>Well, that is unexpected! I was going to write that it would refuse with some errors in dmesg about trying to access data beyond some boundary. But I probably messed up something very trivial, because I just can&#8217;t seem to reproduce the error in any way as the mount result above shows.</p>

<p>Let&#8217;s backtrack everything I did to try to fix this <q>problem</q>.</p>

<p>First, after numerous attempts to mount the 700 MB sized CD, I gave up and asked my little sister to bring me my stack of 800 MB CDs next time she&#8217;d come. Of course, over a week went by without her remembering to take the CDs. But eventually, I picked them up myself.</p>

<p>Having retrieved the 800 meg CDs, it came time to test them. Burning went well. Then mounting&#8230; A failure with dmesg showing the familiar error (which I now can&#8217;t look up because I can&#8217;t reproduce the problem <img src='http://blog.bigsmoke.us/wp-factory/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' />  ). Mounting it in the local server&#8217;s drive worked fine, though, leading me to think that <q>my burner can&#8217;t read CD-ROMs it has written with overburn enabled.</q></p>

<p>Luckily, I was wrong. But I really don&#8217;t understand why I did get the errors at first. Sure, I did notice a faulty entry in my fstab, but I had also tried mounting it without relying on the fstab (i.e., with <q><tt>mount -t iso9660 /dev/cdrom /mnt/cdrom</tt></q>), which begot me the same error&#8230; Also, I had mounted plenty of CDs before this adventure.</p>

<p>All I can do to explain this is to concede that this is one of those problems where you usually call a geek friend telling them you can&#8217;t get something to work. They&#8217;ll reply by asking you <q>have you tried this and that?</q> <q>Of course I have, at least twice, in the exact same sequence as you describe!</q> <q>Well, humour me then, and try it once more&#8230;</q> <q>Fuck! Fuck! Fuck! And why didn&#8217;t it work 10 minutes ago?!</q> Don&#8217;t tell me you&#8217;ve never had this happen to you. Please?</p>

<p>In conclusion, after finding out that the 800 MB CD <em>did</em> work on my laptop, I reclaimed the 700 MB CD as well (which was now serving as a hawk-deflector in the coop) to find out that, even after being exposed to lots of rain and sun for over a week, this CD also mounted without hesitation.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.bigsmoke.us/2008/07/14/my-cd-rw-drive-can-read-everything-it-writes/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
