LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-25-2011, 03:01 PM   #1
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Rep: Reputation: 31
security update 'broke' kernel


I installed the latest security update for squeeze. It entailed an update of the kernel. Now when it boots, it give continuous kernel error messages about "can't enumerate usb .... " I have a custom kernel compiled from source (not sure about the patch level) from the same kernel 2.6.32. It seems to work OK. Should I worry about the security of this custom kernel or should I try to recompile it? I don't really know how to do any patching of the kernel source.
 
Old 05-25-2011, 03:56 PM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
If you built a custom kernel you not only need to recompile it but download the updated source for the kernel package.
 
Old 05-25-2011, 04:16 PM   #3
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
I'd go a step further. Given that 2.6.32 is a bit older (but not that old) I'd suggest to get the full source of the latest kernel and compile that. It already has the security patch that "mutilated" part of your system.
 
Old 05-25-2011, 06:04 PM   #4
eveningsky339
Member
 
Registered: Mar 2010
Location: Western Maine
Distribution: PCLinuxOS (LXDE)
Posts: 466

Rep: Reputation: 51
Avoid kernel updates when you are running a custom kernel-- the Debian security team deals specifically with the Debian kernel.
 
Old 05-25-2011, 08:28 PM   #5
alan99
Member
 
Registered: Mar 2010
Distribution: Debian
Posts: 180

Original Poster
Rep: Reputation: 31
I've got two kernels installed, the standard debian kernel and one that I compiled. The one I compiled (from the sources in the debian repository) included my root file system in the kernel instead of a loadable module. Other than that and a few other modules that I included in the kernel, it is pretty much a standard kernel (I didn't modify any code or write my own) It used to give that failure to enumerate usb message (on all kernels), then the motherboard failed (unknown if the failure was related to the usb message). I replaced the motherboard and the problem seemed to go away. When I installed the security updates from debian, it (the debian kernel) started doing it again. However, so far my compiled kernel isn't doing it.
 
Old 05-26-2011, 06:46 AM   #6
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
As I said earlier what you should do, when there is an update to the debian stock kernel package, is as follows:

Code:
aptitude source linux-image-$(uname -r)
cd to the directory, import your config from the custom kernel you built before, rebuild and install the kernel using whichever method you prefer (I use xconfig and make-kpkg).

Otherwise you'll be running a custom kernel based on out of date source that does not include the security patches or bug fixes.

If you want to go for a newer kernel you could try 2.6.38 from backports or download and build your own from kernel.org as suggested. It's inadvisable to install newer kernels from testing/sid in a stable system.

Either way if you run a custom kernel you will be facing rebuilding the kernel every time something is updated, so if you really don't need a custom kernel it's best to stick with the stock stable or backports kernels.

Last edited by cynwulf; 05-26-2011 at 06:48 AM.
 
  


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
kernel security update x86_64 Pluribootent Slackware 17 12-11-2009 03:05 PM
-current and 12.2 Kernel security update Interject Slackware 21 08-19-2009 10:48 PM
Kernel update broke my LSI raid driver Steve-O Linux - Newbie 1 06-08-2009 09:30 PM
Kernel Update 2.6.20-16 on Ubuntu Feisty (NVidia GeForce2 Mx/Mx) broke Xserver sh00nya Linux - Kernel 3 09-23-2007 11:07 PM
kde broke in Mandriva 2006 when doing security update! eikeland Mandriva 4 11-23-2006 10:15 PM

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

All times are GMT -5. The time now is 04:21 PM.

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