Moderator Control Panel ]

Unable to compile driver for kernel 3.7.0-7

Unable to compile driver for kernel 3.7.0-7

Postby knaj » Fri May 03, 2013 1:26 pm

Hi. I was just wondering if anybody else is experiencing problems with this kernel? I'm running ubuntu 64-bit and 3.5.0-18 & 27 compiles fine and everything works, but the latest one refuses to work. If I try to compile it booting from the 3.7 kernel I get errors while compiling "WARNING: could not find /home/knaj/tbs130318/linux-tbs-drivers/v4l/.tbs6991fe_driver.o.cmd for /home/knaj/tbs130318/linux-tbs-drivers/v4l/tbs6991fe_driver.o". I tried booting from 3.5 and compile for 3.7, and that compiles without error but the modules refuse load. dmesg gives the following errors and tvheadend crashes. Am i missing something?
cx2341x: disagrees about version of symbol v4l2_ctrl_grab
cx2341x: Unknown symbol v4l2_ctrl_grab (err -22)

When I compiled for another kernel version i just did a make release VER=3.7.0-7-generic

Any help is appreciated. Unfortunately I can't revert back to 3.5 kernels because a graphics bug causes XBMC to hang after a while. With 3.7 it's rock solid, except that I can't watch tv :cry:

uname -a
3.7.0-7-generic #15-Ubuntu SMP 64-bit
knaj
 
Posts: 6
Joined: Thu May 02, 2013 1:46 am

Re: Unable to compile driver for kernel 3.7.0-7

Postby updatelee » Fri May 03, 2013 1:31 pm

If you switch to a new kernel you have to do a make distclean first then recompile.

make sure your /usr/src/linux sym link is pointing to the kernel youve booted into.

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Unable to compile driver for kernel 3.7.0-7

Postby knaj » Fri May 03, 2013 2:13 pm

Hi. Thanx for the quick reply.. I did a make distclean before compiling. I've compiled these drivers many times before and it's only with this kernel I'm having problems.. I'm not shure what you mean with /usr/src/linux.. I don't seem to have that symlink..
Code: Select All Code
drwxr-xr-x 3 root root   4096 May  1 10:28 arch
lrwxrwxrwx 1 root root     30 Dec 15 19:13 block -> ../linux-headers-3.7.0-7/block
lrwxrwxrwx 1 root root     31 Dec 15 19:13 crypto -> ../linux-headers-3.7.0-7/crypto
lrwxrwxrwx 1 root root     38 Dec 15 19:13 Documentation -> ../linux-headers-3.7.0-7/Documentation
lrwxrwxrwx 1 root root     32 Dec 15 19:13 drivers -> ../linux-headers-3.7.0-7/drivers
lrwxrwxrwx 1 root root     33 Dec 15 19:13 firmware -> ../linux-headers-3.7.0-7/firmware
lrwxrwxrwx 1 root root     27 Dec 15 19:13 fs -> ../linux-headers-3.7.0-7/fs
drwxr-xr-x 5 root root   4096 May  1 10:28 include
lrwxrwxrwx 1 root root     29 Dec 15 19:13 init -> ../linux-headers-3.7.0-7/init
lrwxrwxrwx 1 root root     28 Dec 15 19:13 ipc -> ../linux-headers-3.7.0-7/ipc
lrwxrwxrwx 1 root root     31 Dec 15 19:13 Kbuild -> ../linux-headers-3.7.0-7/Kbuild
lrwxrwxrwx 1 root root     32 Dec 15 19:13 Kconfig -> ../linux-headers-3.7.0-7/Kconfig
drwxr-xr-x 2 root root   4096 May  1 10:28 kernel
lrwxrwxrwx 1 root root     28 Dec 15 19:13 lib -> ../linux-headers-3.7.0-7/lib
lrwxrwxrwx 1 root root     33 Dec 15 19:13 Makefile -> ../linux-headers-3.7.0-7/Makefile
lrwxrwxrwx 1 root root     27 Dec 15 19:13 mm -> ../linux-headers-3.7.0-7/mm
-rw-r--r-- 1 root root 900678 Dec 15 19:14 Module.symvers
lrwxrwxrwx 1 root root     28 Dec 15 19:13 net -> ../linux-headers-3.7.0-7/net
lrwxrwxrwx 1 root root     32 Dec 15 19:13 samples -> ../linux-headers-3.7.0-7/samples
drwxr-xr-x 7 root root   4096 May  1 10:28 scripts
lrwxrwxrwx 1 root root     33 Dec 15 19:13 security -> ../linux-headers-3.7.0-7/security
lrwxrwxrwx 1 root root     30 Dec 15 19:13 sound -> ../linux-headers-3.7.0-7/sound
lrwxrwxrwx 1 root root     25 Dec 15 19:12 source -> /build/buildd/linux-3.7.0
lrwxrwxrwx 1 root root     30 Dec 15 19:13 tools -> ../linux-headers-3.7.0-7/tools
lrwxrwxrwx 1 root root     31 Dec 15 19:13 ubuntu -> ../linux-headers-3.7.0-7/ubuntu
lrwxrwxrwx 1 root root     28 Dec 15 19:13 usr -> ../linux-headers-3.7.0-7/usr
lrwxrwxrwx 1 root root     29 Dec 15 19:13 virt -> ../linux-headers-3.7.0-7/virt
knaj
 
