LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-10-2016, 07:23 AM   #1
sir89
LQ Newbie
 
Registered: Oct 2016
Posts: 12

Rep: Reputation: Disabled
Smile Update kernel


I'm trying to update the kernel 3.2 to 4.4.12 in debian distro.

I'm crosscompiling my kernel:
make ARCH=x86 myconfig
make ARCH=x86 -j4
make ARCH=x86 modules
make ARCH=x86 modules_install
make ARCH=x86 install

But when I reboot the system, the screen is black and the eth is not suported.

I can only use the new kernel in the recovery mod.

where can stay the problem?
 
Old 11-10-2016, 07:35 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
You should be able to "update the kernel" for any distro just by applying the appropriate package. You should not have to re-compile anything, and you probably shouldn't. (Unless you know exactly what you are doing ... and, if I may say it, trying to say it both politely and respectfully, "you probably don't.")

My cordial advice to you is to find the kernel-update package for your distro, then apply it. Don't attempt to compile and configure the kernel from source-code on your own when you are using a binary-based distro.
 
2 members found this post helpful.
Old 11-10-2016, 07:48 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 second what sundialsvcs posted -- in compiling your own kernel you might be missing display drivers and the like (hard to tell exactly what when we don't know your hardware).
However, I don't see the kernel version you want on the Debian package website so if you need it you may have to compile yourself. IF you must compile yourself I recommend doing it "the Debian way" that way things take care of themselves a little more and you can easily remove the kernel in future.
My personal way of doing things is the following (changing versions to the one I want, obviously):
Code:
tar -xf linux-4.0-rc4.tar.xz 
cd linux-4.0-rc4/
cp /boot/config-$(uname -r) ./.config
make menuconfig
fakeroot make-kpkg -j 8 --initrd kernel_image kernel_headers
During the menuconfig step I enter teh string to append to the packages when they're made rather than doing so in the make-kpkg step as the linked site does.
 
1 members found this post helpful.
  


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
SAN drives don't start update applying kernel update fsuchipj Linux - Newbie 1 04-18-2012 02:26 AM
Yum update stopped responding during kernel update install, now server load is high pulsorock Linux - Kernel 1 12-31-2008 01:55 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
YaST Online Update(YOU) Kernel Update? batorma Linux - Newbie 9 10-30-2005 03:17 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:22 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