Skip to contentSkip to conversation

2.6.0-test1-ac3 snd_usb_audio problem

DISCUSSION Jan Killius 2 participants 2 messages Jul 23, 2003 – Jul 24, 2003

lore
Share & tools
lore
#0 lore raw

Hi,
I have a little problem with the ALSA usb driver it doesn't work. I think it is a general problem with the 2.6 kernel scheduler. However i have attached some dmesg call trace output. This output comes if i try to play a audio file...

Signature · 2 lines
Greets
Jan Killius

bad: scheduling while atomic!

Call Trace:
 [<c01199d9>] schedule+0x3a9/0x3b0
 [<c01251ff>] schedule_timeout+0x5f/0xc0
 [<c0125190>] process_timeout+0x0/0x10
 [<c0260217>] usb_start_wait_urb+0xb7/0x1a0
 [<c0119a40>] default_wake_function+0x0/0x30
 [<c026036b>] usb_internal_control_msg+0x6b/0x80
 [<c0260416>] usb_control_msg+0x96/0xb0
 [<c0260f21>] usb_set_interface+0xc1/0x220
 [<c025f9c0>] hcd_endpoint_disable+0x0/0x1a0
 [<e493843f>] set_format+0xbf/0x2b0 [snd_usb_audio]
 [<e4938694>] snd_usb_pcm_prepare+0x34/0x50 [snd_usb_audio]
 [<e49239b4>] snd_pcm_do_prepare+0x14/0x40 [snd_pcm]
 [<e4922e09>] snd_pcm_action_single+0x39/0x70 [snd_pcm]
 [<e4922f58>] snd_pcm_action_lock_irq+0x98/0xa0 [snd_pcm]
 [<e4923a71>] snd_pcm_prepare+0x61/0x80 [snd_pcm]
 [<e492631e>] snd_pcm_playback_ioctl1+0x5e/0x450 [snd_pcm]
 [<c01250b0>] do_timer+0xe0/0xf0
 [<c0162893>] sys_ioctl+0xf3/0x280
 [<c0118040>] do_page_fault+0x0/0x453
 [<c010918b>] syscall_call+0x7/0xb

bad: scheduling while atomic!

Call Trace:
 [<c01199d9>] schedule+0x3a9/0x3b0
 [<c01251ff>] schedule_timeout+0x5f/0xc0
 [<c0125190>] process_timeout+0x0/0x10
 [<c0260217>] usb_start_wait_urb+0xb7/0x1a0
 [<c0119a40>] default_wake_function+0x0/0x30
 [<c026036b>] usb_internal_control_msg+0x6b/0x80
 [<c0260416>] usb_control_msg+0x96/0xb0
 [<e49382a6>] init_usb_sample_rate+0xb6/0x190 [snd_usb_audio]
 [<c025f9c0>] hcd_endpoint_disable+0x0/0x1a0
 [<e4938505>] set_format+0x185/0x2b0 [snd_usb_audio]
 [<e4938694>] snd_usb_pcm_prepare+0x34/0x50 [snd_usb_audio]
 [<e49239b4>] snd_pcm_do_prepare+0x14/0x40 [snd_pcm]
 [<e4922e09>] snd_pcm_action_single+0x39/0x70 [snd_pcm]
 [<e4922f58>] snd_pcm_action_lock_irq+0x98/0xa0 [snd_pcm]
 [<e4923a71>] snd_pcm_prepare+0x61/0x80 [snd_pcm]
 [<e492631e>] snd_pcm_playback_ioctl1+0x5e/0x450 [snd_pcm]
 [<c01250b0>] do_timer+0xe0/0xf0
 [<c0162893>] sys_ioctl+0xf3/0x280
 [<c0118040>] do_page_fault+0x0/0x453
 [<c010918b>] syscall_call+0x7/0xb

bad: scheduling while atomic!

Call Trace:
 [<c01199d9>] schedule+0x3a9/0x3b0
 [<c01251ff>] schedule_timeout+0x5f/0xc0
 [<c0125190>] process_timeout+0x0/0x10
 [<c0260217>] usb_start_wait_urb+0xb7/0x1a0
 [<c0119a40>] default_wake_function+0x0/0x30
 [<c026036b>] usb_internal_control_msg+0x6b/0x80
 [<c0260416>] usb_control_msg+0x96/0xb0
 [<e4938302>] init_usb_sample_rate+0x112/0x190 [snd_usb_audio]
 [<c025f9c0>] hcd_endpoint_disable+0x0/0x1a0
 [<e4938505>] set_format+0x185/0x2b0 [snd_usb_audio]
 [<e4938694>] snd_usb_pcm_prepare+0x34/0x50 [snd_usb_audio]
 [<e49239b4>] snd_pcm_do_prepare+0x14/0x40 [snd_pcm]
 [<e4922e09>] snd_pcm_action_single+0x39/0x70 [snd_pcm]
 [<e4922f58>] snd_pcm_action_lock_irq+0x98/0xa0 [snd_pcm]
 [<e4923a71>] snd_pcm_prepare+0x61/0x80 [snd_pcm]
 [<e492631e>] snd_pcm_playback_ioctl1+0x5e/0x450 [snd_pcm]
 [<c01250b0>] do_timer+0xe0/0xf0
 [<c0162893>] sys_ioctl+0xf3/0x280
 [<c0118040>] do_page_fault+0x0/0x453
 [<c010918b>] syscall_call+0x7/0xb
#1 lore raw

At Wed, 23 Jul 2003 23:22:18 +0200,

Quoted 6 lines · Jan Killius

Hi,
I have a little problem with the ALSA usb driver it doesn't work. I think it is a general problem with the 2.6 kernel scheduler. However i have attached some dmesg call trace output. This output comes if i try to play a audio file...

this has been already solved in the ALSA cvs tree. i hope Jaroslav will submit the patchset soon later...

Takashi