lkml.org 
[lkml]   [2004]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.7+BK bad: scheduling while atomic! (ALSA?)
    > alsa-space: xrun of at least 30,716 msecs. resetting stream 0,0% 0 0 90%
    > and I haven't yet found the place where to turn on xrun debugging.

    OK, recompiled ALSA with debug on and now I could turn on xrun_debug:

    XRUN: pcmC0D0p
    Stack pointer is garbage, not printing trace
    XRUN: pcmC0D0p
    [<d897472a>] snd_pcm_period_elapsed+0x27a/0x3b0 [snd_pcm]
    [<c0115a87>] __wake_up_common+0x37/0x60
    [<d894a61b>] snd_via82xx_interrupt+0xfb/0x120 [snd_via82xx]
    [<c011fdc9>] update_wall_time+0x9/0x40
    [<c0105f80>] handle_IRQ_event+0x30/0x60
    [<c0106310>] do_IRQ+0xc0/0x1a0
    =======================
    [<c0104834>] common_interrupt+0x18/0x20
    [<c0102053>] default_idle+0x23/0x30
    [<c01020bc>] cpu_idle+0x2c/0x40
    [<c039b73b>] start_kernel+0x14b/0x170
    [<c039b380>] unknown_bootoption+0x0/0x160
    XRUN: pcmC0D0p
    Stack pointer is garbage, not printing trace
    XRUN: pcmC0D0p
    [<d897472a>] snd_pcm_period_elapsed+0x27a/0x3b0 [snd_pcm]
    [<c0115a87>] __wake_up_common+0x37/0x60
    [<d894a61b>] snd_via82xx_interrupt+0xfb/0x120 [snd_via82xx]
    [<c0105f80>] handle_IRQ_event+0x30/0x60
    [<c0106310>] do_IRQ+0xc0/0x1a0
    =======================
    [<c0104834>] common_interrupt+0x18/0x20
    [<c0102053>] default_idle+0x23/0x30
    [<c01020bc>] cpu_idle+0x2c/0x40
    [<c039b73b>] start_kernel+0x14b/0x170
    [<c039b380>] unknown_bootoption+0x0/0x160
    XRUN: pcmC0D0p
    [<d897472a>] snd_pcm_period_elapsed+0x27a/0x3b0 [snd_pcm]
    [<c0115a87>] __wake_up_common+0x37/0x60
    [<d894a61b>] snd_via82xx_interrupt+0xfb/0x120 [snd_via82xx]
    [<c011fdc9>] update_wall_time+0x9/0x40
    [<c0105f80>] handle_IRQ_event+0x30/0x60
    [<c0106310>] do_IRQ+0xc0/0x1a0
    =======================
    [<c0104834>] common_interrupt+0x18/0x20
    [<c0102053>] default_idle+0x23/0x30
    [<c01020bc>] cpu_idle+0x2c/0x40
    [<c039b73b>] start_kernel+0x14b/0x170
    [<c039b380>] unknown_bootoption+0x0/0x160
    XRUN: pcmC0D0p
    [<d897472a>] snd_pcm_period_elapsed+0x27a/0x3b0 [snd_pcm]
    [<c022fd01>] psmouse_interrupt+0x91/0x2c0
    [<c0115a87>] __wake_up_common+0x37/0x60
    [<d894a61b>] snd_via82xx_interrupt+0xfb/0x120 [snd_via82xx]
    [<c011fdc9>] update_wall_time+0x9/0x40
    [<c0105f80>] handle_IRQ_event+0x30/0x60
    [<c0106310>] do_IRQ+0xc0/0x1a0
    =======================
    [<c0104834>] common_interrupt+0x18/0x20
    [<c0102053>] default_idle+0x23/0x30
    [<c01020bc>] cpu_idle+0x2c/0x40
    [<c039b73b>] start_kernel+0x14b/0x170
    [<c039b380>] unknown_bootoption+0x0/0x160
    XRUN: pcmC0D0p
    [<d897472a>] snd_pcm_period_elapsed+0x27a/0x3b0 [snd_pcm]
    [<c0115a87>] __wake_up_common+0x37/0x60
    [<d894a61b>] snd_via82xx_interrupt+0xfb/0x120 [snd_via82xx]
    [<c0105f80>] handle_IRQ_event+0x30/0x60
    [<c0106310>] do_IRQ+0xc0/0x1a0
    =======================
    [<c0104834>] common_interrupt+0x18/0x20
    [<c0102053>] default_idle+0x23/0x30
    [<c01020bc>] cpu_idle+0x2c/0x40
    [<c039b73b>] start_kernel+0x14b/0x170
    [<c039b380>] unknown_bootoption+0x0/0x160

    This was with onboard Via sound. With snd_ens1371 I get only

    XRUN: pcmC0D0p
    Stack pointer is garbage, not printing trace

    on each xrun but xrun happens only once on mplayer startup (but ther is
    still no sound). Alsamixergui aslo still segfaults (with double
    segfault as it actually did before):

    bad: scheduling while atomic!
    [<c02989a3>] schedule+0x463/0x470
    [<c014a984>] vfs_write+0xe4/0x120
    [<c014aa58>] sys_write+0x38/0x60
    [<c0103eee>] work_resched+0x5/0x16
    bad: scheduling while atomic!
    [<c02989a3>] schedule+0x463/0x470
    [<c0113aa4>] do_page_fault+0x104/0x4ff
    [<c023e91f>] __kfree_skb+0xaf/0x140
    [<c011635f>] sys_sched_yield+0x3f/0x50
    [<c0155621>] coredump_wait+0x31/0xa0
    [<c0155783>] do_coredump+0xf3/0x1b1
    [<c01e405c>] pty_write+0x10c/0x110
    [<c0114f5b>] recalc_task_prio+0x8b/0x180
    [<c01139a0>] do_page_fault+0x0/0x4ff
    [<c01048d1>] error_code+0x2d/0x38
    [<c0120ed6>] __dequeue_signal+0xc6/0x160
    [<c0120f93>] dequeue_signal+0x23/0x80
    [<c012284b>] get_signal_to_deliver+0x24b/0x330
    [<c0103c85>] do_signal+0x85/0x100
    [<c012787c>] __kernel_text_address+0x1c/0x30
    [<c0104b03>] print_context_stack+0x23/0x60
    [<c0103eee>] work_resched+0x5/0x16
    [<c0114f5b>] recalc_task_prio+0x8b/0x180
    [<c0104b83>] show_trace+0x43/0x80
    [<c02987b8>] schedule+0x278/0x470
    [<c014a984>] vfs_write+0xe4/0x120
    [<c01139a0>] do_page_fault+0x0/0x4ff
    [<c0103d35>] do_notify_resume+0x35/0x38
    [<c0103f12>] work_notifysig+0x13/0x15
    note: alsamixergui[3345] exited with preempt_count 1
    bad: scheduling while atomic!
    [<c02989a3>] schedule+0x463/0x470
    [<c013c21f>] zap_pmd_range+0x3f/0x60
    [<c0115186>] try_to_wake_up+0x96/0xb0
    [<c013c27d>] unmap_page_range+0x3d/0x70
    [<c013c46e>] unmap_vmas+0x1be/0x1f0
    [<c0140087>] exit_mmap+0x77/0x150
    [<c0116e55>] mmput+0x55/0x70
    [<c011ad23>] do_exit+0x143/0x3e0
    [<c011b052>] do_group_exit+0x32/0xa0
    [<c0122839>] get_signal_to_deliver+0x239/0x330
    [<c0103c85>] do_signal+0x85/0x100
    [<c012787c>] __kernel_text_address+0x1c/0x30
    [<c0104b03>] print_context_stack+0x23/0x60
    [<c0103eee>] work_resched+0x5/0x16
    [<c0114f5b>] recalc_task_prio+0x8b/0x180
    [<c0104b83>] show_trace+0x43/0x80
    [<c02987b8>] schedule+0x278/0x470
    [<c014a984>] vfs_write+0xe4/0x120
    [<c01139a0>] do_page_fault+0x0/0x4ff
    [<c0103d35>] do_notify_resume+0x35/0x38
    [<c0103f12>] work_notifysig+0x13/0x15

    Will try turning off PREEMPT next.

    --
    Meelis Roos

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.028 / U:93.408 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site