On Mon, 21 May 2007, Marco d'Itri wrote:
Please get a stack trace from the binary built with debug symbols.
I noticed one interesting thing: with /sbin/insmod <module>.ko it works
OK but with insmod (or with \insmod) <module>.ko it crashes.
Anyway, here's the stack trace you asked for (added -g to CFLAGS and
commented dh_strip out).
Stack trace generated from the core dump:
warning: Can't read pathname for load map: Input/output error.
Reading symbols from /lib/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/i686/cmov/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Core was generated by `insmod
/usr/src/linux/drivers/input/misc/uinput.ko'.
Program terminated with signal 11, Segmentation fault.
#0 0xb7eabc67 in strstr () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0 0xb7eabc67 in strstr () from /lib/i686/cmov/libc.so.6
#1 0x08048c1f in main (argc=2, argv=0xbf864db4) at ../insmod.c:119
--
Best regards, Mikko Ylinen
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]