Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi guys.. can you share file .config for lfs 6.2 for linux kernel 2.6.16.27 because my config always failure. Sometimes i use config from fedora core 6, it's can boot normally and display login name , but when i reboot again with that config, it's has failure too etc : hda MA disable or BUG : Spinlock recursion on CPU#0, swapper#0 and many else..
Any body can help me?? http://linuxquestions.cachefly.net/i...s_lq/icon9.gif
Sharing of a vanilla .config file that has the same version is possible, but........
You can import an older and/or modified .config file by using the make oldconfig command. After running the make oldconfig command it's recommended to run the make menuconfig command and check if all is set correctly for your hardware. It's also possible that some new options are present and some older ones are deprecated (if the .config file is not the same version as the present kernel).
Finding out which options to use is the hard part (especially if you are new at this).
After the make menuconfig you can continue with the make / make modules_install steps (as described in chapter 8.3).
Hope this helps.
PS: I just checked and found out that fedora core 6 uses kernel 2.6.20. I never tried importing a .config file that belongs to a newer kernel version.
BUT.. after i boot my fedora 6 and run {e2fsck -f /dev/hdb1}for my lfs partitions,my lfs can boot normally again.
So, whether this problems cause my lfs didn't has initrd for check errors ext2 or ext3 file systems? And if that true can some one help me??
The 'BUG: spinlock......' message could be caused by a kernel option that is used in LFS (taken from the newer fedora kernel and probably not needed). Try looking for this kernel option: CONFIG_DEBUG_SPINLOCK and turn it off.
You should check all the options (in the make menuconfig step) that are present and turn on what you need and turn off what you do not need. Copying a .config from another distro is fine for a base, but also somewhat dangerous (not all distro's work the same). I know that it is a lot of work, especially if you aren't familiar with this, but it is vital to have a smoothly running system.
LFS does install a partition/disk checker (/etc/rc.d/init.d/checkfs, installed in chapter 7.2). The links to the appropriate runlevels are also automatically created.
next, i have a small problem with my configuration files about su (super user), i can't enter to be root in my lfs, only as user which i created from chroot environment..
I also found that error message from booting lfs-livecd-6.2.5 which get original from website linuxfromscratch..
2. How should i do to solve that problem no.1 so could booting normally without that error display message?? my friend told me to install program acpi and acpid to start and stop power such as hard disk so that hard disk could have failure in next booting, that's can solve or not??
3. What program work under windows Xp, can make image for my lfs partitions? I want to make that image to test in other computer by first making image and then restore that image to other computers..
But the problem is my lfs partition in hdb so i can't login, even mounting from other distro like fedora or lfs-livecd.. I think it's cause physical error in my hard disk but can i save my lfs partition? I ask software can work under windows because my lfs partition can detected by windows but not detected in linux.. Or should i do??
It's a bit hard to understand what you are saying in post #9. One thing that seems very strange is this:
Quote:
because my lfs partition can detected by windows
Too my knowledge windows cannot detect ext3 partitions. Or are you talking about the disk (a disk is not the same as a partition).
The errors shown in post #7 points to a problem 'talking' to one of your disks (hdb), but this is probably kernel related (both the liveCD and an installed LFS show this error). This error shouldn't prevent you from login in.
sorry about my words which make miss understanding..
i means that i could look my lfs partitions with using software explore2fs (only read)..
Yes, i have else error message during boot, that is : "Buffer I/O error on device hdb, logical block 0"
And, when i checked about hdd healthy with using software under windows XP "hddhealth", i founded this error : "UltraDMA CRC Error Count Attribute is very low! Check the IDE cable, PCI frequency, and system drivers"
3. What program work under windows Xp, can make image for my lfs partitions? I want to make that image to test in other computer by first making image and then restore that image to other computers..
Did you ever heard and use VMware, VirtualBox, VirtualPC ? I was succed build my LFS with VirtualBox .
hi, i found this when i use startx :
** (xfce-mcs-manager-28900) : CRITICAL ** : find master : assertion 'mixer_handle != -1! failed
No fonts found ;
i only have install Xorg and XFce (includes dependencies packet) but i couldn't install Xorg Font cause when installed it appear error :
'XFONT not installed' in compile configure
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.