Red Hat Bugzilla – Bug 112569
hard lockup in via82cxxx_audio.c
Last modified: 2007-04-18 13:00:47 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5)
Description of problem:
I experienced frequent hard lock ups in Gnome whenever using
find-ahead-type in Mozilla Firebird and when logging out.
This likely seems to be related to 76603 or 80968.
It seems to be a problem with via82cxxx_audio.c.
Both Gnome and the find-ahead-type feature in Firebird make use of esound.
Esound, upon startup, opens /dev/dsp, performs the usual OSS
initializations with SNDCTL_DSP_SETFRAGMENT and SNDCTL_DSP_SETFMT etc,
and then writes a NULL buffer with 0 bytes (for whatever reason; not
being an OSS expert, I can't say why it might be necessary) and then
performs a SNDCTL_DSP_POST.
It appears that the sequence of actions in the attached test case can
cause a lockup in via82cxxx_audio.c if it occurs immediately after
Modifying via82cxxx_audio.c as in the attachment seemed to fix the
problem for me. I don't claim that this is the "right" fix, but
perhaps it will help whoever looks at this. Possibly the hardware
does not like putting VIA_EOL | VIA_STOP on zero length fragments
immediately after bootup, or possibly the hardware is not fully
initialized -- I cannot say.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Logout from Gnome or type URL into Mozilla Firebird with
Actual Results: Hard lockup. No system response. Have to reboot
with power switch.
Expected Results: No hard lockup.
Created attachment 96676 [details]
Created attachment 96677 [details]
This seems to fix via82cxxx_audio.c on my machine.
Not suggesting this is the "right" fix. But perhaps it will help whoever looks
at the problem.
Thanks for the bug report. However, Red Hat no longer maintains this version of
the product. Please upgrade to the latest version and open a new bug if the problem
The Fedora Legacy project (http://fedoralegacy.org/) maintains some older releases,
and if you believe this bug is interesting to them, please report the problem in
the bug tracker at: http://bugzilla.fedora.us/