LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-11-2007, 01:52 AM   #1
reccaX
LQ Newbie
 
Registered: Apr 2007
Location: DKI Jakarta
Distribution: ubuntu
Posts: 21

Rep: Reputation: 15
Unhappy config kernel 2.6.16.27 for lfs 6.2


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

Trim's..
 
Old 06-11-2007, 04:21 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

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.
 
Old 06-13-2007, 09:54 PM   #3
reccaX
LQ Newbie
 
Registered: Apr 2007
Location: DKI Jakarta
Distribution: ubuntu
Posts: 21

Original Poster
Rep: Reputation: 15
Hi, thanx u..

Yes i try use fedora 6 config for my lfs and can work normally, but sometimes appears error like this :

BUG: spinlock recursion on CPU#0, swapper/0 (Not tainted)
lock: c035ef80, .magic: dead4ead, .owner: swapper/0, .owner_cpu: 0

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??

Trims..
 
Old 06-14-2007, 12:29 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

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.

Hope this helps.
 
Old 06-14-2007, 02:23 AM   #5
reccaX
LQ Newbie
 
Registered: Apr 2007
Location: DKI Jakarta
Distribution: ubuntu
Posts: 21

Original Poster
Rep: Reputation: 15
Many thanx guys for your helps to me..

Ok, i will try to make menuconfig step by step..

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..
 
Old 06-21-2007, 03:17 AM   #6
reccaX
LQ Newbie
 
Registered: Apr 2007
Location: DKI Jakarta
Distribution: ubuntu
Posts: 21

Original Poster
Rep: Reputation: 15
hi guys.. finally, i can solve this problem.. Thanx u very much..
Now, i want continue to BLFS and if i have a problem later, please help me guys..

trims..
 
Old 07-01-2007, 10:14 PM   #7
reccaX
LQ Newbie
 
Registered: Apr 2007
Location: DKI Jakarta
Distribution: ubuntu
Posts: 21

Original Poster
Rep: Reputation: 15
Now..i have problems again..
1. I have display message from booting my lfs :

hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was : unknown
hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was : unknown
hdb: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdb: dma_intr: error=0x84 { DriveStatusError BadCRC }
ide: failed opcode was : unknown
hda: DMA disabled

what does it means???

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..

Thanx for u'r help..

trims
 
Old 07-02-2007, 05:24 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

This, the DriveReady SeekComplete Error, is also related to a kernel option.

After the make menuconfig step, look for:

Device Drivers -> ATA/ATAPI/MFM/RLL support -> Use multi-mode by default

Try turning on this option (or off if it is on).

I cannot help you with question #3, I haven't used windows for over 10 years

Hope this, partially, helps
 
Old 07-03-2007, 01:58 AM   #9
reccaX
LQ Newbie
 
Registered: Apr 2007
Location: DKI Jakarta
Distribution: ubuntu
Posts: 21

Original Poster
Rep: Reputation: 15
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??

help, please..

trims..
 
Old 07-03-2007, 05:03 AM   #10
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

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.

Are there any other error messages during boot?
 
Old 07-03-2007, 08:46 AM   #11
reccaX
LQ Newbie
 
Registered: Apr 2007
Location: DKI Jakarta
Distribution: ubuntu
Posts: 21

Original Poster
Rep: Reputation: 15
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"

What does it means??

trims..
 
Old 07-05-2007, 12:57 AM   #12
reccaX
LQ Newbie
 
Registered: Apr 2007
Location: DKI Jakarta
Distribution: ubuntu
Posts: 21

Original Poster
Rep: Reputation: 15
Hi guys..

How to make backup partitions linux to image file???????

and..

How to make my lfs to be use for livecd???

trims...
 
Old 07-07-2007, 09:34 AM   #13
shevegen
Member
 
Registered: May 2004
Distribution: Slackware / GoboLinux / LFS / VoidLinux
Posts: 145

Rep: Reputation: 26
"Buffer I/O error on device hdb, logical block 0"

This could be a bad sector on the medium.

Check that your hdd or cdrom is ok too.
 
Old 07-08-2007, 12:41 PM   #14
mujie
LQ Newbie
 
Registered: Jul 2007
Location: Palangkaraya, Kalteng, Indonesia
Distribution: Slackware, Debian, Xubuntu
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by reccaX
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 .
 
Old 07-13-2007, 10:55 AM   #15
reccaX
LQ Newbie
 
Registered: Apr 2007
Location: DKI Jakarta
Distribution: ubuntu
Posts: 21

Original Poster
Rep: Reputation: 15
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

please help me ...

thanx
 
  


Reply



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
Kernel Panic lfs LFS gbiyer Linux From Scratch 8 05-07-2006 03:48 AM
using kernel 2.4.x with LFS 6.1.1 win32sux Linux From Scratch 2 04-29-2006 12:29 AM
Kernel 1.6.15 LFS Compatable? Cirdan Linux From Scratch 6 01-06-2006 05:14 PM
Help me ! How to config eth0 on LFS ??? tritong Linux From Scratch 14 12-11-2005 07:34 PM
LFS 5.1.1 2.6 kernel ready ? qwijibow Linux From Scratch 4 07-21-2004 08:17 PM

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

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