LinuxQuestions.org
Review your favorite Linux distribution.
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 01-08-2008, 09:43 AM   #1
davemar
Member
 
Registered: Mar 2004
Location: UK
Posts: 62

Rep: Reputation: 15
Building LFS kernel for C3-2 doesn't work.


I've been trying to install an LFS installation on a EPIA ME6000 motherboard which has the C3 based processor. I tried building the kernel following the instructions in the LFS book (6.2), and set the processor to the correct one in the menu. I wasn't too sure about the other kernel settings in the menu, but tried not to change things from the defaults if in doubt.

Unfortunately on boot-up the kernel just falls over and restarts the machine. I decided to replace it with the kernel that came on the LiveCD (which is, I presume i386 based?), to see whether that booted, and to my pleasant surprise it did. It also gave all the useful information while booting, which my compiled one didn't. Is there a setting to turn this on?

Has anyone got a list of setting for the menuconfig for the kernel that'll work for an EPIA ME6000? Or is there something I'm doing drastically wrong.

I'm aiming for a set-up with functioning network stuff, ALSA sound, and running from flash memory.

Ta, Dave.
 
Old 01-11-2008, 11:00 AM   #2
ph73nt
Member
 
Registered: Feb 2005
Location: Kent, UK
Distribution: OpenSUSE, Raspian
Posts: 60

Rep: Reputation: 16
The LFS book recommends that you configure your own kernel as you build you LFS system. I found it prudent to copy the configuration from my host system (being openSuSE) into the linux-2.6.X directory as .config and once I had finished building the LFS system I knew the kernel configuration would be unlikely to cause any boot errors. Once the LFS system was up and running I could then create a new kernel knowing that I already had a working one installed.

Of course this might not be any help if you have no host distribution! When booting from the live CD is there a config file in the /boot directory?

It's worth noting that distros like suse have a LOT of modules enabled in the kernel so building the kernel as I have described might take a bit longer. But since you've already built GCC 3 times what's the hurry!
 
Old 01-15-2008, 01:21 PM   #3
davemar
Member
 
Registered: Mar 2004
Location: UK
Posts: 62

Original Poster
Rep: Reputation: 15
I copied over the .config from the LiveCD as you suggested and built the kernel using that. Lo and behold, it worked.

I suppose I'll have to compare the .config files to see what I've done differently. I'm sure there's a lot of stuff set in the LiveCD version I don't need, as the size of the LiveCD kernel was considerable larger than my original attempt.
 
  


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
Building a 64 bits LFS smurth Linux From Scratch 3 04-12-2007 05:06 AM
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
Building Binary LFS Tuvok Linux From Scratch 10 03-20-2005 07:09 PM
Getting Linksys WUSB11 ver. 2.5 NIC to work in Suse 9.1 without building the kernel? kaosyan Linux - Wireless Networking 1 08-16-2004 11:58 AM
Building Screen-4.0.2 (and others...) on LFS cjcuk Linux From Scratch 5 12-17-2003 09:11 AM

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

All times are GMT -5. The time now is 03:47 AM.

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