LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 08:23 AM   #1
sir89
LQ Newbie
 
Registered: Oct 2016
Posts: 8

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, 08:35 AM   #2
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,177

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
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, 08:48 AM   #3
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 6,011

Rep: Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621Reputation: 1621
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 04:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration