January 4, 2012

Updating a ZFS Mirror

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.

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.

# zpool list
NAME   SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
data   294G  68,2G   226G    23%  1.25x  DEGRADED  -
tank  1,81T   300G  1,52T    16%  1.06x  ONLINE  -
# zpool status data
  pool: data
 state: DEGRADED
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
  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                        UNAVAIL      0     0     0  was /dev/gptid/602da1ae-c474-11de-960d-0008a14dbca1

errors: No known data errors

Read more… | 2 comments


December 29, 2011

Thomson ST2030 Feature Key Sheet Template

Technicolor's (ex. Thomson's) ST2030 SIP phone features 10 feature keys that can be used as fast call keys to reach a configured number by a single key-press.

[ST2030 Feature Keys location]
Location of Feature Keys on the ST2030.

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.

Read more… | 2 comments


December 21, 2011

I'm on the Radio

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 Radio Campus Clermont-Ferrand.

The show is called Les aventures du comte de Malamanteau (French for Earl Malamanteau's Adventures), 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 South Africa, Kenya, Tunisia, Lebanon, Ukraine and Finland.

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: malamanteau.fr.

Screenshot of the home-page of malamanteau.fr

Read more… | No comments yet


August 26, 2011

TeXLive 2011 on FreeBSD

A few weeks ago, I updated the freebsd-texlive project to make TeXLive 2011 (the latest verison) available as ports for FreeBSD.

In order to help users who don't want to install the whole TeXLive collection (~2000 ports), a basic script has been developed to ease-up finding which port provides some file required by a given package.

As usual, feedback is welcomed!

Read more… | 2 comments


April 2, 2011

Additional note for a proper shebang

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.

The first line of the script was:

#!/bin/bash -x

Those who know me might imagine how my eyes were bleeding (the other may want to read my previous entry about writing portable shebang for shell scripts), but this shows another problem one may encounter when porting a shell script with an invalid shebang.

Read more… | No comments yet


February 6, 2011

Typesetting Korean with TeXLive

Today, I received a request for adding support for ko.teX to the FreeBSD TeXLive ports. I created 3 ports for this purpose: print/kotex-util, print/kotex-macros and kotex-fonts-all.

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 on the issue page.

Read more… | No comments yet


November 1, 2010

TeXLive 2010 on FreeBSD

I definitively have a lack of time at the moment. Since this blog last entry is about Hey guys, I have just pushed TeXLive 2009 in the freebsd-texlive project, I guess I have to take the time to write this short post:

One month ago, I pushed TeXLive 2010 to the freebsd-texlive repository. Moreover, because portshaker is now in the FreeBSD ports tree, installing bleeding-edge TeXLive on FreeBSD has never been so easy!

Read more… | No comments yet


April 12, 2010

TeXLive 2009 on FreeBSD

I recently updated the freebsd-texlive project to make TeXLive 2009 (the latest verison) available as ports for FreeBSD.

I used a script for update TeXLive 2008 on a regular basis, but since these new ports feature pkg-plist files, I had to setup an update jail. So updates for FreeBSD TeXLive ports will be generated daily at 5:30 CET.

Read more… | No comments yet


April 9, 2010

gpg: OpenPGP card not available: IPC write error

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 Unknown IPC command.

Read more… | No comments yet


February 27, 2010

ZFS: unsupported ZFS version 14 (should be 13)

After updating to the latest development version of GNOME thanks' to MarcusCom ports I wanted to log out and back in but X refused to restart because of the in-heavy-development Nouveau video driver. I run in this problem every once a while and a full reboot solve this problem. However, the system did not boot.

Read more… | No comments yet

top