On my Asus A6T (series 6000) AMD Turion x2 , debian testing/unstable
$ sudo insmod stk11xx.ko
Segmentation fault
$ dmesg | tail -n 1
insmod[5798]: segfault at 0000000000000000 rip 00002ad1e0913c0b rsp 00007fffca42a048 error 4
$ cc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.3 20070629 (prerelease) (Debian 4.1.2-13)
$ svn up
Alla revisione 52.
Logged In: YES
user_id=1630063
Originator: NO
Thank's to publy your logs (dmesg ; /var/log/kernel.log...)
Logged In: YES
user_id=1597319
Originator: NO
I hope they've been of some help. I've just checkout latest svn (revision 56) and I tried it with the same result.
# cat /var/log/kern.log | tail -1
Sep 18 10:08:31 bee kernel: insmod[18236]: segfault at 0000000000000000 rip 00002baa3f6871d9 rsp 00007fff6b6b8f60 error 4
I find strange I'm not able to get it run while some months ago i did it. May you suggest something to try.
Logged In: NO
Hey, do you know about this bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=428587 ?
If that is the cause, simply calling /sbin/insmod instead of insmod should work fine.
Logged In: YES
user_id=1597319
Originator: NO
Indeed insmod was affected from the bug you mentioned. But now I get this new error:
root@bee:/usr/src/syntekdriver/trunk/driver# /sbin/insmod ./stk11xx.ko
insmod: error inserting './stk11xx.ko': -1 Unknown symbol in module
Logged In: YES
user_id=1630063
Originator: NO
Can you post your kernel logs ?
If I don't load the videodev module, I have (as you) :
[root@Dahlia driver]$ insmod stk11xx.ko
insmod: error inserting './stk11xx.ko': -1 Unknown symbol in module
and in my kernel logs :
stk11xx: Unknown symbol video_devdata
stk11xx: Unknown symbol video_unregister_device
stk11xx: Unknown symbol video_device_alloc
stk11xx: Unknown symbol video_register_device
stk11xx: Unknown symbol video_device_release
So, can you post your kernel logs... and no only one line !
By sample :
# cat /var/log/kern.log | tail -1
Sep 18 10:08:31 bee kernel: insmod[18236]: segfault at 0000000000000000
rip 00002baa3f6871d9 rsp 00007fff6b6b8f60 error 4
I can't help you...
Nicolas
Logged In: YES
user_id=1597319
Originator: NO
...you have some reason. The message confused and I missed the duty. Anyhow, here we are:
root@bee:/usr/src/syntekdriver/trunk/driver# tail -15 /var/log/kern.log
Sep 18 17:32:27 bee kernel: stk11xx: Unknown symbol video_device_alloc
Sep 18 17:32:27 bee kernel: stk11xx: disagrees about version of symbol video_reg
ister_device
Sep 18 17:32:27 bee kernel: stk11xx: Unknown symbol video_register_device
Sep 18 17:32:27 bee kernel: stk11xx: disagrees about version of symbol video_dev
ice_release
Sep 18 17:32:27 bee kernel: stk11xx: Unknown symbol video_device_release
Sep 18 19:36:55 bee kernel: stk11xx: disagrees about version of symbol video_dev
data
Sep 18 19:36:55 bee kernel: stk11xx: Unknown symbol video_devdata
Sep 18 19:36:55 bee kernel: stk11xx: disagrees about version of symbol video_unr
egister_device
Sep 18 19:36:55 bee kernel: stk11xx: Unknown symbol video_unregister_device
Sep 18 19:36:55 bee kernel: stk11xx: disagrees about version of symbol video_dev
ice_alloc
Sep 18 19:36:55 bee kernel: stk11xx: Unknown symbol video_device_alloc
Sep 18 19:36:55 bee kernel: stk11xx: disagrees about version of symbol video_reg
ister_device
Sep 18 19:36:55 bee kernel: stk11xx: Unknown symbol video_register_device
Sep 18 19:36:55 bee kernel: stk11xx: disagrees about version of symbol video_dev
ice_release
Sep 18 19:36:55 bee kernel: stk11xx: Unknown symbol video_device_release
Logged In: YES
user_id=1630063
Originator: NO
Thank's to check two points :
1°/ Your kernel has to be compiled with the options : CONFIG_VIDEO_V4L2 and CONFIG_VIDEO_V4L1_COMPAT
2°/ You have to compile the module with the same version of headers that your kernel.
>> disagrees about version of symbol video_register_device
obviewsly, the stk11xx module isn't compiled with the good version !
Nicolas
Logged In: YES
user_id=1597319
Originator: NO
The checks are positive:
root@bee:/boot# grep CONFIG_VIDEO_V4L2 config-2.6.22-bee
CONFIG_VIDEO_V4L2=y
root@bee:/boot# grep CONFIG_VIDEO_V4L1_COMPAT config-2.6.22-bee
CONFIG_VIDEO_V4L1_COMPAT=y
Speaking about the kernel, it is a debian-way compiled by myself.
Makefile.standalone points to the /lib/modules/2.6.22-bee and /usr/src/linux-source-2.6.22 and compiles a module which reports the 'Unknown symbol' errors. As a further try I've installed the linux-headers-2.6.22-bee package and re-ran make -f Makefile.standalone clean && make -f Makefile.standalone driver. That showed some problem in pointing to the correct paths so I made some symlinks where appropriate. So I got the new compiled but with the same errors.
Recently I've checkout from linuxtv's mercurial repository the v4l-dvb-experimental to compile kernel support for a dvb-t usb dongle which I accomplished succesfully.
I'll wait for the next vannilla kernel.
Logged In: YES
user_id=1362264
Originator: NO
seems the problem is within the Makefile.
ctags is called with lack of args.
[root@asus-a7s stk11xx-1.2.3]# make -f Makefile.standalone driver
make -C /lib/modules/2.6.22.12-laptop-1mdv/build SUBDIRS=/tmp/stk11xx-1.2.3 modules
make[1]: Entering directory `/usr/src/linux-2.6.22.12-1mdv'
WARNING: Symbol version dump /usr/src/linux-2.6.22.12-1mdv/Module.symvers
is missing; modules will have no dependencies and modversions.
CC [M] /tmp/stk11xx-1.2.3/stk11xx-usb.o
CC [M] /tmp/stk11xx-1.2.3/stk11xx-v4l.o
CC [M] /tmp/stk11xx-1.2.3/stk11xx-sysfs.o
CC [M] /tmp/stk11xx-1.2.3/stk11xx-dev.o
CC [M] /tmp/stk11xx-1.2.3/stk11xx-buf.o
CC [M] /tmp/stk11xx-1.2.3/stk11xx-bayer.o
CC [M] /tmp/stk11xx-1.2.3/stk11xx-dev-a311.o
CC [M] /tmp/stk11xx-1.2.3/stk11xx-dev-a821.o
CC [M] /tmp/stk11xx-1.2.3/stk11xx-dev-6a31.o
CC [M] /tmp/stk11xx-1.2.3/stk11xx-dev-6a33.o
CC [M] /tmp/stk11xx-1.2.3/stk11xx-dev-6a54.o
LD [M] /tmp/stk11xx-1.2.3/stk11xx.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/stk11xx-1.2.3/stk11xx.mod.o
LD [M] /tmp/stk11xx-1.2.3/stk11xx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.22.12-1mdv'
ctags: no input files specified.
Try `ctags --help' for a complete list of options.
make: *** [driver] Error 1.
the same issue for v.1.1.0