LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-17-2018, 03:04 PM   #1
WildCanadian
LQ Newbie
 
Registered: Dec 2018
Posts: 2

Rep: Reputation: Disabled
Upgrading OS with very old kernel


Hey all,

I'm trying to update a very old embedded Linux build (Angstrom 2012 with kernel 3.8.13) with a newer kernel build, as it has some important fixes for me in built-in I2C driver.

The /boot/ directory has a zImage-3.8.13 file and a zImage symlink to it.

How hard will it be to update the Kernel? So far I've tried dropping in a 4.x kernel zImage from the latest Angstrom build, but it boots to a black screen with no logs.

Last edited by WildCanadian; 12-17-2018 at 03:05 PM.
 
Old 12-17-2018, 03:22 PM   #2
HMan81
LQ Newbie
 
Registered: Dec 2018
Posts: 5

Rep: Reputation: Disabled
You are more or less going to have to upgrade the entire OS. You should be able to get it to boot by recompiling a new kernel and its modules and installing it, along with an updated bootloader, but chances are a whole lot of supporting programs will no longer work because they have been compiled against the previous kernel. It usually works in the majority of the cases when you are updating from one minor version to another within the same major, but 3.8 to 4.9 is probably not going to work.

Unless it was a home brew distribution, you are probably better off to redo your environment from whatever buildroot it came from (but updated).

Alternatively you could hack the new I2C driver patch into your 3.8 kernel source, and recompile your kernel.

Last edited by HMan81; 12-17-2018 at 03:24 PM.
 
Old 12-18-2018, 09:02 AM   #3
WildCanadian
LQ Newbie
 
Registered: Dec 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
I've found out the fix I want is actually in 3.10. What about upgrading to this?
 
Old 12-18-2018, 09:34 AM   #4
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
if you could make a full backup....
why don't you try it? Did you try to contact the maintainer(s)?
 
Old 12-18-2018, 06:05 PM   #5
HMan81
LQ Newbie
 
Registered: Dec 2018
Posts: 5

Rep: Reputation: Disabled
You should be able to update from 3.8 to 3.10 without issue.
 
Old 12-18-2018, 07:47 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,987

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
I might be tempted to look to yocto.

The other question I guess could be found in change logs in their distro maybe. I assume you'd have to look at the driver changes. Maybe initrd.
 
  


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
update very old Debian on very old Dell L400 oleparamount Linux - Laptop and Netbook 14 03-07-2016 06:00 PM
Which Distro for a very very very old laptop? yitzle Linux - General 9 01-08-2008 01:25 PM
A very very very very big problem!! Elbryan Linux - Software 2 09-23-2005 05:56 AM
Computer Stupidities dont miss very very very funny nakkaya General 13 05-14-2003 01:32 PM
Slack is being very very very slack ExEleven Slackware 9 08-28-2002 05:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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