linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PCM OSS] via82xx soundcard Oops
@ 2003-10-16  8:31 bert hubert
  2003-10-16  8:44 ` Muli Ben-Yehuda
  0 siblings, 1 reply; 3+ messages in thread
From: bert hubert @ 2003-10-16  8:31 UTC (permalink / raw)
  To: linux-via, linux-kernel

Via82xx soundcard, on running wavesurfer
(http://www.speech.kth.se/wavesurfer/download.html - excellent), I often get
an oops in snd_pcm_format_set_silence, especially with short segments of
sound:

Unable to handle kernel paging request at virtual address e08ca000
 printing eip: e0923dff
*pde = 1fed3067
*pte = 00000000
Oops: 0002 [#1]
CPU:    0
EIP:    0060:[<e0923dff>]    Not tainted
EFLAGS: 00010217
EIP is at snd_pcm_format_set_silence+0x9f/0x1b0 [snd_pcm]
eax: 00000000   ebx: e08c8000   ecx: 000004e2   edx: 0000338a
esi: 00000002   edi: e08ca000   ebp: 000019c5   esp: d4f9df28
ds: 007b   es: 007b   ss: 0068
Process wish8.4 (pid: 10341, threadinfo=d4f9c000 task=c0f1d880)
Stack: 00000002 e09aa589 000019c5 de226000 dfccf080 de018ce0 e09aabd9 00000002 
       e08c8000 000019c5 c44d3180 de018ce0 ddff2a00 c44d3180 e09abfd2 de018ce0 
       40567aa0 c44d3180 dfff41c0 c897ec0c c9c4f380 c015240b c897ec0c c44d3180 
Call Trace:
 [<e09aa589>] snd_pcm_oss_write1+0x39/0x1f0 [snd_pcm_oss]
 [<e09aabd9>] snd_pcm_oss_sync+0x69/0x160 [snd_pcm_oss]
 [<e09abfd2>] snd_pcm_oss_release+0x22/0xb0 [snd_pcm_oss]
 [<c015240b>] __fput+0xeb/0x100
 [<c0150b19>] filp_close+0x59/0x90
 [<c0150ba0>] sys_close+0x50/0x60
 [<c010b18b>] syscall_call+0x7/0xb

I added a printk to snd_pcm_format_set_silence, it outputs the following
during general playback:

printk("format: %d, %d\n", snd_pcm_format_width(format), samples);

format: 16, 432
format: 16, 4864
format: 16, 16
format: 16, 3344
format: 16, 1520

However, here is the entire log of a short transmit:
>Oct 16 10:24:37 desktop kernel: format: 8, 49200
Oct 16 10:24:37 desktop kernel: format: 16, 32768
Oct 16 10:24:37 desktop kernel: format: 16, 4358
Oct 16 10:24:37 desktop kernel: format: 16, 4864
Oct 16 10:24:37 desktop kernel: format: 16, 16
Oct 16 10:24:37 desktop kernel: format: 16, 5216
Oct 16 10:24:37 desktop kernel: format: 16, 16
Oct 16 10:24:37 desktop kernel: format: 16, 5616
Oct 16 10:24:37 desktop kernel: format: 16, 16
Oct 16 10:24:37 desktop kernel: format: 16, 12
Oct 16 10:24:37 desktop kernel: format: 16, 4
Oct 16 10:24:37 desktop kernel: format: 16, 16
Oct 16 10:24:37 desktop last message repeated 5 times
Oct 16 10:24:37 desktop kernel: format: 16, 8
Oct 16 10:24:37 desktop kernel: format: 16, 8
Oct 16 10:24:37 desktop kernel: format: 16, 16
Oct 16 10:24:37 desktop kernel: format: 16, 6676
Oct 16 10:24:37 desktop kernel: Unable to handle kernel paging request
at virtual address e09ae000

Especially the '8' seems interesting. 

Module                  Size  Used by
nls_iso8859_1           3968  0 
snd_pcm_oss            47652  2 
snd_mixer_oss          16896  1 snd_pcm_oss
snd_via82xx            21472  2 
snd_pcm                84132  2 snd_pcm_oss,snd_via82xx
snd_timer              20868  1 snd_pcm
snd_ac97_codec         51588  1 snd_via82xx
snd_page_alloc          9348  2 snd_via82xx,snd_pcm
snd_mpu401_uart         5888  1 snd_via82xx
snd_rawmidi            19488  1 snd_mpu401_uart
snd                    42724  8
snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_pcm,snd_timer,snd_ac97_codec,snd_mpu401_uart,snd_rawmidi

I also have weird other things with this driver, a sudden speedup of
playback for a few seconds, where the sound is interleaved with rasping
noises. This speedup stops after a few seconds, and also if I press pause
and play in xmms.

This speedup almost always happens a few seconds after starting playback of
an mp3 with cmms.

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PCM OSS] via82xx soundcard Oops
  2003-10-16  8:31 [PCM OSS] via82xx soundcard Oops bert hubert
@ 2003-10-16  8:44 ` Muli Ben-Yehuda
  2003-10-16  9:31   ` bert hubert
  0 siblings, 1 reply; 3+ messages in thread
From: Muli Ben-Yehuda @ 2003-10-16  8:44 UTC (permalink / raw)
  To: bert hubert, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 417 bytes --]

On Thu, Oct 16, 2003 at 10:31:03AM +0200, bert hubert wrote:

> Via82xx soundcard, on running wavesurfer
> (http://www.speech.kth.se/wavesurfer/download.html - excellent), I often get
> an oops in snd_pcm_format_set_silence, especially with short segments of
> sound:

Fixed in ALSA CVS and in Linus's bitkeeper tree. Will show up in
-test8. 

Cheers, 
Muli 
-- 
Muli Ben-Yehuda
http://www.mulix.org


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PCM OSS] via82xx soundcard Oops
  2003-10-16  8:44 ` Muli Ben-Yehuda
@ 2003-10-16  9:31   ` bert hubert
  0 siblings, 0 replies; 3+ messages in thread
From: bert hubert @ 2003-10-16  9:31 UTC (permalink / raw)
  To: Muli Ben-Yehuda; +Cc: linux-kernel

On Thu, Oct 16, 2003 at 10:44:05AM +0200, Muli Ben-Yehuda wrote:
> On Thu, Oct 16, 2003 at 10:31:03AM +0200, bert hubert wrote:
> 
> > Via82xx soundcard, on running wavesurfer
> > (http://www.speech.kth.se/wavesurfer/download.html - excellent), I often get
> > an oops in snd_pcm_format_set_silence, especially with short segments of
> > sound:
> 
> Fixed in ALSA CVS and in Linus's bitkeeper tree. Will show up in
> -test8. 

I can confirm that test7-bk7 fixes this problem thanks Muli! 

The weird occasional speedup is still there, trying to figure out what that
might be.

-- 
http://www.PowerDNS.com      Open source, database driven DNS Software 
http://lartc.org           Linux Advanced Routing & Traffic Control HOWTO

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-10-16  9:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-16  8:31 [PCM OSS] via82xx soundcard Oops bert hubert
2003-10-16  8:44 ` Muli Ben-Yehuda
2003-10-16  9:31   ` bert hubert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).