<?xml version="1.0"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:res="http://blogreen.org/TR/Resources" xmlns:bgn="http://blogreen.org" bgn:template-name="rss" version="2.0"><channel><title>Romain Tartière's Blog</title><link>http://romain.blogreen.org/blog/</link><description>Mostly technical blog posts from Romain Tartière's Blog.</description><link xmlns="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://romain.blogreen.org/blog/rss-short.xml"/><item><title>Updating a ZFS Mirror</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">A few days ago, while I was on the phone, my machine experienced a kernel panic.  The backtrace pointed a problem somewhere in the swap management code.  I was on a hurry at that time and rebooted the machine without taking the time dig in the problem deeper.</p><p xmlns="http://www.w3.org/1999/xhtml">On the next day, I eventually realised that an hard disk was logically missing on the system and the ZFS mirror it was belonging to was working in a degraded mode.  This disk holding a swap partition, the panic quite makes sense: some data was stored there and could not be paged-out anymore.</p><pre xmlns="http://www.w3.org/1999/xhtml" class="highlight-keyword"># zpool list
NAME   SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
data   294G  68,2G   226G    23%  1.25x  <strong>DEGRADED</strong>  -
tank  1,81T   300G  1,52T    16%  1.06x  ONLINE  -</pre><pre xmlns="http://www.w3.org/1999/xhtml" class="highlight-keyword"># zpool status data
  pool: data
 state: <strong>DEGRADED</strong>
<strong>status: One or more devices could not be opened.  Sufficient replicas exist for
        the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
   see: http://www.sun.com/msg/ZFS-8000-2Q</strong>
  scan: none requested
config:

NAME                                            STATE     READ WRITE CKSUM
data                                            DEGRADED     0     0     0
  mirror-0                                      DEGRADED     0     0     0
    gptid/36711e52-a69e-11de-8adf-0018f38af467  ONLINE       0     0     0
    15152536002702365387                        <strong>UNAVAIL</strong>      0     0     0  <strong>was /dev/gptid/602da1ae-c474-11de-960d-0008a14dbca1</strong>

