Subject: Re: port-sun2/32420: NetBSD/sun2 3.0 INSTALL kernel hangs during boot
To: None <port-sun2-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Greg Oster <oster@cs.usask.ca>
List: netbsd-bugs
Date: 04/06/2006 15:05:03
The following reply was made to PR port-sun2/32420; it has been noted by GNATS.

From: Greg Oster <oster@cs.usask.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sun2/32420: NetBSD/sun2 3.0 INSTALL kernel hangs during boot 
Date: Thu, 06 Apr 2006 09:02:31 -0600

 Izumi Tsutsui writes:
 > > BTW, today I've tried 3.0_STABLE, and sun2 INSTALL kernel
 > > no longer hangs. I'll try track which change fixes the problem.
 > > (it looks like malloc(9) issue, but not sure)
 > 
 > Hmm, the following change seems to fixes the problem:
 
 > -	zst->zst_rbuf = malloc(zstty_rbuf_size << 1, M_DEVBUF, M_WAITOK);
 > +	zst->zst_rbuf = malloc(zstty_rbuf_size << 1, M_DEVBUF, M_NOWAIT);
 
 Is the system just running out of kernel memory then?  I'm not sure 
 how much memory a sun2 box can have, but if you bump up the amount of 
 RAM in tme, does the problem go away?  (I dont't think it did for me 
 on sun3..)
 
 Later...
 
 Greg Oster