From owner-freebsd-alpha Tue Mar 28 23:20: 5 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id DEADE37C031 for ; Tue, 28 Mar 2000 23:20:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id XAA02228; Tue, 28 Mar 2000 23:20:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Tue, 28 Mar 2000 23:20:02 -0800 (PST) Message-Id: <200003290720.XAA02228@freefall.freebsd.org> To: freebsd-alpha@freebsd.org Cc: From: Dennis Lindroos Subject: Re: alpha/17637: misconfigured syscons bell causes panic on alpha Reply-To: Dennis Lindroos Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR alpha/17637; it has been noted by GNATS. From: Dennis Lindroos To: Bosko Milekic Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: alpha/17637: misconfigured syscons bell causes panic on alpha Date: Wed, 29 Mar 2000 10:15:35 +0300 (EET DST) Hi On Tue, 28 Mar 2000, Bosko Milekic wrote: > It appears that the alpha's sysbeep() does a TIMER_DIV() on the given > pitch, which could cause problems if the pitch is 0. > Please try the following patch and let me know if it works: > > http://pages.infinit.net/bmilekic/code/diffs/alpha.beep.patch > > > .......................................................................... > Bosko Milekic * bmilekic@dsuper.net * http://pages.infinit.net/bmilekic/ > Montreal, Quebec, Canada. * Technokratis: http://www.technokratis.com/ > Yes. It works, but to turn the bell off completely (without a short tick) i added "if (pitch)" before the "outb(IO_PPI, inb(IO_PPI) | 3);" line. (I know i should use the visual bell instead.. :) Btw. The hardware is an Avanti (AlphaServer 400 4/166). Dennis Lindroos lindroos@nls.fi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message