hns - 日記自動生成システム - Version 2.19.9

先月 2011年01月 来月
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2011年01月08日() 旧暦 [n年日記] [更新:"2011/01/11 00:43:40"]

#1 [NetBSD] TeraStation (PowerPC)

部屋の模様替えをした。 TeraStation を一度停止して、電源を入直したら、
Jan  8 08:02:59 tera6 /netbsd: raid2: Total Sectors: 2879642496 (1406075 MB)
Jan  8 08:02:59 tera6 /netbsd: boot device: raid0
Jan  8 08:02:59 tera6 /netbsd: root device (default raid0a): 
ここで止っているのがあった。これは(自分としては)知られた問題で、 起動のたびに改行を入力していたが、時間が経つと忘れてしまう。
幸い uname で示された機械と directory に src の組がそのまま残っていたので、 conf 行を明示的に指定したもので作り直した。
--- /export/src-4.0/sys/arch/sandpoint/conf/KUROBOX     2008-03-01 19:38:06.000000000 +0900
+++ /export/src-4.0/sys/arch/sandpoint/conf/KUROBOX-raid0a      2011-01-08 11:35:52.000000000 +0900
@@ -94,7 +94,7 @@
 options        NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
 options        NFS_BOOT_RWSIZE=1024
 
-config         netbsd  root on ? type ?
+config         netbsd  root on raid0a type ?
 
 # network psuedo-devices
 pseudo-device  bpfilter                # packet filter
後側に挿してある SD Card (USB メモリ兼用)を mount して、kernel を取替えた。
ttyp0:makoto@tera6 11:47:16/110108(~)> sudo mount /dev/sd0e /mnt
ttyp0:makoto@tera6 11:47:37/110108(~)> ls -lt /mnt/netbsd-*
-rwxr-xr-x  1 root  wheel  3978540 Jan  8 11:37 /mnt/netbsd-KUROBOX.bin*
-rwxr-xr-x  1 root  wheel  3978484 Apr 22  2008 /mnt/netbsd-KUROBOX.bin-20110108*
-rwxr-xr-x  1 root  wheel  6078208 Apr 20  2008 /mnt/netbsd-KUROBOX_MD.bin*
-rwxr-xr-x  1 root  wheel  3106532 Jun 12  2007 /mnt/netbsd-4.99.3.bin*
-rwxr-xr-x  1 root  wheel  5049864 Jun  5  2007 /mnt/netbsd-KUROBOX_MD-4.99.3.bin*
ttyp0:makoto@tera6 11:47:41/110108(~)> 
これで無事自動起動するようになった。

また別の話だけれど、ちょっと止めようかと思って見ると、

NetBSD 4.99.3 (GENERIC.KUROBOX) #0: Sun Oct 8 22:48:24 JST 2006

Welcome to NetBSD!

20090128 wd0i gets fsck
ttyp0:makoto@kuro 14:27:27/110108(~)> uptime
 2:27PM  up 367 days, 14:37, 1 user, load averages: 0.17, 0.11, 0.09
ttyp0:makoto@kuro 14:27:28/110108(~)> 
頑張っているなぁ。
NetBSD kuro 4.99.3 NetBSD 4.99.3 (GENERIC.KUROBOX) 
#0: Sun Oct 8 22:48:24 JST 2006
root@trapani:/work/src/sys/arch/sandpoint/compile/obj/GENERIC.KUROBOX
sandpoint ttyp0:makoto@kuro 14:29:23/110108(~)>

#2 [pkgsrc] vlc-1.1.5 spawn.h is not found

For the problem "spawn.h is not found", if you look at ports/vlc with FreeBSD, 7 or earlier release of FreeBSD does not have spawn.h, and just disabling related code, for example:
extra-patch-modules__misc__inhibit__xdg.c
Then now build (simple make) competes. But with 'make package'), I've got following problem and unable to package yet.
=> Checking for work-directory references in vlc-1.1.5
ERROR: /usr/pkg/lib/libvlccore.so.4:    
        Binary file /export/pkgsrc/multimedia/vlc/work/.destdir/usr/pkg/lib/libvlccore.so.4 matches
ERROR: /usr/pkg/lib/libvlccore.so.4.0.1:        
	Binary file /export/pkgsrc/multimedia/vlc/work/.destdir/usr/pkg/lib/libvlccore.so.4.0.1 matches
ERROR: *** The above files still have references to the build directory.
ERROR:     This is possibly an error that should be fixed by unwrapping
ERROR:     the files or adding missing tools to the package makefile!
*** Error code 1

x264-devel (20100201) build 84
ffmpeg-0.6.1
vlc-1.0.6-1.1.5-2 patch
I was saying ffmpeg needed build 84 or later, but it was really 65 ?

strings libvlccore.so.4.0.1 gives work-directory reference ?:

 'PKG_CONFIG_PATH=' 'PKG_CONFIG=/export/pkgsrc/multimedia/vlc/work/.tools/bin/pkg-config'
Is this the reason ?
CHECK_WRKREF_SKIP=
is hardcoded, and is to be modifed, the revision of so files.



最近の日記
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)