Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 05-15-2021, 10:37 AM   #1
buyifan43
Enthusiast
buyifan43 began at the beginning.
 
Posts: 43
Karma: 10
Join Date: Mar 2021
Device: KPW 4 and KT2
What Does This Mean???

I got something saying collecting debug info on my jailbroken PW4, and it generates .tgz files and .txt logs.
I'm unable to open the website shown above.
Attached Thumbnails
Click image for larger version

Name:	screenshot_2021_05_14T22_52_57+0800.png
Views:	370
Size:	113.8 KB
ID:	187149  

Last edited by buyifan43; 05-15-2021 at 12:09 PM.
buyifan43 is offline   Reply With Quote
Old 05-15-2021, 11:45 AM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
That's the side-effects of having to flag the device as a debug-friendly for JB purposes.

That's an internal lab126 URL.

Also:

Moderator Notice
Your image breaks the forum layout. Please review the forum guidelines.


(i.e., move it to an attachment).
NiLuJe is offline   Reply With Quote
Advert
Old 10-02-2024, 02:46 AM   #3
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,323
Karma: 4740000
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
@NiLuJe
Sorry for bumping a very old thread.

Do you know what process/binary/script is responsible for collecting this debug info? Can I disable it somehow?

I get cmd_, powerd_ core dump files (30 MB each) and bunch of reports every now and then. I think it is when I connect to Wi-Fi, or connect with sftp, or maybe even exit KOReader. I am worried about those writes of 30 MB over long term…
mergen3107 is offline   Reply With Quote
Old 10-02-2024, 04:36 AM   #4
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,323
Karma: 4740000
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Update:

I found some hints in /usr/bin/dump-stack and created two files in /mnt/us/ :
DISABLE_CORE_DUMP and DISABLE_CORE_DUMP_ALERT

No more heavy dump files!

Only things that are created from time to time are Indexer_ files and some small html and tar.gz files.

This usually happens after Kindle UI freezes for a minute or so, after I enable Wi-Fi. I suspect that it freezes when trying to check for OTA, and I blocked OTA binaries (and otaup script). So maybe because of that

All this happened on FW 5.16.21

I’ll try to replace ota scripts with some dummy empty scripts later, so that command “will work” keeping Kindle UI happy.
mergen3107 is offline   Reply With Quote
Old 10-02-2024, 05:28 PM   #5
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,323
Karma: 4740000
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Final notes and verdict.

Indexer files appeared because dump-stack called dmcc.sh in the same /usr/bin/ location.

I am not really sure why dump-stack was called at all from dump-and-kill-cvm in /usr/bin/ , because it only checks for the file /PRE_GM_DEBUGGING_FEATURES_ENABLED__REMOVE_AT_GMC (which is required to be present by the JB).

Maybe main question is why dump-and-kill-cvm is called at all. But I couldn't find it.

For now, I just did (with mntroot rw/ro around it)
ln -s -b /dev/null /usr/bin/dump-stack

and it stopped from logs and dumps appearing (no more DISABLE_CORE_DUMP files needed).

dmcc.sh says in the header that this script is intended to be present only on debug devices, not on production ones. So, I think it is safe...?
mergen3107 is offline   Reply With Quote
Advert
Old 10-02-2024, 05:37 PM   #6
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,323
Karma: 4740000
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
Only thing I noticed is that sftp session is now very slow. Each action (browse folders, rename, or others) takes 4-5 seconds. Even terminal with PuTTy.
mergen3107 is offline   Reply With Quote
Old 10-02-2024, 07:50 PM   #7
mergen3107
Wizard
mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.mergen3107 ought to be getting tired of karma fortunes by now.
 
mergen3107's Avatar
 
Posts: 1,323
Karma: 4740000
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
@Marek
Can you please have a look at my posts above?
Do you have any comments?
Do you think, for example, this blocking of core dumping should be a part of JB?
Or do you think there is something else going on and I should investigate more?
mergen3107 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Pocket Recipe is not working? khanduan Recipes 0 10-15-2017 09:46 AM
KPW2 maybe bad MMC0? hd5062 Kindle Developer's Corner 6 09-06-2016 04:10 AM
how to unbrick my Kindle? yuwang Kindle Developer's Corner 10 09-26-2015 09:40 PM
scanned PDF????? xtdn20008 enTourage eDGe 6 06-18-2011 02:48 PM


All times are GMT -4. The time now is 06:07 PM.


MobileRead.com is a privately owned, operated and funded community.