On Mon, 19 Sep 2005, Albert wrote:
Yes, it wasn't my first choice. I have LFS 5.0 on another partition, but I
read somewhere that the host should have at least kernel 2.6, and Gobo was
the only one here that did.
You *can* build a 2.6 kernel on that vintage of LFS, just remember not
to use modules (there is a compatability option in module-init-tools,
but I can't remember what it is, and it's a once-only option, so
another thing that could go wrong and trash the host). Oh, and use your
normal gcc (3.3 or whichever), not 2.95.3.
Second, you've not specified what processor you are running on.
Intel Celeron I think. Whatever comes standard in a Dell Dimension 2400.
OK, some sort of i686 - if in doubt, expect all tests in glibc and
binutils to pass.
GoboLinux has doctored the kernel also, primarily to hide the "legacy
tree"(the standard FHS) from common utilities, like ls.
Weird, I assumed they doctored the utilities.
Something seems to be seriously wrong. For starters, check that /proc and
/sys are mounted (from inside chroot, a simple 'ls' will prove if there is
anything in these two directories).
root:/sources/binutils-build# ls /proc
[...]
ok, /proc, /sys, /dev look reasonable.
Did you run the check for glibc without problems ?
One problem. I posted it at 09/18/2005 08:45 as "Re: make check in 6.1/6.11"
After seeing what it was, I assumed (erroneously?) that it was harmless to
me.
Ah, yes, an rt test. I've seen errors on development systems here (NOT
x86) like this with _newer_ kernels, but haven't yet tried to track them
down. I don't think it's important, just odd.
Have you come back to the build after shutting down ?
Several times. I run the following list of commands every time I reboot the
host. This is an aggregation of 6.2, 6.3 and 6.8:
On a quick look, you seem to be doing the right thing.
Thanks for the reply, Ken. The diagnoses doesn't sound good.
Well, google found what seems to be the latest gobolinux hide patch
(for 2.6.10) - it's so outside my experience that I can't comment on it.
Unless somebody jumps up and says "works for me on this version of the
LFS book" I would mistrust it. Normally, by the time you get to chapter
6 you are pretty isolated from the host system, but now access to files
is going through a different (and new) path in the kernel that almost
certainly hasn't been designed or tested to support building a new
system in a chroot jail. Might work, might get strange results.
If nobody does jump up to argue the case for GoboLinux (and I've seen
occasional posts from people who seem to know about it) I recommend
starting from a different host distro. Either use your LFS-5 to build a
kernel without modules (good practice for finding a 2.6 config that
works, some things have changed since 2.4, or use the Live CD.
Ken
--
das eine Mal als Tragödie, das andere Mal als Farce
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page