Last modified: Tue Jun 2 17:00:22 2026 +0900 (JST)
このページはただの日記なので公平でも潔白でもありません。 もっとも、他のページが公平であったり潔白であったりすることを保証するわけでもありませんが。
》 マトリックス第 4 作、2021.12.22 公開だそうで
「マトリックス」第4作のタイトルが、CinemaConのプレゼンで明らかに! (IGN, 8/25)。The Matrix Resurrections。
どんな作品なの?
『マトリックス』第4作は奇妙で野心的な映画 ─ テスト試写参加者「賛否両論となるでしょう」 (THE RIVER, 6/18)
試写に参加したデヴィッド・マニングによると、「奇妙で、メタ的で、夢中にさせられて、驚くほどに面白くて、どこまでも野心的」だという。さらに、ラナ・ウォシャウスキーの過去作に敬意を表しながら、本作が『ジュピター』(2015)的ではなく、『クラウド アトラス』(2012)的であるとも説明した。もっともデヴィッドは、「好きな人にとってはとにかくたまらない作品となる」としながらも、「評判は賛否両論となると思います」とも付け加えている。
とりあえず、観るしかない。日本公開はいつなんだろう。
》 魚津水族館がアニメ監修 南砺のピーエーワークス新作「白い砂のアクアトープ」 (北日本新聞 / Yahoo, 7/29)。モデルになっている水族館は P.A.Works の地元である富山にあるのですね。
》 これは本なのか… 松本工房のとんでもないこだわり (朝日, 8/6)。それ自体がアートのような。 松本工房オンラインショップ。
》 How to get SSH logs and send to remote syslog server in macOS? (superuser, 2020)。remote_syslog2 を使う、だそうで。
》 Tips on Darwin。 興味深い。
》 Migrate system from i386 (32-bit mode) to amd64 (64-bit mode) (FreeBSD Wiki)。 FreeBSD 13 で i386 が Tier 2 に降格された ため、本文書に従って amd64 への移行を実施してみた。
読めばわかるように FreeBSD 9 あたりの時代に書かれた文書なので、現状とは若干齟齬がある。 だいたいはそのまま使えるんだけどね。
a swap partition/volume of at least 450 MiB which can be used as a temporary root filesystem (miniroot)
私が試したのは FreeBSD 11 / 12 なのだけど、2GB でも足りなかった。 3GB だとギリギリ? 4GB ほしい。
The 64-bit (cross) build should be in /usr/obj/amd64.amd64 now, so remove any leftover 32-bit stuff: rm -rf /usr/obj/usr/src.
FreeBSD 11 だと上記と同じなのだが、 FreeBSD 12 では /usr/obj/usr/src/amd64.amd64 に作成された。
cd /usr/obj && ln -s amd64.amd64/* . — this should get symlinks for lib32 and usr (the original file location must still be retained by now)
FreeBSD 12 では不要。
cp /usr/obj/amd64.amd64/usr/src/sys/$YOURKERNEL/kernel /boot/kernel.amd64
FreeBSD 12 だと cp /usr/obj/usr/src/amd64.amd64/sys/$YOURKERNEL/kernel /boot/kernel.amd64
ldconfig32_paths="/usr/lib32 /usr/local/lib32"
/etc/default/rc.conf の内容に /usr/local/lib32 /usr/local/lib32/compat 等を追加するのがいいと思う。 grep ldconfig32_paths /etc/default/rc.conf すればわかる。
Turn /usr/obj into its canonical form (optional):
FreeBSD 12 では不要。
》 上記を https://wiki.freebsd.org/amd64/i386Migration に適用してみた:
Migration Process
- If necessary, define your kernel config file in /etc/make.conf, create and edit it (otherwise, GENERIC will be used).
- Build amd64 world and kernel using:
- make buildworld TARGET=amd64 TARGET_ARCH=amd64
- make buildkernel TARGET=amd64 TARGET_ARCH=amd64
This is supposed to pass without any issues. If not: resolve issues, and start over.- Turn your swap into a miniroot:
- swapinfo -h — make sure no swap is in use (if the swap is not free, reboot here)
- swapoff /dev/ad4s1b (or whatever your swap device is named — replace that name in the steps below if it is different)
- edit /etc/fstab to comment out the swap line
- newfs -U -n /dev/ad4s1b
- mount /dev/ad4s1b /mnt
- cd /usr/src && make installworld TARGET=amd64 TARGET_ARCH=amd64 DESTDIR=/mnt
- file /mnt/bin/echo — make sure this displays as ELF 64-bit LSB executable
- cd /usr/src/etc && make distribution TARGET=amd64 TARGET_ARCH=amd64 DESTDIR=/mnt
- cp /etc/fstab /mnt/etc/fstab This completes your miniroot in the swap volume.
- Prepare the /usr/obj tree for later installation:
- The 64-bit (cross) build should be in /usr/obj/usr/src/amd64.amd64 now, so remove any leftover 32-bit stuff: rm -rf /usr/obj/usr/src.
- Copy the 64-bit kernel into a bootable place, like
- cp /usr/obj/usr/src/amd64.amd64/sys/$YOURKERNEL/kernel /boot/kernel.amd64
- If any further KLDs are needed that have not been statically compiled into the kernel, copy them over to some place (presumably under /boot), too.
- Reboot, and stop the system at the loader prompt (in the loader menu, press "2" for FreeBSD 9, or press "6" for FreeBSD 8)
- unload to get rid of the (automatically loaded) 32-bit kernel
- load /boot/kernel.amd64, possibly followed by loading any essential 64-bit KLDs here
- boot -as to boot into single-user mode, with the loader asking for the location of the root filesystem (rather than figuring it out from /etc/fstab)
- At the loader prompt asking for the root filesytem, enter ufs:, followed by the name of the swap volume/partition; e.g. ufs:/dev/ad4s1b
- Press Enter to get the single-user shell
- Mount (at least) the /, /var and /usr filesystems under /mnt; examine /etc/fstab to know which resources to mount
- Bootstrap the system libraries and utilities from the miniroot:
- chflags -R noschg /mnt/*bin /mnt/lib* /mnt/usr/*bin /mnt/usr/lib*
- cd / && find *bin lib* usr/*bin usr/lib* | cpio -dumpv /mnt
- mount -t devfs devfs /mnt/dev
- chroot /mnt so you can pretend living in the final target filesystem space
- cd /usr/src && make installkernel installworld — this should work without any issues
- exit so you're back in the miniroot environment
- reboot
- Boot into single-user mode (in the loader menu, press "6" then Enter for FreeBSD 9, or press "4" for FreeBSD 8)
- fsck -p (just make sure all filesystems are allright)
- mount -a -t ufs
- Edit /etc/fstab to re-enable the swap
- To give any existing (32-bit) ports a chance to work, do the following:
- mkdir /usr/local/lib32
- cd /usr/local/lib && find . -type f \( -name "*.so*" -o -name "*.a" \) | cpio -dumpv ../lib32
- add the following line to /etc/rc.conf:
- ldconfig32_paths="/usr/lib32 /usr/local/lib32"
これについては /etc/default/rc.conf の内容に /usr/local/lib32 /usr/local/lib32/compat 等を追加するのがいいと思う。 grep ldconfig32_paths /etc/default/rc.conf すればわかる。- Turn /usr/obj into its canonical form (optional): (FreeBSD 12 では不要)
- cd /usr/obj
- rm * — just to remove the lib32 and usr symlinks (it will complain and not remove the amd64.amd64 directory)
- mv amd64.amd64/* . && rmdir amd64.amd64
- Remove the temporary kernel (optional): rm /boot/kernel.amd64
- Exit the single-user shell, bringing the system into multiuser
Now the basic migration has been done.
Some 32-bit ports might not work, despite of the hackery to save their shared libs in a separate place. It's probably best to reinstall all ports. portupgrade -af doesn't work as it clobbers its own package database in the course of this operation (when reinstalling ruby and/or ruby-bdb).
私について