View Single Post
Old 09-29-2014, 09:15 AM   #38
finitelife
Member
finitelife will become famous soon enoughfinitelife will become famous soon enoughfinitelife will become famous soon enoughfinitelife will become famous soon enoughfinitelife will become famous soon enoughfinitelife will become famous soon enough
 
Posts: 13
Karma: 504
Join Date: Sep 2014
Device: PaperWhite
Update: yoshime and yoshime3 both build using the instructions provided. Only the fs modules (ntfs,ext4,aufs) don't load on the standard kernel. They complain about unresolved symbols. My troubleshooting is as follows;

So I've patched in the aufs-standalone module (2.6-31) and compiled it using multiple toolchains (including the one used to compile the default kernel). Still no luck.

Grabbing the default toolchain (ldd --version):
Quote:
ldd (Sourcery G++ Lite 2009q3-67) 2.10.1
...
Getting errors after insmod aufs.ko (dmesg):
Quote:
...
aufs: Unknown symbol __lookup_one_len
aufs: Unknown symbol lookup_hash
aufs: Unknown symbol cap_file_mmap
aufs: Unknown symbol do_truncate
aufs: Unknown symbol deny_write_access
Checking exported kernel symbols (cat /proc/kallsyms):
Quote:
...
c01868fc t __lookup_one_len.clone.26
c0185818 t __lookup_hash
c0185940 t lookup_hash
c0239fe8 T cap_file_mmap
c017c570 T do_truncate
c0187da8 T deny_write_access
...
Checking aufs symbols (nm --demangle aufs.ko):
Quote:
...
U __lookup_one_len
U lookup_one_len
U lookup_hash
U cap_file_mmap
U do_truncate
U deny_write_access
...
Once more with feeling (objdump -t aufs.ko):
Quote:
...
00000000 *UND* 00000000 __lookup_one_len
00000000 *UND* 00000000 lookup_hash
00000000 *UND* 00000000 cap_file_mmap
00000000 *UND* 00000000 do_truncate
00000000 *UND* 00000000 deny_write_access
...
I'm a little fuzzy on what this all means, but from my understanding, the kernel has the symbols exported, as does aufs. The problem here is that the symbol addresses aren't aligned. If this is so... is there a way to manually set the aufs symbol?

Should I be setting CONFIG_MODVERSIONS=y ?

Any ideas?
finitelife is offline   Reply With Quote