xbianonpi / xbian

XBMC on Raspberry Pi, Bleeding Edge
https://xbian.org
GNU General Public License v3.0
294 stars 44 forks source link

storageclient #638

Closed davidhuser closed 9 years ago

davidhuser commented 10 years ago

Does the storageclient (stamp@23:55:48) server crash the raspberry pi (not available for ssh etc., needs to be taken away from power source)?

xbian@xbian ~/.xbmc/temp $ cat xbmc.log
23:55:00 T:3038113792  NOTICE: special://profile/ is mapped to: special://masterprofile/
23:55:00 T:3038113792  NOTICE: -----------------------------------------------------------------------
23:55:00 T:3038113792  NOTICE: Starting XBMC (13.2 Git:20140828-c01b586). Platform: ARM Linux 32-bit
23:55:00 T:3038113792  NOTICE: Using Release XBMC x32 build, compiled Aug 28 2014 by GCC 4.6.3 for ARM Linux 32-bit 3.10.30
23:55:00 T:3038113792  NOTICE: Running on Linux 32-bit (XBian 1.0 (knockout), 3.15.8+ armv6l)
23:55:00 T:3038113792  NOTICE: Host CPU: ARMv6-compatible processor rev 7 (v6l), 1 core available
23:55:00 T:3038113792  NOTICE: ARM Features: Neon disabled
23:55:00 T:3038113792  NOTICE: special://xbmc/ is mapped to: /usr/local/share/xbmc
23:55:00 T:3038113792  NOTICE: special://xbmcbin/ is mapped to: /usr/local/lib/xbmc
23:55:00 T:3038113792  NOTICE: special://masterprofile/ is mapped to: /home/xbian/.xbmc/userdata
23:55:00 T:3038113792  NOTICE: special://home/ is mapped to: /home/xbian/.xbmc
23:55:00 T:3038113792  NOTICE: special://temp/ is mapped to: /home/xbian/.xbmc/temp
23:55:00 T:3038113792  NOTICE: The executable running is: /usr/local/lib/xbmc/xbmc.bin
23:55:00 T:3038113792  NOTICE: Local hostname: xbian.private
23:55:00 T:3038113792  NOTICE: Log File is located: /home/xbian/.xbmc/temp/xbmc.log
23:55:00 T:3038113792  NOTICE: -----------------------------------------------------------------------
23:55:01 T:3038113792  NOTICE: load settings...
23:55:01 T:3038113792  NOTICE: Found 1 Lists of Devices
23:55:01 T:3038113792  NOTICE: Enumerated PI devices:
23:55:01 T:3038113792  NOTICE:     Device 1
23:55:01 T:3038113792  NOTICE:         m_deviceName      : HDMI
23:55:01 T:3038113792  NOTICE:         m_displayName     : HDMI
23:55:01 T:3038113792  NOTICE:         m_displayNameExtra:
23:55:01 T:3038113792  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
23:55:01 T:3038113792  NOTICE:         m_channels        : FL,FR
23:55:01 T:3038113792  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,41400,48000,88200,96000,176400,192000
23:55:01 T:3038113792  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3
23:55:01 T:3038113792  NOTICE:     Device 2
23:55:01 T:3038113792  NOTICE:         m_deviceName      : Analogue
23:55:01 T:3038113792  NOTICE:         m_displayName     : Analogue
23:55:01 T:3038113792  NOTICE:         m_displayNameExtra:
23:55:01 T:3038113792  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
23:55:01 T:3038113792  NOTICE:         m_channels        : FL,FR
23:55:01 T:3038113792  NOTICE:         m_sampleRates     : 48000
23:55:01 T:3038113792  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE
23:55:01 T:3038113792  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
23:55:01 T:3038113792  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
                                            <?xml version="1.0" encoding="UTF-8" ?>
                                            <advancedsettings>
                                              <video>
                                                <defaultplayer>omxplayer</defaultplayer>
                                                <defaultdvdplayer>omxplayer</defaultdvdplayer>
                                              </video>
                                            </advancedsettings>
