LFS 6.1 build and boot problem

Jeremy Shivers shivers53 at hotmail.com
Wed Oct 5 08:45:15 PDT 2005


	I'm trying to build a 6.1 system using the livecd-3 released a couple of 
days ago. I start the build process and everything runs fine until it gets 
to the pass 1 glibc tests.

All of the tests up until this one succeed:

********************************************************************
-: make  -C resolv tests
-: make[2]: Entering directory `/lfs/tools/build/glibc-2.3.4/resolv'
-: make[2]: Leaving directory `/lfs/tools/build/glibc-2.3.4/resolv'
-: make[2]: Entering directory `/lfs/tools/build/glibc-2.3.4/resolv'
-: gcc -B/tools/bin/ tst-aton.c -c -std=gnu99 -O2 -Wall -Winline 
-Wstrict-prototypes -Wwrite-strings -g -Wno-strict-prototypes 
-Wno-write-strings -mpreferred-stack-boundary=2     -I../include -I. 
-I/lfs/tools/build/glibc-build/resolv -I.. -I../libio -I../nptl 
-I/lfs/tools/build/glibc-build -I../sysdeps/i386/elf 
-I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv 
-I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux 
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman 
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv 
-I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix 
-I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 
-I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 
-I../sysdeps/wordsize-32 -I../sysdeps/i
-: ee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc 
-isystem /lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/include -isystem 
/tools/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include 
../include/libc-symbols.h   -DNOT_IN_libc=1    
-Dgethostbyname=res_gethostbyname -Dgethostbyname2=res_gethostbyname2 
-Dgethostbyaddr=res_gethostbyaddr -Dgetnetbyname=res_getnetbyname 
-Dgetnetbyaddr=res_getnetbyaddr -o 
/lfs/tools/build/glibc-build/resolv/tst-aton.o -MD -MP -MF 
/lfs/tools/build/glibc-build/resolv/tst-aton.o.dt -MT 
/lfs/tools/build/glibc-build/resolv/tst-aton.o
-: gcc -B/tools/bin/ -nostdlib -nostartfiles -o 
/lfs/tools/build/glibc-build/resolv/tst-aton  
-Wl,-dynamic-linker=/tools/lib/ld-linux.so.2   -Wl,-z,combreloc -Wl,-z,relro 
/lfs/tools/build/glibc-build/csu/crt1.o 
/lfs/tools/build/glibc-build/csu/crti.o `gcc -B/tools/bin/ 
--print-file-name=crtbegin.o` /lfs/tools/build/glibc-build/resolv/tst-aton.o 
  
-Wl,-rpath-link=/lfs/tools/build/glibc-build:/lfs/tools/build/glibc-build/math:/lfs/tools/build/glibc-build/elf:/lfs/tools/build/glibc-build/dlfcn:/lfs/tools/build/glibc-build/nss:/lfs/tools/build/glibc-build/nis:/lfs/tools/build/glibc-build/rt:/lfs/tools/build/glibc-build/resolv:/lfs/tools/build/glibc-build/crypt:/lfs/tools/build/glibc-build/nptl 
/lfs/tools/build/glibc-build/libc.so.6 
/lfs/tools/build/glibc-build/libc_nonshared.a -lgcc -Wl,--as-needed -lgcc_s  
-Wl,--no-as-needed `gcc -B/tools/bin/ --print-file-name=crtend.o` 
/lfs/tools/build/glibc-build/csu/crtn.o
-: GCONV_PATH=/lfs/tools/build/glibc-build/iconvdata LC_ALL=C   
/lfs/tools/build/glibc-build/elf/ld-linux.so.2 --library-path 
/lfs/tools/build/glibc-build:/lfs/tools/build/glibc-build/math:/lfs/tools/build/glibc-build/elf:/lfs/tools/build/glibc-build/dlfcn:/lfs/tools/build/glibc-build/nss:/lfs/tools/build/glibc-build/nis:/lfs/tools/build/glibc-build/rt:/lfs/tools/build/glibc-build/resolv:/lfs/tools/build/glibc-build/crypt:/lfs/tools/build/glibc-build/nptl 
/lfs/tools/build/glibc-build/resolv/tst-aton  > 
/lfs/tools/build/glibc-build/resolv/tst-aton.out
-: gcc -B/tools/bin/ tst-leaks.c -c -std=gnu99 -O2 -Wall -Winline 
-Wstrict-prototypes -Wwrite-strings -g -Wno-strict-prototypes 
-Wno-write-strings -mpreferred-stack-boundary=2     -I../include -I. 
-I/lfs/tools/build/glibc-build/resolv -I.. -I../libio -I../nptl 
-I/lfs/tools/build/glibc-build -I../sysdeps/i386/elf 
-I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv 
-I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux 
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman 
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv 
-I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix 
-I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 
-I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 
-I../sysdeps/wordsize-32 -I../sysdeps/
-: eee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc 
-isystem /lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/include -isystem 
/tools/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include 
../include/libc-symbols.h   -DNOT_IN_libc=1    
-Dgethostbyname=res_gethostbyname -Dgethostbyname2=res_gethostbyname2 
-Dgethostbyaddr=res_gethostbyaddr -Dgetnetbyname=res_getnetbyname 
-Dgetnetbyaddr=res_getnetbyaddr -o 
/lfs/tools/build/glibc-build/resolv/tst-leaks.o -MD -MP -MF 
/lfs/tools/build/glibc-build/resolv/tst-leaks.o.dt -MT 
/lfs/tools/build/glibc-build/resolv/tst-leaks.o
-: gcc -B/tools/bin/ -nostdlib -nostartfiles -o 
/lfs/tools/build/glibc-build/resolv/tst-leaks  
-Wl,-dynamic-linker=/tools/lib/ld-linux.so.2   -Wl,-z,combreloc -Wl,-z,relro 
/lfs/tools/build/glibc-build/csu/crt1.o 
/lfs/tools/build/glibc-build/csu/crti.o `gcc -B/tools/bin/ 
--print-file-name=crtbegin.o` 
/lfs/tools/build/glibc-build/resolv/tst-leaks.o 
/lfs/tools/build/glibc-build/resolv/libresolv.so  
-Wl,-rpath-link=/lfs/tools/build/glibc-build:/lfs/tools/build/glibc-build/math:/lfs/tools/build/glibc-build/elf:/lfs/tools/build/glibc-build/dlfcn:/lfs/tools/build/glibc-build/nss:/lfs/tools/build/glibc-build/nis:/lfs/tools/build/glibc-build/rt:/lfs/tools/build/glibc-build/resolv:/lfs/tools/build/glibc-build/crypt:/lfs/tools/build/glibc-build/nptl 
/lfs/tools/build/glibc-build/libc.so.6 
/lfs/tools/build/glibc-build/libc_nonshared.a -lgcc -Wl,--as-needed -lgcc_s  
-Wl,--no-as-needed `gcc -B/tools/bin/ --print-file-name=crtend.o` 
/lfs/tools/build/glibc-build/csu/crtn.o
-: GCONV_PATH=/lfs/tools/build/glibc-build/iconvdata LC_ALL=C 
MALLOC_TRACE=/lfs/tools/build/glibc-build/resolv/tst-leaks.mtrace  
/lfs/tools/build/glibc-build/elf/ld-linux.so.2 --library-path 
/lfs/tools/build/glibc-build:/lfs/tools/build/glibc-build/math:/lfs/tools/build/glibc-build/elf:/lfs/tools/build/glibc-build/dlfcn:/lfs/tools/build/glibc-build/nss:/lfs/tools/build/glibc-build/nis:/lfs/tools/build/glibc-build/rt:/lfs/tools/build/glibc-build/resolv:/lfs/tools/build/glibc-build/crypt:/lfs/tools/build/glibc-build/nptl 
/lfs/tools/build/glibc-build/resolv/tst-leaks  > 
/lfs/tools/build/glibc-build/resolv/tst-leaks.out
-: Timed out: killed the child process
-: make[2]: *** [/lfs/tools/build/glibc-build/resolv/tst-leaks.out] Error 1
-: make[2]: Leaving directory `/lfs/tools/build/glibc-2.3.4/resolv'
-: make[1]: *** [resolv/tests] Error 2
-: make[1]: Leaving directory `/lfs/tools/build/glibc-2.3.4'
-: make: *** [check] Error 2
********************************************************************

	I figure no problem, my computer must be too slow for the tests. I comment 
out both "make check"s for glibc in chapter 5 and 6 in the profile, reboot 
and rebuild again. The entire system builds fine however after booting the 
kernel the lfs bootscripts give out weird text. Below is verbatim character 
for character of what I get on the console.

The text is okay up until the hotplug script:

********************************************************************
Loading modules for system devices...					[  OK  ]
: command not foundk: line 2:
: command not foundk: line 4:
: command not foundk: line 6:
********************************************************************

Everything else if okay until setting the hostname and bringing up the 
network card:

********************************************************************
...ting hostname to lfshost						[  OK  ]
Bringing up the eth0 interface...
: command not foundork-devices/ifconfig.eth0/ipv4: line 2:
: command not foundork-devices/ifconfig.eth0/ipv4: line 7:
********************************************************************

	The network doesn't come up and then I get the login prompt. I have never 
had a problem building a 6.0 system using the live cd. This is the first 
time I have ever encountered any of this. Does anybody know what is 
happening or what is wrong?

Thanks a mil,
   J. Shivers





More information about the lfs-support mailing list