On Fri, 30 Dec 2005 15:17:04 +0000 GMT
"Chris Cannam" <chris.cannam(a)ferventsoftware.com> wrote:
- ALSA sequencer can sync to RTC, but the
associated module (snd-rtctimer) appears to hang
some kernels solid when loaded or used. I don't have
much information about that, but I can probably find
out some more.
Yeah, i got a nice and juicy BUG in it (see below). So this is what
kills rosegarden regularly here when run with RTC timing source. I'm not
sure this is ALSA's fault, though, might be the -rt kernel, too. But
nonetheless after this happens rosegarden is hung and syslog tells me
"rtc: lost some interrupts at 1024hz" over and over until infinity (or
reboot):
Dec 30 17:30:27 mango kernel: BUG at include/linux/timer.h:83!
Dec 30 17:30:27 mango kernel: ------------[ cut here ]------------
Dec 30 17:30:27 mango kernel: kernel BUG at include/linux/timer.h:83!
Dec 30 17:30:27 mango kernel: invalid operand: 0000 [#1]
Dec 30 17:30:27 mango kernel: PREEMPT
Dec 30 17:30:27 mango kernel: Modules linked in: snd_rtctimer snd_seq_dummy snd_seq_oss
snd_seq_midi snd_seq_midi_event snd_seq realtime iptable_nat ipt_addrtype ipt_state
iptable_filter agpgart snd_intel8x0 usb_storage scsi_mod ohci_hcd usbcore ipt_MASQUERADE
ip_nat ip_tables ip_conntrack snd_ice1712 snd_ice17xx_ak4xxx snd_ak4xxx_adda snd_cs8427
snd_i2c snd_mpu401_uart bsd_comp ppp_deflate zlib_deflate ppp_async ppp_generic slhc
crc_ccitt sis900 mii crc32 snd_cs46xx gameport snd_rawmidi snd_seq_device snd_ac97_codec
snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc
Dec 30 17:30:27 mango kernel: CPU: 0
Dec 30 17:30:27 mango kernel: EIP: 0060:[<c0238311>] Not tainted VLI
Dec 30 17:30:27 mango kernel: EFLAGS: 00210296 (2.6.15-rc7-rt1)
Dec 30 17:30:27 mango kernel: EIP is at rtc_do_ioctl+0x9c1/0xa00
Dec 30 17:30:27 mango kernel: eax: 00000024 ebx: 00000001 ecx: 00200246 edx:
00000001
Dec 30 17:30:27 mango kernel: esi: 00200202 edi: 00821192 ebp: d680ea40 esp:
e45e1d94
Dec 30 17:30:27 mango kernel: ds: 007b es: 007b ss: 0068 preempt: 00000001
Dec 30 17:30:27 mango kernel: Process rosegardenseque (pid: 6134, threadinfo=e45e0000
task=dcad58c0 stack_left=7520 worst_left=-1)
Dec 30 17:30:27 mango kernel: Stack: c02e8de1 c02ed6bf 00000053 22222222 22222222 22222222
22222222 22222222
Dec 30 17:30:27 mango kernel: 22222222 22222222 c0331b20 e45e0000 e45e0000 c013953a
e45e0000 00000001
Dec 30 17:30:27 mango kernel: 00200246 00200246 00000000 d680ea40 c02dda53 c0331b20
00007005 f09f7e44
Dec 30 17:30:27 mango kernel: Call Trace:
Dec 30 17:30:27 mango kernel: [<c013953a>] sub_preempt_count+0x1a/0x20 (56)
Dec 30 17:30:27 mango kernel: [<c02dda53>] _spin_lock_irqsave+0x23/0x60 (28)
Dec 30 17:30:27 mango kernel: [<f09f70a3>] rtctimer_start+0x43/0x70 [snd_rtctimer]
(40)
Dec 30 17:30:27 mango kernel: [<f081da09>] snd_timer_start1+0x89/0xa0 [snd_timer]
(20)
Dec 30 17:30:27 mango kernel: [<f081db2f>] snd_timer_start+0xaf/0xe0 [snd_timer]
(16)
Dec 30 17:30:27 mango kernel: [<f09e9f61>] snd_seq_timer_continue+0x41/0x70
[snd_seq] (36)
Dec 30 17:30:27 mango kernel: [<f09e8664>] snd_seq_queue_process_event+0x144/0x160
[snd_seq] (16)
Dec 30 17:30:27 mango kernel: [<f09e86d7>] snd_seq_control_queue+0x57/0xb0
[snd_seq] (32)
Dec 30 17:30:27 mango kernel: [<f09e3cf1>] snd_seq_deliver_single_event+0x181/0x190
[snd_seq] (28)
Dec 30 17:30:27 mango kernel: [<f09e3f02>] snd_seq_deliver_event+0x42/0xa0
[snd_seq] (52)
Dec 30 17:30:27 mango kernel: [<f09e41a1>] snd_seq_client_enqueue_event+0x91/0x160
[snd_seq] (28)
Dec 30 17:30:27 mango kernel: [<f09e444b>] snd_seq_write+0x16b/0x200 [snd_seq]
(44)
Dec 30 17:30:27 mango kernel: [<c0164eb5>] vfs_write+0xd5/0x1b0 (80)
Dec 30 17:30:27 mango kernel: [<c016505b>] sys_write+0x4b/0x80 (36)
Dec 30 17:30:27 mango kernel: [<c0102e71>] syscall_call+0x7/0xb (40)
Dec 30 17:30:27 mango kernel: ---------------------------
Dec 30 17:30:27 mango kernel: | preempt count: 00000001 ]
Dec 30 17:30:27 mango kernel: | 1-level deep critical section nesting:
Dec 30 17:30:27 mango kernel: ----------------------------------------
Dec 30 17:30:27 mango kernel: .. [<c013948a>] .... add_preempt_count+0x1a/0x20
Dec 30 17:30:27 mango kernel: .....[<00000000>] .. ( <=
_stext+0x3feffde0/0x60)
Dec 30 17:30:27 mango kernel:
Dec 30 17:30:27 mango kernel: ------------------------------
Dec 30 17:30:27 mango kernel: | showing all locks held by: | (rosegardenseque/6134
[dcad58c0, 1]):
Dec 30 17:30:27 mango kernel: ------------------------------
Dec 30 17:30:27 mango kernel:
Dec 30 17:30:27 mango kernel: #001: [e1d2d4e8] {&timer->lock}
Dec 30 17:30:27 mango kernel: ... acquired at: snd_timer_start+0x8e/0xe0
[snd_timer]
Dec 30 17:30:27 mango kernel:
--
Palimm Palimm!
http://tapas.affenbande.org