<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>僕のわすれもの</title>
	<atom:link href="http://imarginal.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://imarginal.wordpress.com</link>
	<description></description>
	<lastBuildDate>Fri, 03 Sep 2010 14:25:31 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='imarginal.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>僕のわすれもの</title>
		<link>http://imarginal.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://imarginal.wordpress.com/osd.xml" title="僕のわすれもの" />
	<atom:link rel='hub' href='http://imarginal.wordpress.com/?pushpress=hub'/>
		<item>
		<title>DAVE V8.1</title>
		<link>http://imarginal.wordpress.com/2010/09/03/dave-v8-1/</link>
		<comments>http://imarginal.wordpress.com/2010/09/03/dave-v8-1/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 14:25:31 +0000</pubDate>
		<dc:creator>imarginal</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://imarginal.wordpress.com/?p=203</guid>
		<description><![CDATA[8.1 になって、ようやく問題なく使えるようになった。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=203&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>8.1 になって、ようやく問題なく使えるようになった。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/imarginal.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/imarginal.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/imarginal.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/imarginal.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/imarginal.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/imarginal.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/imarginal.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/imarginal.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/imarginal.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/imarginal.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/imarginal.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/imarginal.wordpress.com/203/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/imarginal.wordpress.com/203/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/imarginal.wordpress.com/203/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=203&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://imarginal.wordpress.com/2010/09/03/dave-v8-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">imarginal</media:title>
		</media:content>
	</item>
		<item>
		<title>Dell のマグロ Zino HD (Inspiron 400) を鯖にする</title>
		<link>http://imarginal.wordpress.com/2010/05/19/dell-%e3%81%ae%e3%83%9e%e3%82%b0%e3%83%ad%e3%82%92%e9%af%96%e3%81%ab%e3%81%99%e3%82%8b/</link>
		<comments>http://imarginal.wordpress.com/2010/05/19/dell-%e3%81%ae%e3%83%9e%e3%82%b0%e3%83%ad%e3%82%92%e9%af%96%e3%81%ab%e3%81%99%e3%82%8b/#comments</comments>
		<pubDate>Tue, 18 May 2010 18:46:18 +0000</pubDate>
		<dc:creator>imarginal</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://imarginal.wordpress.com/?p=199</guid>
		<description><![CDATA[Dell の廉価なマグロを ESXi の鯖にする。 NICのチップはBroadcomだったので安心していたが、ESXi 4.0 標準の tg3ドライバでは認識せず。 simple.mapに書いてもだめ。ドライバが持っている PCI ID の一覧にないので、そもそもプローブしない。 ちなみに NIC のチップは PCI ID が 14e4:1692 で、NetLink BCM57780 Gigabit Ethernet PCIe らしい。 VMware のサイトから、VMware-esx-public-source-4.0-208249.tar.gz をダウンロードして、ドライバのビルドを試みる。 Broadcomのサイトから、最新のドライバのソースコード(このメモの記載時はlinux-3.105h.zip)をダウンロードしてくる。 VMware-esx-public-source-4.0-208249.tar.gz から vmkdrivers-gpl.tgz をとりだし、vmkdrivers-gpl以下に展開。 mkdir vmkdrivers-gpl cd vmkdrivers-gpl tar xfzO ../VMware-esx-public-source-4.0-208249.tar.gz vmkdrivers-gpl.tgz &#124; tar xfz - linux-3.105h.zip に含まれている tg3-3.105h.tar.gz を展開する。 unzip linux-3.105h.zip tar xfz Server/Linux/Driver/tg3-3.105h.tar.gz vmkdrivers-gpl [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=199&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Dell の廉価なマグロを ESXi の鯖にする。</p>
<p>NICのチップはBroadcomだったので安心していたが、ESXi 4.0 標準の tg3ドライバでは認識せず。</p>
<p>simple.mapに書いてもだめ。ドライバが持っている PCI ID の一覧にないので、そもそもプローブしない。</p>
<p>ちなみに NIC のチップは PCI ID が 14e4:1692 で、NetLink BCM57780 Gigabit Ethernet PCIe らしい。</p>
<p>VMware のサイトから、VMware-esx-public-source-4.0-208249.tar.gz をダウンロードして、ドライバのビルドを試みる。</p>
<p>Broadcomのサイトから、最新のドライバのソースコード(このメモの記載時はlinux-3.105h.zip)をダウンロードしてくる。</p>
<p>VMware-esx-public-source-4.0-208249.tar.gz から vmkdrivers-gpl.tgz をとりだし、vmkdrivers-gpl以下に展開。</p>
<pre style="padding-left:30px;">mkdir vmkdrivers-gpl</pre>
<pre style="padding-left:30px;">cd vmkdrivers-gpl</pre>
<pre style="padding-left:30px;">tar xfzO ../VMware-esx-public-source-4.0-208249.tar.gz vmkdrivers-gpl.tgz | tar xfz -
</pre>
<p>linux-3.105h.zip に含まれている tg3-3.105h.tar.gz を展開する。</p>
<pre style="padding-left:30px;">unzip linux-3.105h.zip</pre>
<pre style="padding-left:30px;">tar xfz Server/Linux/Driver/tg3-3.105h.tar.gz</pre>
<pre style="padding-left:30px;">vmkdrivers-gpl の vmkdrivers/src26/drivers/net/tg3 の中身を、展開した tg3-3.105h のものと置き換える。</pre>
<pre style="padding-left:30px;">rm ~/vmkdrivers/src26/drivers/net/tg3/*</pre>
<pre style="padding-left:30px;">cp ~/tg3-3.105h/* ~/vmkdrivers/src26/drivers/net/tg3</pre>
<p>vmkdrivers-gpl にあわせて tg3_flags.hを作成する。</p>
<pre style="padding-left:30px;">cd ~vmkdrivers-gpl/vmkdrivers/src26/drivers/net/tg3</pre>
<pre style="padding-left:30px;"> makeflags.sh  ~/vmkdrivers-gpl/vmkdrivers/src26</pre>
<p>さらにtg3_flags.h に</p>
<pre style="padding-left:30px;">#define VMWARE_ESX_40_DDK</pre>
<p>を追加。</p>
<p>ビルドしたら INIT_WORK マクロの引数の数が合わないとエラーが出たので、ちょこっとハック</p>
<pre style="padding-left:30px;">--- tg3-3.105h/tg3.c    2010-02-05 09:35:28.000000000 +0900
+++ tg3.c    2010-05-18 16:48:53.000000000 +0900
@@ -15310,7 +15310,11 @@
 #ifdef BCM_HAS_NEW_INIT_WORK
 INIT_WORK(&amp;tp-&gt;reset_task, tg3_reset_task);
 #else
+#if 0
 INIT_WORK(&amp;tp-&gt;reset_task, tg3_reset_task, tp);
+#else
+    INIT_WORK(&amp;tp-&gt;reset_task, tg3_reset_task);
+#endif
 #endif

 tp-&gt;regs = pci_ioremap_bar(pdev, BAR_0);
</pre>
<p>build-vmkdrivers.sh でドライバをビルドし、できあがった bora/build/scons/build/vmkdriver-tg3.o/release/vmkernel64/tg3.o を使って oem.tgz を作成すればよし。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/imarginal.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/imarginal.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/imarginal.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/imarginal.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/imarginal.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/imarginal.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/imarginal.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/imarginal.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/imarginal.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/imarginal.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/imarginal.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/imarginal.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/imarginal.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/imarginal.wordpress.com/199/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=199&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://imarginal.wordpress.com/2010/05/19/dell-%e3%81%ae%e3%83%9e%e3%82%b0%e3%83%ad%e3%82%92%e9%af%96%e3%81%ab%e3%81%99%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">imarginal</media:title>
		</media:content>
	</item>
		<item>
		<title>Opera では CNET Japan が表示できない</title>
		<link>http://imarginal.wordpress.com/2010/05/02/opera-%e3%81%a7%e3%81%af-cnet-japan-%e3%81%8c%e8%a1%a8%e7%a4%ba%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84/</link>
		<comments>http://imarginal.wordpress.com/2010/05/02/opera-%e3%81%a7%e3%81%af-cnet-japan-%e3%81%8c%e8%a1%a8%e7%a4%ba%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84/#comments</comments>
		<pubDate>Sun, 02 May 2010 09:29:19 +0000</pubDate>
		<dc:creator>imarginal</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://imarginal.wordpress.com/2010/05/02/opera-%e3%81%a7%e3%81%af-cnet-japan-%e3%81%8c%e8%a1%a8%e7%a4%ba%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84/</guid>
		<description><![CDATA[JavaScript で、互換性のない書き方をしているようなので、サイトごとの設定で JavaScript を無効にしてしまう。 ついでに http://japan.cnet.com/media/c/2006/img/cnet_background.gif をブロックしてしまえば、頭の痛くなる背景の黄色がでなくなる。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=198&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>JavaScript で、互換性のない書き方をしているようなので、サイトごとの設定で JavaScript を無効にしてしまう。</p>
<p>ついでに http://japan.cnet.com/media/c/2006/img/cnet_background.gif をブロックしてしまえば、頭の痛くなる背景の黄色がでなくなる。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/imarginal.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/imarginal.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/imarginal.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/imarginal.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/imarginal.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/imarginal.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/imarginal.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/imarginal.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/imarginal.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/imarginal.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/imarginal.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/imarginal.wordpress.com/198/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/imarginal.wordpress.com/198/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/imarginal.wordpress.com/198/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=198&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://imarginal.wordpress.com/2010/05/02/opera-%e3%81%a7%e3%81%af-cnet-japan-%e3%81%8c%e8%a1%a8%e7%a4%ba%e3%81%a7%e3%81%8d%e3%81%aa%e3%81%84/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">imarginal</media:title>
		</media:content>
	</item>
		<item>
		<title>GNU tail バグってる</title>
		<link>http://imarginal.wordpress.com/2010/04/16/gnu-tail-%e3%83%90%e3%82%b0%e3%81%a3%e3%81%a6%e3%82%8b/</link>
		<comments>http://imarginal.wordpress.com/2010/04/16/gnu-tail-%e3%83%90%e3%82%b0%e3%81%a3%e3%81%a6%e3%82%8b/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 14:19:36 +0000</pubDate>
		<dc:creator>imarginal</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://imarginal.wordpress.com/2010/04/16/gnu-tail-%e3%83%90%e3%82%b0%e3%81%a3%e3%81%a6%e3%82%8b/</guid>
		<description><![CDATA[tail +n ができない。 tail -n +n すればいいんだけど、手が覚えていることを変えるのはなかなかたいへん。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=196&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>tail +<em>n</em> ができない。<br />
tail -n +<em>n </em>すればいいんだけど、手が覚えていることを変えるのはなかなかたいへん。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/imarginal.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/imarginal.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/imarginal.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/imarginal.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/imarginal.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/imarginal.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/imarginal.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/imarginal.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/imarginal.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/imarginal.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/imarginal.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/imarginal.wordpress.com/196/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/imarginal.wordpress.com/196/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/imarginal.wordpress.com/196/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=196&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://imarginal.wordpress.com/2010/04/16/gnu-tail-%e3%83%90%e3%82%b0%e3%81%a3%e3%81%a6%e3%82%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">imarginal</media:title>
		</media:content>
	</item>
		<item>
		<title>ATEN製KVMのACアダプタ</title>
		<link>http://imarginal.wordpress.com/2010/04/07/aten%e8%a3%bdkvm%e3%81%aeac%e3%82%a2%e3%83%80%e3%83%97%e3%82%bf/</link>
		<comments>http://imarginal.wordpress.com/2010/04/07/aten%e8%a3%bdkvm%e3%81%aeac%e3%82%a2%e3%83%80%e3%83%97%e3%82%bf/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 07:24:46 +0000</pubDate>
		<dc:creator>imarginal</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://imarginal.wordpress.com/2010/04/07/aten%e8%a3%bdkvm%e3%81%aeac%e3%82%a2%e3%83%80%e3%83%97%e3%82%bf/</guid>
		<description><![CDATA[PC切替機がこわれた。 正確には、PC切替機のACアダプタが壊れていて、十分な電力を供給できないようだ。中の部品が安物で、温度寿命設計に余裕がないんだろうと思う。 しかたがないので、秋月で使えそうなACアダプタを買ってきたが、DCプラグの内径が合わない。ATEN付属のものは2.5φ、秋月で買ったものは2.1φ。 あらためてDCプラグのパーツを千石で買ってきて交換した。 一週間ぶりに切替機復活。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=195&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><span class="s1">PC</span>切替機がこわれた。<br />
正確には、<span class="s1">PC</span>切替機の<span class="s1">AC</span>アダプタが壊れていて、十分な電力を供給できないようだ。中の部品が安物で、温度寿命設計に余裕がないんだろうと思う。</p>
<p>しかたがないので、秋月で使えそうなACアダプタを買ってきたが、DCプラグの内径が合わない。ATEN付属のものは2.5φ、秋月で買ったものは2.1φ。<br />
あらためてDCプラグのパーツを千石で買ってきて交換した。</p>
<p>一週間ぶりに切替機復活。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/imarginal.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/imarginal.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/imarginal.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/imarginal.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/imarginal.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/imarginal.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/imarginal.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/imarginal.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/imarginal.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/imarginal.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/imarginal.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/imarginal.wordpress.com/195/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/imarginal.wordpress.com/195/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/imarginal.wordpress.com/195/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=195&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://imarginal.wordpress.com/2010/04/07/aten%e8%a3%bdkvm%e3%81%aeac%e3%82%a2%e3%83%80%e3%83%97%e3%82%bf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">imarginal</media:title>
		</media:content>
	</item>
		<item>
		<title>EXINIT</title>
		<link>http://imarginal.wordpress.com/2010/04/05/exinit/</link>
		<comments>http://imarginal.wordpress.com/2010/04/05/exinit/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 09:16:53 +0000</pubDate>
		<dc:creator>imarginal</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://imarginal.wordpress.com/2010/04/05/exinit/</guid>
		<description><![CDATA[複数の文を記述したいときは、&#8217;&#124;&#8217; で区切ればよいらしい。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=194&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>複数の文を記述したいときは、&#8217;|&#8217; で区切ればよいらしい。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/imarginal.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/imarginal.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/imarginal.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/imarginal.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/imarginal.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/imarginal.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/imarginal.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/imarginal.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/imarginal.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/imarginal.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/imarginal.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/imarginal.wordpress.com/194/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/imarginal.wordpress.com/194/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/imarginal.wordpress.com/194/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=194&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://imarginal.wordpress.com/2010/04/05/exinit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">imarginal</media:title>
		</media:content>
	</item>
		<item>
		<title>eneloop air fresher のミストが出なくなった</title>
		<link>http://imarginal.wordpress.com/2010/02/02/eneloop-air-fresher-%e3%81%ae%e3%83%9f%e3%82%b9%e3%83%88%e3%81%8c%e5%87%ba%e3%81%aa%e3%81%8f%e3%81%aa%e3%81%a3%e3%81%9f/</link>
		<comments>http://imarginal.wordpress.com/2010/02/02/eneloop-air-fresher-%e3%81%ae%e3%83%9f%e3%82%b9%e3%83%88%e3%81%8c%e5%87%ba%e3%81%aa%e3%81%8f%e3%81%aa%e3%81%a3%e3%81%9f/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 12:52:01 +0000</pubDate>
		<dc:creator>imarginal</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://imarginal.wordpress.com/?p=189</guid>
		<description><![CDATA[eneloop air fresher のミストが出なくなった。 この前、ミストの出が悪くなっていたのを掃除する際に、掃除用のクエン酸水溶液がなかったので、ポッカレモンで代用したのが悪かったのか。 車の中でつかうので、高速道のサービスエリアの手洗いの水を使っていたのかいけなかったのか。 ポッカレモンで掃除したときは、そのあと2時間くらい動かして、果汁分もミストと一緒に出てしまったはずだし。 あらためてクエン酸で掃除してもダメ。 吸水棒を新しくしてもダメ。 エイやと分解してみたら振動板のところだけむき出しにできたので、エアダスターで掃除したら復活しました。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=189&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>eneloop air fresher のミストが出なくなった。</p>
<p>この前、ミストの出が悪くなっていたのを掃除する際に、掃除用のクエン酸水溶液がなかったので、ポッカレモンで代用したのが悪かったのか。</p>
<p>車の中でつかうので、高速道のサービスエリアの手洗いの水を使っていたのかいけなかったのか。</p>
<p>ポッカレモンで掃除したときは、そのあと2時間くらい動かして、果汁分もミストと一緒に出てしまったはずだし。</p>
<p>あらためてクエン酸で掃除してもダメ。</p>
<p>吸水棒を新しくしてもダメ。</p>
<p>エイやと分解してみたら振動板のところだけむき出しにできたので、エアダスターで掃除したら復活しました。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/imarginal.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/imarginal.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/imarginal.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/imarginal.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/imarginal.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/imarginal.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/imarginal.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/imarginal.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/imarginal.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/imarginal.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/imarginal.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/imarginal.wordpress.com/189/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/imarginal.wordpress.com/189/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/imarginal.wordpress.com/189/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=189&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://imarginal.wordpress.com/2010/02/02/eneloop-air-fresher-%e3%81%ae%e3%83%9f%e3%82%b9%e3%83%88%e3%81%8c%e5%87%ba%e3%81%aa%e3%81%8f%e3%81%aa%e3%81%a3%e3%81%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">imarginal</media:title>
		</media:content>
	</item>
		<item>
		<title>Solarisバンドルの7z/7za</title>
		<link>http://imarginal.wordpress.com/2009/12/19/solaris%e3%83%90%e3%83%b3%e3%83%89%e3%83%ab%e3%81%ae7z7za/</link>
		<comments>http://imarginal.wordpress.com/2009/12/19/solaris%e3%83%90%e3%83%b3%e3%83%89%e3%83%ab%e3%81%ae7z7za/#comments</comments>
		<pubDate>Sat, 19 Dec 2009 13:11:49 +0000</pubDate>
		<dc:creator>imarginal</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://imarginal.wordpress.com/2009/12/19/solaris%e3%83%90%e3%83%b3%e3%83%89%e3%83%ab%e3%81%ae7z7za/</guid>
		<description><![CDATA[パスワードをttyから与えると、8文字まで切られる。 -pオプションだと切られることはない。 getpassphraseを使わずにgetpass を使っているせいか。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=186&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>パスワードをttyから与えると、8文字まで切られる。<br />
-pオプションだと切られることはない。<br />
getpassphraseを使わずにgetpass を使っているせいか。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/imarginal.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/imarginal.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/imarginal.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/imarginal.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/imarginal.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/imarginal.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/imarginal.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/imarginal.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/imarginal.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/imarginal.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/imarginal.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/imarginal.wordpress.com/186/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/imarginal.wordpress.com/186/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/imarginal.wordpress.com/186/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=186&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://imarginal.wordpress.com/2009/12/19/solaris%e3%83%90%e3%83%b3%e3%83%89%e3%83%ab%e3%81%ae7z7za/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">imarginal</media:title>
		</media:content>
	</item>
		<item>
		<title>Linuxのftruncateのなぞ</title>
		<link>http://imarginal.wordpress.com/2009/11/21/182/</link>
		<comments>http://imarginal.wordpress.com/2009/11/21/182/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 14:24:03 +0000</pubDate>
		<dc:creator>imarginal</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://imarginal.wordpress.com/?p=182</guid>
		<description><![CDATA[ほかの OS で動いているプログラムを、Linux にポーティングしようとしたら、なぞのBUS ERRORが出る現象に悩まされて、途方にくれた。 どこかでヒープを壊しているのかと、Electric Fence でチェックしたりしたが、最終出力処理の手前までは全然問題のないデータが、最終出力処理の中では、すっかり壊れてしまっているという不思議な現象で、さっぱり原因がつかめなかった。 最終出力処理の手前で、ファイルをtruncateしているのだが、ためしに ftruncate をやめたら BUS ERROR がなくなった。 わかったこと サイズ 0 に ftruncate してから書き込み処理にいくと、書き込み処理のなかで、BUS ERROR で落ちる。 fd = open(...); 読み出し処理; if (lseek(fd, (off_t)0, SEEK_SET) &#60; 0)      perroe("lseek"); if (ftruncate(fd, (off_t)0) &#60; 0)     perroe("ftruncate"); if ((fp = fdopen(fd, "w")) == NULL)      perroe("fdopen"); 書き込み処理; fclose(fp); これが、書き込んでから、ftruncate する分には問題ない。 fd [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=182&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>ほかの OS で動いているプログラムを、Linux にポーティングしようとしたら、なぞのBUS ERRORが出る現象に悩まされて、途方にくれた。</p>
<p>どこかでヒープを壊しているのかと、Electric Fence でチェックしたりしたが、最終出力処理の手前までは全然問題のないデータが、最終出力処理の中では、すっかり壊れてしまっているという不思議な現象で、さっぱり原因がつかめなかった。</p>
<p>最終出力処理の手前で、ファイルをtruncateしているのだが、ためしに ftruncate をやめたら BUS ERROR がなくなった。</p>
<p><strong>わかったこと</strong></p>
<p>サイズ 0 に ftruncate してから書き込み処理にいくと、書き込み処理のなかで、BUS ERROR で落ちる。</p>
<pre style="padding-left:30px;">fd = open(...);
読み出し処理;
if (lseek(fd, (off_t)0, SEEK_SET) &lt; 0)
     perroe("lseek");
if (ftruncate(fd, (off_t)0) &lt; 0)
    perroe("ftruncate");
if ((fp = fdopen(fd, "w")) == NULL)
     perroe("fdopen");
書き込み処理;
fclose(fp);
</pre>
<p>これが、書き込んでから、ftruncate する分には問題ない。</p>
<pre style="padding-left:30px;">fd = open(...);
読み出し処理;
if (lseek(fd, (off_t)0, SEEK_SET) &lt; 0)
perroe("lseek");
if ((fp = fdopen(fd, "w")) == NULL)
perroe("fdopen");
書き込み処理;
if (ftruncate(fileno(fp), ftell(fp)) &lt; 0)
perrpe("ftruncate");
fclose(fp);
</pre>
<p>なんやねん、これ。ここに気かつくまで、ずいぶん時間をむだにした。</p>
<p>読み出し処理の中では、バッファをmmapしてつかっているけど、これが影響しているのか?</p>
<p>追記:</p>
<p>ftruncateするまえに、munmapしてみたけど、データが壊れて BUS ERROR で落ちる現象はかわらず。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/imarginal.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/imarginal.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/imarginal.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/imarginal.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/imarginal.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/imarginal.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/imarginal.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/imarginal.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/imarginal.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/imarginal.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/imarginal.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/imarginal.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/imarginal.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/imarginal.wordpress.com/182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=182&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://imarginal.wordpress.com/2009/11/21/182/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">imarginal</media:title>
		</media:content>
	</item>
		<item>
		<title>alter user 〜 identified by values 〜</title>
		<link>http://imarginal.wordpress.com/2009/11/06/alter-user-%e3%80%9c-identified-by-values-%e3%80%9c/</link>
		<comments>http://imarginal.wordpress.com/2009/11/06/alter-user-%e3%80%9c-identified-by-values-%e3%80%9c/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 13:51:27 +0000</pubDate>
		<dc:creator>imarginal</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://imarginal.wordpress.com/2009/11/06/alter-user-%e3%80%9c-identified-by-values-%e3%80%9c/</guid>
		<description><![CDATA[Oracle11g 以降は、 select name, password, spare4 from user$; のspare4の値を使用する。<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=181&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Oracle11g 以降は、<br />
select name, password, spare4 from user$;<br />
のspare4の値を使用する。</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/imarginal.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/imarginal.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/imarginal.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/imarginal.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/imarginal.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/imarginal.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/imarginal.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/imarginal.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/imarginal.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/imarginal.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/imarginal.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/imarginal.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/imarginal.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/imarginal.wordpress.com/181/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=imarginal.wordpress.com&amp;blog=2598285&amp;post=181&amp;subd=imarginal&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://imarginal.wordpress.com/2009/11/06/alter-user-%e3%80%9c-identified-by-values-%e3%80%9c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">imarginal</media:title>
		</media:content>
	</item>
	</channel>
</rss>
