[LAU] Round 2: [was Re: Report: Pulse Audio vs Jack on Fedora 11]

From: Patrick Shirkey <pshirkey@email-addr-hidden>
Date: Thu Aug 06 2009 - 11:52:46 EEST

Round two.

I decide to restart pulse audio pulseaudio - D

Now I get a kernel oops.

Time to reboot.

Kernel failure message 1:
------------[ cut here ]------------
WARNING: at sound/core/pcm_lib.c:1525 snd_pcm_period_elapsed+0x4f/0x2a8
[snd_pcm]() (Tainted: P W )
Hardware name: Compaq Presario CQ40 Notebook PC
BUG? (!(substream) || !(substream)->runtime)
Modules linked in: vmnet ppdev parport_pc parport vsock vmci vmmon
snd_dummy michael_mic arc4 ecb wl(P) lib80211_crypt_tkip lib80211 vfat
fat usb_storage fuse rfcomm sco bridge stp llc bnep l2cap sunrpc
cpufreq_ondemand powernow_k8 freq_table dm_multipath uinput
snd_hda_codec_atihdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec
ata_generic pata_acpi btusb uvcvideo snd_hwdep snd_pcm videodev joydev
v4l1_compat bluetooth v4l2_compat_ioctl32 snd_timer jmb38x_ms snd pcspkr
pata_atiixp soundcore r8169 snd_page_alloc i2c_piix4 video memstick
sdhci_pci sdhci mii mmc_core output wmi radeon drm i2c_algo_bit i2c_core
[last unloaded: vmnet]
Pid: 0, comm: swapper Tainted: P W 2.6.29.6-213.fc11.x86_64 #1
Call Trace:
<IRQ> [<ffffffff8104883f>] warn_slowpath+0xbc/0xf0
  [<ffffffff8104058f>] ? default_wake_function+0x12/0x14
  [<ffffffff8105c8ed>] ? autoremove_wake_function+0x16/0x39
  [<ffffffff81029f7f>] ? default_spin_lock_flags+0x9/0xe
  [<ffffffff813ac07c>] ? _spin_lock_irqsave+0x32/0x3b
  [<ffffffffa017bc17>] snd_pcm_period_elapsed+0x4f/0x2a8 [snd_pcm]
  [<ffffffffa03e92ad>] ? snd_card_dummy_pcm_timer_function+0x0/0x96
[snd_dummy]
  [<ffffffffa03e9332>] snd_card_dummy_pcm_timer_function+0x85/0x96
[snd_dummy]
  [<ffffffff81051e67>] run_timer_softirq+0x19e/0x224
  [<ffffffff81063094>] ? getnstimeofday+0x5f/0xb3
  [<ffffffff8104df6f>] __do_softirq+0x94/0x155
  [<ffffffff8101274c>] call_softirq+0x1c/0x30
  [<ffffffff810138ce>] do_softirq+0x52/0xb9
  [<ffffffff8104db92>] irq_exit+0x53/0x90
  [<ffffffff81022464>] smp_apic_timer_interrupt+0x8e/0xa7
  [<ffffffff81012123>] apic_timer_interrupt+0x13/0x20
<EOI> [<ffffffff81029424>] ? native_safe_halt+0xb/0xd
  [<ffffffff81017d30>] ? default_idle+0x51/0x7c
  [<ffffffff81017e92>] ? c1e_idle+0x124/0x12b
  [<ffffffff810102a1>] ? cpu_idle+0x68/0xb3
  [<ffffffff813a5f21>] ? start_secondary+0x199/0x19e
---[ end trace 402b79ba4387e7da ]---

