Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-12-2014, 03:08 PM   #31
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,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
@hawhill: Nope, you're totally right ;D.

Why make it simple when I can do weird stuff instead?
NiLuJe is offline   Reply With Quote
Old 06-12-2014, 05:25 PM   #32
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Thanks everybody for the help so far.

Have banged my head against the wall all I wish to today -
So here goes a slightly broken V-0.2 for the world to try out.

Last edited by knc1; 06-12-2014 at 05:50 PM.
knc1 is offline   Reply With Quote
Advert
Old 06-12-2014, 08:09 PM   #33
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
Got files.

Realised I am too stupid to test them.

What am I doing?

*Reads thread again*
twobob is offline   Reply With Quote
Old 06-12-2014, 10:14 PM   #34
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Nitpick, nitpick

Quote:
Originally Posted by twobob View Post
Got files.

Realised I am too stupid to test them.

What am I doing?

*Reads thread again*
OK, so I forgot the install directions.

Presuming you have an ssh connection to your device (K4 ... newer) that is named: kpw

*) unpack archive on PC (probably as root {sudo})
*) find in directory that archive was unpacked into: 'extensions'
*) scp -r extensions kpw:/mnt/us
*) ssh kpw
*) export PATH=/mnt/us/extensions/system/bin:/mnt/us/extensions/system/usr/bin:$PATH
*) now - it should all 'just work' - should not need any LD_LIBRARY_PATH settings (although you can use that if required).

Exception, example that to use new busybox requires the 'busybox arguments' format:
ls --help <<--- see message header? that's the old (soft float) BB
busybox ls --help <<-- check header, that's v-1.22.1 (hard float)

And
lua (or luac) is just lua (luac).

Will work on fixing this busybox build this weekend.

If something seems to go wrong, then:
LD_DEBUG=libs busybox ls --help (or anything else with LD_DEBUG set to something)
should prove interesting.

