Jack/Natty crashes on "Cannot create thread 1 Operation not permitted" error

Ronan Jouchet ronan at jouchet.fr
Mon Dec 13 17:44:15 GMT 2010


On Mon, Dec 13, 2010 at 12:16 PM, Mike Holstein <mikeh789 at gmail.com> wrote:
> On Mon, Dec 13, 2010 at 11:43 AM, Brian David <beejunk at gmail.com> wrote:
>> On Sun, Dec 12, 2010 at 8:05 PM, Ronan Jouchet <ronan at jouchet.fr> wrote:
>> > On 10-12-12 08:41 PM, Brian David wrote:
>> >> On Sun, Dec 12, 2010 at 4:10 PM, Ronan Jouchet<ronan at jouchet.fr>
>> >>  wrote:
>> >>> Hi,
>> >>>
>> >>> I can't run Jack under Natty, it refuses to start and raises a "Cannot
>> >>> create thread 1 Operation not permitted" error. Full log at
>> >>> http://pastebin.com/B45WFr0F.
>> >>> Help welcome... maybe I just forgot something stupid, maybe this is a
>> >>> real issue.
>> >>>
>> >>> More info:
>> >>>    Realtime setup done at installed time
>> >>>    Realtime setup confirmed via the Ubustu Controls app (user in audio
>> >>> group, memlock, rtprio)
>> >>>    Kernels tested: generic, lowlatency
>> >>>    Tested under normal user account and with sudo
>> >>>    Gear: Edirol FA-66 through a TI PCMCIA card that used to work
>> >>> flawlessly under Lucid and Maverick.
>> >>>    Natty 20101212 x86
>> >>>
>> >>> Thanks for your help,
>> >>>
>> >>> --
>> >>> Ronan
>> >>>
>> >>
>> >> One issue I see right away is that you should not be using Ubuntu
>> >> Studio Controls to adjust the realtime settings.  Unless things have
>> >> changed (perhaps they have), Ubuntu Studio Controls edits
>> >> /etc/security/limits.conf, which is the wrong file.  The file you will
>> >> want to edit is /etc/security/limits.d/audio.conf.  Because you've
>> >> used Ubuntu Studio Controls, there's a chance that you have settings
>> >> in both limits.conf and audio.conf, and this can definitely cause
>> >> issues.
>> >>
>> >> Make sure only one of those files has the realtime settings.  Hope that
>> >> helps!
>> >
>> > Hi Brian,
>> >
>> > Indeed, both files exist and have different settings, I'm having a look
>> > at this.
>> >
>> > Also, adi from #ffado mentioned several points nedding investigation,
>> > I'll test them tomorrow and report here.
>> >
>> > Thanks for the hint!
>> >
>> > Ronan Jouchet
>> >
>>
>> Just to clarify, you will want to remove only the realtime settings in
>> limits.conf, and not the entire file.
>>
>> --
>> -Brian David
>
> JACK runs using the ALSA driver, correct? this problem only happen when
> using the firewire driver... ??

Hi Mike,

Yup JACK is fine through ALSA on my other card (HDA Intel).
This evening I'll test what adi mentioned and increase the verbosity;
I'll be on #ubuntustudio and #ffado.

Thanks for the feedback,

Ronan



More information about the Ubuntu-Studio-devel mailing list