トップ «前の日記(2012-08-16) 最新 次の日記(2012-08-18)» 編集

ヨタの日々

2001|08|09|10|11|12|
2002|01|02|03|04|05|06|07|08|09|10|11|12|
2003|01|02|03|04|05|06|07|08|09|10|11|12|
2004|01|02|03|04|05|06|07|08|09|10|11|12|
2005|01|02|03|04|05|06|07|08|09|10|11|12|
2006|01|02|03|04|05|06|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|02|03|04|05|06|07|08|09|10|11|12|
2014|01|02|03|04|05|06|07|08|09|10|11|12|
2015|01|02|03|04|05|06|07|08|09|10|11|12|
2016|01|02|03|04|05|06|07|08|09|10|11|12|
2017|01|02|03|04|05|06|07|08|09|10|11|12|
2018|01|02|03|04|05|06|07|08|09|10|11|12|
2019|01|02|03|04|05|06|07|08|09|10|11|12|
2020|01|02|03|04|05|06|07|08|09|10|11|12|
2021|01|02|03|04|05|06|07|08|09|10|11|12|
2022|01|02|03|04|05|06|07|08|09|10|11|12|
2023|01|02|03|04|05|06|07|08|12|
2024|01|02|03|04|

2012-08-17 :-)

_ 午前

0930 起床

1000 庭に水

1030 おひる。うどん

1100 コーヒー

_ 午後

1200 tdiaryほげ

1300 Androidほげ

1600 散歩

IMG_0855

_

1800 アニメ消化

1830 RR7

1930 Androidほげ

2100 飯。豚丼

_ [水出しコーヒー]水出しコーヒーを作った

UCC 公式 アイスコーヒーのいれ方 - 誰でもカンタン!おいしいコーヒーをいれよう! - コーヒーはUCC上島珈琲

手順はだいたいこのまま。

豆が深煎りでないとか、500 cc 入る容器が無いなどしたのでテキトーに。

  • 豆 40g
  • 水 400 cc

昨日のうちに豆を挽いて容器に入れて冷蔵庫に放置。

今朝になって取り出して、ろ過して飲んでみた。苦いというか油ぽいというか ううむ ( ̄ω ̄;)

ろ過後に容器内に沈殿した豆の処分が面倒だったりするのであまり作らんかもしれない。

c0.jpg

_ [翻訳][NetBSD][modulize]NetBSD-6: modules and system upgrades NetBSD 6 でのモジュールとシステムのアップグレード

NetBSD 6 (which is right now at NetBSD-CURRENT version 5.99.44) will be the next release of the NetBSD operating system. Among other changes, the kernel has been heavily modularized for some architectures (including i386, but not amd64 – if you're on 64 bit Intel/AMD, this doesn't concern you (yet), on 32 bit Intel/AMD it does).

NetBSD 6 ( NetBSD-CURRENT のバージョン 5.99.44 相当 ) は NetBSD オペレーティングシステムの次のリリースになる予定のものである。changes によると、カーネルの大きな変更はいくつかのアーキテクチャ( amd64 以外の i386 を含む。64bit Intel/AMD はまだ不安があるが、32bit Intel/AMD は大丈夫 ) での モジュール化 である。

In practice, this especially means that your beloved GENERIC kernel won't be bootable in and of itself as it can't read ffs (or any other file system) unless it's modules are present and loaded. The modules are being installed with the userland via ./build.sh install=/. The NetBSD Guide demands installing the userland only after you've booted into the new kernel. We have a problem here.

ここでとくに注意しておきたいのは、モジュールが無かったりロードされない場合、あなたの最愛の GENERIC カーネルが起動しなくなったり ffs ( とか他のファイルシステム) を読めなくなったりする。モジュールは ./build.sh install=/ によってユーザーランドと一緒にインストールされる。NetBSD Guideこれ に従って新しいカーネルで起動したあとにだけユーザーランドをインストールすると、痛い目に遭う。

There are two possible ways out of this dilemma:

このジレンマには 2 つの方法がある。

  • build a MONOLITHIC kernel, boot it, install the userland and then re-boot into GENERIC
  • MONOLITHIC カーネルをビルドし、ブートし、ユーザーランドをインストールし、GENERIC で再起動する方法
  • install the modules separately from the rest of the userland
  • ユーザランドの残りの部分とは別にモジュールをインストールする方法

