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

Re: JCC-JP4



>ofnet0 at ofbus1 (DEC,ethernet@4): address 00:a0:27:02:08:14
>trap type 300 at 1c0374
>Stopped in swapper at     0x1c0044:     lwz r0, r1, 0x14,
>db>
>
>ここでとまってしまいます。

# あ、MAC address がマトモだ。

これはきっと↓ですね。
>>ofnet0 at ofbus1 (DEC,ethernet@4): address 00:39:80:00:00:08
>>PowerPC-603e at ofbus0 not configured
>>trap type 300 at 1bfe18
>>Stopped in swapper at     0x1bfae8:     lwz r0, r1, 0x14,
>>db>

>bootpath を渡していませんでした。(あたりまえだ。ofwboot つかってないし。)
>直したら、

*** machdep.c.orig	Mon Jun 19 21:08:59 2000
--- machdep.c	Tue Jun 20 01:43:29 2000
***************
*** 116,121 ****
--- 116,123 ----
  	fake_irq_establish,
  };
  
+ char fake_bootpath[128] = "net -s";
+ 
  void
  initppc(startkernel, endkernel, args)
  	u_int startkernel, endkernel;
***************
*** 250,256 ****
--- 252,260 ----
  	/*
  	 * Parse arg string.
  	 */
+ 	args = fake_bootpath;
  	bootpath = args;
+ 
  	while (*++args && *args != ' ');
  	if (*args) {
  		*args++ = 0;