![]() |
#2356 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
|
![]() |
![]() |
![]() |
#2357 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 76
Karma: 25460
Join Date: Feb 2015
Device: kobo h2o
|
hi
my koreader crashes when going to SD card. it exits and come back to Nickel when I tap sd on screen but it can read files onmain memory Anyone can help me to solve this ? its last version (released 20150808) |
![]() |
![]() |
Advert | |
|
![]() |
#2358 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
I wonder whether this is intended behaviour. When turning on Wifi connection, I see
Spoiler:
And after exiting koreader, I still see: Spoiler:
This makes it impossible to umount properly the user partition.
|
![]() |
![]() |
![]() |
#2359 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
Luck; Ken Perhaps we could add: exec 3<&- after the call to reader.lua ? It should change your 2nd lsof results, wouldn't it? Last edited by Ken Maltby; 09-03-2015 at 11:48 PM. |
|
![]() |
![]() |
![]() |
#2360 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@tshering: A copy of the corresponding full process tree might be helpful here, none of those things should have a hold on fonts (besides luajit with koreader running, of course ;p).
|
![]() |
![]() |
Advert | |
|
![]() |
#2361 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Against which list would I have to run grep? Quote:
Maybe it would be possible to prevent this to start with. I have no idea how the opening of font files is related to wifi. As for now, I thought of killing the process(es) that keep the files opened. |
||
![]() |
![]() |
![]() |
#2362 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
I add some listings.
Spoiler:
Spoiler:
Last edited by tshering; 09-04-2015 at 02:14 PM. |
|
![]() |
![]() |
![]() |
#2363 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,534
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Maybe a
Code:
ps Code:
ps -t |
![]() |
![]() |
![]() |
#2364 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
Luck; Ken |
|
![]() |
![]() |
![]() |
#2365 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@tshering: yep, what @PeterT said
![]() ![]() |
![]() |
![]() |
![]() |
#2366 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Right, ps was the first thing I was thinking about. But then I thought what will NiLuJe learn by it, that he does not already know. Reading his post again, I try to understand that he wants to have both ps, and lsof of the same situation.
Spoiler:
Edit: -T is the only available option to ps. |
![]() |
![]() |
![]() |
#2367 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@tshering: Huh, no idea why the hell would wpa-supplicant and its children would inherit/have a hold on these fonts... Does this happen with KOReader's builtin network-manager? If not, it might be a quirk of how this is done in KSM? But if it's done before KOReader is even started, why the hell is it even looking at KOReader stuff?
Although, given the PIDs in your last post, wpa-supplicant appears to have been started *after* KOReader, so I'm confused. [EDIT: Because that's what you did, I got confused with the spoiler blocks ;p] EDIT: Okay, yeah, the Kobo only has busybox ps*. pstree might be more readable, although I personally kind of hate how it presents stuff, but, still, better than nothing ;p. Last edited by NiLuJe; 09-04-2015 at 02:03 PM. |
![]() |
![]() |
![]() |
#2368 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,534
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
I wonder if the wpa-supplicant might be related to the active telnet session and possibly the spawning of child processes for commands entered at the command prompt?
|
![]() |
![]() |
![]() |
#2369 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@PeterT: Nah, wpa-supplicant is started from ~nickel/KOReader/KSM when enabling WiFi
![]() On a sidenote, nickel seems to be using dhcpcd instead of udhcpc nowadays, but that's another thing entierely ^^. But it definitely shouldn't have a hold on fonts, FWIW, this is with nickel's/the system's wpa-supplicant call: Code:
/mnt/onboard/.niluje/usbnet/bin/lsof +c0 | ag wpa dhcpcd-dbus 2153 root 9u unix 0x9eda6d00 0t0 13428 /tmp/dhcpcd-dbus-wpa-2153.0 type=DGRAM dhcpcd-dbus 2153 root 10u unix 0x9eda6680 0t0 13430 /tmp/dhcpcd-dbus-wpa-2153.1 type=DGRAM wpa_supplicant 2160 root cwd DIR 179,1 1024 2 / wpa_supplicant 2160 root rtd DIR 179,1 1024 2 / wpa_supplicant 2160 root txt REG 179,1 385184 32819 /bin/wpa_supplicant wpa_supplicant 2160 root mem REG 179,1 97580 934 /lib/ld-2.11.1.so wpa_supplicant 2160 root mem REG 179,1 266828 672 /usr/lib/libssl.so.0.9.8 wpa_supplicant 2160 root mem REG 179,1 1138080 666 /usr/lib/libcrypto.so.0.9.8 wpa_supplicant 2160 root mem REG 179,1 9816 788 /lib/libdl-2.11.1.so wpa_supplicant 2160 root mem REG 179,1 881932 752 /lib/libc-2.11.1.so wpa_supplicant 2160 root 0u CHR 1,3 0t0 145 /dev/null wpa_supplicant 2160 root 1u CHR 1,3 0t0 145 /dev/null wpa_supplicant 2160 root 2u CHR 1,3 0t0 145 /dev/null wpa_supplicant 2160 root 3u unix 0x9eda6b60 0t0 13392 type=DGRAM wpa_supplicant 2160 root 4u sock 0,5 0t0 13393 can't identify protocol wpa_supplicant 2160 root 5u netlink 0t0 13394 ROUTE wpa_supplicant 2160 root 6u pack 13398 0t0 34958 type=SOCK_DGRAM wpa_supplicant 2160 root 7u unix 0x9eda7520 0t0 13400 /var/run/wpa_supplicant/eth0 type=DGRAM Last edited by NiLuJe; 09-04-2015 at 01:50 PM. |
![]() |
![]() |
![]() |
#2370 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Meh, it's probably system() and no CLOEXEC biting us in the ass, we're inheriting open fds.
The simplest workaround I can think of is killing WiFi when quitting KOReader, which seems a bit harsh, but would solve this. (In fact, the startup script does just that when started manually w/ nickel running). Doing it the right way would mean using CLOEXEC everywhere, which might be easier said than done, and would break compatibility with Linux < 2.6.23 (which, granted, only applies to legacy (non-touch) Kindles and possibly the first gen Kobos). EDIT²: FreeType should default to using CLOEXEC... If it doesn't, that's probably a ToolChain issue. I don't remember which TC the buildbot is using for the Kobos, I'll launch a build with my own just for shit 'n giggles... Last edited by NiLuJe; 09-04-2015 at 02:10 PM. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1289 | 04-07-2025 10:18 AM |
Touch Using two Kobos | tkavan | Kobo Reader | 4 | 06-23-2017 02:47 AM |
2 kobos at once | tsarinaerika | Kobo Reader | 14 | 06-03-2013 04:13 AM |
Syncing between two Kobos | fx3000se | Kobo Reader | 4 | 01-24-2013 02:10 PM |
2 kobos 1 account | retired05 | Kobo Reader | 9 | 05-05-2012 08:25 AM |