5,594,748 Members 36,249 Now Online
XDA Developers Android and Mobile Development Forum

TWRP random reboots

Tip us?
 
bleggy
Old
(Last edited by bleggy; 27th December 2013 at 05:56 PM.)
#1  
bleggy's Avatar
Senior Member - OP
Thanks Meter 56
Posts: 160
Join Date: Jan 2013
Exclamation TWRP random reboots

I am not sure how to file a bug report or what all that entails, so I'll just post here.

TWRP randomly reboots. One minute, five minutes, whenever. Even if I just leave the screen on and touch nothing, it still happens. Rebooting has even happened while flashing, which is no good. Other's have confirmed this behavior in the i777 thread:
http://forum.xda-developers.com/show....php?t=2544790 I've tried wiping and reflashing the rom a few times (and just boot.img as well), but the behavior always exists.

i777 build. currently on 12/27 nightly. I am now using RenderBroken's kernel for Omni & the rebooting does not happen.

Thanks.
The Following User Says Thank You to bleggy For This Useful Post: [ Click to Expand ]
 
Entropy512
Old
#2  
Senior Recognized Developer
Thanks Meter 23385
Posts: 12,773
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
Quote:
Originally Posted by bleggy View Post
I am not sure how to file a bug report or what all that entails, so I'll just post here.

TWRP randomly reboots. One minute, five minutes, whenever. Even if I just leave the screen on and touch nothing, it still happens. Rebooting has even happened while flashing, which is no good. Other's have confirmed this behavior in the i777 thread:
http://forum.xda-developers.com/show....php?t=2544790 I've tried wiping and reflashing the rom a few times (and just boot.img as well), but the behavior always exists.

i777 build. currently on 12/27 nightly. I am now using RenderBroken's kernel for Omni & the rebooting does not happen.

Thanks.
pull /proc/last_kmsg after a reboot please
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations
The Following 2 Users Say Thank You to Entropy512 For This Useful Post: [ Click to Expand ]
 
bleggy
Old
#3  
bleggy's Avatar
Senior Member - OP
Thanks Meter 56
Posts: 160
Join Date: Jan 2013
ok. currently on renders omni kernel. after I flash the next nightly, I'll have twrp reboot itself & upload that log.

cat /proc/last_kmsg > last_kmsg.txt with a terminal emulator, correct?

Sent from my SGH-I777 using XDA Premium 4 mobile app
 
samarium
Old
#4  
Senior Member
Thanks Meter 75
Posts: 239
Join Date: Jun 2010
Here is one I prepared earlier, probably around Dec 20th: http://paste.ubuntu.com/6654443/

Code:
$ egrep ' 12[01]\.|kadapt' last_kmsg
<6>[  120.185215] c0 sec-battery sec-battery: sec_bat_check_vf: Battery Health (1)
<6>[  120.185765] c0 smb328-charger 19-0034: smb328_get_charging_health : charging status A(0x02)
<6>[  120.186305] c0 smb328-charger 19-0034: smb328_get_charging_health : charging status B(0x00)
<6>[  120.186843] c0 smb328-charger 19-0034: smb328_get_charging_health : charging status C(0x05)
<6>[  120.186889] c0 smb328-charger 19-0034: smb328_get_property: smb328_get_property (2,1)
<6>[  121.005248] c0 sec-thermistor sec-thermistor: notify_change_of_temperature: uevent: TEMPERATURE=510
<6>[  121.805308] c0 cpu1 turnning off!
<4>[  121.811130] c1 IRQ112 no longer affine to CPU1
<5>[  121.811478] c0 CPU1: shutdown
<6>[  121.812313] c0 cpu1 off!
<3>[  240.170095] c0 INFO: task kadaptiveup:1058 blocked for more than 120 seconds.
<6>[  240.194448] c0 kadaptiveup     D c0c436fc     0  1058      2 0x00000000
$
Regression seemed to happen for me between Dec 15 & 18, which coincided with gerrit saying there were some scheduler patches for smdk4412 around that time, along with the defconfig & dock patches. I haven't figured out enough about kernel building and what I need to insert where and how, to do any testing myself as yet.

I found this initially when I tried to enable compression for TWRP backups. With compression enabled I can usually trigger a panic.
The Following 2 Users Say Thank You to samarium For This Useful Post: [ Click to Expand ]
 
bleggy
Old
(Last edited by bleggy; 29th December 2013 at 06:06 PM.)
#5  
bleggy's Avatar
Senior Member - OP
Thanks Meter 56
Posts: 160
Join Date: Jan 2013
Quote:
Originally Posted by Entropy512 View Post
pull /proc/last_kmsg after a reboot please
updated to the 12/29 nightly.

omni version: 4.4.2-20131229-i777-nightly
kernel version: 3.0.64-CM-g1f99098
build number: omni_i777-userdebug 4.4.2 KOT49H 96 test-keys

went back into recovery & let sit without touching anything.
rebooted itself after 3 minutues.

attached is the last_kmsg. if there is anything else I can do, let me know.
Attached Files
File Type: zip last_kmsg.txt.zip - [Click for QR Code] (177.9 KB, 11 views)
The Following User Says Thank You to bleggy For This Useful Post: [ Click to Expand ]
 
samarium
Old
(Last edited by samarium; 30th December 2013 at 11:46 AM.)
#6  
Senior Member
Thanks Meter 75
Posts: 239
Join Date: Jun 2010
Omni 1229 => panic @ 240 seconds as usual, cpu1 shutdown at 120 sec, cpu1 won't start by 240 sec, kadaptiveup kernel task hung still, seems just to be time based, don't need to do anything. I have last_kmsg if required.

Omni Asylum kernel 1227 from @chasmodo, cpu1 stop/start OK, no problem, @chasmodo said he rolled back to Dec 16.

@chasmodo build comment here: http://forum.xda-developers.com/show...ostcount=11241

Kernel here: http://forum.xda-developers.com/show...86&postcount=2

Omni Asylum ROM 1229 from @chasmodo, OK too.
 
Entropy512
Old
#7  
Senior Recognized Developer
Thanks Meter 23385
Posts: 12,773
Join Date: Aug 2007
Location: Owego, NY

 
DONATE TO ME
****. It's those extra governors.

I've seen this before.

Time to rip those ****ers out.
*so much sig updating needed*

My Github profile - Some Android stuff, some AVR stuff

An excellent post on "noobs vs. developers"

A few opinions on kernel development "good practices"

Note: I have chosen not to use XDA's "friends" feature - I will reject all incoming "friend" requests.

Code:
<MikeyMike01> Smali is a spawn of hell
<shoman94> ^^^ +!
Code:
<Entropy512> gotta be careful not to step on each other's work.  :)
<Bumble-Bee> thats true
<jerdog> compeete for donations

The Following 2 Users Say Thank You to Entropy512 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes