4,436
社区成员
发帖
与我相关
我的任务
分享
# insmod hello.ko
insmod hello.ko
insmod: init_module 'hello.ko' failed (No such file or directory)
D:\AppAndroid\android-sdk-windows-1.5_r3\tools>adb push hello.ko /data/
910 KB/s (29121 bytes in 0.031s)
D:\AppAndroid\android-sdk-windows-1.5_r3\tools>adb shell
# cd data
cd data
# ls
ls
hello.ko
busybox
tmp
gps_nmea_fifo
reboot.chk
pvcodec.txt
rtsp_proxy
http_proxy
system
anr
tombstones
backup
agent
agent_htc
wimax
app-cache
DxDrm
dalvik-cache
drm
property
app
app-private
local
hello.o
misc
dontpanic
data
lost+found
# insmod hello.ko
insmod hello.ko
insmod: init_module 'hello.ko' failed (No such file or directory)
hello: Unknown symbol __gnu_mcount_nc
# ls -l hello.ko
ls -l hello.ko
-rw-rw-rw- root root 29121 2010-09-30 10:00 hello.ko
vanpersie@ubuntu:~/myandroid/kernel/drivers/char/hello$ file hello.ko
hello.ko: ELF 32-bit LSB relocatable, ARM, version 1, not stripped