All of lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA - driver 0000367]: alsamixer problems with preempt
@ 2004-07-06  4:24 noreply
  0 siblings, 0 replies; 5+ messages in thread
From: noreply @ 2004-07-06  4:24 UTC (permalink / raw)
  To: alsa-devel


The following bug has been SUBMITTED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000367
======================================================================
Reported By:                Safari
Assigned To:                
======================================================================
Project:                    ALSA - driver
Bug ID:                     367
Category:                   CORE - control
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             2.6.7-bk18 + gcc-3.4.0
======================================================================
Date Submitted:             07-06-2004 06:24 CEST
Last Modified:              07-06-2004 06:24 CEST
======================================================================
Summary:                    alsamixer problems with preempt
Description: 
when I for example mute channels in alsamixer, I get "bad: scheduling while
atomic!".

======================================================================

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-06-04 06:24 Safari         New Bug                                      
07-06-04 06:24 Safari         Kernel Version            => 2.6.7-bk18 +
gcc-3.4.0
======================================================================




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com

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

* [ALSA - driver 0000367]: alsamixer problems with preempt
@ 2004-07-06 11:31 noreply
  0 siblings, 0 replies; 5+ messages in thread
From: noreply @ 2004-07-06 11:31 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000367
======================================================================
Reported By:                Safari
Assigned To:                
======================================================================
Project:                    ALSA - driver
Bug ID:                     367
Category:                   CORE - control
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             2.6.7-bk18 + gcc-3.4.0
======================================================================
Date Submitted:             07-06-2004 06:24 CEST
Last Modified:              07-06-2004 13:31 CEST
======================================================================
Summary:                    alsamixer problems with preempt
Description: 
when I for example mute channels in alsamixer, I get "bad: scheduling while
atomic!".

======================================================================

----------------------------------------------------------------------
 jesse - 07-06-2004 13:31 CEST 
----------------------------------------------------------------------
I got some similar messages here when I try to run xmms with alsa plugin on
2.6.7-bk18.

Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c028a77e>] io_schedule+0xe/0x20
Jul  6 12:05:10 libra kernel: [<c0134f05>] __lock_page+0xb5/0xe0
Jul  6 12:05:10 libra kernel: [<c01356e7>]
do_generic_mapping_read+0x397/0x440
Jul  6 12:05:10 libra kernel: [<c0135a30>]
__generic_file_aio_read+0x1d0/0x200
Jul  6 12:05:10 libra kernel: [<c0135b24>] generic_file_read+0x64/0x80
Jul  6 12:05:10 libra kernel: [<c01528a2>] vfs_read+0xa2/0x100
Jul  6 12:05:10 libra kernel: [<c0152ad5>] sys_read+0x35/0x60
Jul  6 12:05:10 libra kernel: [<c0104e89>] sysenter_past_esp+0x52/0x71
Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c0104f02>] work_resched+0x5/0x16
Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c0104f02>] work_resched+0x5/0x16
Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c0104f02>] work_resched+0x5/0x16

After doing this, I can get rid of this problem...

