[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

0 > boot enet on PM7500



>                                                      藤原  誠
PowerMac 7500/604e/160 Open Firmware 1.0.5 で
> boot enet がうまく行かない話です。
(例によって僕の思い込みなどの間違いの可能性は大きいです)

・/tftpboot に置くものは ofwboot.xcf を使う
・snapshot/20001020/installation/ にあるものは問題があって
  次のようにうまく行かない (ip address は bootp server です)
  | 0 > boot enet  file: 220.4.101.135,/./ofwboot.xcfloading XCOFF
  | tsize=BF40 dsize=1490 bsize=2620 entry=600000
  | SECTIONS:
  | .text 00600000 00600000 0000BF40 000000E0
  | .data 0060C000 0060C000 00001490 0000C020
  | .bss  0060D490 0060D490 00002620 00000000
  | loading .text, done..
  | loading .data, done..
  | clearing .bssCLAIM failed
  |  ok
  | 0 >

・少なくとも 2000-08-29 の src/sys/arch/macppc/stand/ofwboot
  で make したものは動く (以下はそれを使った時の話)

・> boot enet exit
  のようにすれば、ofwboot を実行しただけでもう一度 OF に戻る
  はずなので、記録を採ったりするのに便利な時があるが、OF 1.0.5
  では引数 を見てくれないらしいので、それが使えない

・> boot enet
  とすると、まず bootps server に聞いて、その設定により 
  tftp で ofwboot.xcf を読む  

・その ofwboot.xcf は次に、空の譜名を tftp しようとするので
  画面に TFTP timeout という字が表示され続ける
  
  (上記のような画面の後)
  clearing .bss, done..
  >> NetBSD...                 1.2
  >> (makoto@milano
  file: 220.4.101.135,
  TFTP timeout
  TFTP timeout

・/tftpboot/netbsd, /tftpboot/netbsd.ram.gz は一応置いてあります。
  makoto@on■12:45:25/001109(/tftpboot)# ls -l 
  total 2976
  -rw-rw-r--  2 makoto  wheel  1365300 Oct 21 18:10 netbsd
  -rw-rw-r--  2 makoto  wheel  1365300 Oct 21 18:10 netbsd.ram.gz
  -rwxr-xr-x  2 makoto  wheel    61300 Nov  9 10:13 ofwboot.elf
  -rwxr-xr-x  2 makoto  wheel    61300 Nov  9 10:13 ofwboot.elf-2000-08-29
  -rw-r--r--  1 root    wheel    57684 Nov  9 12:17 ofwboot.xcf
  -rwxr-xr-x  1 makoto  wheel    57684 Nov  9 10:13 ofwboot.xcf-2000-08-29
  -rw-r--r--  1 root    wheel    54448 Nov  9 12:06 ofwboot.xcf-20001020

・それは server 側で見ていると次のようになる。(時計は GMT 表示です)

Nov  9 01:38:07 on tftpd[5902]: scgj.domain: read request for /./ofwboot.xcf: success
Nov  9 01:38:07 on tftpd[5904]: scgj.domain: read request for : File not found

・> boot enet としても bootps とお話出来ないで失敗すること
  も何回かある。
  
【付け足し】
・G4 などの場合、/etc/bootptab に rp= を書いておいて、それをサー
  バ側で NFS export しておけば、それを mount する
・しかし OF 1.0.5 の場合、どうもそうはならない。
・しかし、これは ofwboot の動作の問題なので OF に依るというのも
  変だと思う。

【付け足しその二】
以上の話は 全て画面 (/chaos/control + kbd) でやっています
・この辺の作業の記録が採りたいと思って
・7500 に MacOS がなくて、serial 線も試したことがない場合、
これから serial 線を試そうと思って、
  command + option + O + F
 をした後に、もし、(線が違っているなどの理由で) 
それがうまく行かなかったとします。(長い仮定だ:-)

止むを得ず command + option + P + R すると、
auto-boot? true になってしまって、

(1) MacOS + bootvars を使って設定する
(2) serial 線を用意する
のどちらかしか方法がなくて、僕にとっては結構面倒なので、
(記録は一部しか手写していません)

server の方は macppc/1.5H StarMax 4000/160 です。
/etc/bootptab
------------------------------------
.allhost:\
        :hd=.:\
        :ds=220.4.101.135:\
        :sm=255.255.255.0:\
        :gw=220.4.101.254:

scgj:\
        :ht=ethernet:\
        :ha=080007ff1146:\
        :ip=220.4.101.100:\
        :tc=.allhost:\
        :bf=ofwboot.xcf:\
        :rp=/tftpboot:
------------------------------------
# iBook の /etc/XF86Config 欲しい :-)
---
(藤原)