09-27-2024, 02:08 AM | #1 |
Wizard
Posts: 1,336
Karma: 4752930
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
FW 5.16.21 creates crash logs every now and then
I recently got my JB'ed Kindle Scrive updated to 5.16.21 (because I just forgot to block OTA).
During usage, it creates crash logs files in documents folder and well as /mnt/us/ ("root" when connected via USB). In documents they are like: cmd_10725_037-juno_16021_barolo_bellatrix3-428978_crash_Sep_25_21.52.22_2024.sdr cmd_10725_037-juno_16021_barolo_bellatrix3-428978_crash_Sep_25_21.52.22_2024.txt cmd_15905_037-juno_16021_barolo_bellatrix3-428978_crash_Sep_26_23.12.36_2024.tgz or similar, but for powerd. In /mnt/us/ they have similar names, but archives are about 30 MB: cmd_15905_037-juno_16021_barolo_bellatrix3-428978.core Indexer_Dump_1727406757193.txt powerd_3586_037-juno_16021_barolo_bellatrix3-428978.core I don't know might be causing it. Does anybody experience the same? @Marek Maybe Kindle is complaining because I have logging, OTA, and minerva blocked But this wasn't the case on 5.16.9 or 5.16.3. |
09-28-2024, 01:14 PM | #2 |
Member
Posts: 16
Karma: 220
Join Date: Feb 2024
Device: scribe
|
I also had similar issues on PW5, Scribe on 5.16.10 and above, with logs disabled. Reverted both of them to 5.16.8
|
Advert | |
|
09-28-2024, 03:34 PM | #3 |
Wizard
Posts: 1,336
Karma: 4752930
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Thanks!
I think there is some kind of a watchdog somewhere. This also happens when I install stuff with MRPI or restart Kindle while it is plugged to PC. Although, these were present even on earliest Kindle Scribe FWs, like 5.16.2 |
09-28-2024, 04:11 PM | #4 |
Wizard
Posts: 1,336
Karma: 4752930
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
I disabled /app/bin/KPPMainAppWatchdog , that appeared in 5.16.7. Nothing bad happened, but logs are also still here, so I don’t know
|
10-20-2024, 02:15 PM | #5 |
Wizard
Posts: 1,336
Karma: 4752930
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Long story short:
1) To stop some logs, it is enough to add a new empty file called DISABLE_CORE_DUMP in the /mnt/us/ (visible root via USB). Heavy core dumps won't show up anymore. Only ones that show up are Indexer Dumps (a few tens of KBs) every now and then. Context: I also have blocked all logging, and indexer dumps says something like "this is a diff between files on device and cc.db" - I am pretty sure this is because there is a mismatch between cloud (which never sees any logs from my Kindle Scribe) and local files 2) To hard stop EVERYTHING, block /usr/bin/dump-stack . This will prevent ALL logs. Side effect: usbnet session is very laggy in between actions. Most probably because Kindle still tries to run dump-stack, but encounters wrong exit statuses. In the end, I rolled back to 5.16.2.0.1 and plan to stay here for a long time. hf versions seem to be much more chatty in terms of dumps and stuff. P.S. Also, I just figured I have been missing out on this little gem of a GitHub page and it works only on non-hf kindle due to browser support. https://github.com/KindleModding/KWebBrew Last edited by mergen3107; 10-30-2024 at 05:12 PM. |
Advert | |
|
10-20-2024, 04:47 PM | #6 |
Addict
Posts: 241
Karma: 1600689
Join Date: Jul 2023
Device: Kindle Scribe
|
Thanks for figuring this out! I've had the big coredump problem on my Oasis 2 when running KOReader (no framework) to have enough memory to read page scan-only PDFs.
|
10-30-2024, 01:08 PM | #7 | |
Junior Member
Posts: 5
Karma: 10
Join Date: Dec 2023
Device: pw 11 se
|
Quote:
Do you mean now very laggy rather than not very laggy? If so you could try replacing dump-stack with just a exit 0 or replace with /bin/true depending on whether its a script or binary |
|
10-30-2024, 05:12 PM | #8 |
Wizard
Posts: 1,336
Karma: 4752930
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
Thanks for inputs!
Yeah, my bad. Probably was going between “not very responsive” and “very laggy” and mixed them both. That’s cool! I’ll try that once I have my Scribe replaced… |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trying to access usage logs | Konikoko | Kobo Developer's Corner | 5 | 10-31-2023 07:05 PM |
Logs for crashing... | Ghitulescu | Calibre | 2 | 03-03-2021 10:10 AM |
Server logs * | Laval | Server | 7 | 05-28-2019 12:51 PM |
Logs of library visitors | passegua | Calibre | 2 | 09-04-2015 03:35 AM |
Stack logs | jackastor | Kobo Reader | 18 | 03-04-2013 02:06 AM |