23:55:02 T:3038113792  NOTICE: Loaded settings file from special://profile/advancedsettings.xml
23:55:02 T:3038113792  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <network>
                                                <readbufferfactor>4.0</readbufferfactor>
                                              </network>
                                              <samba>
                                                <clienttimeout>10</clienttimeout>
                                              </samba>
                                              <fanartres>720</fanartres>
                                              <imageres>540</imageres>
                                              <fullscreen>true</fullscreen>
                                              <destroywindowcontrols>false</destroywindowcontrols>
                                              <libass>
                                                <styleoverrides>
                                                  <style name="Shadow" value="0" />
                                                  <style name="Blur" value="0" />
                                                  <style name="BorderStyle" value="0" />
                                                </styleoverrides>
                                              </libass>
                                            </advancedsettings>
23:55:02 T:3038113792  NOTICE: Default DVD Player: omxplayer
23:55:02 T:3038113792  NOTICE: Default Video Player: omxplayer
23:55:02 T:3038113792  NOTICE: Default Audio Player: paplayer
23:55:02 T:3038113792  NOTICE: Disabled debug logging due to GUI setting. Level 0.
23:55:02 T:3038113792  NOTICE: Log level changed to 0
23:55:02 T:3038113792  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
23:55:02 T:3038113792  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
23:55:02 T:3038113792  NOTICE: Loaded playercorefactory configuration
23:55:02 T:3038113792  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
23:55:02 T:3038113792  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
23:55:02 T:3036570688  NOTICE: Thread ActiveAE start, auto delete: false
23:55:02 T:3028182080  NOTICE: Thread AESink start, auto delete: false
23:55:02 T:2969461824  NOTICE: Thread CRBPWorker start, auto delete: false
23:55:02 T:3038113792  NOTICE: Running database version Addons16
23:55:03 T:3038113792  NOTICE: ADDONS: Using repository repository.xbmc.org
23:55:03 T:3038113792  NOTICE: ADDONS: Using repository repo.xbian.xbmc
23:55:03 T:3038113792  NOTICE: ADDONS: Using repository repository.superrepo.org.gotham.all
23:55:03 T:3038113792  NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
23:55:03 T:2951599168  NOTICE: Thread PeripBusCEC start, auto delete: false
23:55:03 T:2959987776  NOTICE: Thread CECAdapter start, auto delete: false
23:55:03 T:2924475456  NOTICE: Thread PeripBusUSBUdev start, auto delete: false

23:55:04 T:3038113792   ERROR: DBus: Error org.freedesktop.UDisks.Error.Failed - Error mounting: mount exited with exit code 1: helper failed with:
                                            mount: according to mtab, /dev/mmcblk0p2 is already mounted on /
                                            mount failed
23:55:04 T:3038113792   ERROR: DBus: Error org.freedesktop.UDisks.Error.PermissionDenied - Not Authorized

23:55:04 T:3038113792  NOTICE: Raspberry PI firmware version: Aug 12 2014 18:21:28 
                                            Copyright (c) 2012 Broadcom
                                            version f32b2bbfdea55d48c9a52b92e5c798f9aa5f47bc (tainted) (release)
