LinuxQuestions.org
Register a domain and help support LQ
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
 
LinkBack 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: Ubuntu 12.04/12.10/13.04/LFS/Centos6.3/Debain/PCBSD/Mageia 3
Posts: 1,611
Blog Entries: 1

Rep: Reputation: 226Reputation: 226Reputation: 226
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: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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.
 
  


Reply

Tags
kernel panic


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
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 idle task oraclerg Linux - Distributions 15 02-03-2010 03:36 AM
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


All times are GMT -5. The time now is 08:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration