通常日記 | 分類別 ABC 順 | 北目式分類 | macppc/ | port-macppc 全文検索 | NetBSD (old) | NetBSD 解説 | PHP+Postgresql | PowerMac7220/4400 雑記帳 | 4400/200

NetBSD/macppc StarMax 専用

macppc の中でも Tanzania 板を使っているものは少し特殊なので、 それに限った記録はこちらに書きます。
(Motorola StarMax, PowerMac 4400 など)
hns - 日記自動生成システム - Version 2.19.9

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

2000年07月22日() [n年日記]

#1 [1.5_ALPHA] 20000620-1.5 for StarMax 3000/200

設置先:

StarMax 300/200, PPC 603e 200MHz, 
Memory 32M
Disk IDE  Seagate ST31276 (1G) wd0
  wd0 at wdc0 channel 0 drive 0: <Seagate Technology 1275MB - ST31276A>
  wd0: drive supports 16-sector pio transfers, lba addressing
  wd0: 1221 MB, 2482 cyl, 16 head, 63 sec, 512 bytes/sect x 2502308 sectors
(SCSI)   
  sd0 at scsibus0 target 5 lun 0: <nEC, DSE2100S, 0306> SCSI2 0/direct fixed
  sd0: 2014 MB, 4092 cyl, 16 head, 63 sec, 512 bytes/sect x 4124736 sectors
とういうものに入れている。

mount_kernfs not compiled in:

