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

先月 2004年02月 来月
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
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2004年02月10日(火) 旧暦 [n年日記]

#1 [機械] 入替考慮中の機械の状態

ttypk:makoto@ibook 8:23:39/040210(~)> uname -a NetBSD ibook 1.6O NetBSD 1.6O (INSECURE) #0: Sun Feb 23 15:07:46 JST 2003 makoto@quick:/export/20030222/src/sys/arch/macppc/compile/INSECURE macppc
pkg_info

disklabel:

#        size    offset     fstype  [fsize bsize cpg/sgs]
 a:    409600     67080     4.2BSD      0     0     0   # (Cyl.   66*- 472*)
 b:   1024000    476680       swap                      # (Cyl.  472*- 1488*)
 c:  39070080         0     unused      0     0         # (Cyl.    0 - 38759)
 d:     65536      1544        HFS                      # (Cyl.    1*- 66*)
 e:  33472512   5596680     4.2BSD      0     0     0   # (Cyl. 5552*- 38759*)
 f:       878  39069192    unknown                      # (Cyl. 38759*- 38759*)
 g:   4096000   1500680     4.2BSD      0     0     0   # (Cyl. 1488*- 5552*)
disklabel: boot block size 0
disklabel: super block size 0
# 

pdisk /dev/wd0c > /tmp/j ; nkf -Sj /tmp/j:

 #:                type name              length   base     ( size )
 1: Apple_partition_map Apple                 63 @ 1       
 2:      Apple_Driver43*Macintosh             54 @ 64      
 3:      Apple_Driver43*Macintosh             74 @ 118     
 4:    Apple_Driver_ATA*Macintosh             54 @ 192     
 5:    Apple_Driver_ATA*Macintosh             74 @ 246     
 6:      Apple_FWDriver Macintosh            200 @ 320     
 7:  Apple_Driver_IOKit Macintosh            512 @ 520     
 8:       Apple_Patches Patch Partition      512 @ 1032    
 9:           Apple_HFS 名称未設定         65536 @ 1544     ( 32.0M)
10:     Apple_UNIX_SVR2 A/UX Root         409600 @ 67080    (200.0M) S0 RUFS k0
11:     Apple_UNIX_SVR2 Swap             1024000 @ 476680   (500.0M) S1  SFS K0
12:     Apple_UNIX_SVR2 Usr file system  4096000 @ 1500680  (  2.0G) s3   FS   
13:     Apple_UNIX_SVR2 Unreserved 1    33472512 @ 5596680  ( 16.0G) s3   FS   
14:          Apple_Free 未使用               878 @ 39069192

Device block size=512, Number of Blocks=39070079 (18.6G)
DeviceType=0x0, DeviceId=0x0
Drivers-
1:  23 @ 64, type=0x1
2:  36 @ 118, type=0xffff
3:  21 @ 192, type=0x701
4:  34 @ 246, type=0xf8ff

#2 [機械] ibook/SE 366 + 20G に入れる。

  1. OS 9 が入っていた。
  2. 20030615(1.6T) の CDROM で起動。pdisk を使ってそっくり作る。 (最初は d 9)
  3. sysinst で入れようとする(新規・ただし using exiting partition)。
  4. ftp が出来ない。(日付が 1904 年になっている)
  5. CDROM には bin/date が入っているのだが、動かない。
  6. MacOS 9 の CDROM で立上げて、Netatalk サーバに置いてあった 日付 & 時刻 を使って日付を設定し直し
    (ちなみに、この時に、disk が見えれば ofwboot.elf を置いてしまったのだが、 見えなかった)
  7. 再び 20030615 の CDROM で起動。こんどは ftp できる。
  8. 20040110ts を指定して設置。
  9. sysinst の最後で (いつもの) segmentation fault
  10. stty echo で表示を取戻して、reboot
  11. boot cd:,ofwboot.elf hd:10/netbsd
    で無事起動
CDROM に入っていた bin/date は、今なら使える。何故 ?
Partition map (with 512 byte blocks) on '/dev/wd0c'
 #:                type name              length   base     ( size )
 1: Apple_partition_map Apple                 63 @ 1       
 2:      Apple_Driver43*Macintosh             54 @ 64      
 3:      Apple_Driver43*Macintosh             74 @ 118     
 4:    Apple_Driver_ATA*Macintosh             54 @ 192     
 5:    Apple_Driver_ATA*Macintosh             74 @ 246     
 6:      Apple_FWDriver Macintosh            200 @ 320     
 7:  Apple_Driver_IOKit Macintosh            512 @ 520     
 8:       Apple_Patches Patch Partition      512 @ 1032    
 9:                 HFS Apple_HFS          65536 @ 1544     ( 32.0M)
10:     Apple_UNIX_SVR2 A/UX Root         409600 @ 67080    (200.0M) S0 RUFS k0  /
11:     Apple_UNIX_SVR2 Swap             1024000 @ 476680   (500.0M) S1  SFS k0  (swap)
12:     Apple_UNIX_SVR2 Usr File system  4096000 @ 1500680  (  2.0G) S2  UFS k0  /usr
13:     Apple_UNIX_SVR2 export          33473400 @ 5596680  ( 16.0G) S2  UFS k0  /usr
/ が 200M って、ちょっと小さかったなぁ。

pdisk に入れた指示を記憶で書くと:

 d 9
 C 1544       65536 HFS 
 c 67080     409600 'A/UX Root' a
 c 476680   1024000 Swap        s
 c 1500680  4096000 'Usr File system' g
 c 5596680 33473400 export      g
開始は 計算しなくても 9p とか出来る のを忘れていた。

#3 [機械] pkgsrc/comms/mgetty+sendfax

==========================================================
You may wish to customize the following files for mgetty-1.1.30nb2:

        /usr/pkg/etc/mgetty+sendfax/dialin.config
        /usr/pkg/etc/mgetty+sendfax/faxheader
        /usr/pkg/etc/mgetty+sendfax/faxrunq.config
        /usr/pkg/etc/mgetty+sendfax/faxspool.rules.sample
        /usr/pkg/etc/mgetty+sendfax/login.config
        /usr/pkg/etc/mgetty+sendfax/mgetty.config
===========================================================================
===> Registering installation for mgetty-1.1.30nb2
mgetty-1.1.30nb2 requires installed package jpeg-6bnb1
mgetty-1.1.30nb2 requires installed package netpbm-10.11.8nb1
mgetty-1.1.30nb2 requires installed package perl-5.8.2
mgetty-1.1.30nb2 requires installed package png-1.2.5nb2
mgetty-1.1.30nb2 requires installed package tiff-3.6.1
ttyp0:makoto@gr  12:15:49/040210(...comms/mgetty+sendfax)> 
/etc/ttys の /dev/tty00 の行を変更して、mgetty も走らせておく。 Seven Eleven まで行って 50 円も出して、Fax を送って見た。 自分で sendfax した方がかしこかった気がする。
-rw-rw---- 1 uucp daemon 13322 Feb 10 14:29 fn028ea9b00.01
こんなのがたまった。g32pbm とかで読むらしい。info に親切に書いてある。 メールも faxadmin に出してくれる。(その設定はまだしていなかった) (ちなみに iBook/NetBSD/macppc 1.6ZG)

#4 [NetBSD][macppc] build.sh

ttyp1:root@quick 11:15:03/040210(...checkout/src)# time ./build.sh -D $DESTDIR -R $RELEASEDIR release >& ../log-1 11463.469u 3231.843s 4:01:37.82 101.3% 0+0k 18950+439866io 27498pf+0w

*** Failed target: checkflist:

これ、合っていなかった。
============ 1 extra files ===============
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./usr/include/macppc/ofbio.h
========= end of 1 extra files ===========


*** Failed target: checkflist
途中から再開するには を見て、
env TOOLDIR=`pwd`/tooldir.NetBSD-1.6ZG-powerpc BUILD_DONE=1 NETBSDSRCDIR=`pwd` ./build.sh -D $DESTDIR -R $RELEASEDIR release > & ../log-4
これで完了。



最近の日記
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
2024年02月29日
opendkim and senmail
2024年01月24日
chat/iam 0.0.8
2024年01月21日
uselocale vs setlocale (textproc/R-readxl)
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)