LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-09-2011, 09:29 AM   #1
shubham.joy
LQ Newbie
 
Registered: Feb 2011
Posts: 6

Rep: Reputation: 0
Kernel panic - not syncing: Attempted to kill the idle task


Code:
Kernel panic - not syncing: Attempted to kill the idle task
This is the message I get when boot my desktop from lfs CD.
What should I do ?
 
Old 05-09-2011, 11:13 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi you might want to post grub.cfg and fstab to see whats happening
 
Old 05-09-2011, 12:15 PM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Quote:
Originally Posted by shubham.joy
This is the message I get when boot my desktop from lfs CD.
I'm assuming you are talking about the LFS liveCD.

- Which version are you using?

- Is this a normal boot or done from a virtual machine?

Can you post the lines shown before the Kernel panic - not syncing:.... line? Those lines probably give an idea where things went wrong.
 
Old 05-10-2011, 03:31 AM   #4
shubham.joy
LQ Newbie
 
Registered: Feb 2011
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by spiky0011 View Post
Hi you might want to post grub.cfg and fstab to see whats happening
How to post grub and fstab ? I am booting from LFS live CD and only windows 7 is installed.

Quote:
Originally Posted by spiky0011

Hi,

Quote:
Originally Posted by shubham.joy
This is the message I get when boot my desktop from lfs CD.
I'm assuming you are talking about the LFS liveCD.

- Which version are you using?

- Is this a normal boot or done from a virtual machine?

Can you post the lines shown before the Kernel panic - not syncing:.... line? Those lines probably give an idea where things went wrong.
Yes I am talking about LFS live CD -x86-6.3-r2160-min.
It is a normal boot from CD.

these are the lines I see before Kernel Panic line:

Code:
invalid opcode: 0000[#1]
<6>checking TSC synchronization [CPU#0 -> CPU#2]:SMP
Modules linked in:
CPU:     1
EIP:     0069:[<c0102299>]    Not tainted VLI
EFLAGS: 00010246    (2.6.22.5 #1)
EIP is at mwait_idle_with_hints+0x29/0x60
eex:   c214200    ebx: 00000000    ecx: 00000000    edx: 00000000
esi:   00000000   edi c2142008     ebp: c03b4004    esp: c2143f98
ds: 007b   es: 007b   fs: 00d8   gs: 0000   ss: 0068
Process swapper (pid: 0, ti = c214200 task = c2122030 task.ti = c21420000 )
Stack: c01022d0 00000001 c03b4100 c01023f3 01040800 00000000 00000000 00000000
       00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
       00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Call Trace:
 [<c01022d0>] mwait_idle+0x0/0x10
 [<c01023f3>] cpu_idle+0x43/0xc0
 ----------------------
 ----------------------
Code: 26 00 83 ec 0c 89 74 24 04 89 c6 89 e0 25 00 e0 ff ff 89 1c 24 89 d3 89 7c
 24 08 8d 78 08 8b 40 08 a8 08 75 23 31 c9 89 f8 89 ca <0f> 01 c8 0f ae f0 89 f6
EIP: [>c0102299>] mwait_idle_with_hints+0x29/0x60 SS:ESP 0068:c2143f98
Kernel panic - not syncing: Attemptef to kill the idle task!
 passed
Even if you dont know the solution please help me how to read the above message. But please try to solve as I have to do a project on LFS and I am unable to even boot, forget about doing whole project.

Thankyou
 
Old 05-10-2011, 06:04 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

I'll have a better look at this once I get home (working now....).

Only possible fast solution: Try one of the other liveCD versions
 
Old 05-10-2011, 11:26 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi again,

There's not much to go on when I look at the code snippet you posted (if there is more, please post it).

I suspect this has something to do with TSC (clock source), but I cannot point you to anything specific.

This could be caused by:

- a BIOS setting,
- incompatible/very new hardware,
- kernel setting.

I would check the BIOS and see if all is correct, no harm in checking.

Searching the net the closest I came was this one: motherboard with Q9300 CPU does not boot SMP It cannot hurt to try the idle=poll suggestion (but reading the article I wonder if it is a solution).

Trying to debug this option might be hard to do, I would try one of the other LFS liveCD's. I never had any problems with the r2145 version (both x86 and x86_64).

I noticed you posted this issue to the lfs mailing list, maybe someone of them has seen this error before.

Hope this helps.
 
Old 05-12-2014, 06:21 AM   #7
yiyuan1111
LQ Newbie
 
Registered: May 2014
Location: Shanghai
Distribution: Ubuntu, Fedora
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by shubham.joy View Post
Code:
Kernel panic - not syncing: Attempted to kill the idle task
This is the message I get when boot my desktop from lfs CD.
What should I do ?
I meet this issue too.
My platform: WIN7 64, VMware v7.1,

I tried install Ubuntu 14 and Fedora 20, both meet this issue. After I use VMware 10.0.2, This issue is gone.
So I think it should be VMware issue.
 
  


Reply

Tags
kernel panic



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 Panic -- not syncing: attempted to kill idle task oraclerg Linux - Distributions 16 11-25-2018 01:32 PM
kernel panic attempted to kill the idle task! in idle task - not syncing dudutworld Linux - Newbie 2 09-16-2013 01:50 PM
kernel panic not syncing attempted to kill the idle task Smash85 Linux - Hardware 0 08-14-2007 09:51 AM
Kernel panic - not syncing: Attempted to kill init! Kotresh Linux - Software 3 04-16-2007 08:48 AM
kernel panic : attempted to kill the idle task abirami Linux - Software 0 09-06-2004 03:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

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