Also:
LD_DEBUG=libs lua
Will show most of the (new) system libraries being loaded.
lua's internal number type is double, so do some math functions (from libm.so) -
which (if it doesn't blow up) shows that the hard float argument passing is working.
(and just using the interpeter input tests libreadline and libhistory)

Reminder - to exit lua, enter:
os.exit(0)

Note: You will see one Amazon library being loaded: /usr/lib/libenvload.so
That is currently expected and assumed to be harmless.

Last edited by knc1; 06-12-2014 at 10:34 PM.
knc1 is offline   Reply With Quote
Old 06-12-2014, 10:46 PM   #35
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
I get -sh: /mnt/us/extensions/system/bin/busybox: not found

I'll try again tomorrow. maybe I goofed.
twobob is offline   Reply With Quote
Advert
Old 06-12-2014, 11:01 PM   #36
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by twobob View Post
I get -sh: /mnt/us/extensions/system/bin/busybox: not found

I'll try again tomorrow. maybe I goofed.
It is there in the archive.
Too late at night for me to have any suggestions, sorry.
knc1 is offline   Reply With Quote
Old 06-12-2014, 11:12 PM   #37
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
I believe "not found" in this case refers to "cant be run." Ill double check
Attached Thumbnails
Click image for larger version

Name:	not-found.png
Views:	340
Size:	65.4 KB
ID:	124086  

Last edited by twobob; 06-12-2014 at 11:16 PM.
twobob is offline   Reply With Quote
Old 06-13-2014, 12:28 AM   #38
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by twobob View Post
I believe "not found" in this case refers to "cant be run." Ill double check
Clear the LD_LIBRARY_PATH thingy!


The whole point of this exercise is that you do not need anything set in LD_LIBRARY_PATH.

That information is now moved into the elf format binaries.
(AH, both of them, there are only two at the moment, busybox and lua).

Run either of those (the ones stored on /mnt/us/extensions/system/*) and everything else is "automagically", dynamically linked with the hard float libraries.

Run either of those (stored in the Amazon image) and everything is "automagically", dynamically linked with the soft float libraries.

Neat? Right?
(In fact, /mnt/us/extensions/system/* tree may hold **both** types of binaries - at the same time.)

With this set-up, it should be possible to take an application binary packaged for Debian/Jessie, open, diddle elf headers, then drop into /mnt/us/extensions/system/* and it will "just work".
knc1 is offline   Reply With Quote
Old 06-13-2014, 03:05 AM   #39
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
PW:

Quote:
[root@kindle root]# unset LD_LIBRARY_PATH
[root@kindle root]# echo $LD_LIBRARY_PATH

[root@kindle root]# /mnt/us/extensions/system/bin/busybox
-sh: /mnt/us/extensions/system/bin/busybox: not found
I'll go test it on something else.

hhmm

KT:
Quote:
[root@kindle root]# LD_DEBUG=libs /mnt/us/extensions/system/bin/busybox ls --help
-sh: /mnt/us/extensions/system/bin/busybox: not found
erm...[root@kindle root]# LD_DEBUG=libs /mnt/us/extensions/system/usr/bin/lua
-sh: /mnt/us/extensions/system/usr/bin/lua: not found



I did manage to get a:

Quote:
uname: error while loading shared libraries: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
lipc-set-prop: error while loading shared libraries: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
/usr/bin/lipc-set-prop: error while loading shared libraries: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
killall: error while loading shared libraries: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
out of my login script...

OTHER KT: Same. hmmm... *scratches head*

Last edited by twobob; 06-13-2014 at 03:45 AM.
twobob is offline   Reply With Quote
Old 06-13-2014, 03:50 AM   #40
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
It will be morning here in another 6 hours - take a break for the moment.

Hmm...

I did see that message during my testing.
It could be a simple matter of my shipping the wrong binaries.

For reference, this is the intended set of binary's headers:
Spoiler:

Code:
core2quad lib # for f in `ls -1 *` ; do echo $f ; readelf -dl $f | egrep 'SONAME|RUNPATH|NEEDED|Requesting' ; done
ld-linux-armhf.so
 0x0000000e (SONAME)                     Library soname: [ld-linux-armhf.so.3]
libcrypt.so.1
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libcrypt.so.1]
libc.so.6
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [ld-linux-armhf.so.3]
 0x0000000e (SONAME)                     Library soname: [libc.so.6]
libdl.so.2
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [ld-linux-armhf.so.3]
 0x0000000e (SONAME)                     Library soname: [libdl.so.2]
libgcc_s.so.1
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libgcc_s.so.1]
libm.so.6
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libm.so.6]
libnsl.so.1
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libnsl.so.1]
libnss_dns.so.2
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libresolv.so.2]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libnss_dns.so.2]
libnss_files.so.2
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libnss_files.so.2]
libpthread.so.0
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [ld-linux-armhf.so.3]
 0x0000000e (SONAME)                     Library soname: [libpthread.so.0]
libresolv.so.2
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [ld-linux-armhf.so.3]
 0x0000000e (SONAME)                     Library soname: [libresolv.so.2]
librt.so.1
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libpthread.so.0]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [librt.so.1]
libutil.so.1
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libutil.so.1]

core2quad bin # for f in `ls -1 *` ; do echo $f ; readelf -dl $f | egrep 'SONAME|RUNPATH|NEEDED|Requesting' ; done
busybox
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../lib:$ORIGIN/../usr/lib]

core2quad lib # for f in `ls -1 *` ; do echo $f ; readelf -dl $f | egrep 'SONAME|RUNPATH|NEEDED|Requesting' ; done
libhistory.so.6
 0x00000001 (NEEDED)                     Shared library: [libncurses.so.5]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libhistory.so.6]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../../lib:$ORIGIN/../lib]
liblua.so.5.1.5
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../../lib:$ORIGIN/../lib]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [liblua.so.5.1.5]
libncurses.so.5
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libncurses.so.5]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../../lib:$ORIGIN/../lib]
libreadline.so.6
 0x00000001 (NEEDED)                     Shared library: [libncurses.so.5]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x0000000e (SONAME)                     Library soname: [libreadline.so.6]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../../lib:$ORIGIN/../lib]
libstdc++.so.6
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../../lib:$ORIGIN/../lib]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
 0x00000001 (NEEDED)                     Shared library: [ld-linux-armhf.so.3]
 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
 0x0000000e (SONAME)                     Library soname: [libstdc++.so.6]

core2quad bin # for f in `ls -1 *` ; do echo $f ; readelf -dl $f | egrep 'SONAME|RUNPATH|NEEDED|Requesting' ; done
lua
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../../lib:$ORIGIN/../lib]
 0x00000001 (NEEDED)                     Shared library: [liblua.so.5.1.5]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.2]
 0x00000001 (NEEDED)                     Shared library: [libreadline.so.6]
 0x00000001 (NEEDED)                     Shared library: [libhistory.so.6]
 0x00000001 (NEEDED)                     Shared library: [libncurses.so.5]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
luac
      [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
 0x0000001d (RUNPATH)                    Library runpath: [$ORIGIN/../../lib:$ORIGIN/../lib]
 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
 0x00000001 (NEEDED)                     Shared library: [libdl.so.2]
 0x00000001 (NEEDED)                     Shared library: [libreadline.so.6]
 0x00000001 (NEEDED)                     Shared library: [libhistory.so.6]
 0x00000001 (NEEDED)                     Shared library: [libncurses.so.5]
 0x00000001 (NEEDED)                     Shared library: [libc.so.6]


The earlier, broken set, would have an $ORIGIN in the path to the interperater:
I.E: the correct entry is:
Code:
 [Requesting program interpreter: /mnt/us/extensions/system/lib/ld-linux-armhf.so.3]
If it isn't, use patchelf to set it per above.

Also, in the middle of the night, I realized I have mis-used the $ORIGIN in the libraries search paths.

I will get out a v-0.2.1 fixing the library search paths ASAP.
(that's easy, I just have to fix the helper scrips and run them again.)

A fixed busybox build may have to wait until v-0.2.2 (this weekend).

Thanks for your help.

Last edited by knc1; 06-13-2014 at 04:00 AM.
knc1 is offline   Reply With Quote
Old 06-13-2014, 04:24 AM   #41
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Tır
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
[root@kindle lib]# LD_DEBUG=libs grep -v


SNIP
Code:
11573:	find library=ld-linux-armhf.so.3 [0]; searching
     11573:	 search path=/mnt/us/extensions/system/lib:/usr/local/lib/tls/v7l/neon/vfp:/usr/local/lib/tls/v7l/neon:/usr/local/lib/tls/v7l/vfp:/usr/local/lib/tls/v7l:/usr/local/lib/tls/neon/vfp:/usr/local/lib/tls/neon:/usr/local/lib/tls/vfp:/usr/local/lib/tls:/usr/local/lib/v7l/neon/vfp:/usr/local/lib/v7l/neon:/usr/local/lib/v7l/vfp:/usr/local/lib/v7l:/usr/local/lib/neon/vfp:/usr/local/lib/neon:/usr/local/lib/vfp:/usr/local/lib		(LD_LIBRARY_PATH)
     11573:	  trying file=/mnt/us/extensions/system/lib/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/tls/v7l/neon/vfp/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/tls/v7l/neon/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/tls/v7l/vfp/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/tls/v7l/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/tls/neon/vfp/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/tls/neon/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/tls/vfp/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/tls/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/v7l/neon/vfp/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/v7l/neon/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/v7l/vfp/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/v7l/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/neon/vfp/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/neon/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/vfp/ld-linux-armhf.so.3
     11573:	  trying file=/usr/local/lib/ld-linux-armhf.so.3
/SNIP

Code:
grep: error while loading shared libraries: ld-linux-armhf.so.3: cannot open shared object file: No such file or directory
[root@kindle lib]# LD_DEBUG=libs /mnt/us/extensions/system/bin/busybox
-sh: /mnt/us/extensions/system/bin/busybox: not found
[root@kindle lib]# cd /mnt/us/extensions/system/bin
[root@kindle bin]# LD_DEBUG=libs ./busybox                            
-sh: ./busybox: not found

seems to not be finding it or not finding something it can use anyhow.

Last edited by twobob; 06-13-2014 at 04:33 AM.
twobob is offline   Reply With Quote
Old 06-13-2014, 08:38 AM   #42
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Hmm...

On my K5-Paperwhite (with the libraries I thought I shipped):
Code:
[root@kindle bin]# LD_DEBUG=libs ./busybox
      5772:     find library=libc.so.6 [0]; searching
      5772:      search path= too long, not interesting:
:/mnt/us/extensions/system/bin/../usr/lib            (RUNPATH from file ./busybox)
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/tls/v7l/neon/vfp/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/tls/v7l/neon/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/tls/v7l/vfp/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/tls/v7l/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/tls/neon/vfp/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/tls/neon/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/tls/vfp/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/tls/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/v7l/neon/vfp/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/v7l/neon/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/v7l/vfp/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/v7l/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/neon/vfp/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/neon/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/vfp/libc.so.6
      5772:       trying file=/mnt/us/extensions/system/bin/../lib/libc.so.6
      5772:     
      5772:     
      5772:     calling init: /mnt/us/extensions/system/bin/../lib/libc.so.6
      5772:     
      5772:     
      5772:     calling init: /usr/lib/libenvload.so
      5772:     
      5772:     
      5772:     initialize program: ./busybox
      5772:     
      5772:     
      5772:     transferring control: ./busybox
      5772:     
BusyBox v1.22.1 (2014-06-11 02:23:01 CDT) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2012.
Licensed under GPLv2. See source distribution for detailed
copyright notices.

Usage: busybox [function [arguments]...]
   or: busybox --list[-full]
   or: busybox --install [-s] [DIR]
   or: function [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as.

Currently defined functions:
        [, [[, addgroup, adduser, ar, arping, ash, awk, basename, blkid, bunzip2, bzcat, cat, catv, chattr, chgrp, chmod,
        chown, chroot, chrt, chvt, cksum, clear, cmp, cp, cpio, crond, crontab, cut, date, dc, dd, deallocvt, delgroup,
        deluser, devmem, df, diff, dirname, dmesg, dnsd, dnsdomainname, dos2unix, du, dumpkmap, echo, egrep, eject, env,
        ether-wake, expr, false, fdflush, fdformat, fgrep, find, fold, free, freeramdisk, fsck, fstrim, fuser, getopt, getty,
        grep, gunzip, gzip, halt, hdparm, head, hexdump, hostid, hostname, hwclock, id, ifconfig, ifdown, ifup, inetd, init,
        insmod, install, ip, ipaddr, ipcrm, ipcs, iplink, iproute, iprule, iptunnel, kill, killall, killall5, klogd, last,
        less, linux32, linux64, linuxrc, ln, loadfont, loadkmap, logger, login, logname, losetup, ls, lsattr, lsmod, lsof,
        lspci, lsusb, lzcat, lzma, makedevs, md5sum, mdev, mesg, microcom, mkdir, mkfifo, mknod, mkswap, mktemp, modprobe,
        more, mount, mountpoint, mt, mv, nameif, netstat, nice, nohup, nslookup, od, openvt, passwd, patch, pidof, ping,
        pipe_progress, pivot_root, poweroff, printenv, printf, ps, pwd, rdate, readlink, readprofile, realpath, reboot, renice,
        reset, resize, rm, rmdir, rmmod, route, run-parts, runlevel, sed, seq, setarch, setconsole, setkeycodes, setlogcons,
        setserial, setsid, sh, sha1sum, sha256sum, sha3sum, sha512sum, sleep, sort, start-stop-daemon, strings, stty, su,
        sulogin, swapoff, swapon, switch_root, sync, sysctl, syslogd, tail, tar, tee, telnet, test, tftp, time, top, touch, tr,
        traceroute, true, tty, udhcpc, umount, uname, uniq, unix2dos, unlzma, unxz, unzip, uptime, usleep, uudecode, uuencode,
        vconfig, vi, vlock, watch, watchdog, wc, wget, which, who, whoami, xargs, xz, xzcat, yes, zcat

      5772:     
      5772:     calling fini: ./busybox [0]
      5772:     
      5772:     
      5772:     calling fini: /usr/lib/libenvload.so [0]
      5772:     
[root@kindle bin]#
Note: There is no "grep -v" in the shipped package -
Your trace shows it not found in the hard-float package and is then searching for the soft-float version (which should have worked - but I didn't test it).

The only thing in the shipped package in */bin is busybox (one (1) file).

Aw, so!
Did you: rm -fr /mnt/us/extensions/system before you copied in the new hard-float stuff? (mine was empty)
There may be a conflict with what you already had in there.

Or with alias'es set-up in your root environment (mine had none).
Do (still) have root's profile set-up with an alias grep="something evil" ??

Last edited by knc1; 06-13-2014 at 09:02 AM.
knc1 is offline   Reply With Quote
Old 06-13-2014, 10:36 AM   #43
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Version 0.2.1 Posted

Top post and attachments updated with v-0.2.1 stuff.
knc1 is offline   Reply With Quote
Old 06-13-2014, 08:52 PM   #44
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
@twobob:

I re-configured and re-built BusyBox -
Built and installed a copy of V-0.2.2 -

And what happened?
I broke my own system, somehow.

I.E: I confirmed your own results with V-0.2.1 -

- - - - -

Terminal #1:

core2quad ~ $ ssh kpw
#################################################
# N O T I C E * N O T I C E * N O T I C E #
#################################################
Rootfs is mounted read-only. Invoke mntroot rw to
switch back to a writable rootfs.
#################################################
[root@kindle root]# cd /mnt/us/extensions
[root@kindle extensions]# rm -fr system
[root@kindle extensions]#

Terminal #2:

core2quad ~ $ mkdir wrk
core2quad ~ $ cd wrk
Code:
core2quad wrk $ ls -l ../BR_Working/base-0.2.2-a8_armhf_vfpv3d16.tar.gz
-rw-r--r-- 1 mszick mszick 2312755 2014-06-13 15:49 ../BR_Working/base-0.2.2-a8_armhf_vfpv3d16.tar.gz
core2quad wrk $ tar --extract --file=../BR_Working/base-0.2.2-a8_armhf_vfpv3d16.tar.gz
core2quad wrk $ ls
extensions
core2quad wrk $ scp -r extensions kpw:/mnt/us
Spoiler:

ld-linux-armhf.so 100% 127KB 127.2KB/s 00:00
libm.so.6 100% 467KB 467.4KB/s 00:01
libresolv.so.2 100% 119KB 118.6KB/s 00:00
libpthread.so.0 100% 138KB 137.7KB/s 00:00
libnsl.so.1 100% 120KB 119.8KB/s 00:00
libnss_files.so.2 100% 83KB 82.9KB/s 00:00
libutil.so.1 100% 49KB 49.1KB/s 00:00
librt.so.1 100% 66KB 66.1KB/s 00:00
libgcc_s.so.1 100% 132KB 132.4KB/s 00:00
libnss_dns.so.2 100% 57KB 57.4KB/s 00:00
libcrypt.so.1 100% 225KB 225.0KB/s 00:00
libc.so.6 100% 1279KB 1.3MB/s 00:00
libdl.so.2 100% 49KB 49.2KB/s 00:00
libreadline.so.6 100% 697KB 697.2KB/s 00:01
ansi 100% 1481 1.5KB/s 00:00
xterm-color 100% 1551 1.5KB/s 00:00
xterm-xfree86 100% 2247 2.2KB/s 00:00
xterm 100% 3270 3.2KB/s 00:00
vt220 100% 1279 1.3KB/s 00:00
vt200 100% 1279 1.3KB/s 00:00
vt102 100% 1188 1.2KB/s 00:00
vt100 100% 1194 1.2KB/s 00:00
linux 100% 1790 1.8KB/s 00:00
screen 100% 1564 1.5KB/s 00:00
libhistory.so.6 100% 102KB 102.0KB/s 00:00
libncurses.so.5 100% 221KB 221.3KB/s 00:00
libstdc++.so.6 100% 797KB 797.3KB/s 00:00
liblua.so.5.1.5 100% 131KB 131.0KB/s 00:00
libstdc++.so.6.0.20-gdb.py 100% 2364 2.3KB/s 00:00
awk 100% 43 0.0KB/s 00:00
lzma 100% 44 0.0KB/s 00:00
xz 100% 42 0.0KB/s 00:00
mesg 100% 44 0.0KB/s 00:00
env 100% 43 0.0KB/s 00:00
free 100% 44 0.0KB/s 00:00
sha3sum 100% 47 0.1KB/s 00:00
sha1sum 100% 47 0.1KB/s 00:00
printf 100% 46 0.0KB/s 00:00
diff 100% 44 0.0KB/s 00:00
install 100% 47 0.1KB/s 00:00
uniq 100% 44 0.0KB/s 00:00
tr 100% 42 0.0KB/s 00:00
cut 100% 43 0.0KB/s 00:00
lspci 100% 45 0.0KB/s 00:00
logger 100% 46 0.0KB/s 00:00
unix2dos 100% 48 0.1KB/s 00:00
lsof 100% 44 0.0KB/s 00:00
last 100% 44 0.0KB/s 00:00
eject 100% 45 0.0KB/s 00:00
clear 100% 45 0.0KB/s 00:00
vlock 100% 45 0.0KB/s 00:00
openvt 100% 46 0.0KB/s 00:00
chvt 100% 44 0.0KB/s 00:00
test 100% 44 0.0KB/s 00:00
tftp 100% 44 0.0KB/s 00:00
fold 100% 44 0.0KB/s 00:00
md5sum 100% 46 0.0KB/s 00:00
readlink 100% 48 0.1KB/s 00:00
dc 100% 42 0.0KB/s 00:00
resize 100% 46 0.0KB/s 00:00
od 100% 42 0.0KB/s 00:00
renice 100% 46 0.0KB/s 00:00
cksum 100% 45 0.0KB/s 00:00
luac 100% 87KB 86.9KB/s 00:00
du 100% 42 0.0KB/s 00:00
traceroute 100% 50 0.1KB/s 00:00
sha512sum 100% 49 0.1KB/s 00:00
top 100% 43 0.0KB/s 00:00
hexdump 100% 47 0.1KB/s 00:00
wget 100% 44 0.0KB/s 00:00
reset 100% 45 0.0KB/s 00:00
realpath 100% 48 0.1KB/s 00:00
bunzip2 100% 47 0.1KB/s 00:00
which 100% 45 0.0KB/s 00:00
[[ 100% 42 0.0KB/s 00:00
tail 100% 44 0.0KB/s 00:00
sha256sum 100% 49 0.1KB/s 00:00
ar 100% 42 0.0KB/s 00:00
dirname 100% 47 0.1KB/s 00:00
passwd 100% 46 0.0KB/s 00:00
expr 100% 44 0.0KB/s 00:00
strings 100% 47 0.1KB/s 00:00
ipcrm 100% 45 0.0KB/s 00:00
uptime 100% 46 0.0KB/s 00:00
patch 100% 45 0.0KB/s 00:00
hostid 100% 46 0.0KB/s 00:00
less 100% 44 0.0KB/s 00:00
cmp 100% 43 0.0KB/s 00:00
id 100% 42 0.0KB/s 00:00
find 100% 44 0.0KB/s 00:00
logname 100% 47 0.1KB/s 00:00
bzcat 100% 45 0.0KB/s 00:00
xargs 100% 45 0.0KB/s 00:00
setkeycodes 100% 51 0.1KB/s 00:00
tee 100% 43 0.0KB/s 00:00
nslookup 100% 48 0.1KB/s 00:00
fuser 100% 45 0.0KB/s 00:00
lua 100% 14KB 13.9KB/s 00:00
microcom 100% 48 0.1KB/s 00:00
[ 100% 41 0.0KB/s 00:00
unlzma 100% 46 0.0KB/s 00:00
xzcat 100% 45 0.0KB/s 00:00
setsid 100% 46 0.0KB/s 00:00
unxz 100% 44 0.0KB/s 00:00
sort 100% 44 0.0KB/s 00:00
chrt 100% 44 0.0KB/s 00:00
ipcs 100% 44 0.0KB/s 00:00
lsusb 100% 45 0.0KB/s 00:00
crontab 100% 47 0.1KB/s 00:00
whoami 100% 46 0.0KB/s 00:00
unzip 100% 45 0.0KB/s 00:00
telnet 100% 46 0.0KB/s 00:00
tty 100% 43 0.0KB/s 00:00
time 100% 44 0.0KB/s 00:00
who 100% 43 0.0KB/s 00:00
uuencode 100% 48 0.1KB/s 00:00
yes 100% 43 0.0KB/s 00:00
seq 100% 43 0.0KB/s 00:00
basename 100% 48 0.1KB/s 00:00
wc 100% 42 0.0KB/s 00:00
lzcat 100% 45 0.0KB/s 00:00
nohup 100% 45 0.0KB/s 00:00
mkfifo 100% 46 0.0KB/s 00:00
head 100% 44 0.0KB/s 00:00
dos2unix 100% 48 0.1KB/s 00:00
deallocvt 100% 49 0.1KB/s 00:00
uudecode 100% 48 0.1KB/s 00:00
killall 100% 47 0.1KB/s 00:00
deluser 100% 47 0.1KB/s 00:00
ether-wake 100% 50 0.1KB/s 00:00
crond 100% 45 0.0KB/s 00:00
killall5 100% 48 0.1KB/s 00:00
inetd 100% 45 0.0KB/s 00:00
loadfont 100% 48 0.1KB/s 00:00
arping 100% 46 0.0KB/s 00:00
adduser 100% 47 0.1KB/s 00:00
setlogcons 100% 50 0.1KB/s 00:00
dnsd 100% 44 0.0KB/s 00:00
readprofile 100% 51 0.1KB/s 00:00
rdate 100% 45 0.0KB/s 00:00
delgroup 100% 48 0.1KB/s 00:00
addgroup 100% 48 0.1KB/s 00:00
chroot 100% 46 0.0KB/s 00:00
fdformat 100% 48 0.1KB/s 00:00
date 100% 44 0.0KB/s 00:00
mktemp 100% 46 0.0KB/s 00:00
netstat 100% 47 0.1KB/s 00:00
fdflush 100% 47 0.1KB/s 00:00
run-parts 100% 49 0.1KB/s 00:00
busybox 100% 559KB 559.2KB/s 00:00
ping 100% 44 0.0KB/s 00:00
printenv 100% 48 0.1KB/s 00:00
sync 100% 44 0.0KB/s 00:00
cat 100% 43 0.0KB/s 00:00
setserial 100% 49 0.1KB/s 00:00
pidof 100% 45 0.0KB/s 00:00
fgrep 100% 45 0.0KB/s 00:00
grep 100% 44 0.0KB/s 00:00
zcat 100% 44 0.0KB/s 00:00
echo 100% 44 0.0KB/s 00:00
catv 100% 44 0.0KB/s 00:00
stty 100% 44 0.0KB/s 00:00
mknod 100% 45 0.0KB/s 00:00
tar 100% 43 0.0KB/s 00:00
login 100% 45 0.0KB/s 00:00
ash 100% 43 0.0KB/s 00:00
more 100% 44 0.0KB/s 00:00
rmdir 100% 45 0.0KB/s 00:00
true 100% 44 0.0KB/s 00:00
chmod 100% 45 0.0KB/s 00:00
sed 100% 43 0.0KB/s 00:00
mt 100% 42 0.0KB/s 00:00
ls 100% 42 0.0KB/s 00:00
usleep 100% 46 0.0KB/s 00:00
cp 100% 42 0.0KB/s 00:00
dmesg 100% 45 0.0KB/s 00:00
chgrp 100% 45 0.0KB/s 00:00
rm 100% 42 0.0KB/s 00:00
touch 100% 45 0.0KB/s 00:00
ps 100% 42 0.0KB/s 00:00
pipe_progress 100% 53 0.1KB/s 00:00
df 100% 42 0.0KB/s 00:00
mkdir 100% 45 0.0KB/s 00:00
umount 100% 46 0.0KB/s 00:00
egrep 100% 45 0.0KB/s 00:00
setarch 100% 47 0.1KB/s 00:00
lsattr 100% 46 0.0KB/s 00:00
cpio 100% 44 0.0KB/s 00:00
mv 100% 42 0.0KB/s 00:00
gzip 100% 44 0.0KB/s 00:00
su 100% 42 0.0KB/s 00:00
gunzip 100% 46 0.0KB/s 00:00
linux64 100% 47 0.1KB/s 00:00
hostname 100% 48 0.1KB/s 00:00
sleep 100% 45 0.0KB/s 00:00
chattr 100% 46 0.0KB/s 00:00
watch 100% 45 0.0KB/s 00:00
mount 100% 45 0.0KB/s 00:00
false 100% 45 0.0KB/s 00:00
uname 100% 45 0.0KB/s 00:00
chown 100% 45 0.0KB/s 00:00
mountpoint 100% 50 0.1KB/s 00:00
getopt 100% 46 0.0KB/s 00:00
dumpkmap 100% 48 0.1KB/s 00:00
linux32 100% 47 0.1KB/s 00:00
vi 100% 42 0.0KB/s 00:00
kill 100% 44 0.0KB/s 00:00
dd 100% 42 0.0KB/s 00:00
ln 100% 42 0.0KB/s 00:00
dnsdomainname 100% 53 0.1KB/s 00:00
sh 100% 42 0.0KB/s 00:00
nice 100% 44 0.0KB/s 00:00
pwd 100% 43 0.0KB/s 00:00
mdev 100% 44 0.0KB/s 00:00
fstrim 100% 46 0.0KB/s 00:00
pivot_root 100% 50 0.1KB/s 00:00
blkid 100% 45 0.0KB/s 00:00
switch_root 100% 51 0.1KB/s 00:00
loadkmap 100% 48 0.1KB/s 00:00
iprule 100% 46 0.0KB/s 00:00
ipaddr 100% 46 0.0KB/s 00:00
ip 100% 42 0.0KB/s 00:00
fsck 100% 44 0.0KB/s 00:00
klogd 100% 45 0.0KB/s 00:00
devmem 100% 46 0.0KB/s 00:00
lsmod 100% 45 0.0KB/s 00:00
nameif 100% 46 0.0KB/s 00:00
swapon 100% 46 0.0KB/s 00:00
runlevel 100% 48 0.1KB/s 00:00
start-stop-daemon 100% 57 0.1KB/s 00:00
sulogin 100% 47 0.1KB/s 00:00
syslogd 100% 47 0.1KB/s 00:00
sysctl 100% 46 0.0KB/s 00:00
ifup 100% 44 0.0KB/s 00:00
freeramdisk 100% 51 0.1KB/s 00:00
halt 100% 44 0.0KB/s 00:00
modprobe 100% 48 0.1KB/s 00:00
route 100% 45 0.0KB/s 00:00
ifdown 100% 46 0.0KB/s 00:00
hdparm 100% 46 0.0KB/s 00:00
losetup 100% 47 0.1KB/s 00:00
iptunnel 100% 48 0.1KB/s 00:00
vconfig 100% 47 0.1KB/s 00:00
init 100% 44 0.0KB/s 00:00
getty 100% 45 0.0KB/s 00:00
reboot 100% 46 0.0KB/s 00:00
insmod 100% 46 0.0KB/s 00:00
setconsole 100% 50 0.1KB/s 00:00
watchdog 100% 48 0.1KB/s 00:00
udhcpc 100% 46 0.0KB/s 00:00
mkswap 100% 46 0.0KB/s 00:00
ifconfig 100% 48 0.1KB/s 00:00
poweroff 100% 48 0.1KB/s 00:00
swapoff 100% 47 0.1KB/s 00:00
rmmod 100% 45 0.0KB/s 00:00
hwclock 100% 47 0.1KB/s 00:00
makedevs 100% 48 0.1KB/s 00:00
iplink 100% 46 0.0KB/s 00:00
iproute
100% 47 0.1KB/s 00:00
core2quad wrk $

Terminal #1:

[root@kindle extensions]# ls -l system/*
Spoiler:

Code:
system/bin:
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 ash
-rwxr-xr-x    1 root     root        572596 Oct 19 13:08 busybox
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 cat
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 catv
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 chattr
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 chgrp
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 chmod
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 chown
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 cp
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 cpio
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 date
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 dd
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 df
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 dmesg
-rwxr-xr-x    1 root     root            53 Oct 19 13:08 dnsdomainname
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 dumpkmap
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 echo
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 egrep
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 false
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 fdflush
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 fgrep
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 getopt
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 grep
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 gunzip
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 gzip
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 hostname
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 kill
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 linux32
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 linux64
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 ln
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 login
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 ls
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 lsattr
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 mkdir
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 mknod
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 mktemp
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 more
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 mount
-rwxr-xr-x    1 root     root            50 Oct 19 13:08 mountpoint
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 mt
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 mv
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 netstat
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 nice
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 pidof
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 ping
-rwxr-xr-x    1 root     root            53 Oct 19 13:08 pipe_progress
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 printenv
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 ps
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 pwd
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 rm
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 rmdir
-rwxr-xr-x    1 root     root            49 Oct 19 13:08 run-parts
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 sed
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 setarch
-rwxr-xr-x    1 root     root            49 Oct 19 13:08 setserial
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 sh
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 sleep
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 stty
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 su
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 sync
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 tar
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 touch
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 true
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 umount
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 uname
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 usleep
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 vi
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 watch
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 zcat

system/lib:
-rwxr-xr-x    1 root     root        130228 Oct 19 13:08 ld-linux-armhf.so
-rwxr-xr-x    1 root     root       1309828 Oct 19 13:08 libc.so.6
-rwxr-xr-x    1 root     root        230436 Oct 19 13:08 libcrypt.so.1
-rwxr-xr-x    1 root     root         50344 Oct 19 13:08 libdl.so.2
-rwxr-xr-x    1 root     root        135588 Oct 19 13:08 libgcc_s.so.1
-rwxr-xr-x    1 root     root        478596 Oct 19 13:08 libm.so.6
-rwxr-xr-x    1 root     root        122640 Oct 19 13:08 libnsl.so.1
-rwxr-xr-x    1 root     root         58752 Oct 19 13:08 libnss_dns.so.2
-rwxr-xr-x    1 root     root         84836 Oct 19 13:08 libnss_files.so.2
-rwxr-xr-x    1 root     root        140956 Oct 19 13:08 libpthread.so.0
-rwxr-xr-x    1 root     root        121448 Oct 19 13:08 libresolv.so.2
-rwxr-xr-x    1 root     root         67700 Oct 19 13:08 librt.so.1
-rwxr-xr-x    1 root     root         50292 Oct 19 13:08 libutil.so.1

system/sbin:
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 blkid
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 devmem
-rwxr-xr-x    1 root     root            51 Oct 19 13:08 freeramdisk
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 fsck
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 fstrim
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 getty
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 halt
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 hdparm
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 hwclock
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 ifconfig
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 ifdown
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 ifup
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 init
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 insmod
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 ip
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 ipaddr
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 iplink
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 iproute
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 iprule
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 iptunnel
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 klogd
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 loadkmap
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 losetup
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 lsmod
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 makedevs
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 mdev
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 mkswap
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 modprobe
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 nameif
-rwxr-xr-x    1 root     root            50 Oct 19 13:08 pivot_root
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 poweroff
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 reboot
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 rmmod
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 route
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 runlevel
-rwxr-xr-x    1 root     root            50 Oct 19 13:08 setconsole
-rwxr-xr-x    1 root     root            57 Oct 19 13:08 start-stop-daemon
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 sulogin
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 swapoff
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 swapon
-rwxr-xr-x    1 root     root            51 Oct 19 13:08 switch_root
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 sysctl
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 syslogd
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 udhcpc
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 vconfig
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 watchdog

system/usr:
drwxr-xr-x    2 root     root          8192 Oct 19 13:08 bin
drwxr-xr-x    4 root     root          8192 Oct 19 13:08 lib
drwxr-xr-x    2 root     root          8192 Oct 19 13:08 sbin
drwxr-xr-x    3 root     root          8192 Oct 19 13:08 share

[root@kindle extensions]# ls -l system/usr/*
Spoiler:

Code:
system/usr/bin:
-rwxr-xr-x    1 root     root            41 Oct 19 13:08 [
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 [[
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 ar
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 awk
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 basename
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 bunzip2
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 bzcat
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 chrt
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 chvt
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 cksum
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 clear
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 cmp
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 crontab
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 cut
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 dc
-rwxr-xr-x    1 root     root            49 Oct 19 13:08 deallocvt
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 diff
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 dirname
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 dos2unix
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 du
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 eject
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 env
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 expr
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 find
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 fold
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 free
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 fuser
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 head
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 hexdump
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 hostid
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 id
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 install
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 ipcrm
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 ipcs
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 killall
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 last
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 less
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 logger
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 logname
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 lsof
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 lspci
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 lsusb
-rwxr-xr-x    1 root     root         14200 Oct 19 13:08 lua
-rwxr-xr-x    1 root     root         88976 Oct 19 13:08 luac
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 lzcat
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 lzma
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 md5sum
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 mesg
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 microcom
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 mkfifo
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 nohup
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 nslookup
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 od
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 openvt
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 passwd
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 patch
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 printf
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 readlink
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 realpath
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 renice
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 reset
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 resize
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 seq
-rwxr-xr-x    1 root     root            51 Oct 19 13:08 setkeycodes
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 setsid
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 sha1sum
-rwxr-xr-x    1 root     root            49 Oct 19 13:08 sha256sum
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 sha3sum
-rwxr-xr-x    1 root     root            49 Oct 19 13:08 sha512sum
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 sort
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 strings
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 tail
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 tee
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 telnet
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 test
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 tftp
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 time
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 top
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 tr
-rwxr-xr-x    1 root     root            50 Oct 19 13:08 traceroute
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 tty
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 uniq
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 unix2dos
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 unlzma
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 unxz
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 unzip
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 uptime
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 uudecode
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 uuencode
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 vlock
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 wc
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 wget
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 which
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 who
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 whoami
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 xargs
-rwxr-xr-x    1 root     root            42 Oct 19 13:08 xz
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 xzcat
-rwxr-xr-x    1 root     root            43 Oct 19 13:08 yes

system/usr/lib:
-r-xr-xr-x    1 root     root        104440 Oct 19 13:08 libhistory.so.6
-rwxr-xr-x    1 root     root        134132 Oct 19 13:08 liblua.so.5.1.5
-rwxr-xr-x    1 root     root        226640 Oct 19 13:08 libncurses.so.5
-r-xr-xr-x    1 root     root        713956 Oct 19 13:08 libreadline.so.6
-rwxr-xr-x    1 root     root        816440 Oct 19 13:08 libstdc++.so.6
-rwxr-xr-x    1 root     root          2364 Oct 19 13:08 libstdc++.so.6.0.20-gdb.py
drwxr-xr-x    3 root     root          8192 Oct 19 13:08 lua
drwxr-xr-x    7 root     root          8192 Oct 19 13:08 terminfo

system/usr/sbin:
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 addgroup
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 adduser
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 arping
-rwxr-xr-x    1 root     root            46 Oct 19 13:08 chroot
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 crond
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 delgroup
-rwxr-xr-x    1 root     root            47 Oct 19 13:08 deluser
-rwxr-xr-x    1 root     root            44 Oct 19 13:08 dnsd
-rwxr-xr-x    1 root     root            50 Oct 19 13:08 ether-wake
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 fdformat
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 inetd
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 killall5
-rwxr-xr-x    1 root     root            48 Oct 19 13:08 loadfont
-rwxr-xr-x    1 root     root            45 Oct 19 13:08 rdate
-rwxr-xr-x    1 root     root            51 Oct 19 13:08 readprofile
-rwxr-xr-x    1 root     root            50 Oct 19 13:08 setlogcons

system/usr/share:
drwxr-xr-x    3 root     root          8192 Oct 19 13:08 lua

[root@kindle extensions]# cd
[root@kindle root]# export PATH=/mnt/us/extensions/system/bin:/mnt/us/extensions/system/sbin:/mnt/us/extensions/system/usr/bin:/
mnt/us/extensions/system/usr/sbin:$PATH

[root@kindle root]# echo $LD_LIBRARY_PATH

[root@kindle root]# busybox
BusyBox v1.17.1 (2013-01-08 21:45:52 PST) multi-call binary.
Spoiler:

Code:
Copyright (C) 1998-2009 Erik Andersen, Rob Landley, Denys Vlasenko
and others. Licensed under GPLv2.
See source distribution for full notice.

Usage: busybox [function] [arguments]...
   or: function [arguments]...

	BusyBox is a multi-call binary that combines many common Unix
	utilities into a single executable.  Most people will create a
	link to busybox for each function they wish to use and BusyBox
	will act like whatever it was invoked as.

Currently defined functions:
	[, [[, acpid, addgroup, adduser, adjtimex, ash, awk, basename, bash, beep, bootchartd, brctl, cat, chgrp, chmod, chown,
	chpasswd, chroot, cmp, cp, crond, crontab, cut, date, dd, delgroup, deluser, devmem, df, dhcprelay, diff, dirname,
	dmesg, dnsdomainname, du, dumpleases, echo, env, expr, false, fbset, fbsplash, fdisk, fgconsole, fgrep, find, flock,
	freeramdisk, fsync, ftpd, getty, grep, gunzip, gzip, hd, head, hexdump, hostname, hwclock, id, ifconfig, ifdown,
	ifenslave, ifplugd, ifup, install, ionice, ip, kbd_mode, kill, killall, klogd, less, ln, logger, login, logname,
	losetup, lpd, lpq, lpr, ls, lspci, lsusb, lzop, lzopcat, makedevs, makemime, man, md5sum, microcom, mkdir, mkfifo,
	mknod, mktemp, more, mv, nc, netstat, nice, nslookup, passwd, pgrep, pidof, ping, pipe_progress, pivot_root, pkill,
	popmaildir, printf, pwd, rdate, rdev, readlink, realpath, reformime, renice, rev, rm, rmdir, route, rtcwake, run-parts,
	scriptreplay, sed, sendmail, seq, setfont, sh, sha256sum, sha512sum, showkey, sleep, smemcap, sort, start-stop-daemon,
	stat, strings, stty, su, sync, tac, tail, tar, tee, telnet, test, time, timeout, touch, tr, traceroute, true, tty,
	tunctl, udhcpc, udhcpd, uname, uniq, unlzop, unxz, unzip, uptime, usleep, vi, volname, wall, wc, wget, which, who,
	whoami, xargs, xz, xzcat, yes, zcat

[root@kindle root]# ls -l /mnt/us/extensions/system/bin/busybox
Code:
-rwxr-xr-x    1 root     root        572596 Oct 19 13:08 /mnt/us/extensions/system/bin/busybox
[root@kindle root]# date
Fri Oct 19 13:18:46 CEST 2012
[root@kindle root]# /mnt/us/extensions/system/bin/busybox
-sh: /mnt/us/extensions/system/bin/busybox: not found
[root@kindle root]# cd /mnt/us/extensions/system/bin
[root@kindle bin]# ./busybox
-sh: ./busybox: not found
[root@kindle bin]# ls -l ./busybox
-rwxr-xr-x 1 root root 572596 Oct 19 13:08 ./busybox
[root@kindle root]#


Will be working on that this weekend.
knc1 is offline   Reply With Quote
Old 06-13-2014, 11:30 PM   #45
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,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
If that helps, that's what happens when the kernel can't even run the binary (wrong arch, possibly fatally wrong CPU tuning, although that should SIGILL instead).
NiLuJe is offline   Reply With Quote
Reply

Tags
armhf

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle Nicknaming Scheme, Using Kindle with Calibre, and Hacking the Kindle Klif Amazon Kindle 11 09-12-2012 05:11 PM
$0.01 in Kindle Store: Interactive Sudoku for Kindle 2 and Kindle DX - Volume 1 Xia Deals and Resources (No Self-Promotion or Affiliate Links) 2 11-07-2009 10:06 AM


All times are GMT -4. The time now is 10:41 AM.


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