| Summary: | misconfigured syscons bell causes panic on alpha | ||
|---|---|---|---|
| Product: | Base System | Reporter: | lindroos <lindroos> |
| Component: | alpha | Assignee: | bill fumerola <billf> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.0-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
lindroos
2000-03-28 13:40:00 UTC
Hi, 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/ 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 Responsible Changed From-To: freebsd-alpha->billf I'm working on this and as soon as I can get a kernel to compile on beast, I'll commit it. State Changed From-To: open->suspended Committed to HEAD, I'll wait a few days and merge this down. > State-Changed-From-To: open->suspended > State-Changed-By: billf > State-Changed-When: Thu Mar 30 15:05:11 PST 2000 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > State-Changed-Why: > Committed to HEAD, I'll wait a few days and merge this down. ^^^^^^^^^^ Hmm, I think a few days have passed... :-) How about closing this PR know? Gerald -- Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/ State Changed From-To: suspended->closed Problem was fixed long ago, so let us also close the PR.. ---------------------------- revision 1.15 date: 2000/03/30 22:39:48; author: billf; state: Exp; lines: +5 -3 Avoid dividing by zero when beeping with a zero pitch. This was bad. PR: alpha/17637 Submitted by: Bosko Milekic <bmilekic@dsuper.net> Reported by: Dennis Lindroos <lindroos@nls.fi> State Changed From-To: closed->open Re-open PR. The patch was indeed applied to the source but there are several people (billf, bde) that don't like the patch as such (not clean, etc). Responsible Changed From-To: billf->bmilekic maybe bosko wants to look at this. State Changed From-To: open->closed reopen if the issue comes up again Responsible Changed From-To: bmilekic->billf reopen if the issue comes up again |