Bugzilla – Bug 13693
Controller resets after coming out of sleep
Last modified: 2010-04-07 21:30:33 UTC
I'm running the latest nightly (7.4.0-r7259). For sometime now I have noticed an issue where the controller just resets after coming out of sleep mode. It tries to connect for a second...pauses then resets. I have several apps installed but this was happening before I installed them. I have not done any hacking to turn of powersave to improve connection to SqueezeServer as was once suggested on Forum.
I too have seen the controller randomly rebooting when recovering from sleep/suspend states.
(In reply to comment #1) > I too have seen the controller randomly rebooting when recovering from > sleep/suspend states. I have noticed that it is not every time it comes out of sleep. It sometimes recovers without issue although not as quick as I'd like.
Ok since the last upgrade this is now happening all the time
https://bugs-archive.lyrion.org/show_bug.cgi?id=10774 groundhog day ?
James, can you get me a serial console log. Thanks.
Created attachment 5710 [details] Log File from JIVE Here is the log from the SD card on a Jive that fails to recover from sleep state. I.E. it reboots when you wake the device.
I'm still working on this, trying to get a serial log from jive (with syslog disabled) to capture the actual reboot. ---------------- Richard: how do I remove the syslog from Jive 7.4 so I can see what happening in real time on serial in 7.3.x I used rm /usr/lib/lua/5.1/syslog.so That doesn't work in 7.4 anymore
I think I got it to happen, the jive was attached to serial with out the AC attached, but has a battery. I started typing commands and the jive went to suspend. I plugged the AC into the serial board and the unit rebooted. Attached is the log for that.
Created attachment 5728 [details] Serial Log
Created attachment 5730 [details] SBC log file I was able to capture the reboot from suspend in this log, hope it helps narrow down the cause. Look to the end of the file for text I entered after log was closed: ============================================================= (( ATTEMPTING TO WAKE DEVICE CAUSED A REBOOT AT THIS POINT)) =============================================================
No change here ? it still does this reboot out of suspend with the latest 7433
I'm having trouble re-creating this. It's happened once while I've been testing this morning. How often do people see this, on every resume? If you do see this frequently, could you try sshing into the Controller and do 'rm /etc/watchdog.conf'. Then reboot the Controller. Does the problem still happen then?
Don't worry about trying that. I just had the problem with the watchdog file removed, and the system freezes. Can you confirm this did not happen in 7.3?
== Auto-comment from SVN commit #6376 to the player repo by richard == == https://svn.slimdevices.com/player?view=revision&revision=6376 == Bug #13693 Only claim FIQ is wlan driver will use it.
== Auto-comment from SVN commit #7444 to the jive repo by richard == == https://svn.slimdevices.com/jive?view=revision&revision=7444 == Bug #13693 Don't print the battery status while resuming.
Ok, so my hunch here is this is a problem if the Controller is suspended at the top of the hour (like 4:00), and you try to wake it up afterwards. That certainly agrees with James log, and the testing I've done this afternoon. This would make sense, as the Controller briefly wakes up to check the battery level. This was recently added in 7.3.x, what I don't understand is why it would not work in 7.4. No kernel level changes have been made to the Controller for this release.
== Auto-comment from SVN commit #7485 to the jive repo by richard == == https://svn.slimdevices.com/jive?view=revision&revision=7485 == Bug #13693 Don't make audio thread RT priority on jive, this does not actually help (as it is not running RT Linux) and actually seems to break suspend/resume.
The last change seems to have worked all day while testing yesterday. I'll continue to test today.
I've been testing all day, and it looks good with no resets.
(In reply to comment #19) > I've been testing all day, and it looks good with no resets. I don't get any resets any more either. I am now plagued with 'trying to come out of sleep' waiting and a constantly reveolving circle of boredom.
I still see resets but very rare . I managed to provoke one by holding the pause button pressed while it was getting out of sleep . It is 99% gone but it still happens.
This bug has been marked as fixed in the 7.4.0 release version of SqueezeBox Server! * SqueezeCenter: 28672 * Squeezebox 2 and 3: 130 * Transporter: 80 * Receiver: 65 * Boom: 50 * Controller: 7790 * Radio: 7790 Please see the Release Notes for all the details: http://wiki.slimdevices.com/index.php/Release_Notes If you haven't already, please download and install the new version from http://www.logitechsqueezebox.com/support/download-squeezebox-server.html If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
You must missed my last comment . If i was unclear it's not fixed tried 7.4.0 , 7.4.1 and now on 7.5.0 It was and is still rebooting, sometimes . Is this the wrong bug or do you have a new one ?
This bug is NOT fixed. It has happened to me twice in the last 24 hours with two different controllers and the 7.4.1 firmware as the controller wakes up from sleep. Please continue to work on this bug.
I am having the same problem on a brand new Squeezebox Duet running 7.4.1
Regarding my 2009-10-03 coment, now it does it as often as it always did.
This bug is NOT CLOSED as of 7.4.1, controller v 7.4.1 r7915. My controller fairly consistently reboots anytime I wake it up.
(In reply to comment #27) > This bug is NOT CLOSED as of 7.4.1, controller v 7.4.1 r7915. > My controller fairly consistently reboots anytime I wake it up. Mine has only rebooted once or twice in a month but I have turned off the sleep function for the wifi. It does still get stuck in the "ring of boredom" but more often than not I get to use the controller almost straight away. I would however agree that this issue should NOT be closed.
This issue is still causing problems for many.
I have used my *new* controller (old one exchanged with logitech for examination) a little bit for a week and noticed one reboot and several cracks from the speaker. I have reformatted my SD card on a PC and put it in hopefully it catches some files. My exchange controller came in a box marked C/NO:32-0516 DATE1:10-OCT-08 Controller itself is marked PM/N C-RL65 P/N:830-000019 PID: LZ841S2
== Auto-comment from SVN commit #8281 to the jive repo by felix == == https://svn.slimdevices.com/jive?view=revision&revision=8281 == Bug: 13693 Description: Possible fix for SBC resets after coming out of sleep - Test w/ patch: 50 times ok out of 50 suspend resume cycles - Test w/o patch: 3 times not ok out of 40 suspend resume cycles
Update hours worked.
Assuming there isn't another cause forcing a reset while resuming from suspend I am going to close this bug for now as I am unable to make it happen anymore. Fix is in r8281.
== Auto-comment from SVN commit #8282 to the jive repo by felix == == https://svn.slimdevices.com/jive?view=revision&revision=8282 == Bug: 13693 Description: Forgot to update the source recipe.
Sorry, I forgot a recipe. Please try r8282.
It's back... I've seen both my controllers reboot for no apparent reason several times a day the last few days... 7.5.0 r8398
I'm not having any reboots now on the General Release 7.4.1. They just stopped happening, but I will probably jinx myself with this email. On Tue, Jan 26, 2010 at 9:16 AM, <bugs@bugs.slimdevices.com> wrote: > https://bugs-archive.lyrion.org/show_bug.cgi?id=13693 > > > > --- Comment #36 from Dennis Mutsaers <fifafo@fun4me.nl> 2010-01-26 07:15:47 PST --- > It's back... I've seen both my controllers reboot for no apparent reason > several times a day the last few days... 7.5.0 r8398 > > -- > Configure bugmail: https://bugs-archive.lyrion.org/userprefs.cgi?tab=email > ------- You are receiving this mail because: ------- > You are a voter for the bug. >