LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-18-2014, 10:57 PM   #1
hidave
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
Mainline kernel boot fail with "kernel too old"


I installed one slackware64-14.1, but the latest kernel can not boot. /sbin/init just exit with "kernel too old". It looks weird.

A rebuid without "--enable-kernel=3.2.29" fixes the problem for me. But I still did not get why it fails, here is the code in glibc:

if (__LINUX_KERNEL_VERSION > 0 && version < __LINUX_KERNEL_VERSION) \
/* Not sufficent. */ \
FATAL ("FATAL: kernel too old, lversion __LINUX_KERNEL_VERSION\n");

So it should not fail...

Thanks for any hints.

---------- Post added 04-19-14 at 10:58 AM ----------

BTW my mainline kernel version is 3.15.0-rc1+
 
Old 04-19-2014, 07:37 AM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229Reputation: 2229
Where did you get the "mainline kernel" that you are attempting to use?
 
Old 04-20-2014, 10:11 PM   #3
hidave
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Richard Cranium View Post
Where did you get the "mainline kernel" that you are attempting to use?
I always build a kernel by myself and use latest mainline. It had been always works for me before.
 
Old 04-21-2014, 12:04 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,260

Rep: Reputation: Disabled
Quote:
Originally Posted by hidave View Post
It had been always works for me before.
Maybe before is deprecated
 
Old 04-22-2014, 05:03 AM   #5
hidave
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Didier Spaier View Post
Maybe before is deprecated
I don't think so, there might be some kernel changes caused the version number wrong.
Upgrade from 3.15.0-rc1+ to 3.15.0-rc2+ there's no such problem any more..
 
  


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
Ubuntu installation fail - "Kernel panic - not syncing: ..." Gam3Boy Linux - Kernel 6 03-29-2013 03:36 AM
Running kernel.org "mainline" Linux on Xen: FAILED to find root device bojanap Linux - Kernel 1 09-18-2010 12:42 AM
Hardy won't startup, stops with a "fail" and I have to "ctrl+alt+del" to boot. brjoon1021 Ubuntu 10 12-15-2008 07:29 PM
"Kernel panic: VFS: Unable to mount root fs" - Kernel fails to boot linux Freedom Seeker Linux - General 11 11-12-2006 08:48 PM

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

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