<?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>Artefact2&#039;s Blog &#187; FreeBSD</title>
	<atom:link href="http://blog.artefact2.com/tag/freebsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.artefact2.com</link>
	<description>Mes centres d&#039;intérêts, principalement Freenet, GNU/Linux, BSD et en gros tout ce qui touche à l&#039;Opensource (plus d&#039;autres choses, qui n&#039;ont rien à voir en général...)</description>
	<lastBuildDate>Sat, 14 Aug 2010 10:39:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>De Tempest à Vargur : passage de FreeBSD à ArchLinux</title>
		<link>http://blog.artefact2.com/224/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.artefact2.com/224/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 22:56:22 +0000</pubDate>
		<dc:creator>Artefact2</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Opensource]]></category>
		<category><![CDATA[Arch]]></category>

		<guid isPermaLink="false">http://blog.artefact2.com/?p=224</guid>
		<description><![CDATA[TL;DR : Arch, c&#8217;est plus simple et de manière générale plus rapide mais il faut faire plus attention à l&#8217;organisation et à la sécurité qu&#8217;avec FreeBSD. Un petit billet pour annoncer que je suis passé de FreeBSD à ArchLinux sur &#8230; <a href="http://blog.artefact2.com/224/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://fr.wiktionary.org/wiki/TLDR"><em>TL;DR :</em></a><em> Arch, c&#8217;est plus simple et de manière générale plus rapide mais il faut faire plus attention à l&#8217;organisation et à la sécurité qu&#8217;avec FreeBSD.</em></p>
<p>Un petit billet pour annoncer que je suis passé de FreeBSD à ArchLinux sur mon serveur@home. Pourquoi ? Pourquoi pas. J&#8217;avais envie de quelque chose de plus simple et aussi un peu de changer. Merci le disque dur externe de 1 To pour faire les sauvegardes nécessaires :)</p>
<p>Comme j&#8217;utilise déjà ArchLinux depuis quelques années sur mon netbook et mon autre machine, la transition s&#8217;est évidemment faite sans aucun accroc. Tout marche comme il faut, le seul point un peu délicat concernant l&#8217;installation : impossible d&#8217;installer grub1 sur des disques GPT, malgré ce que dit le wiki. Utiliser LVM et mdadm pour faire du raid5 et du raid1 a aussi été nouveau. Au revoir ZFS, et à bientôt j&#8217;espère… Ou btrfs, qui sait ?</p>
<p>Ayant acquis une certaine expérience dans ces deux OS, je me suis dit, pourquoi ne pas faire un petit comparatif des points noirs qui m&#8217;ennuient et des fonctionnalités que j&#8217;aime utiliser au quotidien ?</p>
<h1>FreeBSD</h1>
<ul>
<li>(+) Les jails : c&#8217;est tout simplement très pratique, cela permet d&#8217;isoler les différents services sur une machine pour des raisons de sécurité et de stabilité (si un composant ne fonctionne plus à cause d&#8217;une mauvaise manip ou d&#8217;une mise à jour foireuse, uniquement ce système là est affecté et pas les autres)</li>
<li>(+) Excellente documentation, le handbook est la référence et les manpages sont aussi très détaillées ; par exemple <a href="http://www.freebsd.org/cgi/man.cgi?query=security&amp;apropos=0&amp;sektion=7&amp;manpath=FreeBSD+8.1-RELEASE&amp;format=html">security(7)</a>. Il faut également lire /etc/UPDATING avant de mettre à jour pour se renseigner les changements éventuels à faire manuellement.</li>
<li>(+) On peut se faire un système 100% ZFS avec GPT, et c&#8217;est vraiment très bon.</li>
<li>(+/-) Distinction entre le système de base (noyau, userland) et les logiciels tiers, autant dans l&#8217;organisation que dans le processus de mise à jour. Cela permet un contrôle plus fin des mises à jour mais est également plus complexe pour les néophytes.</li>
<li>(++/-) Les ports : c&#8217;est pratique et il y a beaucoup de logiciels tiers disponibles facilement, mais malheureusement la compilation prend du temps s&#8217;il n&#8217;y a pas de paquets. Quand on souhaite installer un logiciel qui ne s&#8217;y trouve pas, c&#8217;est souvent bien plus difficile (à cause du fait que FreeBSD utilise comme préfixe /usr/local pour tous les logiciels tiers) à compiler.</li>
<li>(-) Les mises à jour sont horriblement lentes, surtout avec CVS.</li>
<li>(-) Lenteur de portupgrade(1). C&#8217;est un outil tiers facultatif mais qui facilite l&#8217;installation, la mise à jour et la gestion des ports.</li>
<li>(-) Beaucoup de ports ne sont plus à jour depuis belle lurette. Par exemple <a href="http://www.freshports.org/games/stepmania-devel/">games/stepmania-devel</a> date de 2007.</li>
</ul>
<h1>ArchLinux</h1>
<ul>
<li>(+) Beaucoup plus simple que FreeBSD à utiliser et à administrer.</li>
<li>(+) Pacman est très rapide et fait bien son travail. De manière générale, le système de paquets est bien fait (groupes, providers, …). Les mises à jour sont très simples à effectuer.</li>
<li>(+) Rolling release. C&#8217;est un très gros bonus. Au lieu d&#8217;avoir tout un tas de mises à jour d&#8217;un coup (une date définie arbitrairement), elles arrivent en même temps que leur publication en upstream. On a par exemple le nouveau noyau Linux dès qu&#8217;il est distribué. Cela permet de distiller les gros problèmes de mise à jour, c&#8217;est psychologiquement moins déprimant.</li>
<li>(++) Système d&#8217;init basé sur BSD et non sur sysvinit. Ça rend la gestion des daemons et la création de tels scripts de démarrage beaucoup plus simple. Et quand on se casse pas la tête grâce à un système plus simple qui fournit les fonctionnalités dont j&#8217;ai besoin (qui honnêtement utilise les runlevels ?), c&#8217;est très bon.</li>
<li>(++/-) L&#8217;AUR, permet la création de paquets tiers par la communauté, très pratique mais aucune garantie concernant leur sécurité ou leur pérennité. La plupart sont néanmoins bien maintenus ; on peut lire le PKGBUILD avant l&#8217;installation pour vérifier que rien de malveillant n&#8217;est fait.</li>
<li>(+) Wiki correct.</li>
<li>(-) Pas de jails, donc il faut faire très attention à la sécurité et à l&#8217;organisation de la machine.</li>
</ul>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fblog.artefact2.com%2F224%2F&amp;linkname=De%20Tempest%20%C3%A0%20Vargur%20%3A%20passage%20de%20FreeBSD%20%C3%A0%20ArchLinux" title="Delicious" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.artefact2.com%2F224%2F&amp;linkname=De%20Tempest%20%C3%A0%20Vargur%20%3A%20passage%20de%20FreeBSD%20%C3%A0%20ArchLinux" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fblog.artefact2.com%2F224%2F&amp;linkname=De%20Tempest%20%C3%A0%20Vargur%20%3A%20passage%20de%20FreeBSD%20%C3%A0%20ArchLinux" title="Google Reader" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fblog.artefact2.com%2F224%2F&amp;linkname=De%20Tempest%20%C3%A0%20Vargur%20%3A%20passage%20de%20FreeBSD%20%C3%A0%20ArchLinux" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fblog.artefact2.com%2F224%2F&amp;linkname=De%20Tempest%20%C3%A0%20Vargur%20%3A%20passage%20de%20FreeBSD%20%C3%A0%20ArchLinux" title="Digg" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fblog.artefact2.com%2F224%2F&amp;linkname=De%20Tempest%20%C3%A0%20Vargur%20%3A%20passage%20de%20FreeBSD%20%C3%A0%20ArchLinux" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/netvibes_share?linkurl=http%3A%2F%2Fblog.artefact2.com%2F224%2F&amp;linkname=De%20Tempest%20%C3%A0%20Vargur%20%3A%20passage%20de%20FreeBSD%20%C3%A0%20ArchLinux" title="Netvibes Share" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/netvibes.png" width="16" height="16" alt="Netvibes Share"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fblog.artefact2.com%2F224%2F&amp;linkname=De%20Tempest%20%C3%A0%20Vargur%20%3A%20passage%20de%20FreeBSD%20%C3%A0%20ArchLinux" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fblog.artefact2.com%2F224%2F&amp;linkname=De%20Tempest%20%C3%A0%20Vargur%20%3A%20passage%20de%20FreeBSD%20%C3%A0%20ArchLinux" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fblog.artefact2.com%2F224%2F&amp;linkname=De%20Tempest%20%C3%A0%20Vargur%20%3A%20passage%20de%20FreeBSD%20%C3%A0%20ArchLinux" title="Twitter" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Partager/enregistrer ce post</a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.artefact2.com/224/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiler StepMania 4 sous FreeBSD 8</title>
		<link>http://blog.artefact2.com/105/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.artefact2.com/105/#comments</comments>
		<pubDate>Wed, 12 May 2010 16:46:14 +0000</pubDate>
		<dc:creator>Artefact2</dc:creator>
				<category><![CDATA[Développement]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Opensource]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[StepMania]]></category>

		<guid isPermaLink="false">http://blog.artefact2.com/?p=105</guid>
		<description><![CDATA[StepMania est un excellent jeu. Il est addictif, extensible, libre… Que du bon. La version 4 (alpha 5 à l&#8217;heure où j&#8217;écris ces lignes) est tout bonnement génialissime. C&#8217;est pourquoi, après y avoir goûté sur ma machine GNU/Linux, j&#8217;ai naturellement &#8230; <a href="http://blog.artefact2.com/105/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>StepMania est un excellent jeu. Il est addictif, extensible, libre… Que du bon. La version 4 (alpha 5 à l&#8217;heure où j&#8217;écris ces lignes) est tout bonnement génialissime. C&#8217;est pourquoi, après y avoir goûté sur ma machine GNU/Linux, j&#8217;ai naturellement eu envie d&#8217;en profiter sur FreeBSD.</p>
<p>Seulement voila : le port stepmania date de 2007 et a de grandes chances de ne plus jamais être mis a jour. Il faut donc compiler à la main. C&#8217;est pas difficile du tout, sauf que là je suis apparemment le seul blaireau a avoir essayé, je n&#8217;ai rien touvé à ce sujet sur la toile. Comme j&#8217;ai réussi a avoir un jeu 100% utilisable, voici les étapes à suivre :</p>
<ol>
<li>Étape préliminaire : <strong>assurez-vous de ne pas avoir pulseaudio d&#8217;installé</strong>. Si vous l&#8217;avez, StepMania va se connecter dessus au lieu d&#8217;utiliser le driver OSS, et croyez-moi, c&#8217;est injouable tellement il y a des artefacts audio et de la latence.</li>
<li>
<pre>svn co https://svn.stepmania.com/svn/trunk/stepmania
cd stepmania</pre>
</li>
<li>Ajoutez « -liconv » à la ligne commencant par « LIBS = @LIBS@ -lpthread -lrt » dans src/Makefile.am</li>
<li>Appliquez le patch suivant pour compiler avec la version  1.4 de la libpng (et d&#8217;autres trucs pour que ça marche) :
<pre>Index: src/RageSurface_Load_PNG.cpp
===================================================================
--- src/RageSurface_Load_PNG.cpp	(revision 28355)
+++ src/RageSurface_Load_PNG.cpp	(working copy)
@@ -140,7 +140,7 @@

 	/* Expand grayscale images to the full 8 bits from 1, 2, or 4 bits/pixel */
 	if( color_type == PNG_COLOR_TYPE_GRAY &amp;&amp; bit_depth &lt; 8 )
-		png_set_gray_1_2_4_to_8( png );
+		png_set_expand_gray_1_2_4_to_8( png );

 	/* These are set for type == PALETTE. */
 	RageSurfaceColor colors[256];
Index: src/arch/ArchHooks/ArchHooks_Unix.cpp
===================================================================
--- src/arch/ArchHooks/ArchHooks_Unix.cpp	(revision 28355)
+++ src/arch/ArchHooks/ArchHooks_Unix.cpp	(working copy)
@@ -12,7 +12,9 @@
 #include "archutils/Unix/AssertionHandler.h"
 #include &lt;unistd.h&gt;
 #include &lt;sys/time.h&gt;
+#include &lt;sys/wait.h&gt;

 #if defined(CRASH_HANDLER)
 #include "archutils/Unix/CrashHandler.h"
 #endif
Index: src/RageSurface_Save_PNG.cpp
===================================================================
--- src/RageSurface_Save_PNG.cpp	(revision 28355)
+++ src/RageSurface_Save_PNG.cpp	(working copy)
@@ -103,7 +103,7 @@

 	if( setjmp(pPng-&gt;jmpbuf) )
 	{
-		png_destroy_read_struct( &amp;pPng, &amp;pInfo, png_infopp_NULL );
+		png_destroy_read_struct( &amp;pPng, &amp;pInfo, NULL );
 		return false;
 	}</pre>
</li>
<li>
<pre>CPPFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./configure --without-ffmpeg
</pre>
<p>Et oui, comme d&#8217;habitude, les Linuxiens sont crades et rangent tout dans /usr, et ils n&#8217;ont même pas la délicatesse d&#8217;aller voir dans /usr/local. Scandaleux.</li>
<li>Installez textproc/gsed et changez dans src/Makefile chaque occurence de sed par gsed. Oui, c&#8217;est crade, c&#8217;est encore une histoire de syntaxe qui change.</li>
<li>
<pre>make</pre>
</li>
<li>
<pre>./src/stepmania</pre>
</li>
</ol>
<p>Et admirez le résultat. Aucun problème de latence (merci a l&#8217;autosync quand même).</p>
<p style="text-align: center;"><a href="http://blog.artefact2.com/wp-content/uploads/2010/05/2010-05-12-181826_2960x1050_scrot.jpg#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed"><img class="aligncenter size-medium wp-image-106" title="2010-05-12-181826_2960x1050_scrot" src="http://blog.artefact2.com/wp-content/uploads/2010/05/2010-05-12-181826_2960x1050_scrot-300x106.jpg" alt="" width="300" height="106" /></a></p>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fblog.artefact2.com%2F105%2F&amp;linkname=Compiler%20StepMania%204%20sous%20FreeBSD%208" title="Delicious" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.artefact2.com%2F105%2F&amp;linkname=Compiler%20StepMania%204%20sous%20FreeBSD%208" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fblog.artefact2.com%2F105%2F&amp;linkname=Compiler%20StepMania%204%20sous%20FreeBSD%208" title="Google Reader" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fblog.artefact2.com%2F105%2F&amp;linkname=Compiler%20StepMania%204%20sous%20FreeBSD%208" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fblog.artefact2.com%2F105%2F&amp;linkname=Compiler%20StepMania%204%20sous%20FreeBSD%208" title="Digg" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fblog.artefact2.com%2F105%2F&amp;linkname=Compiler%20StepMania%204%20sous%20FreeBSD%208" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/netvibes_share?linkurl=http%3A%2F%2Fblog.artefact2.com%2F105%2F&amp;linkname=Compiler%20StepMania%204%20sous%20FreeBSD%208" title="Netvibes Share" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/netvibes.png" width="16" height="16" alt="Netvibes Share"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fblog.artefact2.com%2F105%2F&amp;linkname=Compiler%20StepMania%204%20sous%20FreeBSD%208" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fblog.artefact2.com%2F105%2F&amp;linkname=Compiler%20StepMania%204%20sous%20FreeBSD%208" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fblog.artefact2.com%2F105%2F&amp;linkname=Compiler%20StepMania%204%20sous%20FreeBSD%208" title="Twitter" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Partager/enregistrer ce post</a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.artefact2.com/105/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>msk0: watchdog timeout &#8211; Une solution simple et crade</title>
		<link>http://blog.artefact2.com/85/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.artefact2.com/85/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 19:00:11 +0000</pubDate>
		<dc:creator>Artefact2</dc:creator>
				<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://blog.artefact2.com/?p=85</guid>
		<description><![CDATA[Je me suis rendu compte il y a quelques semaines que mon interface réseau (msk0) cessait de fonctionner après un certain temps (jours, parfois des semaines) sous une charge modérée ou importante, tout en inondant le journal système de « &#8230; <a href="http://blog.artefact2.com/85/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Je me suis rendu compte il y a quelques semaines que mon interface réseau (<code>msk0</code>) cessait de fonctionner après un certain temps (jours, parfois des semaines) sous une charge modérée ou importante, tout en inondant le journal système de « <code>msk0: watchdog timeout</code> ». Ce qui est plûtot gênant pour un serveur&#8230; Je n&#8217;ai malheureusement pas réussi à corriger le problème en désactivant le MSI via l&#8217;outil <code>sysctl(8)</code>&#8230;</p>
<p>Le problème viendrait de :</p>
<ol>
<li>Une carte de mauvaise qualité (Marvell 88E8053)</li>
<li>Un driver <code>msk(4)</code> peu testé et donc rempli de bugs potentiels</li>
</ol>
<p>La seule façon de rétablir la connexion est de redémarrer la machine. Ce qui pose problème quand on a accès à la machine en question uniquement par SSH la majorité du temps&#8230;  J&#8217;ai donc réalisé un petit script (vraiment fait à la vite), faisant office de solution de secours, qui fait automatiquement redémarrer la machine si un <code>watchdog timeout</code> a été détécté. Cela permet de ne pas complètement bloquer l&#8217;accès via SSH.</p>
<p>Il suffit donc de lancer ce script en cronjob (effectué par root, bien sûr) :</p>
<pre>#!/bin/sh

LOGFILE="/var/log/check_msk0"
DATE=`date`

CLEAN=`echo | grep zero`
LOGDATE=`date "+%b %d"`
TIMEOUTS=`cat /var/log/messages | grep "msk0: watchdog timeout" | tail | grep "$LOGDATE"`

if [ "$TIMEOUTS" = "$CLEAN" ]
then
 echo "$DATE OK, no timeouts." &gt;&gt; $LOGFILE
 echo OK.
else
 echo "$DATE WATCHDOG TIMEOUT, initiating reboot..." &gt;&gt; $LOGFILE
 echo Rebooting in 15 seconds. Press ^C to abort.
 sleep 15
 cp /var/log/messages /var/log/messages.timeout
 echo &gt; /var/log/messages
 /sbin/reboot
fi
</pre>
<p>Inutile de préciser que j&#8217;ai commandé une nouvelle carte réseau, plus adaptée pour un serveur, et que cette solution est vraiment temporaire&#8230;</p>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fblog.artefact2.com%2F85%2F&amp;linkname=msk0%3A%20watchdog%20timeout%20%26%238211%3B%20Une%20solution%20simple%20et%20crade" title="Delicious" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.artefact2.com%2F85%2F&amp;linkname=msk0%3A%20watchdog%20timeout%20%26%238211%3B%20Une%20solution%20simple%20et%20crade" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fblog.artefact2.com%2F85%2F&amp;linkname=msk0%3A%20watchdog%20timeout%20%26%238211%3B%20Une%20solution%20simple%20et%20crade" title="Google Reader" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fblog.artefact2.com%2F85%2F&amp;linkname=msk0%3A%20watchdog%20timeout%20%26%238211%3B%20Une%20solution%20simple%20et%20crade" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fblog.artefact2.com%2F85%2F&amp;linkname=msk0%3A%20watchdog%20timeout%20%26%238211%3B%20Une%20solution%20simple%20et%20crade" title="Digg" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fblog.artefact2.com%2F85%2F&amp;linkname=msk0%3A%20watchdog%20timeout%20%26%238211%3B%20Une%20solution%20simple%20et%20crade" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/netvibes_share?linkurl=http%3A%2F%2Fblog.artefact2.com%2F85%2F&amp;linkname=msk0%3A%20watchdog%20timeout%20%26%238211%3B%20Une%20solution%20simple%20et%20crade" title="Netvibes Share" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/netvibes.png" width="16" height="16" alt="Netvibes Share"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fblog.artefact2.com%2F85%2F&amp;linkname=msk0%3A%20watchdog%20timeout%20%26%238211%3B%20Une%20solution%20simple%20et%20crade" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fblog.artefact2.com%2F85%2F&amp;linkname=msk0%3A%20watchdog%20timeout%20%26%238211%3B%20Une%20solution%20simple%20et%20crade" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fblog.artefact2.com%2F85%2F&amp;linkname=msk0%3A%20watchdog%20timeout%20%26%238211%3B%20Une%20solution%20simple%20et%20crade" title="Twitter" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Partager/enregistrer ce post</a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.artefact2.com/85/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Petit DT et mises à jour</title>
		<link>http://blog.artefact2.com/79/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.artefact2.com/79/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 10:25:22 +0000</pubDate>
		<dc:creator>Artefact2</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[ZFS]]></category>

		<guid isPermaLink="false">http://blog.artefact2.com/?p=79</guid>
		<description><![CDATA[Hello there, Désolé pour la petite indisponibilité d&#8217;environ une semaine, la faute à un bloc d&#8217;alim qui a rendu l&#8217;âme&#8230; Bon, j&#8217;en ai en attendant profité pour mettre à jour le système, avec : Une nouvelle alim, et un onduleur, &#8230; <a href="http://blog.artefact2.com/79/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hello there,</p>
<p>Désolé pour la petite indisponibilité d&#8217;environ une semaine, la faute à un bloc d&#8217;alim qui a rendu l&#8217;âme&#8230;</p>
<p>Bon, j&#8217;en ai en attendant profité pour mettre à jour le système, avec :</p>
<ul>
<li>Une nouvelle alim, et un onduleur, pour ne pas avoir des soucis de FS corrompu</li>
<li>Quatre disques de 1.5 TB en RAID10, grâce à ZFS. Ce système de fichiers est réellement génial.</li>
<li>FreeBSD 8.0 avec Apache qui tourne dans une jail :-)</li>
</ul>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fblog.artefact2.com%2F79%2F&amp;linkname=Petit%20DT%20et%20mises%20%C3%A0%20jour" title="Delicious" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.artefact2.com%2F79%2F&amp;linkname=Petit%20DT%20et%20mises%20%C3%A0%20jour" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fblog.artefact2.com%2F79%2F&amp;linkname=Petit%20DT%20et%20mises%20%C3%A0%20jour" title="Google Reader" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fblog.artefact2.com%2F79%2F&amp;linkname=Petit%20DT%20et%20mises%20%C3%A0%20jour" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fblog.artefact2.com%2F79%2F&amp;linkname=Petit%20DT%20et%20mises%20%C3%A0%20jour" title="Digg" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fblog.artefact2.com%2F79%2F&amp;linkname=Petit%20DT%20et%20mises%20%C3%A0%20jour" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/netvibes_share?linkurl=http%3A%2F%2Fblog.artefact2.com%2F79%2F&amp;linkname=Petit%20DT%20et%20mises%20%C3%A0%20jour" title="Netvibes Share" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/netvibes.png" width="16" height="16" alt="Netvibes Share"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fblog.artefact2.com%2F79%2F&amp;linkname=Petit%20DT%20et%20mises%20%C3%A0%20jour" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fblog.artefact2.com%2F79%2F&amp;linkname=Petit%20DT%20et%20mises%20%C3%A0%20jour" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fblog.artefact2.com%2F79%2F&amp;linkname=Petit%20DT%20et%20mises%20%C3%A0%20jour" title="Twitter" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Partager/enregistrer ce post</a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.artefact2.com/79/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compiler GoatTracker sous FreeBSD</title>
		<link>http://blog.artefact2.com/8/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.artefact2.com/8/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 19:02:15 +0000</pubDate>
		<dc:creator>Artefact2</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Opensource]]></category>
		<category><![CDATA[GoatTracker]]></category>

		<guid isPermaLink="false">http://artefact2.no-ip.info/wordpress/?p=8</guid>
		<description><![CDATA[GoatTracker est un tracker produisant de la musique pour le Commodore 64. Il est disponible sous license GNU et est multiplate-forme. Cependant, il n&#8217;a pas été porté sous FreeBSD, bien qu&#8217;il fonctionne bien sous Linux. Heureusement, grâce à quelques hacks &#8230; <a href="http://blog.artefact2.com/8/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>GoatTracker est un tracker produisant de la musique pour le Commodore 64. Il est disponible sous license GNU et est multiplate-forme.</p>
<p>Cependant, il n&#8217;a pas été porté sous FreeBSD, bien qu&#8217;il fonctionne bien sous Linux. Heureusement, grâce à quelques hacks simples, il est possible d&#8217;utiliser GoatTracker sous FreeBSD.</p>
<p>Avant tout, vérifiez que vous avez les ports/packages SDL d&#8217;installés, ainsi que GNU Make (&#8220;gmake&#8221;) différent du BSD Make par défaut (&#8220;make&#8221;). Il y a quelques différences dans la structure des Makefiles donc il faut utiliser l&#8217;un ou l&#8217;autre en fonction de ce qu&#8217;on compile.</p>
<p>Ensuite, procurez vous GoatTracker à cette adresse : <a href="http://covertbitops.c64.org/">http://covertbitops.c64.org/</a> (rubrique &#8220;Tools&#8221;).</p>
<p>Unzippez les sources dans un répertoire spécial crée à cette occasion, et placez vous dedans.</p>
<p>Avant de compiler GoatTracker, il faut compiler 2 outils qui seront nécessaires : <strong>datafile</strong> et <strong>dat2inc</strong>.</p>
<p>Placez vous donc dans le répertoire src/bme. Avant de lancer gmake, il faut modifier le Makefile car il est adapté à une machine Linux. Or, les machines Linux n&#8217;utilisent quasiment pas le préfixe /usr/local pour les includes. Le Makefile va donc chercher SDL_types.h dans /usr/include, alors qu&#8217;il est situé dans /usr/local/include. Pour corriger cela, il suffit d&#8217;ajouter ceci aux CFLAGS : <strong>-I/usr/local/include</strong>. Le makefile étant ici extrêmement simple, rajoutez cela aux deux appels à gcc.</p>
<p>Vous pouvez ensuite lancer la compilation avec gmake. Une fois que c&#8217;est terminé, vous devez copier ces deux exécutables produits dans votre $PATH, donc en gros vous devez copier les fichiers <strong>datafile</strong> et <strong>dat2inc</strong> dans <strong>/usr/local/bin</strong>.</p>
<p>Ensuite, placez vous dans le répertoire src. Cette fois, le Makefile est un peu plus complexe, vous devez rajouter <strong>-I/usr/local/include</strong> à la fin de la ligne <strong>CFLAGS=</strong> dans le fichier <strong>makefile.common</strong>. La compilation se passe ensuite sans problèmes.</p>
<p>Vous pouvez enfin jouer avec GoatTracker, l&#8217;exécutable étant situé dans le sous dossier linux/ et commencant par gt2. Enfin, voici une preuve que ça fonctionne :</p>
<p style="text-align: center;"><a href="http://artefact2.no-ip.info/Blog/wp-content/uploads/2009/02/GoatTracker.png"><img class="aligncenter size-medium wp-image-25" title="GoatTracker" src="http://artefact2.no-ip.info/Blog/wp-content/uploads/2009/02/GoatTracker-300x198.png" alt="GoatTracker" width="300" height="198" /></a></p>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fblog.artefact2.com%2F8%2F&amp;linkname=Compiler%20GoatTracker%20sous%20FreeBSD" title="Delicious" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.artefact2.com%2F8%2F&amp;linkname=Compiler%20GoatTracker%20sous%20FreeBSD" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fblog.artefact2.com%2F8%2F&amp;linkname=Compiler%20GoatTracker%20sous%20FreeBSD" title="Google Reader" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fblog.artefact2.com%2F8%2F&amp;linkname=Compiler%20GoatTracker%20sous%20FreeBSD" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fblog.artefact2.com%2F8%2F&amp;linkname=Compiler%20GoatTracker%20sous%20FreeBSD" title="Digg" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fblog.artefact2.com%2F8%2F&amp;linkname=Compiler%20GoatTracker%20sous%20FreeBSD" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/netvibes_share?linkurl=http%3A%2F%2Fblog.artefact2.com%2F8%2F&amp;linkname=Compiler%20GoatTracker%20sous%20FreeBSD" title="Netvibes Share" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/netvibes.png" width="16" height="16" alt="Netvibes Share"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fblog.artefact2.com%2F8%2F&amp;linkname=Compiler%20GoatTracker%20sous%20FreeBSD" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fblog.artefact2.com%2F8%2F&amp;linkname=Compiler%20GoatTracker%20sous%20FreeBSD" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fblog.artefact2.com%2F8%2F&amp;linkname=Compiler%20GoatTracker%20sous%20FreeBSD" title="Twitter" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Partager/enregistrer ce post</a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.artefact2.com/8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 10, test prolongé et conclusions</title>
		<link>http://blog.artefact2.com/14/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://blog.artefact2.com/14/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 23:01:44 +0000</pubDate>
		<dc:creator>Artefact2</dc:creator>
				<category><![CDATA[Opensource]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[GNU/Linux]]></category>

		<guid isPermaLink="false">http://artefact2.no-ip.info/wordpress/?p=14</guid>
		<description><![CDATA[J&#8217;ai testé Fedora 10 pendant à peu près un mois, histoire de voir comment ça a évolué depuis ma dernière expérience Linux, et également pour voir à quel point FreeBSD déchire tout. Pourquoi ? Vous allez très vite comprendre. On &#8230; <a href="http://blog.artefact2.com/14/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div>
<p>J&#8217;ai testé Fedora 10 pendant à peu près un mois, histoire de voir comment ça a évolué depuis ma dernière expérience Linux, et également pour voir à quel point FreeBSD déchire tout. Pourquoi ? Vous allez très vite comprendre.</p>
<p>On passe tout de suite au premier point qui fâche : PulseAudio. Je suis pas intrinsèquement &#8220;contre&#8221; ce dernier, mais son intégration est tellement bâclée et son développement est tellement actif encore qu&#8217;il serait préférable de ne pas l&#8217;utiliser par défaut, ou encore de nous laisser le choix à l&#8217;installation. PulseAudio est l&#8217;avenir de l&#8217;audio sous tous les sytèmes, peut-être. Mais dans le futur.</p>
<p>Déjà la doc est relativement pauvre. En dehors du PerfectSetup, on est un peu seul dans la nature. Donc quand ça merde, on l&#8217;est aussi. Le problème de PulseAudio c&#8217;est que plein de trucs ne fonctionnent pas encore avec. Certes, il a un mode d&#8217;émulation de pérphiériques io OSS via l&#8217;utilitaire <em>padsp</em>, ça marche de temps en temps mais il y a également des cas ou ça ne marche pas. Par exemple avec Wine, c&#8217;est une vraie plaie pour faire marcher l&#8217;audio. Quand à l&#8217;émulation alsa, n&#8217;en parlons pas, je n&#8217;ai jamais comrpis comment m&#8217;en servir et je n&#8217;ai jamais réussi à obtenir quelque chose de concluant avec ça.</p>
<p>Cependant, mes problèmes ne se sont pas arrêté là, car une fois que tout  marchait &#8220;à peu près&#8221;, je me suis rendu compte que mon microphone n&#8217;étais pas  reconnu. Et là, c&#8217;est le comble ! J&#8217;ai demandé de l&#8217;aide sur IRC, sur les forums, rien. Pourtant mon chipset est très très commun en ce moment (hda_intel).</p>
<p>Ensuite, un gros dernier problème en ce qui concerne la latence audio.  Elle est bonne, mais cependant le son était très mauvais, avec beaucoup  d&#8217;artefacts audio, ce qui est quand même dérangeant quand on est adepte de MAO.</p>
<p>Néanmoins, PulseAudio possède quelques fonctions qui auraient pu être sympas. Comme par exemple la diffusion RTP sur le réseau, qui permet par exemple de lire la musique de sa bibliothèque du PC du bureau avec MPD, et entrendre le son sortir par son ordinateur portable situé dans une autre pièce. Seulement, je n&#8217;ai jamais réussi à la faire fonctionner et ça n&#8217;était pas à cause du firewall ni des débits réseau (les deux PC étaient câblés directement via un hub).</p>
<p>Ce qui est dérangeant, c&#8217;est quand on pense qu&#8217;avec FreeBSD, tout ça fonctionne au poil, du premier coup et sans toucher à rien : un simple <em>kldload snd_hda</em> et  paf, ça fait des chocapics. Basse latence dans MilkyTracker, et ce même si plusieurs applications utilisent actuellement le périphérique, microphone reconnu et volume  bien confortable, pas de &#8220;device busy&#8221; au moindre pet de mouche, la zénitude totale quoi.</p>
<p>Passons maintenant à autre chose : le gestionnaire de paquets. Mon arbre de ports favori m&#8217;a réellement manqué, pas parce que PackageKit et yum sont mauvais mais qu&#8217;on arrive vite aux limites. Déjà, quand on veut compiler quelque chose, on doit installer une tonne de paquets de développement (en gros ce sont des fichiers .h) sinon ça ne compile pas. Jamais eu besoin de faire ça avec FreeBSD, étant donné que les ports utilisent les sources au lieu de paquets précompilés (bien que ça soit possible d&#8217;en installer aussi sous FreeBSD).</p>
<p>Ce qui était embêtant, c&#8217;était les base de données de rpm qui avaient tendance à se corrompre toutes seules, et à bloquer tous les threads jusqu&#8217;a ce qu&#8217;on supprime de fichiers bien particuliers, c&#8217;est relativement agaçant à force.</p>
<p>Sinon, à part ça, Fedora a quand même des trucs vraiment cool comme par exemple la possibilité d&#8217;installer les paquets i386 ou amd64 si on est en amd64, afin de lancer des programmes binaires compilés pour une architecture i386. Y&#8217;a aussi le démarrage graphique relativement rapide, un thème GNOME par défaut bien réussi et bien intégré. Enfin les goûts et les couleurs, &#8230;</p></div>
<p><a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fblog.artefact2.com%2F14%2F&amp;linkname=Fedora%2010%2C%20test%20prolong%C3%A9%20et%20conclusions" title="Delicious" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fblog.artefact2.com%2F14%2F&amp;linkname=Fedora%2010%2C%20test%20prolong%C3%A9%20et%20conclusions" title="Facebook" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/google_reader?linkurl=http%3A%2F%2Fblog.artefact2.com%2F14%2F&amp;linkname=Fedora%2010%2C%20test%20prolong%C3%A9%20et%20conclusions" title="Google Reader" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/reader.png" width="16" height="16" alt="Google Reader"/></a> <a href="http://www.addtoany.com/add_to/google_bookmarks?linkurl=http%3A%2F%2Fblog.artefact2.com%2F14%2F&amp;linkname=Fedora%2010%2C%20test%20prolong%C3%A9%20et%20conclusions" title="Google Bookmarks" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/google.png" width="16" height="16" alt="Google Bookmarks"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fblog.artefact2.com%2F14%2F&amp;linkname=Fedora%2010%2C%20test%20prolong%C3%A9%20et%20conclusions" title="Digg" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/linkedin?linkurl=http%3A%2F%2Fblog.artefact2.com%2F14%2F&amp;linkname=Fedora%2010%2C%20test%20prolong%C3%A9%20et%20conclusions" title="LinkedIn" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/linkedin.png" width="16" height="16" alt="LinkedIn"/></a> <a href="http://www.addtoany.com/add_to/netvibes_share?linkurl=http%3A%2F%2Fblog.artefact2.com%2F14%2F&amp;linkname=Fedora%2010%2C%20test%20prolong%C3%A9%20et%20conclusions" title="Netvibes Share" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/netvibes.png" width="16" height="16" alt="Netvibes Share"/></a> <a href="http://www.addtoany.com/add_to/technorati_favorites?linkurl=http%3A%2F%2Fblog.artefact2.com%2F14%2F&amp;linkname=Fedora%2010%2C%20test%20prolong%C3%A9%20et%20conclusions" title="Technorati Favorites" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/technorati.png" width="16" height="16" alt="Technorati Favorites"/></a> <a href="http://www.addtoany.com/add_to/stumbleupon?linkurl=http%3A%2F%2Fblog.artefact2.com%2F14%2F&amp;linkname=Fedora%2010%2C%20test%20prolong%C3%A9%20et%20conclusions" title="StumbleUpon" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/stumbleupon.png" width="16" height="16" alt="StumbleUpon"/></a> <a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fblog.artefact2.com%2F14%2F&amp;linkname=Fedora%2010%2C%20test%20prolong%C3%A9%20et%20conclusions" title="Twitter" rel="nofollow" target="_blank"><img src="http://blog.artefact2.com/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save">Partager/enregistrer ce post</a> </p>]]></content:encoded>
			<wfw:commentRss>http://blog.artefact2.com/14/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc (user agent is rejected)
Database Caching using apc
Object Caching 754/836 objects using apc

Served from: blog.artefact2.com @ 2010-09-07 00:28:47 -->