![]() |
#31 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
I don't believe there is anything of Koreader left running when you exit Koreader. (Unlike with Nickel.) The only program that provides me a means of checking the database would be calibre, at the moment. How are you finding that the database is corrupted?
Luck; Ken |
![]() |
![]() |
![]() |
#32 | |
Cloud Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,124
Karma: 4000066
Join Date: Aug 2010
Device: Kindle Oasis, Kindle Scribe, iPad Pro 11
|
Quote:
Has that behavior changed? |
|
![]() |
![]() |
Advert | |
|
![]() |
#33 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
Luck; Ken |
|
![]() |
![]() |
![]() |
#34 | |
Enthusiast
![]() Posts: 44
Karma: 86
Join Date: Apr 2015
Location: Taiwan, Taipei
Device: Kobo Aura H2O
|
Quote:
The new version: http://pastebin.com/iXMztd2F Last edited by Patricius; 08-02-2015 at 08:17 PM. |
|
![]() |
![]() |
![]() |
#35 | |
Enthusiast
![]() Posts: 44
Karma: 86
Join Date: Apr 2015
Location: Taiwan, Taipei
Device: Kobo Aura H2O
|
Quote:
1. Calibre pops communication error dialog in file transfer. 2. Like johnnyb has said, nickel home tiles don't responsive to modification. 3. Random books in nickel home/shelves/library having blank cover and a "buy" drop down menu on the right-hand side. Is it possible for Koreader to broke some presumptions needed by nickel and other background processes? |
|
![]() |
![]() |
Advert | |
|
![]() |
#36 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
I am rather sure that KSM is the culprit. |
|
![]() |
![]() |
![]() |
#37 |
Enthusiast
![]() Posts: 44
Karma: 86
Join Date: Apr 2015
Location: Taiwan, Taipei
Device: Kobo Aura H2O
|
But it appears there are two kinds of scenarios that causes the database corruption:
1. Calibre with kobo plugins (touch, touch_extend) and any running fmon process, after file transferred. I've done the isolation test for this (without Koreader). Since KSM uses fmon, I consider the corruption with KSM is due to the same reason. Without the source, I don't know what exactly fmon does besides file-watching and process-spawning. 2. Kill the nickel after it have killed the on-animator, lauch koreader.sh and some transfers with Calibre after it brings back the nickel. This is simply what my first modification does. I'm still a layman about nickel, maybe frostschutz would be kind enough to explain the reason of corruption in this case? I have no time to test upon this scenario in detail (without calibre/koreader, or even kill and relaunch nickel then do some transfers). |
![]() |
![]() |
![]() |
#38 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
|
|
![]() |
![]() |
![]() |
#39 | ||
Enthusiast
![]() Posts: 44
Karma: 86
Join Date: Apr 2015
Location: Taiwan, Taipei
Device: Kobo Aura H2O
|
Quote:
But I would whether think the user partition is umount successfully (maybe forced, regardless of opened database) because the device entered the "slave mode" after all. This explains the behaviour I've mentioned in #19: Quote:
If this is true, maybe adding a script that kills/re-spawns all fmon processes then make it triggered by an udev rule will solve the problem. But what about the second case? Someone with shell access of the device can try my setup and lsof the user partition after koreader has brought nickel back. :/ Or, I'll do it in /etc/init.d/rcS if my database get ruined again. :P Last edited by Patricius; 08-03-2015 at 05:50 AM. |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
advboot: a new approach to launch nickel or koreader at startup | shadoooo | Kobo Developer's Corner | 127 | 03-11-2018 04:48 PM |
database disk image is malformed | fxp33 | Calibre | 10 | 09-02-2015 11:58 PM |
Aura H2O Problem with KSM and/or Koreader -> Nickel full freeze | johnnyb | Kobo Developer's Corner | 8 | 04-15-2015 02:18 AM |
help: 'malformed database' with kobo | prairiegal | Devices | 2 | 03-10-2011 09:50 PM |
Malformed Database Request | timlegge | Kobo Reader | 0 | 02-18-2011 10:44 PM |