--- linux/sound/core/control.c.orig     2004-07-06 18:38:55.000000000
+0800
+++ linux/sound/core/control.c  2004-07-06 18:39:30.000000000 +0800
@@ -1114,7 +1114,7 @@ static ssize_t snd_ctl_read(struct file
                        wait_queue_t wait;
                        if ((file->f_flags & O_NONBLOCK) != 0 || result >
0) {
                                err = -EAGAIN;
-                               goto out;
+                               goto __end;
                        }
                        init_waitqueue_entry(&wait, current);
                        add_wait_queue(&ctl->change_sleep, &wait);
@@ -1135,7 +1135,7 @@ static ssize_t snd_ctl_read(struct file
                kfree(kev);
                if (copy_to_user(buffer, &ev, sizeof(snd_ctl_event_t))) {
                        err = -EFAULT;
-                       goto __end;
+                       goto out;
                }
                spin_lock_irq(&ctl->read_lock);
                buffer += sizeof(snd_ctl_event_t);

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-06-04 06:24 Safari         New Bug                                      
07-06-04 06:24 Safari         Kernel Version            => 2.6.7-bk18 +
gcc-3.4.0
07-06-04 13:31 jesse          Bugnote Added: 0001384                       
======================================================================




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com

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

* [ALSA - driver 0000367]: alsamixer problems with preempt
@ 2004-07-06 12:28 noreply
  0 siblings, 0 replies; 5+ messages in thread
From: noreply @ 2004-07-06 12:28 UTC (permalink / raw)
  To: alsa-devel


A BUGNOTE has been added to this bug.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000367
======================================================================
Reported By:                Safari
Assigned To:                
======================================================================
Project:                    ALSA - driver
Bug ID:                     367
Category:                   CORE - control
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               
Kernel Version:             2.6.7-bk18 + gcc-3.4.0
======================================================================
Date Submitted:             07-06-2004 06:24 CEST
Last Modified:              07-06-2004 14:28 CEST
======================================================================
Summary:                    alsamixer problems with preempt
Description: 
when I for example mute channels in alsamixer, I get "bad: scheduling while
atomic!".

======================================================================

----------------------------------------------------------------------
 jesse - 07-06-2004 13:31 CEST 
----------------------------------------------------------------------
I got some similar messages here when I try to run xmms with alsa plugin on
2.6.7-bk18.

Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c028a77e>] io_schedule+0xe/0x20
Jul  6 12:05:10 libra kernel: [<c0134f05>] __lock_page+0xb5/0xe0
Jul  6 12:05:10 libra kernel: [<c01356e7>]
do_generic_mapping_read+0x397/0x440
Jul  6 12:05:10 libra kernel: [<c0135a30>]
__generic_file_aio_read+0x1d0/0x200
Jul  6 12:05:10 libra kernel: [<c0135b24>] generic_file_read+0x64/0x80
Jul  6 12:05:10 libra kernel: [<c01528a2>] vfs_read+0xa2/0x100
Jul  6 12:05:10 libra kernel: [<c0152ad5>] sys_read+0x35/0x60
Jul  6 12:05:10 libra kernel: [<c0104e89>] sysenter_past_esp+0x52/0x71
Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c0104f02>] work_resched+0x5/0x16
Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c0104f02>] work_resched+0x5/0x16
Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c0104f02>] work_resched+0x5/0x16

After doing this, I can get rid of this problem...

--- linux/sound/core/control.c.orig     2004-07-06 18:38:55.000000000
+0800
+++ linux/sound/core/control.c  2004-07-06 18:39:30.000000000 +0800
@@ -1114,7 +1114,7 @@ static ssize_t snd_ctl_read(struct file
                        wait_queue_t wait;
                        if ((file->f_flags & O_NONBLOCK) != 0 || result >
0) {
                                err = -EAGAIN;
-                               goto out;
+                               goto __end;
                        }
                        init_waitqueue_entry(&wait, current);
                        add_wait_queue(&ctl->change_sleep, &wait);
@@ -1135,7 +1135,7 @@ static ssize_t snd_ctl_read(struct file
                kfree(kev);
                if (copy_to_user(buffer, &ev, sizeof(snd_ctl_event_t))) {
                        err = -EFAULT;
-                       goto __end;
+                       goto out;
                }
                spin_lock_irq(&ctl->read_lock);
                buffer += sizeof(snd_ctl_event_t);

----------------------------------------------------------------------
 Safari - 07-06-2004 14:28 CEST 
----------------------------------------------------------------------
yup, after I applied the patch, spinlocks are now correctly handled
and alsamixer does not freak out.   thanks for the patch :)

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-06-04 06:24 Safari         New Bug                                      
07-06-04 06:24 Safari         Kernel Version            => 2.6.7-bk18 +
gcc-3.4.0
07-06-04 13:31 jesse          Bugnote Added: 0001384                       
07-06-04 14:28 Safari         Bugnote Added: 0001385                       
======================================================================




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com

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

* [ALSA - driver 0000367]: alsamixer problems with preempt
@ 2004-07-16 10:08 noreply
  0 siblings, 0 replies; 5+ messages in thread
From: noreply @ 2004-07-16 10:08 UTC (permalink / raw)
  To: alsa-devel


The following bug has been RESOLVED.
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000367
======================================================================
Reported By:                Safari
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Bug ID:                     367
Category:                   CORE - control
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Distribution:               
Kernel Version:             2.6.7-bk18 + gcc-3.4.0
Resolution:                 fixed
======================================================================
Date Submitted:             07-06-2004 06:24 CEST
Last Modified:              07-16-2004 12:08 CEST
======================================================================
Summary:                    alsamixer problems with preempt
Description: 
when I for example mute channels in alsamixer, I get "bad: scheduling while
atomic!".

======================================================================

----------------------------------------------------------------------
 jesse - 07-06-2004 13:31 CEST 
----------------------------------------------------------------------
I got some similar messages here when I try to run xmms with alsa plugin on
2.6.7-bk18.

Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c028a77e>] io_schedule+0xe/0x20
Jul  6 12:05:10 libra kernel: [<c0134f05>] __lock_page+0xb5/0xe0
Jul  6 12:05:10 libra kernel: [<c01356e7>]
do_generic_mapping_read+0x397/0x440
Jul  6 12:05:10 libra kernel: [<c0135a30>]
__generic_file_aio_read+0x1d0/0x200
Jul  6 12:05:10 libra kernel: [<c0135b24>] generic_file_read+0x64/0x80
Jul  6 12:05:10 libra kernel: [<c01528a2>] vfs_read+0xa2/0x100
Jul  6 12:05:10 libra kernel: [<c0152ad5>] sys_read+0x35/0x60
Jul  6 12:05:10 libra kernel: [<c0104e89>] sysenter_past_esp+0x52/0x71
Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c0104f02>] work_resched+0x5/0x16
Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c0104f02>] work_resched+0x5/0x16
Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c0104f02>] work_resched+0x5/0x16

