LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Kernel panic - not syncing: Attempted to kill the idle task (https://www.linuxquestions.org/questions/linux-from-scratch-13/kernel-panic-not-syncing-attempted-to-kill-the-idle-task-879651/)

shubham.joy 05-09-2011 09:29 AM

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 ?

spiky0011 05-09-2011 11:13 AM

Hi you might want to post grub.cfg and fstab to see whats happening

druuna 05-09-2011 12:15 PM

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.

shubham.joy 05-10-2011 03:31 AM

Quote:

Originally Posted by spiky0011 (Post 4351085)
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

druuna 05-10-2011 06:04 AM

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

druuna 05-10-2011 11:26 AM

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.

yiyuan1111 05-12-2014 06:21 AM

Quote:

Originally Posted by shubham.joy (Post 4350978)
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.


All times are GMT -5. The time now is 11:28 PM.