View Single Post
Old 08-16-2012, 10:50 AM   #22
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: 6299993
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 will have a look mate. Check the Kernal config. In fact Ill just attach it here.

In other news:

Trying to get my head around operating in FAT space also with linux libs.

I would suggest it is not a great idea : )

[root@kindle bin]# cd /mnt/us/usr/bin
[root@kindle bin]# /lib/ld-linux.so.3 --list /mnt/us/usr/lib/libruby.so.1.9
libpthread.so.0 => /mnt/us/lib/libpthread.so.0 (0x40242000)
librt.so.1 => /mnt/us/lib/librt.so.1 (0x40262000)
libdl.so.2 => /mnt/us/lib/libdl.so.2 (0x40272000)
libcrypt.so.1 => /mnt/us/lib/libcrypt.so.1 (0x40280000)
libm.so.6 => /mnt/us/lib/libm.so.6 (0x402bb000)
libgcc_s.so.1 => /mnt/us/lib/libgcc_s.so.1 (0x40361000)
libc.so.6 => /mnt/us/lib/libc.so.6 (0x40389000)
/lib/ld-linux.so.3 (0x2a000000)

[root@kindle bin]# strace -o ruby.out ./ruby

execve("./ruby", ["./ruby"], [/* 23 vars */]) = 0
brk(0) = 0x11000
uname({sys="Linux", node="kindle", ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001b000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)

...

futex(0xbecf9c98, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0xbecf9c98, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, 4001d9a0) = -1 ENOSYS (Function not implemented)


Segmentation fault : ) hmm... : ) oh well, I will figure it out. much of the stuff that doesn't rely on the more swanky modern functions appears fully working. some needs a bit of massage I think
Attached Files
File Type: gz dot_config.tar.gz (8.9 KB, 524 views)

Last edited by twobob; 08-17-2012 at 07:45 PM.
twobob is offline   Reply With Quote