From owner-freebsd-current Wed Jul 12 10:56: 9 2000 Delivered-To: freebsd-current@freebsd.org Received: from mail1.teleport.com (mail1.teleport.com [192.108.254.26]) by hub.freebsd.org (Postfix) with SMTP id C9D7B37BCD3 for ; Wed, 12 Jul 2000 10:56:00 -0700 (PDT) (envelope-from anholt@teleport.com) Received: (qmail 2605 invoked from network); 12 Jul 2000 17:55:57 -0000 Received: from i48-45-38.pdx.du.teleport.com (HELO ?10.1.1.2?) (216.26.63.230) by mail1.teleport.com with SMTP; 12 Jul 2000 17:55:57 -0000 Mime-Version: 1.0 X-Sender: anholt@mail.teleport.com Message-Id: In-Reply-To: <1637.963396699@axl.ops.uunet.co.za> References: <1637.963396699@axl.ops.uunet.co.za> Date: Tue, 11 Jul 2000 10:54:47 -0700 To: current@freebsd.org From: Eric Anholt Subject: Re: syscons hangs with -current Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm afraid I don't quite understand how that desribes the fix to my problem (Freezing on boot after having probed a non-existant vga1 and sc1). What I did do, I went into sys/dev/fb/vga.c and commented out the second vga head detection. Works beautifully now, though it would be better to actually figure out why it was finding another vga card. Still, it's up and running. Now, if I could just figure out why ppp doesn't work (keeps complaining about "tun0: Warning: Add route failed: 0.0.0.0: errno: Network is unreachable", dials, and then sits and does nothing.) >On Mon, 10 Jul 2000 10:39:44 MST, Eric Anholt wrote: > >> Nope, same old device sc 1. I've tried unmodified GENERIC, and it >> does the same thing. Why am I special? > >I believe that the attached commit message describes the fix to the >problem. However, I'd recommend going all the way to rev 1.10 or >whatever the latest is by the time you get this mail. :-) > >Ciao, >Sheldon. > > >green 2000/07/10 23:47:38 PDT > > Modified files: > sys/dev/randomdev yarrow.c > Log: > One should never allocate 4-kilobyte structs and such on the interrupt > stack. It's bad for your machine's health. > > Make the two huge structs in reseed() static to prevent crashes. This > is the bug that people have been running into and panic()ing on for the > past few days. > > Reviewed by: phk > > Revision Changes Path > 1.8 +7 -3 src/sys/dev/randomdev/yarrow.c -- -- Eric Anholt anholt@teleport.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message