LinuxQuestions.org
Help answer threads with 0 replies.
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 04-28-2006, 01:09 AM   #1
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Question using kernel 2.4.x with LFS 6.1.1


i'm about to get started with LFS 6.1.1, and while i was checking the host system requirements i noticed it says you need to have a 2.6.x kernel cuz of NPTL and udev...

but i'd like to know how much fuss would i have to go through if i wanted to do LFS 6.1.1 with kernel 2.4.x - without NPTL and udev...

that's basically my question...

any input would be greatly appreciated...
 
Old 04-28-2006, 05:00 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
well, last night i got to chapter 5.7 - the toolchain adjustment after having compiled glibc for the first time... didn't have to jump through any hoops like i had imagined... basically it was just a matter of using the kernel headers from my box, instead of the "sanitized" headers which you are instructed to use in chapter 5.5... in my particular case it went like:
Code:
cp -Rv /usr/src/linux-2.4.33-pre2/include/asm-i386 /tools/include/asm

cp -Rv /usr/src/linux-2.4.33-pre2/include/linux /tools/include
the only other modification i did was when configuring glibc prior to compilation... i changed this:
Code:
--enable-add-ons --enable-kernel=2.6.0
to this:
Code:
--enable-add-ons=linuxthreads --enable-kernel=2.4.1
i unpacked the linuxthreads tarball into the glibc source directory before doing that...

hopefuly i'll be able to get to chapter 6 tonight...

EDIT: after getting to chapter 6, i'm starting have doubts about the --enable-add-ons option... i'm suspecting what i should have done was to just omit it... i'll be looking at this later, for now i'm going-on as is...

Last edited by win32sux; 04-29-2006 at 12:54 AM.
 
Old 04-29-2006, 12:29 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Original Poster
Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
okay i've reached chapter 6 with no apparent issues so far...
 
  


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
Kernel Panic lfs LFS gbiyer Linux From Scratch 8 05-07-2006 03:48 AM
Kernel 1.6.15 LFS Compatable? Cirdan Linux From Scratch 6 01-06-2006 05:14 PM
kernel panic LFS 6.0 vmlinuz101 Linux From Scratch 1 04-15-2005 09:17 AM
LFS 5.1.1 2.6 kernel ready ? qwijibow Linux From Scratch 4 07-21-2004 08:17 PM
LFS 5.1-pre1 with kernel 2.4.24-libata patch dleidlein Linux From Scratch 2 04-07-2004 05:33 PM

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

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