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

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



>                                   Sat Dec 12 00:32:35 1998
>                                            千葉市中央区長洲
>                                                    藤原  誠
>                                                makoto@ki.nu

藤原:
> ・boot の filename は別のものが設定してあったためだと思いますが、
>   次の四行目のように /netbsd と手で入力しました。
> 0 > boot fd:0 -
> >> NetBSD/macppc OpenFirmware Boot, Revision 1.1
> >> (tsutsui@lancer, Mon Dec  7 00:15:44 JST 1998)
> Boot: /netbsd
> Booting fd/netbsd

powerpc-ml: 00416 にて
From: tsutsui@ceres.dti.ne.jp (Izumi Tsutsui)
Subject: Re: Compiling mesh.c 
Date: Thu, 10 Dec 1998 00:55:27 +0900
Message-ID: <199812091557.AAA15766@mirage.ceres.dti.ne.jp>

t> なにもしてなくても Boot: のプロンプトが出てくるのでしょうか。
t> printenv boot-file とかで -a とかが設定されてたりしませんか。
t> default では /netbsd で起動するはずなのですが。

僕のところでは次のように設定してあるので、その所為だと思います。
ごめんなさい。(でも -a という文字はありませんね)

boot-device         ata/ata-disk@0:6    /AAPL,ROM
boot-file           /vmlinux-de4x5-fix-MAC root=/dev/hda6 

t> ところで starmax は CD-ROM が atapi 接続だということを
t> 聞いたことがあるんですがどうなんでしょう?

はいその通りだと思います。
IDE, atapi, ata-disk などの区別を知らないのですが、
CD-ROM は IDE につながっています。

t> 今まで wdc で atapi のテストをしたことがないので
t> よかったら atapi 入りの kernel をテストして頂きたいんですが。
t> ついでに de も入れてみましょう。

で、これはうまく行きました。ありがとうございます。
de が動いて、NFS mount も出来ました。これは本当に感激です。
これで何でも写すことが出来ます。

ただ wdc についている IDE disk は見えたのですが、
CD-ROM の方は見えていない気がします...
mount -t hfsf -ro /dev/wdc1 /cdrom とやろうとしたのですが、
次の部分を見て止めました。(何もCD-ROM に関するものが見えて
いませんよね)

wdc0 at obio0 offset 0x20000 irq 13
wd0 at wdc0 channel 0 drive 0: <ST52520A>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 2446MB, 4970 cyl, 16 head, 63 sec, 512 bytes/sect x 5009760 sectors
wd0: drive supports PIO mode 4, DMA mode 2
wdc1 at obio0 offset 0x21000 irq 14
(良く見たら、この辺は 12/09 に報告したものと同じですね)

その辺の様子を全て添付しておきます。
(機種は StarMax 3000/240, Ethernet Sonic (リュード)。
内蔵 CDROM は三菱製 CR-583-C と書いてあります。
---
(藤原)
Open Firmware, 2.0.2
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
 ok
0 > boot fd:0 -
>> NetBSD/macppc OpenFirmware Boot, Revision 1.1
>> (tsutsui@lancer, Mon Dec  7 00:15:44 JST 1998)
Boot: /netbsd
Booting fd/netbsd
2844000@0x100000+145576@0x3b6560 
 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.3I (INSTALL) #13: Thu Dec 10 00:41:36 JST 1998
    tsutsui@lancer:/usr/src/sys/arch/macppc/compile/INSTALL
CPU: 603ev (Revision 201)
real mem  = 100663296
avail mem = 89702400
using 800 buffers containing 3276800 bytes of memory
mainbus0 (root)
cpu0 at mainbus0: L2 cache enabled
pci0 at mainbus0 bus 0
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 11 function 0
pchb0: vendor 0x106b product 0x0001 (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
mesh0 at obio0 offset 0x10000 irq 12: MESH SCSI ID 7
scsibus0 at mesh0: 8 targets
sd0 at scsibus0 targ 4 lun 0: <QUANTUM, LIGHTNING 730S, 241E> SCSI2 0/direct fixed
sd0: 699MB, 3658 cyl, 4 head, 97 sec, 512 bytes/sect x 1431760 sectors
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
wdc0 at obio0 offset 0x20000 irq 13
wd0 at wdc0 channel 0 drive 0: <ST52520A>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 2446MB, 4970 cyl, 16 head, 63 sec, 512 bytes/sect x 5009760 sectors
wd0: drive supports PIO mode 4, DMA mode 2
wdc1 at obio0 offset 0x21000 irq 14
adb0 at obio0 offset 0x16000 irq 18: 2 targets
akbd0 at adb0 addr 2: extended keyboard
wskbd0 at akbd0
ams0 at adb0 addr 3: 1-button, 100 dpi mouse
wsmouse at ams0 not configured
ofb0 at pci0 dev 17 function 0: 1280 x 1024, 8bpp
wsdisplay0 at ofb0
vendor 0x1011 product 0x0021 (PCI bridge, revision 0x01) at pci0 dev 20 function 0 not configured
de0: enabling 10baseT port
wscons: wskbd0 glued to wsdisplay0
md0: internal 1536K image area
boot device: <unknown>
root on md0a dumps on md0b
root file system type: ffs
erase ^H, werase ^W, kill ^U, intr ^C, status ^T
Terminal type? [vt100] sun
Erase is backspace.
# ifconfig de0 210.145.40.124
# ping 210.145.40.114
PING 210.145.40.114 (210.145.40.114): 56 data bytes
64 bytes from 210.145.40.114: icmp_seq=0 ttl=255 time=1.683 ms
64 bytes from 210.145.40.114: icmp_seq=1 ttl=255 time=1.111 ms
^C
----210.145.40.114 PING Statistics----
2 packets transmitted, 2 packets received, 0.0% packet loss
round-trip min/avg/max = 1.111/1.397/1.683 ms
# telnet  210.145.40.124
telnet: not found
# ls 
.profile  dev       kern      mnt2      sysinst   usr
bin       etc       mnt       sbin      tmp       var
# mkdir /nfs
# df . 
Filesystem  512-blocks     Used    Avail Capacity  Mounted on
/dev/md0a         2895     2805       90    96%    /
# mount 210.145.40.120:/home-ftp/pub /nfs
# ls /nfs
.netatalk                 gif                       msdos
...... (omitted)
#