LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-16-2005, 05:36 PM   #1
zachtib
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Rep: Reputation: 0
Linux from scratch cannot boot


I finished my linux from scratch installation, but when I boot to it, I get a call trace followed by
Code:
Code: 08 00 00 00 ba d0 24 c0 00 00 00 00 00 40 fb f7 01 00 00 00
 <0>Kernel panic: Attempted to kill init!
bad: scheduling while atomic!
 [<c03f16c8>]
whats going on, and how to I fix it?

edit: rebooted and got
Code:
ACPI: Subsystem revision 20040326
Unable to handle kernel NULL pointer dereference<1>Unable to handle kernel paging request at virtual address 9a18c045
 
Old 05-17-2005, 02:20 AM   #2
chakkaradeepcc
Member
 
Registered: Mar 2005
Posts: 44

Rep: Reputation: 15
hi,

this seems to be a kernel compilation error,just check kernel config file....

with regards,
C.C.Chakkaradeep
 
Old 05-17-2005, 11:00 AM   #3
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
You could try disabling ACPI support at boot, when the grub screen appears, hit the 'e' key to edit, highlight the kernel entry line and hit 'e' again, change the kernel entry by appending 'acpi=off'.

For example...

kernel /boot/lfskernel-2.6.8.1 root=/dev/hda1 acpi=off

hit return when done and hit 'b' to boot.

HTH

Mad.
 
Old 05-17-2005, 02:45 PM   #4
zachtib
LQ Newbie
 
Registered: Mar 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by madluther
You could try disabling ACPI support at boot, when the grub screen appears, hit the 'e' key to edit, highlight the kernel entry line and hit 'e' again, change the kernel entry by appending 'acpi=off'.

For example...

kernel /boot/lfskernel-2.6.8.1 root=/dev/hda1 acpi=off

hit return when done and hit 'b' to boot.

HTH

Mad.
much thanks, you just saved me the agony of reinstalling

was does disabling acpi do, what do I lose by doing so?
 
Old 05-17-2005, 03:09 PM   #5
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
ACPI stands for Advanced Configuration and Power Interface, some M/Boards behave very badly when its enabled, exhibiting all kinds of symptoms such as those you experienced. ACPI controls things like auto power off, battery management for laptops, fans and a whole list of things I have forgotten. My M/Board for instance, is based on the i865PERL chipset and refused to work with an SMP+ACPI enabled 2.6.8.1 kernel without being patched, subsequent kernel relases have worked fine with it.

HTH

Mad.
 
  


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
Linux From Scratch Help! TechnoPhile Linux From Scratch 7 05-20-2005 12:25 AM
dual boot mandrake and XP from scratch masha Linux - Newbie 10 09-07-2004 12:32 PM
Create your own live boot CD containing your favorite Distro from scratch babytux Linux - Distributions 1 08-19-2003 12:44 PM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 05:11 AM
Linux From Scratch? Iceman Cometh Linux - Distributions 4 02-08-2002 02:55 AM

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

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