hns - 日記自動生成システム - Version 2.19.9

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

2002年06月15日() 旧暦 [n年日記]

#1 [NetBSD] Tanzania stops at start=0x10000

StarMax も 4400 も条件は同じ。
どちらの機械も、(userland は 1.6_BETA1 だとして) 

kernel が 1.6_BETA1 等の場合
   serial     動く 
   kbd/screen 動かない。 (start=0x10000 で止る)

kernel が椿井版だと、
makoto@ibook:/export/20020526-src-sys/sys/arch/macppc/compile/
   serial     動く 
   kbd/screen 
              segmentation fault の嵐になる

sys/arch/macppc/stand/ofwboot/boot.c から start=0x.. の部分:

296         entry = marks[MARK_ENTRY];
297         ssym = (void *)marks[MARK_SYM];
298         esym = (void *)marks[MARK_END];
299 
300         printf(" start=0x%x\n", entry);
301         __syncicache((void *)entry, (u_int)ssym - (u_int)entry);
302         chain((void *)entry, bootline, ssym, esym);
303 
304         OF_exit();
305 }

__syncicache か chain:

chain の方は sys/arch/macppc/stand/ofwboot/boot.c
118 static void
119 chain(entry, args, ssym, esym)
120         void (*entry)();
121         char *args;
122         void *ssym, *esym;
...
138         OF_chain((void *)RELOC, end - (char *)RELOC, entry, args, l);
この引数の中で(今)使われているのは args, l だけ

OF_chain:

sys/arch/macppc/stand/ofwboot/Locore.c
519 OF_chain(virt, size, entry, arg, len)
520         void *virt;
521         u_int size;
522         void (*entry)();
523         void *arg;
524         u_int len;
525 {
526         /*
527          * This is a REALLY dirty hack till the firmware gets this going
528          */
529 #if 0
530         OF_release(virt, size);
531 #endif
532         entry(0, 0, openfirmware, arg, len);
533 }

この entry は同じ中に asm で書いてある。 最初の boot.c の中に出て来る MARK_SYM MARK_END などは、 sys/lib/libsa/loadfile.h に書いてある。
42 #define MARK_START      0
43 #define MARK_ENTRY      1
44 #define MARK_NSYM       2
45 #define MARK_SYM        3
46 #define MARK_END        4
47 #define MARK_MAX        5

time warp .. 20020310:

/export/20020310/src/tools/obj/tools.NetBSD-1.5ZC-powerpc/bin/powerpc--netbsd-gcc -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Werror -nostdinc -isystem /export/20020310/dest/usr/include -c /export/20020310/src/usr.bin/vmstat/vmstat.c
/export/20020310/src/usr.bin/vmstat/vmstat.c: In function `dopool':
/export/20020310/src/usr.bin/vmstat/vmstat.c:1137: structure has no member named `pr_pagesz'
/export/20020310/src/usr.bin/vmstat/vmstat.c:1141: structure has no member named `pr_pagesz'
*** Error code 1

3467.141u 1488.008s 1:48:10.75 76.3% 0+0k 10499+272669io 6960pf+92w

time warp .. 20020222:

/export/20020222/src/distrib/macppc/floppies/ramdisk/../../../../bin/rcp/../../usr.bin/rlogin/kcmd.c:56: kerberosIV/kparse.h: No such file or directory
nbmkdep: compile failed.
*** Error code 1

20020314 + 20020313:




最近の日記
2024年05月08日
comparison on ./buildsh tools
2024年05月06日
py-setuptools (python 3.11.9)
make release took 1 hours and 10 min
qemu invocation for 10.99.10
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)