Kernel failure message 2:
WARNING: at sound/core/pcm_lib.c:1525 snd_pcm_period_elapsed+0x4f/0x2a8
[snd_pcm]() (Tainted: P W )
Hardware name: Compaq Presario CQ40 Notebook PC
BUG? (!(substream) || !(substream)->runtime)
Modules linked in: vmnet ppdev parport_pc parport vsock vmci vmmon
snd_dummy michael_mic arc4 ecb wl(P) lib80211_crypt_tkip lib80211 vfat
fat usb_storage fuse rfcomm sco bridge stp llc bnep l2cap sunrpc
cpufreq_ondemand powernow_k8 freq_table dm_multipath uinput
snd_hda_codec_atihdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec
ata_generic pata_acpi btusb uvcvideo snd_hwdep snd_pcm videodev joydev
v4l1_compat bluetooth v4l2_compat_ioctl32 snd_timer jmb38x_ms snd pcspkr
pata_atiixp soundcore r8169 snd_page_alloc i2c_piix4 video memstick
sdhci_pci sdhci mii mmc_core output wmi radeon drm i2c_algo_bit i2c_core
[last unloaded: vmnet]
Pid: 30047, comm: firefox Tainted: P W 2.6.29.6-213.fc11.x86_64 #1
Call Trace:
<IRQ> [<ffffffff8104883f>] warn_slowpath+0xbc/0xf0
  [<ffffffff8104058f>] ? default_wake_function+0x12/0x14
  [<ffffffff81029f7f>] ? default_spin_lock_flags+0x9/0xe
  [<ffffffff813ac07c>] ? _spin_lock_irqsave+0x32/0x3b
  [<ffffffffa017bc17>] snd_pcm_period_elapsed+0x4f/0x2a8 [snd_pcm]
  [<ffffffffa03e92ad>] ? snd_card_dummy_pcm_timer_function+0x0/0x96
[snd_dummy]
  [<ffffffffa03e9332>] snd_card_dummy_pcm_timer_function+0x85/0x96
[snd_dummy]
  [<ffffffff81051e67>] run_timer_softirq+0x19e/0x224
  [<ffffffff81063094>] ? getnstimeofday+0x5f/0xb3
  [<ffffffff8104df6f>] __do_softirq+0x94/0x155
  [<ffffffff8101274c>] call_softirq+0x1c/0x30
  [<ffffffff810138ce>] do_softirq+0x52/0xb9
  [<ffffffff8104db92>] irq_exit+0x53/0x90
  [<ffffffff81022464>] smp_apic_timer_interrupt+0x8e/0xa7
  [<ffffffff81012123>] apic_timer_interrupt+0x13/0x20
<EOI> <4>---[ end trace 402b79ba4387e7d9 ]---

Kernel failure message 3:
------------[ cut here ]------------
WARNING: at sound/core/pcm_lib.c:1525 snd_pcm_period_elapsed+0x4f/0x2a8
[snd_pcm]() (Tainted: P W )
Hardware name: Compaq Presario CQ40 Notebook PC
BUG? (!(substream) || !(substream)->runtime)
Modules linked in: vmnet ppdev parport_pc parport vsock vmci vmmon
snd_dummy michael_mic arc4 ecb wl(P) lib80211_crypt_tkip lib80211 vfat
fat usb_storage fuse rfcomm sco bridge stp llc bnep l2cap sunrpc
cpufreq_ondemand powernow_k8 freq_table dm_multipath uinput
snd_hda_codec_atihdmi snd_hda_codec_idt snd_hda_intel snd_hda_codec
ata_generic pata_acpi btusb uvcvideo snd_hwdep snd_pcm videodev joydev
v4l1_compat bluetooth v4l2_compat_ioctl32 snd_timer jmb38x_ms snd pcspkr
pata_atiixp soundcore r8169 snd_page_alloc i2c_piix4 video memstick
sdhci_pci sdhci mii mmc_core output wmi radeon drm i2c_algo_bit i2c_core
[last unloaded: vmnet]
Pid: 0, comm: swapper Tainted: P W 2.6.29.6-213.fc11.x86_64 #1
Call Trace:
<IRQ> [<ffffffff8104883f>] warn_slowpath+0xbc/0xf0
  [<ffffffff8104058f>] ? default_wake_function+0x12/0x14
  [<ffffffff8105c8ed>] ? autoremove_wake_function+0x16/0x39
  [<ffffffff81029f7f>] ? default_spin_lock_flags+0x9/0xe
  [<ffffffff813ac07c>] ? _spin_lock_irqsave+0x32/0x3b
  [<ffffffffa017bc17>] snd_pcm_period_elapsed+0x4f/0x2a8 [snd_pcm]
  [<ffffffffa03e92ad>] ? snd_card_dummy_pcm_timer_function+0x0/0x96
