LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-26-2013, 10:37 PM   #1
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547
Blog Entries: 7

Rep: Reputation: 55
Talking New to Debian. Kernel Question.


Hello Debian forum.

Long term slacker here.

Out of curiosity what kernel is consider "stable" outside of the stock 3.2?
I did an install of the 3.11 backport and there seems to be a bug where the nividia kernel modules do not build right. The same for the vbox kernel drv.

Does anybody use 3.10? And do you have any issues with the dkms builds?

TIA!
 
Old 12-26-2013, 11:09 PM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Presumably you also installed the matching headers package?

I haven't heard any noise about dkms and the current backports kernel, but I'm not using it either.

I run sid (currently 3.11 kernel) and use dkms for nvidia & vbox without issues (mostly - the first 3.10 kernel was broken for dkms action for a few days - but that is unusual).

For officialy supported on stable there is 3.2 in main or (slightly less officially) 3.11 in backports or then you are on your own

Liqorix kernels are quite popular for those who don't want to roll their own.
 
Old 12-27-2013, 01:09 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I too have used the 3.11 kernels provided in Sid with no issue with dkms for VirtualBox or the NVIDIA driver. Sid now seems to be tracking the 3.12 line and I've updated to that with no issues also.
If you install a kernel from another repository you need the headers as descendant_command says then you may need to run "apt-get install --renistall ndivia-kernel-dkms" and if you run VirtualBox from a terminal you'll see the command for that. You shouldn't need to do it but I've a feeling that sometimes dkms doesn't run for kernels outside of your versions standard repositories the first time they're installed.
 
Old 12-27-2013, 08:49 AM   #4
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
Team,

Thank you for your reply.

Here is the kernel and headers I have installed also here is the procedure I am following and the error I am getting when trying to rebuild the modules:


apt-get install -t wheezy-backports linux-image-amd64 linux-headers-amd64 firmware-linux linux-doc-3.11 debian-kernel-handbook

That installed:

linux-image-3.11-0.bpo.2-amd64

along with the headers:

root@oscuridad:/var/lib/dkms/nvidia/304.88/build# ls /usr/src/
linux-headers-3.11-0.bpo.2-amd64 linux-headers-3.11-0.bpo.2-common linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common linux-kbuild-3.11 linux-kbuild-3.2 nvidia-304.88 open-vm-tools-2012.05.21 virtualbox-4.2.16 virtualbox-guest-4.1.18
root@oscuridad:/var/lib/dkms/nvidia/304.88/build#

When I try to rebuild the nvidia modules I do:

dpkg-reconfigure nvidia-kernel-dkms

And than I get a fail from the make.log:

/var/lib/dkms/nvidia/304.88/build/nv-i2c.c: In function ‘nv_i2c_del_adapter’:
/var/lib/dkms/nvidia/304.88/build/nv-i2c.c:327:14: error: void value not ignored as it ought to be
make[4]: *** [/var/lib/dkms/nvidia/304.88/build/nv-i2c.o] Error 1
make[3]: *** [_module_/var/lib/dkms/nvidia/304.88/build] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11-0.bpo.2-amd64'
make: *** [modules] Error 2
make: Leaving directory `/var/lib/dkms/nvidia/304.88/build'

Thanks for the help!

Last edited by SeRi@lDiE; 12-27-2013 at 08:50 AM.
 
Old 12-27-2013, 11:35 AM   #5
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
New to Debian. Kernel Question.

BumP
 
Old 12-27-2013, 02:40 PM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
You may need the nvidia-kernel-dkms package from backports also.
 
Old 12-27-2013, 05:16 PM   #7
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
Quote:
Originally Posted by 273 View Post
You may need the nvidia-kernel-dkms package from backports also.
Interesting. I will give that a try...
 
Old 12-27-2013, 10:32 PM   #8
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
Quote:
Originally Posted by 273 View Post
You may need the nvidia-kernel-dkms package from backports also.
Well that didn't work.

I did a quick google and other users running variants of debian like aptosid also encounter the same issue on the 3.11 kernel.

 
Old 12-27-2013, 10:46 PM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by SeRi@lDiE View Post
Well that didn't work.

I did a quick google and other users running variants of debian like aptosid also encounter the same issue on the 3.11 kernel.

I recall having problems when I compiled my own 3.11 kernel but once Sid moved to it the patches seemed to have been applied to kernel and driver and I didn't have any more problems.
It's situations like this that resulted in my running Sid.
 
Old 12-29-2013, 12:19 AM   #10
SeRi@lDiE
Member
 
Registered: Jun 2006
Location: /dev/null
Distribution: Slackware 13.1, Slackware 13.37, aptosid, rhel
Posts: 547

Original Poster
Blog Entries: 7

Rep: Reputation: 55
I was able to confirm that any dkms module build has issues with kernels outside of 3.2 under wheezy.
Marking this thread solved.

Regards.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian way kernel compilation question kushalkoolwal Debian 4 03-02-2006 08:47 PM
debian kernel question treebug Linux - Newbie 4 09-19-2005 01:20 AM
Question on Debian Kernel's sanfran49 Linux - Software 1 02-14-2004 12:29 PM
Debian Linux: Kernel Question: go_sooner Linux - Newbie 6 02-03-2004 09:43 AM
Debian kernel question (probably dumb) Smerk Linux - Distributions 3 04-01-2003 10:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration