|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||||
2000年06月11日(日) [n年日記]#1 [20000606] 20000606 を StarMax 4000/160 に入れる
というのが出ているが、
installation の下
に netbsd.ram.gz と ofwboot.elf しかなくて、これだと、iBook とか G4 の
Mac HFS に ofwboot.elf を置いて起動することは出来るが、floppy boot
は出来ない気がする。StarMax は netboot は出来そうにない ? ので、
20000205 を入れ直すことにする。
#2 [disk] 区画
いま使っているものの区画
wd0 at wdc0 channel 0 drive 0: <ST52520A> wd0: 2446 MB, 4970 cyl, 16 head, 63 sec, 512 bytes/sect x 5009760 sectors 7 partitions: # size offset fstype [fsize bsize cpg] a: 60480 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 59) b: 241920 60480 swap # (Cyl. 60 - 299) c: 5009760 0 4.2BSD 0 0 0 # (Cyl. 0 - 4969) d: 504000 302400 4.2BSD 1024 8192 16 # (Cyl. 300 - 799) e: 2822400 806400 4.2BSD 1024 8192 16 # (Cyl. 800 - 3599) f: 1008000 3628800 4.2BSD 1024 8192 16 # (Cyl. 3600 - 4599) g: 372960 4636800 4.2BSD 1024 8192 16 # (Cyl. 4600 - 4969) MegaB. cyl 実際に使っているのは a / 29.5M 60 27M b swap 118 M 240 c 全体 2,445 M 4970 d /usr 246 M 500 130M e /usr/src 1,378 M 2800 870M f /usr/local 492 M 1000 440M g /var 182 M 370 3Mこれを一から考えなおすことが出来るとすると、 a / 49 M 100 0 b swap 147 M 300 100 c 全体 d /usr 147 M 300 400 e /var 147 M 300 700 g /mount_union 1,953 M 3970 1000というのを試して見よう。 We now have your BSD-disklabel partitions as (Size and Offset in wd0): Size Offset End FStype Bsize Fsize Mount point --------- --------- --------- ------ ----- ----- ----------- a: 100 0 99 4.2BSD 8192 1024 / b: 300 100 399 swap c: 4970 0 4969 unused d: 300 400 699 4.2BSD 8192 1024 /usr e: 300 700 999 4.2BSD 8192 1024 /var f: 0 0 0 unused g: 3970 1000 4969 4.2BSD 8192 1024 /mount_unio h: 0 0 ******************************** i: 0 0 * a: Change a * j: 0 0 * b: Change b * k: 0 0 * c: Whole disk - can't change * l: 0 0 * d: Change d * m: 0 0 * e: Change e * n: 0 0 * f: Change f * o: 0 0 *>g: Change g * p: 0 0 * h: Change h * * i: Set new allocation size * * x: Exit * ******************************** #3 [sysinst] 20000205 で 20000606 を入れられるか
次の質問は 20000205 の sysinst で20000606 を入れることが出来るか ?
#4 [Ethernet] de0(DE 500A) or ne0
その前に DE-500A とかいう DEC 21140 の Ethernet Card の 100/10 切換
のものは ifconfig しても、ping が通らないので、まずは別のものを使って
見る。
ne0 at pci1 dev 7 function 0: RealTek 8029 Ethernet ne0: 10base2, 10baseT, 10baseT-FDX, auto, default auto #5 [sysinst] Upgrade or Newly intall
> boot fd:0 -> (I)nstall からやり直し。
区画が切ってあるのに、新規だと、違うものにしたがるように見える ので、Upgade にして見る。etc が入らないかな。 Command: pax -zrpe -f /mnt2/base.tgz というような文字が見えているが、etc も入れている。 comp で pax: Invalid header, starting valid header search. と言っている、もしかしたら ip address が別の機械とぶつかっている かも。 もう一度 upgrade を選んだら /etc/fstab がないから、upgrade は出来ない と言う。 最初からやり直し。 ************************************************* * NetBSD-1.4R Install System * * * *>a: Install NetBSD to hard disk * * b: Upgrade NetBSD on a hard disk * * c: Re-install sets or install additional sets * * d: Reboot the computer * * e: Utility menu * * x: Exit Install System * ************************************************** c: Re-install sets or install additional sets * って何だろう /etc/fstab がないのでだめと言われた。 Command: pax -zrpe -f /mnt2/comp.tgz .... /mnt: write failed, file system is full何ていうこと。 #6 [sysinst] pax を一つ失敗した時にも追加出来る
例えば、base.tgz 一つ失敗したとして、それをもう一度入直すことは出来る
だろうか。(答えは「出来る」)
13 個入れようとして 12 出来ました。aborting と言われたよう
な気がする。
/mnt/usr: optimization changed from TIME to SPACE というのは意図したこと。 There were problems unpacking distribution sets. Your installation is incomplete. You selected 13 distribution sets. 0 sets couldn't be found and 0 were skipped after an error occured. Of the 13 that were attempted, 12 unpacked without errors and 1 with errors. The installation is aborted. Please recheck your distribution source and consider reinstalling sets from the main menu. ************************* * Hit enter to continue * * * *>a: ok * *************************やはり...。 もう一度 * c: Re-install sets or install additional sets *をして見る。fsck をしている。 #7 [sysinst] custom install の画面The following is the list of distribution sets that will be used. Distribution set Use? ------------------ ---- Kernel : Yes ******************************* Base : Yes * Selection toggles inclusion * System (/etc): Yes * * Compiler : Yes *>a: Compiler Tools * Games : Yes * b: Games * Manuals : Yes * c: Online Manual Pages * Miscellaneous: Yes * d: Miscellaneous * Text tools : Yes * e: Text Processing Tools * X11 clients : Yes * f: X11 base and clients * X11 fonts : Yes * g: X11 fonts * X11 servers : Yes * h: X11 servers * X11 contrib : Yes * i: X contrib clients * X programming: Yes * j: X11 programming * * x: Exit * *******************************Kernel, Base, System は選べないと思って、x: Exit したが、それら以外を No にして おけば良かったと、後から分る。また先と同じものが出た。 Status: Running Command: pax -zrpe -f /mnt2/base.tgz -------------------------------------------------------------------------------- gzip: failed gzclose: RPC struct is bad pax: End of archive volume 1 reached ATTENTION! pax archive volume change required. Ready for archive volume: 2 Input archive name or "." to quit pax. Archive name > もの自体はこわれていない。ネットワーク的な問題か。 c: re-install custom install で kern, base, etc だけを選んで見る。 上のところで . を入れれば良かった気もする。 が、やっと、 All selected distribution sets unpacked successfully. となる。 Making device... の後、 Is the network information you entered accurate for this machine in regular operation and do you want it installed in /etc? [y]: /etc は /etc.old にして置いてあるとのこと。 #8 [起動] kernel が問題 ? 。(1.4R) StarMax 用に取替えて見ると起動する0 > boot ata/ata-disk@0:0 で起動するかな >> NetBSD/macppc OpenFirmware Boot, Revision 1.2 >> (tsubai@moeko, Sun Feb 6 23:24:18 JST 2000) 2771516+228288 [100+101888+85618/ で止ってしまう。(二回確めた) floppy で立上げて、ifconfig してから ftp で 他の機械から netbsd-1.4V-StarMax を持って来て見る。すぐ隣なのに、非常に遅い。 27% |********* | 773 KB 4.92 KB/s 06:48 ETA これを取替えたら、動いた。(kernel 1.4R, userland 20000606) 0 > setenv boot-device ata/ata-disk@0:0 ok 0 > boot #9 [disk] /usr は 138MBytes (もう少し大きくても良かったか)Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/wd0a 48703 23770 22497 51% / /dev/wd0d 146319 138588 415 99% /usr /dev/wd0e 146319 557 138446 0% /var /dev/wd0g 1935124 1 1838366 0% /mount_union kernfs 1 1 0 100% /kern # mount -t union /mount_union /usr としたら、 Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/wd0a 48703 23770 22497 51% / /dev/wd0d 146319 138588 415 99% /usr /dev/wd0e 146319 558 138445 0% /var /dev/wd0g 1935124 1 1838366 0% /mount_union kernfs 1 1 0 100% /kern <above>:/mount_union 2073712 138589 1838366 7% /usr となる。 #10 [etc] を新しくする (setup after sysinst)
#11 [1.4V_or_20000606] kernel は 1.4R なのに本体は 20000606
となっているので、一部うまく動かない。
tomura# uname -a NetBSD tomura.ki.nu 1.4V NetBSD 1.4V (GENERIC) #0: Wed Mar 22 21:30:25 JST 2000 makoto@harry:/usr/src/sys/arch/macppc/compile/GENERIC macppc tomura# top top: sysctl kern.ccpu failed: Operation not supported tomura# ps ps: kvm_getproc2: Not a directory. ps: statfs on /proc failed: No such file or directory ps: fallback /proc-based lookup also failed. Giving up... tomura# /pub/NetBSD/NetBSD-current/tar_files/src/sys.tar.gz を持って来て、kernel を作り直して見る 2000年06月12日(月) [n年日記]#1 [wdc1] wdc1 patch を探した
ので、 link としておく
新しいものとの差分
にもしておく
In file included from ../../../../arch/powerpc/powerpc/db_interface.c:10: ../../../../ddb/db_sym.h:84: syntax error before `boolean_t' #2 [boot.fs] の kernel を取替える
方法というか、道具があった気がするが、覚えていない
2000年06月15日(木) [n年日記]#1 [電池] 一度分解して、掃除して組立てると動かなくなる
3000/180 を分解掃除して組立てたら、電源が入らなくなって
しまった。電池を調べると 4.5 V のところが2.95V くらい
しかない。
これが原因か。
840 4.5Volts ALKALINE Rayovac Corp. Madison VI 53711 Made in U.S.A.と書いてあるもの。 2cm x 2.5cm x 1.5cm くらいの直方体 を見ると 4400 という機種は出て来ない。 2000年06月17日(土) [n年日記]#1 [20000606] 20000606 の問題は
kernel が大きすぎて OF の使うところをこわしているらしい
real-mode? false false real-base -1 -1 real-size 100000 100000 virt-base -1 -1 virt-size 100000 100000 load-base 4000 4000 一部のOpen Firmware は 4M から使っている カーネルは 1MByte から load される その場合、使えるのは 1M -> 4M の 3M, これを越えると (そのままでは) カーネルが load されるところと、OF が使っているところが 重なってしまい、問題が起きる setenv real-base F00000としたら、動くようになった。 NetBSD tomura.ki.nu 1.4ZA NetBSD 1.4ZA (GENERIC) #6: Wed Jun 7 17:58:48 PDT 2000 matt@yosemite.local:/other/anoncvs/kobj/macppc/GENERIC macppc #2 [after_sysinst] list
#3 [rpcbind] portmap の名前が rpcbind に変っている#4 [Ethernet] ne0: length does not match next packet pointerne0: length does not match next packet pointer ne0: len 05ee nlen 06ee start 4c first 6a curr 71 next 71 stop 80というような字が表示されて、性能が出ていない(気がする) 2000年06月18日(日) [n年日記]#1 [/usr/local][etc] 以前の環境を引継ぐには
mount_union などというものを使っていなかったので、
2000年06月20日(火) [n年日記]#1 [20000606] 3000/240 にも入れて見る
snapshot/20000606 は StarMax の IDE の wdc1 問題が直っている
という気がするので、更に確めるのに、kernel だけ (1.4ZA)
いつも使っている 3000/240
に入れて見たが、無事に動いている。
#2 [Open_Firmware] real-base
おととい設定した real-base = F00000 はすっかり忘れてしまっていて
元に戻っている。もっとも、電池がないのがいけないのだという説も
ある。
|
最近の日記 | ||