Subject: Re: 5000 kernels broken ?
To: None <port-pmax@NetBSD.org>
From: Toru Nishimura <nisimura@itc.aist-nara.ac.jp>
List: port-pmax
Date: 09/27/1999 10:03:29
> Have anyone rebuilt their kernels for pmax'es (in particular on
> 5000/133's) during this week? 
>
> My machine is currently running a kernel and userland built on sources
> sup'ed on 4 Sep 1999. 
>
> At the beginning of this week and again today, I tried to boot a new
> kernel built on updated sources. The machine hangs solidly after:
>
> ...
> tc0 at mainbus0: 12.5MHz clock
> ioasic0 at tc0 slot 3 offset 0x0
> le0 at ioasic0 offset 0xc0000
>
> Not even the reset button resets the machine -- I have to powercycle
> it to reviv e it. 

I changed dev/tc/if_le_ioasic.c to use bus_dmamem_alloc() for LANCE
buffer.  The code was cut'n/paste from TC Alpha.  Can you back out
changes in pmax/pmax/machdep.c and dev/tc/if_le_ioasic.c, and see the result?

   $NetBSD: if_le_ioasic.c,v 1.13 1999/09/09 06:33:38 nisimura Exp $

Mine seems working fine so far.

  NetBSD 1.4K (IOASIC) #70: Wed Sep 22 16:26:31 JST 1999
    nisimura@maxine:/current/src/sys/arch/pmax/compile/IOASIC
  Personal DECstation 5000/33 (MAXINE)
  total memory = 40960 KB
  ...
  ioasic0 at tc0 slot 3 offset 0x0
  le0 at ioasic0 offset 0xc0000: address 08:00:2b:35:10:49
  le0: 32 receive buffers, 8 transmit buffers
  ...

Tohru Nishimura
Nara Institute of Science and Technology