[snd_dummy]
  [<ffffffffa03e9332>] snd_card_dummy_pcm_timer_function+0x85/0x96
[snd_dummy]
  [<ffffffff81051e67>] run_timer_softirq+0x19e/0x224
  [<ffffffff81063094>] ? getnstimeofday+0x5f/0xb3
  [<ffffffff8104df6f>] __do_softirq+0x94/0x155
  [<ffffffff8101274c>] call_softirq+0x1c/0x30
  [<ffffffff810138ce>] do_softirq+0x52/0xb9
  [<ffffffff8104db92>] irq_exit+0x53/0x90
  [<ffffffff81022464>] smp_apic_timer_interrupt+0x8e/0xa7
  [<ffffffff81012123>] apic_timer_interrupt+0x13/0x20
<EOI> [<ffffffff81029424>] ? native_safe_halt+0xb/0xd
  [<ffffffff81017d30>] ? default_idle+0x51/0x7c
  [<ffffffff81017e92>] ? c1e_idle+0x124/0x12b
  [<ffffffff810102a1>] ? cpu_idle+0x68/0xb3
  [<ffffffff813a5f21>] ? start_secondary+0x199/0x19e
---[ end trace 402b79ba4387e7bd ]---

Patrick Shirkey
Boost Hardware Ltd

On 08/06/2009 03:16 PM, Patrick Shirkey wrote:
> Hi,
>
> I finally got some time to test out the latest version of Fedora 11 for
> pulse and jack interaction.
>
> I have been wanting to do this for a few weeks as I was told by Lennart
> Pottering that the latest version of pulse-audio has advanced support
> for jack when running with jack2 which has logic for signalling to pulse
> audio that jack is going to start running which makes pulse audio give
> up control of the audio device, wait for jack to start and then
> optionally reconnect to jack. The latter requiring some advanced
> knowledge on connecting pulse audios sinks/sources.
>
> The reason I had to use Fedora 11 and not Fedora 10 is because the
> latest updates to pulse audio cannot be compiled on Fedora 10 due to
> dependencies being out of date. I decided it was easier to update to
> Fedora 11 than compile the entire system myself.
>
> So, I have a working Fedora 11 running nice and stable for several weeks
> now.
>
> My goal is to test out the new logic in jack2 and pulseaudio as a normal
> non technical user would experience things. I know how to make it work
> the hard way but it would be nice for non technical users if someone
> with the knowledge tested at their level and found any bugs that might
> be affecting the user experience.
>
> Pulse is running nicely in the background. I have been using skype for
> the past week to do business calls.
>
> I start jack and jack can't connect to the default audio device. I turn
> off skype. Still can't connect. I kill pulseaudio with pulseaudio - k.
> Still can't connect. I check gnome-volume-control to see if any apps
> are running that I forgot about. Nothing is running. I turn off
> alsamixer and the gnome volume control applet in case they are hogging
> the device for some unknown reason.
>
> I double check that pulse audio is not running by scanning the output of
> ps. I kill it again as root user just to make sure. Both items come up
> with no mention of pulse audio running.
>
> FYI, the version of jack installed from the default Fedora repos is
> 0.116.1. That means it's jack1 not jack2. So no matter what the latest
> hooks for working with pulse audio and jack are not in place on the jack
> side anyway.
>
> But this doesn't matter as I don't have any audio processes running but
> jackd still can't get access to the default device.
>
> My experience leaves a lot to be desired considering that Fedora 11 is
> the latest and greatest version with advanced system config from Lennart
> himself and I still can't do something as simple as start jackd.
>
> I'm not pointing any fingers. But I would like to get to the bottom of
> this usability issue we currently have between pulse audio and jack.
>
>
>
>
> Cheers.
>
>
>
>
>
>
>
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Thu Aug 6 12:15:05 2009

This archive was generated by hypermail 2.1.8 : Thu Aug 06 2009 - 12:15:05 EEST