feedback on 1348 – crosscompile to PPC for IOMega StorCenter

FireFly Media Server Firefly Media Server Forums Firefly Media Server Nightlies Feedback feedback on 1348 – crosscompile to PPC for IOMega StorCenter

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #518
    taboman
    Participant

    Hi Ron,

    first of all, thank you very much for providing this work!

    I have been following the instructions to get my new iomega StorCenter to allow me root/telnet access and installed the mt-daapd server 2.4. Works like a charm on iTunes, but my Roku Soundbridge is of Pinnacle brand and therefor wont touch it.
    So I decided to move to a nightly build. Unfortunately, there was no binary ready for me to use, so I set up a cross compilation suite to do so.

    Works fine so far. Got all needed libraries and was able to fire up the new mt.daapd on the StorCenter.

    One small issue though. When I use SQLITE v2 (2.8.17) I cannot get the server to start. I always get the error message:
    db_sqlite2_open: malformed database schema – unable to open a temporary database file

    No matter what I do.

    So I switched to sqlite 3. Had a few issues at the beginning, but now it seems to run.

    I will give you more feedback after a few days of usage.

    I also added the case_sensitive switch to my config.

    Ron

    #5996
    taboman
    Participant

    Server started fine, scanned all files. Web interface working.

    Can access the server via iTunes. Can play files. cool.

    Can see the server on my pinaccale soundbridge, can connect but then get an error in the log:
    2006-08-18 00:13:46 (00290007): Error: enum_fetch failed (error 1): Misc SQL Error: SQL logic error or missing database
    some of my mt-daapd threads got killed, so I killed the remaining parts also ( could no longer connect to the server).

    When I tried to restart, this is what happens with -d 9:
    /usr/local/sbin # ./mt-daapd -f -d9
    setting dest to 1
    Expanding precomments to 256
    Expanding precomments to 512
    Found 1 tokens in /nethdd/music
    Token 1: /nethdd/music
    Expanding precomments to 1024
    Expanding precomments to 2048
    Found 2 tokens in rsp.so,ssc-script.so
    Token 1: rsp.so
    Token 2: ssc-script.so
    Checking existence of /usr/local/share/mt-daapd/admin-root
    Checking existence of /usr/local/share/mt-daapd/admin-root
    Checking existence of /mnt/db
    Checking existence of /mnt/db
    Checking existence of /usr/local/share/mt-daapd/plugins
    Checking existence of /usr/local/share/mt-daapd/plugins
    Loading new config file.
    setting dest to 5
    Starting with debuglevel 9
    Attempting to load plugin /usr/local/share/mt-daapd/plugins/rsp.so
    Loaded plugin /usr/local/share/mt-daapd/plugins/rsp.so (rsp/svn-1348)
    New transcode codec list:
    Attempting to load plugin /usr/local/share/mt-daapd/plugins/ssc-script.so
    Loaded plugin /usr/local/share/mt-daapd/plugins/ssc-script.so (ssc-script/svn-1348)
    New transcode codec list: ogg,flac,alac
    Starting rendezvous daemon
    get_ifi_info
    intf name=lo AF=2, flags=00000002
    intf name=eth0 AF=2, flags=00000002
    SetupInterfaceList
    mDNS_RegisterInterface: InterfaceID 100D0CF8 192.168.0.2 not represented in list; marking active and retriggering queries
    Adding 100D0D08 fgrbhd01.local. (Addr) to active record list
    Adding 100D0FB4 2.0.168.192.in-addr.arpa. (PTR) to active record list
    Not creating HINFO record: platform support layer provided no information
    SetupOneInterface: eth0 192.168.0.2 Registered
    Starting signal handler
    Signal handler started
    select(7, 0.000976)
    mDNS_Execute
    select(7, 0.231445)
    Opening database
    Executing: select value from config where term=’version’
    Results: 0
    Initializing database
    Executing: select count(*) FROM songs
    mDNS_Execute
    SendQueries: Put Question fgrbhd01.local. (Addr) probecount 2
    SendQueries: Sending 1 Question 0 Answers 1 Update on 100D0CF8
    select(7, 0.099609)
    SocketDataReady got a packet from 192.168.0.2 to 224.0.0.251 on interface 192.168.0.2/eth0/2
    Received Query from 192.168.0.2 :5353 to 224.0.0.251 :5353 on 0x100D0CF8 with 1 Question, 0 Answers, 1 Authority, 0 Additionals
    select(7, 0.098632)
    Executing: select value from config where term=’rescan’
    Executing: vacuum
    mDNS_Execute
    select(7, 0.148437)
    Query: vacuum
    Error: unable to open database file
    Aborting
    Processing rendezvous message
    Rendezvous socket closed (daap server crashed?) Aborting.
    Aborting
    /usr/local/sbin #

    I can delete the DB and let it rebuild, but it happens everytime I stop and restart mt-daapd.

    What can I do to narrow it down?

    Thanks!

    Ron

    #5997
    rpedde
    Participant

    @taboman wrote:

    What can I do to narrow it down?

    Both the sqlite and sqlite2 problems sound like non-writeable database directory, or non-writable /tmp directory.

    Check permissions such that the “runas” user has write access to both /tmp as well as the whole directory specified as the “db_parms” for the database. Check the db file itself, too.

    — Ron

    #5998
    taboman
    Participant

    Makes a lot of sence …

    I checked /mnt/db and it is owned by nobody with rwx rights. Fine.

    But /tmp was only a symbolic link to /var/tmp, which was owned by root with o=rx rights .,, doh!

    Fixed that and now it runs.

    Cool.

    Thanks!

    Now lets see if my Soundbridge likes it 😉

    Ron

    #5999
    grouper
    Participant

    Hi there,

    I am running a comparable configuration, but instead of a Iomega I have a DSM-G600 from Dlink. This little thingy runs on PPC603e, do you think your crosscompiled mt-daapd works along with it?

    Or can you give me some hints how you managed to crosscompile a nightly?

    Thanks in advance,Grouper

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Nightlies Feedback’ is closed to new topics and replies.