23:55:04 T:3038113792  NOTICE: ARM mem: 368MB GPU mem: 144MB MPG2:1 WVC1:1
23:55:04 T:3038113792  NOTICE: InitWindowSystem: Using EGL Implementation: raspberrypi
23:55:04 T:3038113792  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 60.000000 Hz
23:55:04 T:3038113792  NOTICE: Found (1920x1080@60.000000) at 19, setting to RES_DESKTOP at 16
23:55:04 T:3038113792  NOTICE: Checking resolution 16
23:55:04 T:3038113792  NOTICE: GL_VENDOR = Broadcom
23:55:04 T:3038113792  NOTICE: GL_RENDERER = VideoCore IV HW
23:55:04 T:3038113792  NOTICE: GL_VERSION = OpenGL ES 2.0
23:55:04 T:3038113792  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
23:55:04 T:3038113792  NOTICE: GL_EXTENSIONS = GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_OES_rgb8_rgba8 GL_OES_depth32 GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_APPLE_rgb_422 GL_EXT_debug_marker
23:55:04 T:2916086848  NOTICE: Thread CECAdapterUpdate start, auto delete: false
23:55:05 T:3038113792  NOTICE: No Joystick name specified, loading default map
23:55:05 T:3038113792  NOTICE: Previous line repeats 35 times.
23:55:05 T:3038113792  NOTICE: Running database version Addons16
23:55:05 T:3038113792  NOTICE: Running database version ViewModes6
23:55:05 T:3038113792  NOTICE: Running database version Textures13
23:55:05 T:3038113792  NOTICE: Running database version MyMusic46
23:55:06 T:3038113792  NOTICE: Running database version MyVideos78
23:55:06 T:3038113792  NOTICE: Running database version TV22
23:55:06 T:3038113792  NOTICE: Running database version Epg7
23:55:06 T:3038113792  NOTICE: start dvd mediatype detection
23:55:06 T:2942399552  NOTICE: Thread DetectDVDMedia start, auto delete: false
23:55:09 T:3038113792 WARNING: JSONRPC: Could not parse type "GUI.Property.Value"
23:55:09 T:3038113792 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
23:55:09 T:2888823872  NOTICE: Thread LanguageInvoker start, auto delete: false
23:55:09 T:3038113792  NOTICE: Previous line repeats 2 times.
23:55:09 T:3038113792  NOTICE: UpdateLibraries - Starting video library startup scan
23:55:10 T:2872046656  NOTICE: Thread VideoInfoScanner start, auto delete: false
23:55:10 T:3038113792  NOTICE: initialize done
23:55:10 T:2855269440  NOTICE: Thread LanguageInvoker start, auto delete: false
23:55:10 T:3038113792  NOTICE: Previous line repeats 2 times.
23:55:10 T:3038113792  NOTICE: Running the application...
23:55:10 T:2838492224  NOTICE: Thread AlarmClock start, auto delete: false
23:55:10 T:3038113792  NOTICE: starting zeroconf publishing
23:55:10 T:3038113792  NOTICE: Webserver: Starting...
23:55:10 T:2821715008  NOTICE: Thread JobWorker start, auto delete: true
23:55:10 T:3038113792  NOTICE: WebServer: Started the webserver
23:55:10 T:3038113792  NOTICE: starting upnp renderer
23:55:10 T:2804937792  NOTICE: Thread JobWorker start, auto delete: true
23:55:11 T:3038113792  NOTICE: ES: Starting event server
23:55:11 T:2771383360  NOTICE: Thread EventServer start, auto delete: false
23:55:11 T:2771383360  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
23:55:11 T:2771383360  NOTICE: UDP: Listening on port 9777

23:55:11 T:3038113792   ERROR: JSONRPC Server: Failed to connect to sdpd

23:55:11 T:2872046656  NOTICE: VideoInfoScanner: Starting scan ..
23:55:11 T:2872046656  NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 00:01
23:55:14 T:2872046656  NOTICE: Thread JobWorker start, auto delete: true
23:55:24 T:2897212480  NOTICE: -->Python Interpreter Initialized<--
23:55:35 T:2863658048  NOTICE: en
23:55:35 T:2863658048  NOTICE: en_US
23:55:48 T:2855269440  NOTICE:  StorageServer Module loaded RUN
23:55:48 T:2863658048  NOTICE: XBian : upgrade service started
23:55:48 T:2855269440  NOTICE: StorageClient-2.5.4 Starting server
//power off necessary

18:31:56 T:2888823872  NOTICE: Thread LanguageInvoker start, auto delete: false
18:31:59 T:2888823872  NOTICE: -->Python Interpreter Initialized<--
18:35:51 T:2863658048  NOTICE: XBian : on saver
18:35:51 T:2863658048  NOTICE: XBian : on saver END
anaconda commented 10 years ago

I use it daily and I'm not experiencing any crash. I'm not sure I understand the last part of your log though.

geekbleek commented 10 years ago

David,

I too have a hanging problem on xbian - every 12-36 hours (no definitive data here) it requires a power cycle - HDMI output is frozen, no USB recognition of devices (keyboard or HDD) and ethernet is un-responsive (no L2 arp is seen from the attached switch, so obviously can't ping or SSH). Requires a power cycle. Have you found a resolution to this problem? I didn't have this issue until I upgraded to RC2. Still have this issue on RC3. I did add an rTorrent client in there but ran fine for weeks/months without a hang so I think it something else going on.

davidhuser commented 10 years ago

I monitored the CPU usage over time. Seemed to be a GUI issue which I could resolve with this fix: http://thepcspy.com/read/how-fix-idle-100-cpu-issue-xbmc/