Skip to contentSkip to conversation

ALSA CVS - pcm_oss.c:1872: BUG?

DISCUSSION Parag Warudkar 3 participants 7 messages Apr 14, 2006 – Apr 19, 2006 PowerPC

lore
Share & tools
lore
#0 lore raw

I get the below BUG in dmesg once or twice a day. Running snd_hda_intel on 2.6.16 along with yesterday's ALSA CVS.

Parag

[17197574.124000]  [<f89d8ad3>] snd_pcm_oss_get_active_substream+0x5d/0x7e 
[snd_pcm_oss]
[17197574.124000]  [<f89d9011>] snd_pcm_oss_ioctl+0x346/0x9c9 [snd_pcm_oss]
[17197574.128000]  [<7815ca79>] do_ioctl+0x21/0x5f
[17197574.128000]  [<7815cd07>] vfs_ioctl+0x250/0x263
[17197574.128000]  [<7815cd60>] sys_ioctl+0x46/0x62
[17197574.128000]  [<78102797>] sysenter_past_esp+0x54/0x75
[17197574.128000] ALSA /root/alsa/alsa-driver/acore/oss/pcm_oss.c:1872: BUG? 
(substream != ((void *)0))
[17197574.128000]  [<f89d8376>] snd_pcm_oss_release+0x37/0xda [snd_pcm_oss]
[17197574.128000]  [<7814df15>] __fput+0x86/0x14a
[17197574.128000]  [<7814baaa>] filp_close+0x4e/0x57
[17197574.128000]  [<7814c4a7>] sys_close+0x6b/0x80
[17197574.128000]  [<78102797>] sysenter_past_esp+0x54/0x75
#1 lore raw

At Fri, 14 Apr 2006 17:48:15 -0400,

Quoted 6 lines · Parag Warudkar

I get the below BUG in dmesg once or twice a day. Running snd_hda_intel on 2.6.16 along with yesterday's ALSA CVS.

Parag

Quoted 14 lines
[17197574.124000]  [<f89d8ad3>] snd_pcm_oss_get_active_substream+0x5d/0x7e 
[snd_pcm_oss]
[17197574.124000]  [<f89d9011>] snd_pcm_oss_ioctl+0x346/0x9c9 [snd_pcm_oss]
[17197574.128000]  [<7815ca79>] do_ioctl+0x21/0x5f
[17197574.128000]  [<7815cd07>] vfs_ioctl+0x250/0x263
[17197574.128000]  [<7815cd60>] sys_ioctl+0x46/0x62
[17197574.128000]  [<78102797>] sysenter_past_esp+0x54/0x75
[17197574.128000] ALSA /root/alsa/alsa-driver/acore/oss/pcm_oss.c:1872: BUG? 
(substream != ((void *)0))
[17197574.128000]  [<f89d8376>] snd_pcm_oss_release+0x37/0xda [snd_pcm_oss]
[17197574.128000]  [<7814df15>] __fput+0x86/0x14a
[17197574.128000]  [<7814baaa>] filp_close+0x4e/0x57
[17197574.128000]  [<7814c4a7>] sys_close+0x6b/0x80
[17197574.128000]  [<78102797>] sysenter_past_esp+0x54/0x75

The CVS repository on sourceforge seems not updated for a long time. Please use ALSA-1.0.11rc5 tarball instead.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

#2 lore raw
In reply to Parag Warudkar

At Fri, 14 Apr 2006 17:48:15 -0400,

Quoted 6 lines · Parag Warudkar

I get the below BUG in dmesg once or twice a day. Running snd_hda_intel on 2.6.16 along with yesterday's ALSA CVS.

Parag