Posts: 6
Joined: Thu May 02, 2013 1:46 am

Re: Unable to compile driver for kernel 3.7.0-7

Postby knaj » Fri May 03, 2013 2:15 pm

Sorry, the above output was lsl /usr/src/linux-headers-3.7.0-7-generic/
And content of /usr/src
Code: Select All Code
lsl /usr/src/
total 8
drwxr-xr-x 25 root root 4096 May  1 19:29 linux-headers-3.7.0-7
drwxr-xr-x  7 root root 4096 May  1 10:28 linux-headers-3.7.0-7-generic
knaj
 
Posts: 6
Joined: Thu May 02, 2013 1:46 am

Re: Unable to compile driver for kernel 3.7.0-7

Postby updatelee » Fri May 03, 2013 10:09 pm

cd /usr/src
sudo ln -s linux-headers-3.7.0-7 linux

Ive often had issues with the linux-headers pkg not containing all the headers, so I like to use source. its alot bigger, but has everything in it.

sudo apt-get install linux-source
cd /usr/src
sudo rm linux
sudo ln -s linux-source-3.7.0-7 linux

After the make clean did you rerun the v4l/tbs-x86_64.sh or v4l/tbs-x86.sh script ?

UDL
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Unable to compile driver for kernel 3.7.0-7

Postby knaj » Sun May 05, 2013 12:42 am

I've tried what you suggested, and the new 130429 drivers but the problem remains. Now I the only warning I get when I compile is
Code: Select All Code
WARNING: could not find /home/knaj/tbs130429/linux-tbs-drivers/v4l/.tbs6981fe_driver.o.cmd for /home/knaj/tbs130429/linux-tbs-drivers/v4l/tbs6981fe_driver.o
. Is it possible to build the drivers if I boot from a 3.5 kernel with just make release VER=3.7.0-7-generic? Do I need to do anything else?
knaj
 
Posts: 6
Joined: Thu May 02, 2013 1:46 am

Re: Unable to compile driver for kernel 3.7.0-7

Postby knaj » Sun May 05, 2013 12:43 am

Forgot to answer your question, yes i reran tbs-x86_64 after make clean.
knaj
 
Posts: 6
Joined: Thu May 02, 2013 1:46 am

Re: Unable to compile driver for kernel 3.7.0-7

Postby updatelee » Sun May 05, 2013 1:43 am

That's just a warning because the module is pre compiled.

sudo make install

And reboot
TBS6925/5980, Prof 7301/7500/8000, Genpix Skywalker-1, Skystar 2 Express HD
Hauppauge 950Q, Kworld 330U/435v3/445v3
Dreambox 800

I use Linux and support open source projects.
User avatar
updatelee
 
Posts: 374
Joined: Wed Jul 25, 2012 11:48 am
Location: CFB Edmonton

Re: Unable to compile driver for kernel 3.7.0-7

Postby knaj » Mon May 06, 2013 5:28 pm

No luck. The module refuse to load with 3.7.
My patience has run out and I'm reverting back to a separate computer running 3.5 with the DVB-card. Thanks anyways for helping me!
knaj
 
Posts: 6
Joined: Thu May 02, 2013 1:46 am

Re: Unable to compile driver for kernel 3.7.0-7

Postby veehexx » Thu May 30, 2013 2:02 am

for what it's worth; same issue here.
3.7.10-1.1 (opensuse 12.3)

glad to see i'm not the only person having issues so i'll need to find another kernel somehow!!
veehexx
 
Posts: 31
Joined: Mon Feb 28, 2011 10:03 pm

Next

Return to Linux

Who is online

Users browsing this forum: No registered users and 9 guests