floppy で起動すると、次のように言われるのは何だろうか。
root file system type: ffs
erase ^H, werase ^W, kill ^U, intr ^C, status ^T
ramdiskbin: mount_kernfs not compiled in
Usage: ramdiskbin <prog> <args> ..., where <prog> is one of:
 cat chmod chown chgrp chroot cp dd df disklabel dmesg ed fsck fsck_ffs ftp
 gzip gzcat gunzip ifconfig init installboot ln ls mkdir mknod more mount
 mount_cd9660 cd9660 mount_ffs ffs mount_msdos mount_nfs nfs mv newfs mount_mfs
 pax tar ping pwd rcmd rsh rcp reboot halt restore rrestore rm route sed sh -sh
 shutdown slattach stty sync test [ tip tset umount sysinst ramdiskbin
Terminal type? [vt100] 

panic while sysinst ?:

sysinst している間に reboot がかかってしまった気がするが。

real-base を変更する必要がある:

それでも何とか一度は入って、次のように起動すると
0 > boot ata/ata-disk@0:0 
>> NetBSD/macppc OpenFirmware Boot, Revision 1.2
>> (matt@yosemite.local, Wed Jun 21 18:05:29 PDT 2000)
2795912+228424 [100+102208+85859/

また例のやつ。

0 > setenv real-base F00000  ok
0 > reset-all
    ....
0 > boot ata/ata-disk@0:0 
で動く。(と思ったが)

disk error ?:

>> NetBSD/macppc OpenFirmware Boot, Revision 1.2
>> (matt@yosemite.local, Wed Jun 21 18:05:29 PDT 2000)
2795912read text
 DEFAULT CATCH!, code=FFF00400 at   %SRR0: 80800450   %SRR1: 40003070 
 ok
0 > 

(disk の問題かなぁ).... のようなので、別の 外付 SCSI に入れて見る

sysinst の時に disk full ?:

何だか sysinst の最中に uid 0 in /: file system full と言っている 気がするので、 floppy で立上げて mount して見ると、途中だなぁ。
# df -k 
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/md0a        1975     1742      233    88%    /
mfs:11           7911        1     7514     0%    /tmp
/dev/sd0a       32127    21574     8946    70%    /mnt
/dev/sd0g     1834732   108240  1634755     6%    /mnt/usr
#

CDROM から入れているのが原因か ? NFS から入れても同じ:

まさかと思うけれど、CDROM から入れているからか。でも実は 同じ CDROM で G4 には無事入れられている。
一応ということで NFS で入れるが、やはり、途中で落ちてしまう。
192 182 166 150 133 113 90 66 43 15 1 1 1 1 1 1 1 giving up
trap type 700 at affc3c type 800 at ab335c
panic: trap
dumpsys: TBD
rebooting 

手で入れる ?:

disklabel は書いてあるので、CDROM から手で入れて見る
etc, base, kern, comp, games, man, misc, text, xbase, xcomp, xcontrib, xfont, xserver
C=/cdrom/20000620-1.5/binary/sets
export C
tar zxf $C/games.tgz

# tar zxf $C/man.tgz
tar: End of archive volume 1 reached

ATTENTION! tar archive volume change required.
Ready for archive volume: 1
Input archive name or "." to quit tar.
Archive name > (改行)
Segmentation fault - core dumped
# ls
panic: uvm_fault_unwire_locked: address not in map
syncing disks... 8 8 4 done

変々
起動時の表示を残しておく。 これに入れるのはちょっとおあずけ。

2000年07月30日() [n年日記]

#1 [IDE] ATA/66 card

unionbros UBH010:

という板を買って来たが、とりあえず、 ATP860-A と書いてある unionbros UBH010 という板を買って来たが、NetBSD 1.5_ALPHA では、
Acard product 0x0007 (SCSI mass storage, revision 0x01) at pci1 dev 7 function 0 not configured
ということになった。 http://www.linuxhq.com/kernel/v2.3/patch/patch-2.3.99-pre6 の中の linux/Documentation/Configure.help の中には名前が出て来る。
最近 Linux とはめっきり御無沙汰しているが、source はどこから もらって来るのだろうか。 v2.3/patch/patch-2.3.99-pre6/linux_drivers_ide_aec62xx.c.html
http://www.pluto.dti.ne.jp/~sakamoto/topic/STFFAQ.html によれば、 加賀電子 StorageFighter ProMax Tubomax 66 というようなものは全て同じもののよう。 Open Firmware でも見える が、 scsi に見せているようだ。devalias の一部
FF83E420:   /pci-bridge@14
FF83F108:     /pci1011,500a@6
FF83F428:     /ACARD,6260@7
FF841378:       /sd@0,0

QUANTUM FIREBALLlct10 15:

一方
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: 2446 MB, 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
wd1 at wdc1 channel 0 drive 1: <QUANTUM FIREBALLlct10 15>
wd1: drive supports 16-sector pio transfers, lba addressing
wd1: 14324 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 29336832 sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
と出ているうちの二番目も買って来た。

linux-2.2.10, 2.3.99:


2000年07月31日(月) [n年日記]

#1 [ATA/66] ACARD ATP-860

linux/drivers/ide/aec62xx.c
にそのものずばりがあるようだ。 例えば mesh で NetBSD/linux を比較して見ると
makoto@harry ■21:45:23/000731(/home6/src)> grep ^mesh /usr/src-wd0/sys/arch/macppc/dev/mesh.c |sort
mesh_attach(parent, self, aux)
mesh_bus_reset(sc)
mesh_command(sc, scb)
mesh_dataio(sc, scb)
mesh_dma_setup(sc, scb)
mesh_done(sc, scb)
mesh_error(sc, scb, error, exception)
mesh_free_scb(sc, scb)
mesh_get_scb(sc)
mesh_identify(sc, scb)
mesh_intr(arg)
mesh_match(parent, cf, aux)
mesh_minphys(bp)
mesh_msgin(sc, scb)
mesh_msgout(sc, msg)
mesh_poll(sc, xs)
mesh_read_reg(sc, reg)
mesh_reset(sc)
mesh_sched(sc)
mesh_scsi_cmd(xs)
mesh_select(sc, scb)
mesh_sense(sc, scb)
mesh_set_reg(sc, reg, val)
mesh_setsync(sc, ti)
mesh_shutdownhook(arg)
mesh_status(sc, scb)
mesh_stp(sc, v)
mesh_timeout(arg)
makoto@harry ■21:45:56/000731(/home6/src)> grep ^mesh linux/drivers/scsi/mesh.c |sort
mesh_abort(Scsi_Cmnd *cmd)
mesh_command(Scsi_Cmnd *cmd)
mesh_completed(struct mesh_state *ms, Scsi_Cmnd *cmd)
mesh_detect(Scsi_Host_Template *tp)
mesh_done(struct mesh_state *ms, int start_next)
mesh_dump_regs(struct mesh_state *ms)
mesh_init(struct mesh_state *ms)
mesh_interrupt(int irq, void *dev_id, struct pt_regs *ptregs)
mesh_notify_reboot(struct notifier_block *this, unsigned long code, void *x)
mesh_queue(Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *))
mesh_reset(Scsi_Cmnd *cmd, unsigned how)
mesh_start(struct mesh_state *ms)
mesh_start_cmd(struct mesh_state *ms, Scsi_Cmnd *cmd)
makoto@harry ■21:46:02/000731(/home6/src)> 


最近の日記
以上、3 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/03/03)