errors: No known data errors</pre>]]></description><link>http://romain.blogreen.org/blog/2012/01/updating-a-zfs-mirror/</link><category>FreeBSD</category><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2012/01/updating-a-zfs-mirror/</guid><pubDate>Wed, 04 Jan 2012 11:27:08 GMT</pubDate></item><item><title>Thomson ST2030 Feature Key Sheet Template</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml"><a href="http://www.technicolor.com/">Technicolor</a>'s (ex. Thomson's) <a href="http://www.technicolorbroadbandpartner.com/telephony-solutions/products/product-detail.php?id=87">ST2030</a> <acronym title="Session Initiation Protocol">SIP</acronym> phone features 10 <em>feature keys</em> that can be used as <em>fast call keys</em> to reach a configured number by a single key-press.</p><p xmlns="http://www.w3.org/1999/xhtml" class="figure"><img src="http://romain.blogreen.org/images/st2030-feature-key.png" alt="[ST2030 Feature Keys location]" height="278" width="254"/><br/>Location of <em>Feature Keys</em> on the ST2030.</p><p xmlns="http://www.w3.org/1999/xhtml">I finally decided to configure these keys with proper numbers instead of browsing my directory each time I want to make a call.  But the phone only ships with a single paper sheet to hand-write the names corresponding to the configured numbers and my hand-writing is somewhat like what would produce a drunk cow with Creutzfeldt–Jakob disease.  I browsed the Internet for a sheet template to fill-in, print and cut, but was unable to find some.</p>]]></description><link>http://romain.blogreen.org/blog/2011/12/thomson-st2030-feature-key-sheet-template/</link><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2011/12/thomson-st2030-feature-key-sheet-template/</guid><pubDate>Thu, 29 Dec 2011 15:44:32 GMT</pubDate></item><item><title>I'm on the Radio</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">Earlier this year, 4 friends and I joined together with the goal of having our very own radio show.  The first show was recorded in late November and was on air in the beginning of October.  From that date, every two week, a new issue is broadcasted live on <a href="http://clermont.radio-campus.org">Radio Campus Clermont-Ferrand</a>.</p><p xmlns="http://www.w3.org/1999/xhtml">The show is called <q><a href="http://malamanteau.fr">Les
							aventures du comte de Malamanteau</a></q> (French for
					<em>Earl Malamanteau's Adventures</em>), and is mostly music
					centered: during one hour, a selection of music from a given
					country (a different one for each issue) is aired. So far,
					we have visited <a href="http://malamanteau.fr/2011-10-05-afrique-du-sud/">South Africa</a>, <a href="http://malamanteau.fr/2011-10-19-kenya/">Kenya</a>, <a href="http://malamanteau.fr/2011-11-02-tunisie/">Tunisia</a>, <a href="http://malamanteau.fr/2011-11-16-liban/">Lebanon</a>,
					<a href="http://malamanteau.fr/2011-11-30-ukraine/">Ukraine</a> and <a href="http://malamanteau.fr/2011-12-14-finlande/">Finland</a>.</p><p xmlns="http://www.w3.org/1999/xhtml">A website has been setup for listeners to have access to
					broadcasted shows and gathering more information about the
					music we chose and location we visited: <a href="http://malamanteau.fr">malamanteau.fr</a>.</p><p xmlns="http://www.w3.org/1999/xhtml" class="figure"><a href="http://malamanteau.fr"><img src="http://romain.blogreen.org/images/malamanteau.fr.png" alt="Screenshot of the home-page of malamanteau.fr"/></a></p>]]></description><link>http://romain.blogreen.org/blog/2011/12/i-m-on-the-radio/</link><category>Blogreen</category><category>The Real Life</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2011/12/i-m-on-the-radio/</guid><pubDate>Wed, 21 Dec 2011 14:35:00 GMT</pubDate></item><item><title>TeXLive 2011 on FreeBSD</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">A few weeks ago, I updated the <a href="https://code.google.com/p/freebsd-texlive/">freebsd-texlive project</a> to make TeXLive 2011 (the latest verison) available as ports for <a href="http://www.freebsd.org/">FreeBSD</a>.</p><p xmlns="http://www.w3.org/1999/xhtml">In order to help users who don't want to install the whole TeXLive collection (~2000 ports), <a href="http://freebsd-texlive.googlecode.com/svn/trunk/Tools/scripts/texlive-port-seek">a basic script</a> has been developed to ease-up finding which port provides some file required by a given package.</p><p xmlns="http://www.w3.org/1999/xhtml">As usual, feedback is welcomed!</p>]]></description><link>http://romain.blogreen.org/blog/2011/08/texlive-2011-on-freebsd/</link><category>FreeBSD</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2011/08/texlive-2011-on-freebsd/</guid><pubDate>Fri, 26 Aug 2011 02:10:00 GMT</pubDate></item><item><title>Additional note for a proper shebang</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">I recently encountered a shell script lacking some functionality I wanted to rely on, and started editing it to provide a patch for the author.</p><p xmlns="http://www.w3.org/1999/xhtml">The first line of the script was:</p><pre xmlns="http://www.w3.org/1999/xhtml" class="sh_sh">#!/bin/bash -x</pre><p xmlns="http://www.w3.org/1999/xhtml">Those who know me might imagine how my eyes were bleeding (the other may want to read my previous entry about <a href="http://romain.blogreen.org/blog/2008/04/you-bash-users-are-driving-me-crazy/">writing portable shebang for shell scripts</a>), but this shows another problem one may encounter when porting a shell script with an invalid shebang.</p>]]></description><link>http://romain.blogreen.org/blog/2011/04/additional-note-for-a-proper-shebang/</link><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2011/04/additional-note-for-a-proper-shebang/</guid><pubDate>Sat, 02 Apr 2011 13:43:00 GMT</pubDate></item><item><title>Typesetting Korean with TeXLive</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">Today, I received a request for <a href="http://code.google.com/p/freebsd-texlive/issues/detail?id=15">adding support for ko.teX to the FreeBSD TeXLive ports</a>. I created 3 ports for this purpose: <a href="http://freebsd-texlive.googlecode.com/svn/branches/ports/print/kotex-util/">print/kotex-util</a>, <a href="http://freebsd-texlive.googlecode.com/svn/branches/ports/print/kotex-macros/">print/kotex-macros</a> and <a href="http://freebsd-texlive.googlecode.com/svn/branches/ports/print/kotex-fonts-all/">kotex-fonts-all</a>.</p><p xmlns="http://www.w3.org/1999/xhtml">I did some basic testing locally, but I don't read Korean, thus I could not test beyond the (minimalistic) examples. I am therefore looking for FreeBSD TeXLive users who are able to write Korean to help testing this package.  If you are one of them, please give it a try and report any success or failures <a href="http://code.google.com/p/freebsd-texlive/issues/detail?id=15">on the issue page</a>.</p>]]></description><link>http://romain.blogreen.org/blog/2011/02/typesetting-korean-with-texlive/</link><category>FreeBSD</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2011/02/typesetting-korean-with-texlive/</guid><pubDate>Sun, 06 Feb 2011 12:13:31 GMT</pubDate></item><item><title>TeXLive 2010 on FreeBSD</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">I definitively have a lack of time at the moment.  Since this blog last entry is about <q>Hey guys, I have just pushed TeXLive 2009 in the <a href="http://code.google.com/p/freebsd-texlive/">freebsd-texlive</a> project</q>, I guess I have to take the time to write this short post:</p><p xmlns="http://www.w3.org/1999/xhtml">One month ago, I pushed TeXLive 2010 to the <a href="http://code.google.com/p/freebsd-texlive/">freebsd-texlive</a> repository.  Moreover, because <a href="http://www.freshports.org/ports-mgmt/portshaker/">portshaker</a> is now in the FreeBSD ports tree, <a href="http://code.google.com/p/freebsd-texlive/wiki/Installing">installing bleeding-edge TeXLive on FreeBSD</a> has never been so easy!</p>]]></description><link>http://romain.blogreen.org/blog/2010/11/texlive-2010-on-freebsd/</link><category>FreeBSD</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2010/11/texlive-2010-on-freebsd/</guid><pubDate>Mon, 01 Nov 2010 12:13:31 GMT</pubDate></item><item><title>TeXLive 2009 on FreeBSD</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">I recently updated the <a href="https://code.google.com/p/freebsd-texlive/">freebsd-texlive project</a> to make TeXLive 2009 (the latest verison) available as ports for <a href="http://www.freebsd.org/">FreeBSD</a>.</p><p xmlns="http://www.w3.org/1999/xhtml">I used <a href="http://romain.blogreen.org/Blog/2009/05/TeXLive_for_FreeBSD_updated">a script for update TeXLive 2008 on a regular basis</a>, but since these new ports feature <tt>pkg-plist</tt> files, I had to setup an update jail.  So updates for FreeBSD TeXLive ports will be generated daily at 5:30 CET.</p>]]></description><link>http://romain.blogreen.org/blog/2010/04/texlive-2009-on-freebsd/</link><category>FreeBSD</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2010/04/texlive-2009-on-freebsd/</guid><pubDate>Mon, 12 Apr 2010 09:14:00 GMT</pubDate></item><item><title>gpg: OpenPGP card not available: IPC write error</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">If you reach this page searching the internet for this error and did not find anything usefull, it might be because the error you want to search is actually <q><em>Unknown</em> IPC command</q>.</p>]]></description><link>http://romain.blogreen.org/blog/2010/04/gpg-openpgp-card-not-available-ipc-write-error/</link><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2010/04/gpg-openpgp-card-not-available-ipc-write-error/</guid><pubDate>Fri, 09 Apr 2010 08:35:00 GMT</pubDate></item><item><title>ZFS: unsupported ZFS version 14 (should be 13)</title><description><![CDATA[<p xmlns="http://www.w3.org/1999/xhtml">After updating to the latest development version of GNOME thanks' to <a href="http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi">MarcusCom ports</a> I wanted to log out and back in but X refused to restart because of the in-heavy-development <a href="http://nouveau.freedesktop.org/wiki/">Nouveau video driver</a>.  I run in this problem every once a while and a full reboot solve this problem.  However, the system did not boot.</p>]]></description><link>http://romain.blogreen.org/blog/2010/02/zfs-unsupported-zfs-version-14-should-be-13/</link><category>FreeBSD</category><category>Sysadmin</category><guid isPermaLink="true">http://romain.blogreen.org/blog/2010/02/zfs-unsupported-zfs-version-14-should-be-13/</guid><pubDate>Sat, 27 Feb 2010 16:27:00 GMT</pubDate></item></channel></rss>

