04-04-2016, 05:39 PM | #151 | |
Carpe diem, c'est la vie.
Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Quote:
It SHOULD work. Why can't my x86 write to its own virtual /tmp/ even while running as root? Anyway, it works fine for some functions and not others. I suspect my win32 (local tempfile) fix would also work here as well... Hopefully it would work as expected on a non-emulated x86 linux... |
|
04-04-2016, 05:59 PM | #152 |
BLAM!
Posts: 13,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@knc1:
Just updated the snapshots, everything but readelf should now be fixed . Thanks for the heads up and detailed report . As for the finicky power savings of the K2, try stopping powerd, IIRC, that was the usual workaround. I can't remember if it's only needed with telnet or not, there might be some hints about that in the USBNet readme, but I don't remember having to do it over SSH... Might be a list of monitored ports somewhere... @geekmaster: Is there a grsec kernel involved somewhere? Or some other hardened features? Last edited by NiLuJe; 04-04-2016 at 06:01 PM. |
Advert | |
|
04-04-2016, 06:07 PM | #153 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
converting and then creating an update works without a problem on this non-emulated i686 machine (vanilla Arch Linux).
Built from latest git HEAD. |
04-04-2016, 06:10 PM | #154 |
BLAM!
Posts: 13,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@eschwartz: I was mostly interested in the x86 snapshot binaries, but good to know the code magically doesn't implode when built on Arch ;p.
|
04-04-2016, 06:23 PM | #155 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
I was responding to geekmaster's mysterious error. Otherwise I'd've reported on it two months ago, except knc1 already confirmed they weren't utterly broken.
But just in case, I have now tested with your snapshots as well. Still no problems. Last edited by eschwartz; 04-04-2016 at 06:31 PM. |
Advert | |
|
04-04-2016, 06:27 PM | #156 |
BLAM!
Posts: 13,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@eschwartz: Yay! Thanks .
|
04-04-2016, 08:59 PM | #157 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Today's build of USBnetworking, works on my K2.
Thanks a lot. |
04-05-2016, 10:51 AM | #158 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
but this one is really strange:
Code:
[root@kindle root]# eu-objdump -d /bin/mountpoint /bin/mountpoint: elf32-ebl_arm eu-objdump: cannot disassemble Not a big deal, with dropbear once again running, I can scp to/from my desktop for using readelf / objdump on binaries. (the utilities I built on my desktop fall into the category: "If the binary is for something that used/uses electricity - I can deal with it.") Last edited by knc1; 04-05-2016 at 10:55 AM. |
04-05-2016, 01:01 PM | #159 |
BLAM!
Posts: 13,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@knc1: The requisite dependencies should be shipped (/mnt/us/usbnet/lib/libebl_arm.so), but that vaguely rings a bell. No idea what's going wrong ;p.
EDIT: On the other hand, it also fails on my desktop in the exact same manner, so... . EDIT²: Apparently, elfutils *might* not support disassembly of anything not remotely looking like x86 :? Last edited by NiLuJe; 04-05-2016 at 01:32 PM. |
04-05-2016, 01:30 PM | #160 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
Something changed while I wasn't looking? objdump is part of binutils and uses the bfd library, part of binutils also. https://www.gnu.org/software/binutils/ A snippet of binutils, configure.ac Code:
if test "$is_elf" = "yes"; then # Check for target supported by gold. case "${target}" in i?86-*-* | x86_64-*-* | sparc*-*-* | powerpc*-*-* | arm*-*-* \ | aarch64*-*-* | tilegx*-*-* | mips*-*-* | s390*-*-*) configdirs="$configdirs gold" if test x${ENABLE_GOLD} = xdefault; then default_ld=gold fi ENABLE_GOLD=yes ;; esac fi Last edited by knc1; 04-05-2016 at 01:43 PM. |
|
04-05-2016, 01:32 PM | #161 |
BLAM!
Posts: 13,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yep, but that's not the GNU set of utilities from binutils, that's the ones from the elfutils project (which also happens to be hosted by Fedora ;p). Hence the eu- prefix, for ElfUtils .
|
04-05-2016, 02:11 PM | #162 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Why?
You can't compile for a target without the c library (glibc in this case). You can't build libc without first building binutils. Once you've built binutils, well you've built all of it utilities. Just look in your cross-build tree - you probably built it without even noticing. |
04-05-2016, 02:35 PM | #163 |
BLAM!
Posts: 13,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@knc1: Probably because I didn't want to rebuild it a second time with the appropriate workarounds in place for the K3 build, whereas I was already building elfutils for strace/ltrace .
But, yeah, that's a pretty decent alternative to the whole K3 mess on that front . EDIT: That, and, more to the point, since I'm doing a cross-build, the binutils binaries I have are cross, too (i.e., x86_64 targeting arm). My actual sysroot is pretty bare with ct-ng, basically just libc & libstdc++. Last edited by NiLuJe; 04-05-2016 at 02:41 PM. |
04-05-2016, 02:48 PM | #164 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
You do have to take an extra step to build **something** for the target. Have you looked at just copying in a Debian (wheezy?) set of binutils binaries? No hurry - - My B002 is charging - My B003 is going "into the shop" for a serial port connection . . . Although now, after I bricked it, it occurs to me the likely reason (PEBCAK strikes again - I forgot something) . . . |
|
04-05-2016, 04:32 PM | #165 |
BLAM!
Posts: 13,477
Karma: 26012464
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@knc1: Sure, but where's the fun in that .
|
Tags |
hacks, kindle, niluje |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I removed the hacks, installed 3.1, then new hacks, and now Kindle is dead | cloudyvisions | Amazon Kindle | 55 | 11-29-2023 07:27 PM |
Tools Snapshots of Coplate's packages | coplate | Kindle Developer's Corner | 104 | 10-23-2022 11:41 PM |
NiLuJe offline? | picree | Kindle Developer's Corner | 1 | 09-28-2016 10:29 PM |
Snapshots test in Live version | Michele Clinco | OpenInkpot | 7 | 09-08-2009 02:42 PM |