After doing this, I can get rid of this problem...

--- linux/sound/core/control.c.orig     2004-07-06 18:38:55.000000000
+0800
+++ linux/sound/core/control.c  2004-07-06 18:39:30.000000000 +0800
@@ -1114,7 +1114,7 @@ static ssize_t snd_ctl_read(struct file
                        wait_queue_t wait;
                        if ((file->f_flags & O_NONBLOCK) != 0 || result >
0) {
                                err = -EAGAIN;
-                               goto out;
+                               goto __end;
                        }
                        init_waitqueue_entry(&wait, current);
                        add_wait_queue(&ctl->change_sleep, &wait);
@@ -1135,7 +1135,7 @@ static ssize_t snd_ctl_read(struct file
                kfree(kev);
                if (copy_to_user(buffer, &ev, sizeof(snd_ctl_event_t))) {
                        err = -EFAULT;
-                       goto __end;
+                       goto out;
                }
                spin_lock_irq(&ctl->read_lock);
                buffer += sizeof(snd_ctl_event_t);

----------------------------------------------------------------------
 Safari - 07-06-2004 14:28 CEST 
----------------------------------------------------------------------
yup, after I applied the patch, spinlocks are now correctly handled
and alsamixer does not freak out.   thanks for the patch :)

----------------------------------------------------------------------
 tiwai - 07-16-2004 12:08 CEST 
----------------------------------------------------------------------
Should have been fixed on cvs.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-06-04 06:24 Safari         New Bug                                      
07-06-04 06:24 Safari         Kernel Version            => 2.6.7-bk18 + gcc-3.4.0
07-06-04 13:31 jesse          Bugnote Added: 0001384                       
07-06-04 14:28 Safari         Bugnote Added: 0001385                       
07-16-04 12:08 tiwai          Bugnote Added: 0001446                       
07-16-04 12:08 tiwai          Assigned To               => tiwai           
07-16-04 12:08 tiwai          Resolution               open => fixed       
07-16-04 12:08 tiwai          Status                   new => resolved     
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click

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

* [ALSA - driver 0000367]: alsamixer problems with preempt
@ 2004-09-24 11:35 bugtrack
  0 siblings, 0 replies; 5+ messages in thread
From: bugtrack @ 2004-09-24 11:35 UTC (permalink / raw)
  To: alsa-devel


The following bug has been CLOSED
======================================================================
https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000367
======================================================================
Reported By:                Safari
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Bug ID:                     367
Category:                   CORE - control
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Distribution:               
Kernel Version:             2.6.7-bk18 + gcc-3.4.0
======================================================================
Date Submitted:             07-06-2004 06:24 CEST
Last Modified:              09-24-2004 13:35 CEST
======================================================================
Summary:                    alsamixer problems with preempt
Description: 
when I for example mute channels in alsamixer, I get "bad: scheduling while
atomic!".

======================================================================

----------------------------------------------------------------------
 jesse - 07-06-2004 13:31 CEST 
----------------------------------------------------------------------
I got some similar messages here when I try to run xmms with alsa plugin on
2.6.7-bk18.

Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c028a77e>] io_schedule+0xe/0x20
Jul  6 12:05:10 libra kernel: [<c0134f05>] __lock_page+0xb5/0xe0
Jul  6 12:05:10 libra kernel: [<c01356e7>]
do_generic_mapping_read+0x397/0x440
Jul  6 12:05:10 libra kernel: [<c0135a30>]
__generic_file_aio_read+0x1d0/0x200
Jul  6 12:05:10 libra kernel: [<c0135b24>] generic_file_read+0x64/0x80
Jul  6 12:05:10 libra kernel: [<c01528a2>] vfs_read+0xa2/0x100
Jul  6 12:05:10 libra kernel: [<c0152ad5>] sys_read+0x35/0x60
Jul  6 12:05:10 libra kernel: [<c0104e89>] sysenter_past_esp+0x52/0x71
Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c0104f02>] work_resched+0x5/0x16
Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c0104f02>] work_resched+0x5/0x16
Jul  6 12:05:10 libra kernel: [<c0105c77>] dump_stack+0x17/0x20
Jul  6 12:05:10 libra kernel: [<c028a300>] schedule+0x4c0/0x4d0
Jul  6 12:05:10 libra kernel: [<c0104f02>] work_resched+0x5/0x16

