dsdreamer wrote: 
> 
> I notice that when Jivelite gets stuck in the first boot scenario, it
> leaves behind only the following two files: SetupWelcome.lua, and
> DesktopJive.lua with date stamps close to the Unix Time epoch, i.e., the
> jivelite user autologin is happening before the ntp time server gets a
> chance to step the time. 
> Jivelite is starting 15 seconds after boot:
> > 
Code:
--------------------
  >   > 01:00:15 wandboard systemd-logind[198]: New session c1 of user jivelite.
--------------------
> > 
> This is before DHCP moves from the preinit state to the bound state
> and the network services start up and finally the ntp service gets to
> update the date/time at 19.5 seconds after boot.
> > 
Code:
--------------------
  >   > Jul 14 03:36:03 wandboard ntpdate[353]: step time server 134.121.64.62 
offset 1373769343.488106 sec
--------------------
> > 
> 
> My working theory is that there is some kind of race condition when
> starting up for the first time. I think that Jivelite is starting a
> bit to early for its own good. Perhaps the faster SDHC class 10 card
> is making this worse?  
> 
> The standard installation is not set up to capture any logs from
> jivelite. I was wondering if I should change the /etc/passwd file to
> use jivelite-cs > /var/log/jivelite.log 2>&1 or something like it?

This does look like the problem - when restarted with a power cycle its
possible for jivelite to startup before the network is up and this
causes it to freeze.

Clive - is there a simple way to make the user start up after the
network and ntp are active?  Problem case has jivelite starting up
before the time is set and network is available.  Otherwise I'll see if
we can add a wait for the network mechanism.  Not sure about the
consequences of creating files before the date is set though?


Code:
--------------------
    
  19700101 00:00:22.782 INFO   jivelite - JiveMain.lua:265 JiveLite version 0.1
  19700101 00:00:22.850 INFO   jivelite.ui.draw - jiveL_initSDL:179 1920,1080 
32 bits/pixel 4 bytes/pixel [R<<16 G<<8 B<<0]
  19700101 00:00:22.850 INFO   jivelite.ui.draw - jiveL_initSDL:180 Hardware 
acceleration is available
  19700101 00:00:22.850 INFO   jivelite.ui.draw - jiveL_initSDL:181 Window 
manager is not available
  19700101 00:00:22.986 INFO   jivelite.applets - AppletManager.lua:91 User 
Path: /home/jivelite/.jivelite/userpath
  19700101 00:00:23.079 INFO   jivelite.applets - AppletManager.lua:317 
Registering: DesktopJive
  19700101 00:00:23.080 INFO   jivelite.applets - AppletManager.lua:317 
Registering: BlankScreenSaver
  19700101 00:00:23.086 INFO   jivelite.applets - AppletManager.lua:317 
Registering: ChooseMusicSource
  19700101 00:00:23.096 INFO   jivelite.applets - AppletManager.lua:317 
Registering: CustomizeHomeMenu
  19700101 00:00:23.097 INFO   jivelite.applets - AppletManager.lua:317 
Registering: HDGridSkin
  19700101 00:00:23.098 INFO   jivelite.applets - AppletManager.lua:317 
Registering: HDSkin
  19700101 00:00:23.101 INFO   jivelite.applets - AppletManager.lua:317 
Registering: HttpAuth
  19700101 00:00:23.103 INFO   jivelite.applets - AppletManager.lua:317 
Registering: JogglerSkin
  19700101 00:00:23.103 INFO   jivelite.applets - AppletManager.lua:317 
Registering: LogSettings
  19700101 00:00:23.106 INFO   jivelite.applets - AppletManager.lua:317 
Registering: NowPlaying
  19700101 00:00:23.107 INFO   jivelite.applets - AppletManager.lua:317 
Registering: Quit
  19700101 00:00:23.113 INFO   jivelite.applets - AppletManager.lua:317 
Registering: ScreenSavers
  19700101 00:00:23.115 INFO   jivelite.applets - AppletManager.lua:317 
Registering: SelectPlayer
  19700101 00:00:23.125 INFO   jivelite.applets - AppletManager.lua:317 
Registering: SelectSkin
  19700101 00:00:23.127 INFO   jivelite.applets - AppletManager.lua:317 
Registering: SetupDateTime
  19700101 00:00:23.134 INFO   jivelite.applets - AppletManager.lua:317 
Registering: SetupLanguage
  19700101 00:00:23.135 INFO   jivelite.applets - AppletManager.lua:317 
Registering: SetupNetworking
  19700101 00:00:23.137 INFO   jivelite.applets - AppletManager.lua:317 
Registering: SetupSqueezelite
  19700101 00:00:23.142 INFO   jivelite.applets - AppletManager.lua:317 
Registering: SetupWallpaper
  19700101 00:00:23.149 INFO   jivelite.applets - AppletManager.lua:317 
Registering: SetupWelcome
  19700101 00:00:23.156 INFO   jivelite.applets - AppletManager.lua:317 
Registering: SlimBrowser
  19700101 00:00:23.200 INFO   jivelite.applets - AppletManager.lua:317 
Registering: SlimDiscovery
  19700101 00:00:23.207 INFO   jivelite.applets - AppletManager.lua:317 
Registering: SlimMenus
  19700101 00:00:23.214 INFO   jivelite.applets - AppletManager.lua:317 
Registering: TriggerOutput
  19700101 00:00:23.288 INFO   jivelite.applets - AppletManager.lua:317 
Registering: WQVGAgridSkin
  19700101 00:00:23.290 INFO   jivelite.applets - AppletManager.lua:317 
Registering: WQVGAsmallSkin
  19700101 00:00:23.309 INFO   jivelite - JiveMain.lua:589 select skin: 
HDSkin-1080
  19700101 00:00:23.418 INFO   applet.SlimDiscovery - 
SlimDiscoveryApplet.lua:580 selected SqueezeliteWAND
  19700101 00:00:23.418 INFO   applet.SlimMenus - SlimMenusApplet.lua:1165 
SlimMenusApplet:notify_playerCurrent(Player {SqueezeliteWAND})
  19700101 00:00:23.418 INFO   applet.SlimMenus - SlimMenusApplet.lua:1197 
player changed from:false to Player {SqueezeliteWAND} but server not yet present
  19700101 00:00:23.418 INFO   applet.SlimMenus - SlimMenusApplet.lua:1233 No 
server, Fetching initial server, SlimServer {mac}
  19700101 00:00:23.484 WARN   net.socket - SocketUdp.lua:210 
SocketUdp:writePump:Network is unreachable
  19700101 00:00:33.527 INFO   squeezebox.server - SlimServer.lua:747 connected 
mac
  
--------------------


------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=98544

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to