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

Re: installboot (Re: boot.fs.gz (Re: http://www.ceres.dti.ne.jp/~tsutsui/netbsd/))



>                                            千葉市中央区長洲
>                                                    藤原  誠
つばいさん、つついさん、ありがとうございます。
無事 installboot が出来て、sd@4 から起動するようにはなりました
が、取敢えず途中で止ってしまいます。きょうは遅いので、これで
おしまいにします。

・installboot の様子
・OF の printenv
・boot の様子 
  boot scsi/sd@4 で起動した時に
  ( adb0 at obio0 offset 0x16000 で止ってしまう)
を付けておきます。

機種は StarMax 3000/240 (Tanzania)
adb には何もつないでいない
PS/2 keyboard + mouse をつないでいる
入出力は ttya
にしています。
---
(藤原)
# mount /dev/sd0a /mnt
# mount /dev/sd0d /mnt/usr
# mount /dev/sd0g /mnt/var
# cd mnt
# cd etc
# cat fstab
cat: fstab: No such file or directory
# pwd  
/mnt/etc
# cat >fstab
/dev/sd0a   /      ffs rw 1 1
/dev/sd0d   /usr   ffs rw 1 2
/dev/sd0g   /var   ffs rw 1 3
# cat fstab 
/dev/sd0a   /      ffs rw 1 1
/dev/sd0d   /usr   ffs rw 1 2
/dev/sd0g   /var   ffs rw 1 3
# sync
# cd /mnt/usr/mdec
# ls -l
total 220
-r--r--r--  1 root  wheel   2366 Oct 23 15:10 bootxx
-r-xr-xr-x  1 root  wheel  54772 Oct 23 15:10 installboot
-r--r--r--  1 root  wheel  53440 Oct 23 15:10 ofwboot
# cp ofwboot /mnt/ofwboot
# ./installboot -v /mnt/ofwboot bootxx /dev/rsd0a
boot: /mnt/ofwboot
proto: bootxx
device: /dev/rsd0a
proto bootblock size: 1024
entry point: 0x006c0000
/mnt/ofwboot: block numbers: 11360 11376 11392 11408 11424 11440 11456 
# 

0 > printenv 

little-endian?      false               false
real-mode?          false               false
auto-boot?          false               true
diag-switch?        false               false
fcode-debug?        false               false
oem-banner?         false               false
oem-logo?           false               false
use-nvramrc?        false               false
real-base           -1                  -1 
real-size           100000              100000 
virt-base           -1                  -1 
virt-size           100000              100000 
load-base           4000                4000 
pci-probe-list      -1                  -1 
screen-#columns     64                  64 
screen-#rows        28                  28 
selftest-#megs      0                   0 
boot-device         ata/ata-disk@0:6    /AAPL,ROM
boot-file           /netbsd             
diag-device         fd:diags            fd:diags
diag-file                               
input-device        ttya                ttya
output-device       ttya                ttya
oem-banner                              
oem-logo                                
nvramrc                                 
boot-command        boot                boot
 ok
0 > 

0 > boot scsi/sd@4:0 
>> NetBSD/macppc OpenFirmware Boot, Revision 1.1
>> (tsubai@kanea, Fri Oct 23 22:34:31 JST 1998)
Booting scsi/sd@4/netbsd
1605172@0x100000+170708@0x287e34 
 start=0x100000
Copyright (c) 1996, 1997, 1998
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.3H (GENERIC) #0: Sat Oct 24 02:14:44 JST 1998
    tsubai@kanea:/c/snap/src/sys/arch/macppc/compile/GENERIC
CPU: 603ev (Revision 201)
real mem  = 100663296
avail mem = 89071616
using 1228 buffers containing 5029888 bytes of memory
mainbus0 (root)
cpu0 at mainbus0
pci0 at mainbus0 bus 0
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 11 function 0
pchb0: Apple Computer PCI Controller (rev. 0x03)
de0 at pci0 dev 13 function 0
de0: interrupting at irq 23
de0: 21041 [10Mb/s] pass 1.1
de0: address 00:40:10:09:77:f1
obio0 at pci0 dev 16 function 0: addr 0xf3000000
mesh at obio0 offset 0x10000 not configured
zsc0 at obio0 offset 0x13000: irq 15,16
zstty0 at zsc0 channel 0 (console)
zstty1 at zsc0 channel 1
awacs at obio0 offset 0x14000 not configured
swim3 at obio0 offset 0x15000 not configured
nvram0 at obio0 offset 0x60000
ata at obio0 offset 0x20000 not configured
ata at obio0 offset 0x21000 not configured
adb0 at obio0 offset 0x16000