The procedure involving the MONOLITHIC (i.e. classic, non-modularized) kernel is described here. I don't really like it because it involves building two kernels and rebooting twice. On the other hand, it's probably a good idea to keep a monolithic kernel around anyway, just in case anything goes wrong.

MONOLITHIC を含む手順 ( 例えば、モジュール化されてない古いやつとか ) カーネルについては、ここ で説明してある。2 つのカーネルを構築し、2 回再起動しないといけないので実際のところ私の好みではない。とはいえ、何か問題が起こったときのために、念のためモノリシックカーネルも残しておくことをお勧めする。

There is no simple make installmodules or ./build.sh installmodules=/ (yet?) but there is a workaround for that (credit goes here): make install USETOOLS=no DESTDIR=/ in sys/modules.

installmodules とか ./build.sh installmodules=/ といった簡単な方法は(まだ?)ない。しかし回避手段はある { クレジット???? } 。sys/modules で

make install USETOOLS=no DESTDIR=/

すればよい。

So here's the full procedure for upgrading either from NetBSD-5 or from NetBSD-CURRENT with an older kernel version to NetBSD-CURRENT.

つまり、NetBSD-5 とか NetBSD-current とか古いバージョンのカーネルから NetBSD-current へアップグレードするための完全な手順はない。

assuming your sources are in /usr/src and up to date ( 最新のソースが /usr/src にあるとする )

cd /usr/src

build everything ( 全部ビルド )

./build.sh distribution kernel=GENERIC

install the modules ( モジュールをインストール )

cd sys/modules; make install USETOOLS=no DESTDIR=/; cd -

save the old kernel ( 古いカーネルを保存 )

cp /netbsd /netbsd.date +%Y%m%d

put the new kernel in place ( 新しいカーネルを設置 )

cp obj/sys/arch/i386/compile/GENERIC/netbsd /netbsd

The next two steps only need to be done once when upgrading from monolithic to modularied kernels:

次の 2 つの手順は、モノリシックからモジュール化カーネルへのアップグレード時に 1 度だけ実行する必要がある。

update the boot loader ( ブートローダーをアップデート )

cp obj/sys/arch/i386/stand/boot/biosboot/boot /boot

and configure it to load the root filesystem module ( そして root ファイルシステムモジュールをロードするように設定 )

modules for other filesystems will be loaded later automatically ( モジュールがあとで他のファイルシステムを自動でロードするように設定 )

echo "load=ffs" >> /boot.cfg Back to the regular procedure:

reboot ( 再起動 )

shutdown -r now "Kernel upgrade" and after the reboot cd /usr/src ./build.sh install=/ etcupdate -al postinstall fix as usual.

shutdown -r now

してカーネルアップグレードし、再起動後に

cd /usr/src
./build.sh install=/ etcupdate -al postinstall fix

No guarantees of course, and this is work in progress. (Maybe) I'll update this post when I know more or things changed. Nudge me.

もちろん無保証だし、これは進行中の作業である。新しい情報が入り次第この記事を更新する。ツッコミよろしく。

Update: ( アップデート )

asau proposes building the sets and installing them:

asau が sets のビルドとインストールを提案している。

build everything and the sets ( sets とか 全部ビルド )

./build.sh distribution kernel=GENERIC sets

install the modules ( モジュールをインストール )

cd /; pax -rzpe -f /usr/obj/releasedir/i386/binary/sets/modules.tgz

再起動したら

cd /

unpack everything except etc (will be handled by etcupdate) and modules (already done) ( 手動で etcupdate された etc 以外のすべてとモジュールを展開 )

for m in base comp games man misc tests text; do
  pax -rzpe -f /usr/obj/releasdir/i386/binary/sets/${m}.tgz;
done

etcupdate -al -s /usr/obj/releasedir/i386/binary/sets/etc.tgz

Update 2: ( アップデート 2 )

Shouldn't forget about etcupdate and postinstall.

etcupdate と postinstall を忘れずに。

本日のツッコミ(全2件) [ツッコミを入れる]
_ エモエモ (2012-08-18 09:26)

ぶwwwwたwwwwやwwwろwwwうwww<br><br>水出しコーヒーですか、カフェイン中毒の僕は結構憧れるかも<br><br>(´・ω・`)

_ みわ (2012-08-18 22:29)

コーヒーウマー (゜д゜)<br><br>カリタのコーヒーミル http://tinyurl.com/c52qs4s を使ってるんだが、コーヒーをいれるのが楽しくてしょうがない ヽ( ´ー`)ノ