View Single Post
Old 08-16-2012, 09:32 PM   #50
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
Quote:
Originally Posted by geekmaster View Post
I just downloaded and extracted it. Running:
/CodeSourcery/arm-2008q1/bin/arm-none-linux-gnueabi-gcc --ver
shows:
gcc version 4.2.3 (Sourcery G++ Lite 2008q1-126)
And the really weird thing?

[root@kindle fs]# strace -o /mnt/us/modules/gm-2008-CS.tc insmod /mnt/us/modules/binfmt_misc.ko

Spoiler:
Code:
execve("/sbin/insmod", ["insmod", "/mnt/us/modules/binfmt_misc.ko"], [/* 22 vars */]) = 0
brk(0)                                  = 0x12000
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)
open("/var/run/ld.so.cache", O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=13788, ...}) = 0
mmap2(NULL, 13788, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4001c000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0\250J\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1348230, ...}) = 0
mmap2(NULL, 1135004, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40025000
mprotect(0x4012e000, 28672, PROT_NONE)  = 0
mmap2(0x40135000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x108) = 0x40135000
mmap2(0x40138000, 8604, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40138000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40020000
set_tls(0x400204a0, 0x400204a0, 0x40024058, 0x40020b78, 0x40) = 0
mprotect(0x40135000, 8192, PROT_READ)   = 0
munmap(0x4001c000, 13788)               = 0
brk(0)                                  = 0x12000
brk(0x33000)                            = 0x33000
open("/mnt/us/modules/binfmt_misc.ko", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\1\0(\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 16384) = 14041
read(3, "", 2343)                       = 0
close(3)                                = 0
init_module(0x12018, 14041, "")         = 0
exit_group(0)                           = ?
+++ exited with 0 +++


worked for this toolchain as well?

Spoiler:
Code:
[root@kindle fs]# lsmod
Module                  Size  Used by
option                 12512  2 
usbserial              27756  5 option
ehci_hcd               38880  1 option
usbcore               136388  4 option,usbserial,ehci_hcd
binfmt_misc             8392  0 
g_serial               16844  0 
arcotg_udc             38628  1 g_serial
ar6000                161076  0 
ppp_async               8612  1 
crc_ccitt               1856  1 ppp_async
ppp_generic            19252  5 ppp_async
slhc                    5984  1 ppp_generic
volume                  8900  1 
fiveway                23552  1 
mxc_keyb               15904  1 
uinput                  7776  0 
fuse                   48348  2 
mwan                    7324  2 ehci_hcd,ppp_async
eink_fb_shim          118588  0 
eink_fb_hal_broads    397532  0 
eink_fb_hal            59764  8 eink_fb_shim,eink_fb_hal_broads
[root@kindle fs]# rmmod binfmt_misc
[root@kindle fs]# strace -o /mnt/us/modules/gm-2008-CS.tc insmod /mnt/us/modules/binfmt_misc.ko 
[root@kindle fs]# lsmod
Module                  Size  Used by
binfmt_misc             8424  0 
option                 12512  2 
usbserial              27756  5 option
ehci_hcd               38880  1 option
usbcore               136388  4 option,usbserial,ehci_hcd
g_serial               16844  0 
arcotg_udc             38628  1 g_serial
ar6000                161076  0 
ppp_async               8612  1 
crc_ccitt               1856  1 ppp_async
ppp_generic            19252  5 ppp_async
slhc                    5984  1 ppp_generic
volume                  8900  1 
fiveway                23552  1 
mxc_keyb               15904  1 
uinput                  7776  0 
fuse                   48348  2 
mwan                    7324  2 ehci_hcd,ppp_async
eink_fb_shim          118588  0 
eink_fb_hal_broads    397532  0 
eink_fb_hal            59764  8 eink_fb_shim,eink_fb_hal_broads

where the others modules failed???:

maybe if I had tried other modules with my original TC they too would have failed... Hmm. Better test that tomorrow.
Sigh, just when you think you've got it sorted....

Last edited by twobob; 08-16-2012 at 09:35 PM.
twobob is offline   Reply With Quote