Quoted 14 lines
[17197574.124000]  [<f89d8ad3>] snd_pcm_oss_get_active_substream+0x5d/0x7e 
[snd_pcm_oss]
[17197574.124000]  [<f89d9011>] snd_pcm_oss_ioctl+0x346/0x9c9 [snd_pcm_oss]
[17197574.128000]  [<7815ca79>] do_ioctl+0x21/0x5f
[17197574.128000]  [<7815cd07>] vfs_ioctl+0x250/0x263
[17197574.128000]  [<7815cd60>] sys_ioctl+0x46/0x62
[17197574.128000]  [<78102797>] sysenter_past_esp+0x54/0x75
[17197574.128000] ALSA /root/alsa/alsa-driver/acore/oss/pcm_oss.c:1872: BUG? 
(substream != ((void *)0))
[17197574.128000]  [<f89d8376>] snd_pcm_oss_release+0x37/0xda [snd_pcm_oss]
[17197574.128000]  [<7814df15>] __fput+0x86/0x14a
[17197574.128000]  [<7814baaa>] filp_close+0x4e/0x57
[17197574.128000]  [<7814c4a7>] sys_close+0x6b/0x80
[17197574.128000]  [<78102797>] sysenter_past_esp+0x54/0x75

The CVS repository on sourceforge seems not updated for a long time. Please use ALSA-1.0.11rc5 tarball instead.

Takashi

#3 lore raw

up do date repository ?

Quoted 2 lines · On Tue, 18 Apr 2006 12:05:16 +0200 Takashi Iwai <[email protected]> wrote:

The CVS repository on sourceforge seems not updated for a long time. Please use ALSA-1.0.11rc5 tarball instead.

Is there any other up do date public repository ? (snd-powermac of 1.0.11rc5 doesn't compile. Has it already been fixed ?)

--
Giuliano.

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

#4 lore raw

Re: up do date repository ?

At Tue, 18 Apr 2006 21:08:08 +0200,

Quoted 9 lines · Giuliano Pochini
Quoted 2 lines · On Tue, 18 Apr 2006 12:05:16 +0200 Takashi Iwai <[email protected]> wrote:

The CVS repository on sourceforge seems not updated for a long time. Please use ALSA-1.0.11rc5 tarball instead.

Is there any other up do date public repository ? (snd-powermac of 1.0.11rc5 doesn't compile. Has it already been fixed ?)

No change about powermac stuff. Could you post a detail?

thanks,

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

#5 lore raw

Re: up do date repository ?

Quoted 7 lines · On 18-Apr-2006 Takashi Iwai wrote:
Quoted 5 lines
Quoted 2 lines

The CVS repository on sourceforge seems not updated for a long time. Please use ALSA-1.0.11rc5 tarball instead.

Is there any other up do date public repository ? (snd-powermac of 1.0.11rc5 doesn't compile. Has it already been fixed ?)

No change about powermac stuff. Could you post a detail?

I'll send a patch tonight, if I have time. It complained about undefined machine_is IIRC.

--
Giuliano.

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642

#6 lore raw

Re: up do date repository ?

At Wed, 19 Apr 2006 10:43:36 +0200 (CEST),

Quoted 7 lines · Giuliano Pochini
Quoted 3 lines · On 18-Apr-2006 Takashi Iwai wrote:
Quoted 3 lines
Quoted 2 lines

The CVS repository on sourceforge seems not updated for a long time. Please use ALSA-1.0.11rc5 tarball instead.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Is there any other up do date public repository ? (snd-powermac of 1.0.11rc5 doesn't compile. Has it already been fixed ?)

No change about powermac stuff. Could you post a detail?

I'll send a patch tonight, if I have time. It complained about undefined machine_is IIRC.

OK, it hits only 2.6.16 kernel.

How about the patch below?
Unfortunately, it cannot get into 1.0.11 since 1.0.11 tree is already frozen. I'll put it to CVS/Hg if it works.

Takashi

ppc/pmac.c +6 -0
diff -r e96a8c1c69cf ppc/pmac.c
@@ -5,5 +5,11 @@
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16)
 #include "pmac_old.c"
 #else
+#if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,16)
+/* hack for machine_is(powermac) */
+static int _machine_is(void);
+#define machine_is(x)	_machine_is()
+#endif
 #include "../alsa-kernel/ppc/pmac.c"
+static int _machine_is(void) { return _machine == _MACH_Pmac; }
 #endif

-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642