After doing this, I can get rid of this problem...

--- linux/sound/core/control.c.orig     2004-07-06 18:38:55.000000000
+0800
+++ linux/sound/core/control.c  2004-07-06 18:39:30.000000000 +0800
@@ -1114,7 +1114,7 @@ static ssize_t snd_ctl_read(struct file
                        wait_queue_t wait;
                        if ((file->f_flags & O_NONBLOCK) != 0 || result >
0) {
                                err = -EAGAIN;
-                               goto out;
+                               goto __end;
                        }
                        init_waitqueue_entry(&wait, current);
                        add_wait_queue(&ctl->change_sleep, &wait);
@@ -1135,7 +1135,7 @@ static ssize_t snd_ctl_read(struct file
                kfree(kev);
                if (copy_to_user(buffer, &ev, sizeof(snd_ctl_event_t))) {
                        err = -EFAULT;
-                       goto __end;
+                       goto out;
                }
                spin_lock_irq(&ctl->read_lock);
                buffer += sizeof(snd_ctl_event_t);

----------------------------------------------------------------------
 Safari - 07-06-2004 14:28 CEST 
----------------------------------------------------------------------
yup, after I applied the patch, spinlocks are now correctly handled
and alsamixer does not freak out.   thanks for the patch :)

----------------------------------------------------------------------
 tiwai - 07-16-2004 12:08 CEST 
----------------------------------------------------------------------
Should have been fixed on cvs.

Bug History
Date Modified  Username       Field                    Change              
======================================================================
07-06-04 06:24 Safari         New Bug                                      
07-06-04 06:24 Safari         Kernel Version            => 2.6.7-bk18 + gcc-3.4.0
07-06-04 13:31 jesse          Bugnote Added: 0001384                       
07-06-04 14:28 Safari         Bugnote Added: 0001385                       
07-16-04 12:08 tiwai          Bugnote Added: 0001446                       
07-16-04 12:08 tiwai          Assigned To               => tiwai           
07-16-04 12:08 tiwai          Resolution               open => fixed       
07-16-04 12:08 tiwai          Status                   new => resolved     
09-24-04 13:35 tiwai          Status                   resolved => closed  
======================================================================


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

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

end of thread, other threads:[~2004-09-24 11:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-06  4:24 [ALSA - driver 0000367]: alsamixer problems with preempt noreply
  -- strict thread matches above, loose matches on Subject: below --
2004-07-06 11:31 noreply
2004-07-06 12:28 noreply
2004-07-16 10:08 noreply
2004-09-24 11:35 bugtrack

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.