#196 Crashes on start

1.0.x
open
None
5
2010-07-18
2010-07-14
No

$ muse
Denormal protection enabled.
Muse: __i386__ or __x86_64__ defined. Using optimized float buffer copying (asm movsl).
Muse: using unoptimized non-SSE dsp routines
Enhanced3DNow! detected
SSE2 detected
no locale <muse_en_US.UTF-8>/</usr/share/muse/locale>
Trying RTC timer...
fatal error: open /dev/rtc failed: Permission denied
hint: check if 'rtc' kernel module is loaded, or used by something else
Trying ALSA timer...
AlsaTimer::initTimer(): timer open -2 (No such file or directory)
muse: timer.c:548: snd_timer_info: Assertion `timer' failed.
Aborted

Discussion

  • Anonymous - 2010-07-14

    Using Ubuntu 10.04 with jackd running.

     
  • Robert Jonsson

    Robert Jonsson - 2010-07-14

    Thanks for the report, I have a todo item to change the timer handling somewhat. Especially if people are affected in this way if the selected timer does not work.

     
  • Robert Jonsson

    Robert Jonsson - 2010-07-15
    • assigned_to: nobody --> spamatica
     
  • Robert Jonsson

    Robert Jonsson - 2010-07-18

    There are two errors here that can solve this.
    First the RTC timer is not accessible by your user.
    Try changing the permissions for /dev/rtc such that muse is allowed read/write access.
    This alone should allow muse to start.

    Secondly the alsa-timer does not initialize. Check that you have a file /dev/snd/timer and that the module snd-timer is loaded (check with lsmod)
    I am guessing that it is not loaded, try loading it with modprobe snd-timer

    I have added some code to MusE to give a clearer error report.

     
  • Robert Jonsson

    Robert Jonsson - 2010-07-18
    • status: open --> pending
     
  • Anonymous - 2010-07-18

    initially I checked on /dev/rtc

    lrwxrwxrwx 1 root root 4 2010-07-10 03:29 rtc -> rtc0
    crw-rw---- 1 root root 254, 0 2010-07-10 03:29 rtc0

    So I chmodded it to 777

    lrwxrwxrwx 1 root root 4 2010-07-10 03:29 rtc -> rtc0
    crwxrwxrwx 1 root root 254, 0 2010-07-10 03:29 rtc0

    Then tried running muse again:

    $ muse
    Denormal protection enabled.
    Muse: __i386__ or __x86_64__ defined. Using optimized float buffer copying (asm movsl).
    Muse: using unoptimized non-SSE dsp routines
    Enhanced3DNow! detected
    SSE2 detected
    no locale <muse_en_US.UTF-8>/</usr/share/muse/locale>
    Trying RTC timer...
    RtcTimer::setTimerFreq(): cannot set tick on /dev/rtc: Permission denied
    precise timer not available
    Trying ALSA timer...
    AlsaTimer::initTimer(): timer open -2 (No such file or directory)
    muse: timer.c:548: snd_timer_info: Assertion `timer' failed.
    Aborted

    Then I tried adding rtc to the audio group:

    lrwxrwxrwx 1 root root 4 2010-07-10 03:29 rtc -> rtc0
    crwxrwxrwx 1 root audio 254, 0 2010-07-10 03:29 rtc0

    and running it again:

    $ muse
    Denormal protection enabled.
    Muse: __i386__ or __x86_64__ defined. Using optimized float buffer copying (asm movsl).
    Muse: using unoptimized non-SSE dsp routines
    Enhanced3DNow! detected
    SSE2 detected
    no locale <muse_en_US.UTF-8>/</usr/share/muse/locale>
    Trying RTC timer...
    RtcTimer::setTimerFreq(): cannot set tick on /dev/rtc: Permission denied
    precise timer not available
    Trying ALSA timer...
    AlsaTimer::initTimer(): timer open -2 (No such file or directory)
    muse: timer.c:548: snd_timer_info: Assertion `timer' failed.
    Aborted

    Then I checked on your second one, alsa-timer

    $ ls -la /dev/snd/timer
    crw-rw----+ 1 root audio 116, 2 2010-07-10 03:29 /dev/snd/timer

    It appears I had it.

    Then I made sure it was loaded:

    $ modprobe -v snd-timer
    $ modprobe -c | grep -i alsa
    # Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
    install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
    options cx88_alsa index=-2
    options saa7134-alsa index=-2
    alias salsa20-asm salsa20_x86_64
    alias salsa20 salsa20_x86_64
    alias salsa20 salsa20_generic
    alias pci:v000014F1d00008811sv*sd*bc*sc*i* cx88_alsa
    alias pci:v000014F1d00008801sv*sd*bc*sc*i* cx88_alsa

    and tried running muse again and got the same deal:

    $ muse
    Denormal protection enabled.
    Muse: __i386__ or __x86_64__ defined. Using optimized float buffer copying (asm movsl).
    Muse: using unoptimized non-SSE dsp routines
    Enhanced3DNow! detected
    SSE2 detected
    no locale <muse_en_US.UTF-8>/</usr/share/muse/locale>
    Trying RTC timer...
    RtcTimer::setTimerFreq(): cannot set tick on /dev/rtc: Permission denied
    precise timer not available
    Trying ALSA timer...
    AlsaTimer::initTimer(): timer open -2 (No such file or directory)
    muse: timer.c:548: snd_timer_info: Assertion `timer' failed.
    Aborted

     
  • Anonymous - 2010-07-18
    • status: pending --> open
     
  • Robert Jonsson

    Robert Jonsson - 2010-07-19

    hello again, and thanks for very clear testing.

    Though I'll be darned if I understand what is wrong.
    What system are you on? what kernel? what soundcard?

     
  • Anonymous - 2010-07-19

    Kubuntu Lucid 10.04
    using the RT kernel >>

    $ uname -a
    Linux tellatran1 2.6.31-11-rt #154-Ubuntu SMP PREEMPT RT Wed Jun 9 13:40:34 UTC 2010 x86_64 GNU/Linux

    and I have a Native Instruments Audio8 DJ 8 channel soundcard with jack attached.

    I guess I could see if I can get muse running when jack is not running, jack ties up the soundcard and doesn't allow any alsa clients when its in use. I should have thought to try this earlier, I'll give it a go when I get home from work :)

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks