Moderator Control Panel ]

kernel update 2.6.35-24 to 2.6.35-25 (ubuntu 10.10)

kernel update 2.6.35-24 to 2.6.35-25 (ubuntu 10.10)

Postby amd » Thu Feb 03, 2011 5:28 pm

i have install the update 2.6.35-25. now i can not install the driver linux-tbs-all_20101024.
I'm not able to build the driver on 2.6.35-25. the driver will be always build at the old kernel 2.6.35-24 and not to 2.6.35.-25. i see that at the terminal .

where is my mistake?
amd
 
Posts: 3
Joined: Thu Jan 13, 2011 5:23 pm

Re: kernel update 2.6.35-24 to 2.6.35-25 (ubuntu 10.10)

Postby cody » Fri Feb 04, 2011 5:48 am

what's the error message(s)?
cody
 
Posts: 627
Joined: Tue Apr 13, 2010 11:20 pm

Re: kernel update 2.6.35-24 to 2.6.35-25 (ubuntu 10.10)

Postby amd » Fri Feb 04, 2011 6:31 pm

if i boot by grub in kernel 2.6.35-24 it works, if i boot kernel 2.6.35.-25 and try to install the driver i can see at terminal:

apt-get install linux-kernel-devel

root@amd-desktop:~/tbs# apt-get install linux-kernel-devel
Paketlisten werden gelesen... Fertig (packages reading ..... ready)
Abhängigkeitsbaum wird aufgebaut (dependency tree built-on)
Statusinformationen werden eingelesen... Fertig (status information.....ready)
E: Paket linux-kernel-devel kann nicht gefunden werden (linux-kernel-devel not found)
root@amd-desktop:~/tbs#

make && make install

Kernel build directory is /lib/modules/2.6.35-24-generic/build
make -C /lib/modules/2.6.35-24-generic/build SUBDIRS=/root/tbs/linux-tbs-all/v4l modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.35-24-generic'
Building modules, stage 2.

?? should be kernel 2.6.35-25 ??
amd
 
Posts: 3
Joined: Thu Jan 13, 2011 5:23 pm

Re: kernel update 2.6.35-24 to 2.6.35-25 (ubuntu 10.10)

Postby cody » Mon Feb 07, 2011 4:59 am

oh, your mistake is very simple - you build the driver in the kernel 2.6.35-24 that is saved in the configuration during the build process and thus you can't use the same driver after you upgrade and boot in the newer 2.6.35-25 kernel. so, the solution is very simple - you just need to unpack the driver source code in new directory and build it again in your 2.6.35-25 kernel.
cody
 
Posts: 627
Joined: Tue Apr 13, 2010 11:20 pm


Return to Linux

Who is online

Users browsing this forum: No registered users and 2 guests

cron