|
Namazu for hns による簡易全文検索 詳しくは 詳細指定/ヘルプを参照して下さい |
||||||||||||||||||||||||||||||||||||||||||||||||
2004年04月30日(金) 旧暦 [n年日記]#1 [NetBSD][macppc] snapshot 置場を整理
古いもの、次の大きさを見えないところに移動
782368 ftp-hide代りに 1.6ZI macppccd.iso を置く。 source 付なので 400M 越。bin/date (static)付。 OF 3 の機械で起動することは確認。 > boot cd:,ofwboot.elfただし、新しい機械だと、OF は 56.7k なのに console は 38.4k なので、 console に切替った時に速度も変更する必がある。 source 無も作った方がいい気がするが、まあ、使う人はいないでしょう。多分。 0 > boot ata/atapi-disk@0:0 DEFAULT CATCH!, code=FFF00700 at %SRR0: 00004000 %SRR1: 00083070 okがーん。0x1a0 の半分は 0xb0 でなくて 0xd0 だ。 と思ったが、これを直しても同じ。考えると、上の 00004000 は、 bootxx さえも読んでいないということのような。 古い CD-ROM (その場合 0x1b400 -> 0xdc となっている) だと起動するから、どういう間違いかなぁ。 良品 gcc 2.95.3 00002000 39 00 40 00 39 20 00 20 7d 29 03 a6 7c 00 40 ac |9.@.9 . })..|.@.| 00002010 7c 00 47 ac 39 08 00 20 42 00 ff f4 7c 00 04 ac ||.G.9.. B...|...| 00002020 38 00 00 00 7c 1e 83 a6 7c 16 83 a6 4c 00 01 2c |8...|...|...L..,|不良品 gcc 3.3.4 00002000 7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 |.ELF............| 00002010 00 02 00 14 00 00 00 01 00 00 40 00 00 00 00 34 |..........@....4| 00002020 00 00 04 bc 00 00 00 00 00 34 00 20 00 01 00 28 |.........4. ...(| 00002030 00 0c 00 09 00 00 00 01 00 00 00 74 00 00 40 00 |...........t..@.|bootxx の内容が違う ? gcc 3.3.4 の時には、elf でなくて生ね、と言う必要がある ? 実は bootcd/Makefile を(何故か)変更していて、それが良くなかった。 直して 0 > boot ata/atapi-disk@0:0 DEFAULT CATCH!, code=FFF00700 at %SRR0: 00000000 %SRR1: 00083070bootxx の中の、次の行は、普通なら installboot が上書きするが、 (本当 ??) void (*entry_point)(int, int, void *) = (void *)0;CDROM の場合には、これではだめだよな。これで 0000 0000 に飛んでいる。 少し前のだと、次のようにしている。ここに ofwboot を置く。 void (*entry_point)(int, int, void *) = (void *)0x600000; 0 > boot ata/atapi-disk@0:0 DEFAULT CATCH!, code=FFF00300 at %SRR0: 0000400C %SRR1: 00003070のろわれている感じ。 ( つっこみ )
#2 作った CD-ROM から起動した。
前に起動しなかった時は、たまたま読めなかっただけなのかも知れない。
0 > setenv boot-device ata/atapi-disk@0:0 ok 0 > reset-all 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 >> NetBSD/macppc OpenFirmware Boot, Revision 1.5 >> (root@quick.ki.nu, Wed Feb 11 19:02:27 JST 2004) open /netbsd: Device not configured open /netbsd.gz: Device not configured 6206584+270420=0x62d758 start=0x800000 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 The NetBSD Foundation, Inc. All rights reserved. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. @ boot-device に設定しなくても起動:0 > boot ata/atapi-disk@0:0 >> NetBSD/macppc OpenFirmware Boot, Revision 1.5 >> (root@quick.ki.nu, Wed Feb 11 19:02:27 JST 2004) open /netbsd: Device not configured open /netbsd.gz: Device not configured 6206584+270420=0x62d758 @ sysinst partition:
ちょっと違った画面
We now have your BSD-disklabel partitions as: This is your last chance to change them. Start MB End MB Size MB FS type Newfs Mount Mount point --------- --------- --------- ---------- ----- ----- ----------- a: 0 159 160 FFSv1 Yes / b: 160 287 128 swap c: 0 76318 76319 Whole disk d: 288 1288 1000 FFSv1 Yes /usr e: 1289 1388 100 FFSv1 Yes /var f: 1389 76318 74929 FFSv1 Yes /export g: 0 0 0 unused h: Show all unused partitions i: Change input units (sectors/cylinders/MB) >x: Partition sizes okdisklabel: Invalid signature in mbr record 0 @ ぎゃはっ:1081 KB 1.05 MB/s panic: pool_get(buf1k): free list modified: magic=0; page 0xe4d10000; item addr 0xe4d12008いろいろ難関あり: Status: Running Command: /sbin/newfs -O 1 -b 8192 -f 1024 /dev/rwd0e ... /: write failed, file system is full [1] Illegal instruction /sysinst #手で fsck したら正常終了。 ( つっこみ )
|
最近の日記 2025年02月13日 ・dvipdfmx ICC profile format spec. version 4.3.0 2025年01月29日 ・ham/wsjtx 2025年01月27日 ・wip/wsjtx 5.4.2 2025年01月25日 ・ham/wsjtx 2025年01月15日 ・今更 advent calendar | ||