[SOLVED] build kernel modules for Debian R5

Started by armandob, February 20, 2014, 01:59:33 PM

Previous topic - Next topic

armandob

Hi all,
today i tryed to build kernel module stk1160 for A20 Debian image R5
(git rev a7350cb6a9ec1aae510e26cdc730f05f12e13f9f). I follow http://olimex.wordpress.com/2013/11/05/building-the-ultimate-debian-sd-card-for-linux-with-kernel-3-4-for-a20-olinuxino-micro/ to setup build env and i builded with success module but i had
ERROR: could not insert 'stk1160': Invalid argument

modinfo say
filename:       /lib/modules/3.4.67+/kernel/drivers/media/video/stk1160.ko
description:    STK1160 driver
author:         Ezequiel Garcia
license:        GPL
srcversion:     162EFC719FC7B2DA0B0BC76
alias:          usb:v05E1p0408d*dc*dsc*dp*ic*isc*ip*
depends:       
vermagic:       3.4.67++ SMP preempt mod_unload modversions ARMv7 p2v8
parm:           i2c_debug:enable debug messages [i2c] (int)
parm:           debug:enable debug messages (int)
parm:           vidioc_debug:enable debug messages [vidioc] (int)
parm:           input:Set default input (int)

could you help me

armandob

I added a (+) in kernel Makefile, i reset it and modprobe work fine.
But i needed to modify source code to disable ac97 use by stk1160.