I rearranged some directories, moved common files into include,
extension interface into 2.4/ext (needs to be ported to 2.6/ext),
cleaned up the files; hopefully should be no suprises ;-)
The next would be to fix up all the commands under 2.6; there are some
that for some reason broke under 2.4 ('proc'); hook up module load and
unload with 2.6; compile 2.6 kernel with debug information and get to
source-level debug it,... We'd also need some good stress testing to
find out all the big and small problems.
Thanks!
- Goran
[root@tpchome bin]# linsym -i
Linice Debugger Symbol Translator/Loader Version 2.1
Linice and Linsym (C) 2004 by Goran Devic. All Rights Reserved.
Error (256) loading linice module!
[root@tpchome bin]# insmod linice_kernel.o
insmod: error inserting 'linice_kernel.o': -1 Accessing a corrupted
shared library
[root@tpchome bin]#
Maybe better use kbuild for building module entirely ?
[root@tpchome root]# uname -sr
Linux 2.6.9-1.640asptpc
[root@tpchome root]# insmod -V
module-init-tools version 3.1-pre5
prcoder - it looks like there might be something wrong with your module
compile environment. Can you compile any other module (let's say, that
you wrote, not anything that came preinstalled so to mimick the custom
setup) and load?
Thanks!
- Goran
linice module with my Makefile (using kbuild) builds successfully and
runs, but module from 2.1 source
builds, but does not want to be loaded
open("linice_2.6.9-1.640asptpc/linice.o", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\1\0\3\0\1\0\0\0\0\0\0\0"...,
16384) = 16384
read(3, "[^_\311\303\215v\0\203\354\10j\5\3775\4\31\0\0\350\374"...,
16384) = 16384
read(3, "\0\2\311\303U\211\345\203\354\24h\244<\0\0\350\374\377"...,
32768) = 32768
read(3, "\377\5@T\0\0\242DT\0\0\211\330\301\340\6\200\210\200U\0"...,
65536) = 65536
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xf6fa3000
read(3, ".\0\0\0Bus %02X Device %02X Funct"..., 131072) = 131072
mremap(0xf6fa3000, 266240, 528384, MREMAP_MAYMOVE) = 0xf6f22000
read(3, "52,32;truncate:(123,156)=*(123,1"..., 262144) = 97360
read(3, "", 164784) = 0
close(3) = 0
init_module("ELF", 0x57c50) = -1 ELIBBAD (Accessing a corrupted
shared library)
write(2, "insmod: error inserting \'linice_"..., 101) = 101
exit_group(1) = ?