Re: [lfs-support] error when trying to cross compile glibc-2.19

2014-04-19 Thread William Harrington

On Apr 19, 2014, at 12:42 AM, mar...@byteanywhere.com wrote:

 Thanks all for the replays.
 I am trying to create a cross compiler using the steps for building  
 LFS
 when the temporary tools are build.

I suggest you look at how we do that in CLFS at 
http://cross-lfs.org/view/git/index.html 
  or our current http://cross-lfs.org/~kb0iic/CLFS-GIT-SYSTEMD/html/index.html

Those will provide you a better understanding of what you may be doing  
wrong.

One critical step is changing your target triplet so the tools know  
that it is cross compiling.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] error when trying to cross compile glibc-2.19

2014-04-18 Thread William Harrington

On Apr 18, 2014, at 2:37 PM, mar...@byteanywhere.com wrote:

 /home/marian/kits/crosstool-0.43/build/x86_64-unknown-linux-gnu/ 
 glibc-build/sunrpc/cross-rpc_main.o
 -MMD -MP -MF
 /home/marian/kits/crosstool-0.43/build/x86_64-unknown-linux-gnu/ 
 glibc-build/sunrpc/cross-rpc_main.o.dt
 -MT
 /home/marian/kits/crosstool-0.43/build/x86_64-unknown-linux-gnu/ 
 glibc-build/sunrpc/cross-rpc_main.o

This is from kegel's cross-tools package 0.43  http://kegel.com/crosstool/

It's old, ancient, and newer tools cross compile much better, plus,  
LFS doesn't use cross-tools.

What are you doing?

Sincerely,

William Harrington


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS-7.5 Chapter 6.61. Util-linux-2.24.1

2014-04-06 Thread William Harrington

On Apr 6, 2014, at 7:20 PM, baho utot wrote:

 the  configure should be:

 ./configure --disable-nologin

 as nologin was previously installed by shadow


Does util-linux nologin binary overwrite shadow's? If so, that is  
desired because util-linux ships a better nologin binary.

Coreutils will also overwrite groups program because it is better than  
shadow's groups binary.


Rather, shadow, if not wanting to install groups or nologin installed,  
could edit Makefile.in to exclude those.

Sincerely,

WIlliam Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LSF Package wget

2014-03-30 Thread William Harrington

On Mar 30, 2014, at 5:51 AM, Andrew Barnes wrote:

 I've found that one or two downloads tend to be https and if you add  
 something like --no-check-certificates on your wget command line  
 then it works.

That's one way to do it.

If a user sets up their certifications properly with their system,  
then wget won't complain.

Example for BLFS wget and CA certs:

http://www.linuxfromscratch.org/blfs/view/svn/postlfs/cacerts.html

wgetrc configuration should have a location for the certs:

ca-directory=/etc/ssl/certs

For host OS's which don't have any of the above or aren't updated, the  
user may want to do that, otherwise the --no-check-certificates option  
may be required.

Refer to http://lists.gnu.org/archive/html/bug-wget/2013-12/msg00012.html 
  for a discussion about this specific issue.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Blank screen when booting with 3.13.3 kernel. - LFS 7.5

2014-03-20 Thread William Harrington

On Mar 20, 2014, at 10:06 AM, rhubarbpie...@gmail.com wrote:

 I'm still surprised I could compile
 LFS 7.5 with the 3.13.3 kernel and then revert to an older kernel with
 BLFS 7.5.

Why surprised? If you did a default build of LFS Glibc then you can  
build and run a kernel back to 2.6.32:

http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html   
--enable-kernel=

http://www.gnu.org/software/libc/manual/html_node/Configuring-and-compiling.html

Any kernel ran before 2.6.32 gives FATAL: Kernel too old!

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] [spam] To post to this list, send your email

2014-03-17 Thread William Harrington

On Mar 17, 2014, at 8:48 PM, Bruce Dubbs wrote:

 Linux Junky wrote:
 Hi Bruce, I am not spam. Did i accidentally unregister my self?

 No but a message with that subject and content looks like it.
All you have to do is look at the mailman interface and look at what  
is going on.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] I'm new to this site

2014-03-14 Thread William Harrington

On Mar 14, 2014, at 12:48 PM, wayne mcdanolds wrote:

 Hello everyone,
   I am new too this list so I will explain what I run on this end.
 I have a Dell Dimension 4500S with a Pentium 4 processor at a clock
 speed of 1800 Mhz. This is a 32bit system which means I can't run  
 64bit
 programs on it. I did download a 64bit ver of LM11 which won't run on
 this system. 1024 mb of ram in a system that is about 12 years old + a
 couple years.
   I am planning on compiling linux from scratch when I get around to
 it. I have downloaded LFS 6.3 version as well as a pdf for ver 6.3.
 73  best regards

I use a dual p3 tualatin 1.4GHz system which is quite still powerful  
for building with.

It can build a system, without testing, in under 4 or 5 hours (with a  
scripted build).

I suggest the lateset LFS 7.5 release at http://www.linuxfromscratch.org/lfs

Welcome to LFS.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /etc/init.d/setclock start never run when we start to use eudev

2014-03-13 Thread William Harrington

On Mar 13, 2014, at 1:50 PM, Bruce Dubbs wrote:

 But does anyone have ippp or isdn devices any more?  I don't even know
 what a dcbri device is.

Spellcaster DataComm/BRI ISDN card devices

Yeah, ippp and isdn devices still exist and people have them.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] DHCPCD not starting when booting up

2014-02-21 Thread William Harrington

On Feb 20, 2014, at 11:29 AM, Oshadha Gunawardena wrote:

 root:/etc# ps -e|grep log
 1949 ?00:00:00 rsyslogd

I hope you aren't using cross-lfs with lfs bootscripts. We install  
rsyslog with CLFS.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Exotic lfs compiling question

2014-02-20 Thread William Harrington

On Feb 20, 2014, at 8:47 AM, loki wrote:

 So the question is can I compile some version of lfs which can be  
 compiled on 6.3 and can compile 7.4 and can I do both or more  
 compilations in chroot?

You can build LFS 7.4 (probably go with 7.5-rc1) from 6.3 with some  
minor tweaks.

If your running kernel is up to at least 2.6.32  then default glibc  
configure options will work. If it is less than 2.6.32, then you'll  
need to adjust the glibc configure commands otherwise you  will get  
FATAL: Kernel too old once you start using the new glibc in tools.

Other than upgrading tar if not already so it'll us xz, and add xz to  
your system.

6.3 still meets the host system requirements outside of the running  
kernel update, tar update, and addition of xz. Gawk 4.1 upgrade isn't  
necessary as 3.15 even still works when building tools. However, you  
may want to anyway.

Without upgrading the kernel headers you won't be able to upgrade your  
host's e2fsprogs to 1.42 and upgrade udev.
You'll also need to upgrade make.

I updated the lfs livecd a while back to build 7.x versions. you can  
look at my notes to see what I upgraded. If I didn't upgrade something  
to the newest version and it is stuck at an old version, namely udev  
and e2fsprogs, it is cause of the old kernel headers installed.

http://clfs.org/~kb0iic/livecdupd/

I haven't tested the updated livecd with 7.5, but if host system  
requirements didn't change since 7.4, it'll work.

You can bring your 6.3 up to date rather easily without much effort.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] CLFS

2014-02-19 Thread William Harrington


 On Feb 19, 2014, at 4:46, loki l...@pancevo.rs wrote:
 
 On the address http://www.cross-lfs.org/ I'm getting a Domain for Sale.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] CLFS

2014-02-19 Thread William Harrington


 On Feb 19, 2014, at 4:46, loki l...@pancevo.rs wrote:
 
 On the address http://www.cross-lfs.org/ I'm getting a Domain for Sale.

Oh man! I should have bought it! Well it worked 7 hours ago. It's still around.

Sincerely,
William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] CLFS

2014-02-19 Thread William Harrington

On Feb 19, 2014, at 5:31 AM, Armin K. wrote:

 Simple whois says that domain was renewed today (19.02), but  
 nameservers
 still point to the

 Name Server:NS1.MYDOMAINCOM-EXPIRED.DOMAINPARKINGSERVER.NET

It's autorenewed and parked. But it will eventually expire.

Anyone wanting to view the site needs to use the ip address for now  
until Justin gets back with me.

208.97.140.69

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] CLFS

2014-02-19 Thread William Harrington

On Feb 19, 2014, at 1:05 PM, Bruce Dubbs wrote:

 Why don't you rename it to cross.linuxfromscratch.org or similar?  No
 domain fees required.  It would only require a new entry in the lfs  
 dns
 server and maybe a few updates to the web pages.

   -- Bruce

Need to contact Justin Knierim about that. We really want to keep  
cross-lfs.org for certain reasons.

We should get it back no problem, but Jim Gifford owned it last, if I  
recall, and let it lapse. So we are waiting now.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] CLFS

2014-02-19 Thread William Harrington

On Feb 19, 2014, at 1:47 PM, Bruce Dubbs wrote:

 OK.  Just let me know if you want me to do anything.

   -- Bruce

I heard from Jim Gifford, the original registrar, so I think we will  
get it sorted. Thanks for the offer, too.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /tools directory

2014-02-18 Thread William Harrington

On Feb 17, 2014, at 9:19 PM, joel kammet wrote:

 But why do you still use /tools/bin/  for bash, file,  strip on  
 page 202?


Have you ever tried stripping an already running process? Experiment.  
There are tools for a reason.

Sincerely,

William Harrington

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] [Clfs-support] CLFS eudev vs LFS udev

2014-02-17 Thread William Harrington

On Feb 16, 2014, at 3:24 PM, Alexey Orishko wrote:

  I'm aiming at minimum changes needed while moving from legacy udev.

Since udev was merged with systemd, Gentoo crated eudev which is  
explained here:

http://www.gentoo.org/proj/en/eudev/

LFS extracted udev from systemd and created Makefile targets for LFS  
and is like your normal ole udev stripped from systemd.

If you used LFS 6.3, use LFS to upgrade your system. It'd be much  
easier to install a distro or use a current LFS system, though. But  
for meeting host system requirements you will need to do these things:

Upgrade kernel headers, upgrade glibc (newer udev requires it),  
upgrade tar, install xz, and you also don' t need to update gawk to  
4.1. You don't need to rebuild programs against the new glibc, because  
your new glibc will have the required versioned symbols those programs  
require, but you do need to do this: whichever kernel your current  
glibc was built with, you'll need to use --enable-kernel=kernel  
version you used when building your LFS 6.3 system. Default was  
2.6.0.  I think that may cover most things.

I updated the LFS 6.3 livecd to build current CLFS and LFS versions  
and can view my notes here: http://cross-lfs.org/~kb0iic/livecdupd/

I didn't upgrade some things like e2fsprogs and udev becauase I didn't  
upgrade kernel headers. I left all of that alone.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Error while compiling Glibc on Lfs 6.3

2014-02-12 Thread William Harrington

On Feb 12, 2014, at 8:12 AM, Naman Madia wrote:

  am trying to install LFS using LFS live Cd 6.3.

BIg mistake. Also, don't build LFS 6.3.  Use current 7.4 or soon to be  
7.5 and the upated livecd (which I no longer maintain, but can build  
current LFS 7.x versions until host system requirements change for the  
kernel and other packages) http://cross-lfs.org/~kb0iic/livecdupd/

Don't forget to read the note on the page:

http://www.linuxfromscratch.org/livecd/

The big red box which you shouldn't miss.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] (B)LFS-7.4 with latest kernel 3.10.x

2014-01-26 Thread William Harrington

On Jan 26, 2014, at 3:21 PM, Alexey Orishko wrote:

 - If building 3.10.next version, do I need to replace kernel headers,
 i.e. rebuild Glibc and
  all stuff related to it?

 - Is there any consequences if I keep old headers  Glibc while
 booting from new kernel?
 (meaning: still 3.10, but latest patch level)

No.

Run a new kernel and have at it.

The only time you will have an issue is when you run a kernel version  
that is older than the --enable-kernel= option when building Glibc. If  
you run a kernel older than the version specified with that option,  
then you get FATAL: Kernel too old.

Sincerely,

WIlliam Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 5.8 Libstdc++-4.8.1

2014-01-18 Thread William Harrington

On Jan 17, 2014, at 12:43 PM, Douglas R. Reno wrote:

 I do not believe that the LFS Livecd works on any version over 7.0

 Source: LFS LiveCD project homepage

 Douglas Reno

If you want to use an updated lfs livecd for currenet LFS versions,  
then use this one. I do not upgrade it, anymore, as it took much work  
and distributions have better livecd's which a user can configure to  
meet the host system requirements.

http://cross-lfs.org/~kb0iic/livecdupd/

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] GCC-$.8.1 Configure fatal errors

2014-01-16 Thread William Harrington

On Jan 16, 2014, at 9:46 AM, William Darryl Jackson wrote:

 After the the configure appears to complete successfully. Should I  
 be concerned about either of these two failures?

 Thanks,

 William

No, it is testing a system for which compiler is installed and which  
options to include for the build. If configure fails, then it is a  
problem. If configure exits in success, then it is fine.

You will see lots of failed tests in the config.log. It doesn't mean  
the configure script failed.

Sincerely,

WIlliam Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Two suspected bugs

2014-01-16 Thread William Harrington

On Jan 16, 2014, at 12:00 PM, parmenides wrote:

 (2) In chapter 5, 5.7. Glibc-2.18
 I got the following warning:

 configure: WARNING:
 *** These auxiliary programs are missing or incompatible versions:  
 autoconf
 *** some features will be disabled.
 *** Check the INSTALL file for required versions.

 I seems that there should be some requirements of autoconf.

This has been stated at the support list numerous times.

GLIBC does not require autotools on the host for it to build.

Ignore the warning.

Sincerely,

WIlliam Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Two suspected bugs

2014-01-16 Thread William Harrington

On Jan 16, 2014, at 1:04 PM, William Harrington wrote:

 The New short option -J (alias for --lzma) was put in 1.20.90 which is
 in 1.22.

This didn't make it,

Also for the release note: http://freecode.com/projects/tar/releases/295528

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 5.8 Libstdc++-4.8.1

2014-01-16 Thread William Harrington

On Jan 16, 2014, at 5:56 PM, Louis Rine wrote:

 Ah, I was wondering if dash would make a difference. I will fix that  
 and try again. Thank you. :)

It does, and that is why the host system requirements states:

Bash-3.2 (/bin/sh should be a symbolic or hard link to bash)

But that may not be your only issue.

I suggest you check the host system requirements.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Static versus Shared libraries

2013-12-31 Thread William Harrington

On Dec 31, 2013, at 8:38 AM, Aleksandar Kuktin wrote:

 There is actually a problem with libtool and just rm-ing a static
 library. I don't know the specifics of it, but subsequent build
 attempts of other packages needing the affected libraries may fail.

You can safely remove all *.la as well in /lib and /usr/lib, but not  
in subdirectories where an app will need them to run successfully,  
such as ImageMagick.

But for my own builds, I use --disable-static or remove the static  
libs if installed with no option to disable and remove the libtool  
archive, as well.

Most likely safer to disable the building and installation of static  
libraries during the build phase. You bring up a good point.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread William Harrington

On Dec 18, 2013, at 9:24 AM, Dan McGhee wrote:

 /usr/share/grub/grub-mkconfig_lib: line 53: 12058 Segmentation  
 fault  (core dumped) ${grub_probe} -t fs $path  /dev/null  
 21
 Path `/boot/grub' is not readable by GRUB on boot. Installation is  
 impossible. Aborting.

Did you use optimizations while building grub?

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS 7.4 - Chapter 8.4 - GRUB

2013-12-18 Thread William Harrington

On Dec 18, 2013, at 2:08 PM, loki wrote:

 Yup. -O3 -march=native. And that said, something comes into my mind  
 that I've read somewhere that grub does not play well with -O3.  
 Thanks. Will try that on Friday.

Don't optimize the bootloader. Grub doesn't need optimizations. No  
bootloader needs optimization from gcc. You are dealing, also, with  
assmebly that the authors write for the target platform. Segfaults  
commonly come from grub when using optimizations. Also, may as well  
install strace and gdb and debug.

I write this because grub, in the past has, segfaulted when using -O3  
or -march set, even from before Grub 1.

Even when using -O3 you can get a loading grub... message that  
hangs.  Rebuild grub without optimizations and return with results.

SIncerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Chapter 6.9 - Glibc - interpreting errors

2013-12-17 Thread William Harrington

On Dec 17, 2013, at 8:29 AM, Frans de Boer wrote:

 Display errors
 make[2]: *** [/sources/glibc-2.18/build/csu/test-multiarch.out]  
 Error 1
 make[1]: *** [csu/tests] Error 2
 make[2]: *** [/sources/glibc-2.18/build/posix/tst-getaddrinfo4.out]  
 Error 1
 make[2]: [/sources/glibc-2.18/build/posix/annexc.out] Error 1  
 (ignored)
 make[1]: *** [posix/tests] Error 2
 make[2]: *** [/sources/glibc-2.18/build/nptl/tst-attr3.out] Error 1
 make[2]: *** [/sources/glibc-2.18/build/nptl/tst-pthread-getattr.out]
 Error 1
 make[2]: *** [/sources/glibc-2.18/build/nptl/tst-execstack.out]  
 Error 1
 make[1]: *** [nptl/tests] Error 2
 make[2]: [/sources/glibc-2.18/build/conform/run-conformtest.out]  
 Error 1
 (ignored)
 make[2]: *** [/sources/glibc-2.18/build/debug/tst-chk3.out] Error 1
 make[2]: *** [/sources/glibc-2.18/build/debug/tst-lfschk3.out] Error 1
 make[2]: *** [/sources/glibc-2.18/build/debug/tst-chk6.out] Error 1
 make[2]: *** [/sources/glibc-2.18/build/debug/tst-lfschk6.out] Error 1
 make[1]: *** [debug/tests] Error 2
 make[1]: *** [/sources/glibc-2.18/build/c++-types-check.out] Error 1
 make: *** [check] Error 2

Have you inspected the .out files to find out why the tests failed?

Did you use any optimizations with CFLAGS?

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Chapter 6.9 - Glibc - interpreting errors

2013-12-17 Thread William Harrington

On Dec 17, 2013, at 10:55 AM, Bruce Dubbs wrote:

 make[2]: *** [/sources/glibc-2.18/build/nptl/tst-pthread-getattr.out]

FOr this one and some others, you may want to look at the values of  
the command:

ulimit -a

If the .out file has some extremely large value for rlimit, a bad  
shell/make process could give the wrong rlimit value.

Some kernels are known to barf some bad rlimit values, too.

I don't know if having dash as your host's default shell while  
building ch5 could affect this, it most certainly could, as I've seen  
bash also break with broken command substitution when built while the  
default shell is dash. I wouldn't rule it out that your ch5 tools  
could be the problem.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 7.4 / 6.17. GCC-4.8.1 ... FAIL: g++.dg/asan/asan_test.C

2013-12-09 Thread William Harrington

On Dec 9, 2013, at 6:44 AM, Ron Hartikka wrote:

 But I didn't find a fix.
 Nor could *I* glean an indication that it's safe for me to ignore.

A huge number of failures indicates a problem.

The specific error regarding AddressSanitizer_HugeMallocTest as a  
Failure would be platform specific.

You can always refer to the GCC mailing lists as there are always  
current and past testsuite results.

I haven't seen it fail with Sparc64, x86, x86_64, PPC, or PPC64.   
Current tests don't see it failing in vmware.

What is your platform?

Sincerely,

WIlliam Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 7.4 / 6.17. GCC-4.8.1 ... FAIL: g++.dg/asan/asan_test.C

2013-12-09 Thread William Harrington

On Dec 9, 2013, at 6:44 AM, Ron Hartikka wrote:

 I should have said I came across that thread and other threads  
 elsewhere about this error.


As far as looking through the gcc-testresults mailing list:

http://gcc.gnu.org/cgi-bin/search.cgi?wm=wrdform=extendedm=alls=Dul=%2Fml%2Fgcc-testresults%2F%25q=AddressSanitizer_HugeMallocTest

Maybe you'll find your platform there.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] GCC build first pass: mpc build looks for libgmp.la in the wrong place

2013-12-08 Thread William Harrington

On Dec 7, 2013, at 3:52 PM, William Harrington wrote:

 Also, doing a normal install of Slackware 14.1 didn't even install
 perl. I had to manually tag packages I wanted then I had a successful
 install.
 I think their install process is broken. I also had to add rc.sshd  
 to /
 etc/rc.d/rc.M.

Turns out I had to reselect the slackware64 14.1 iso image in vmware  
then my normal install of A AP D K L and N went fine.

The minimal list of packages will get you in the right position. Take  
care to peruse the list I gave for a path to a minimal install.

Even if you remove some libraries from your install, some binaries may  
still require them as NEEDED (readelf -d) and will not be found.

Sincerely,

WIlliam Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 7.4 / 6.17. GCC-4.8.1 ... FAIL: g++.dg/asan/asan_test.C

2013-12-08 Thread William Harrington

On Dec 8, 2013, at 8:55 PM, Ron Hartikka wrote:

 Running target unix
 FAIL: g++.dg/asan/asan_test.C  -O2  AddressSanitizer_HugeMallocTest  
 Ident((char*)malloc(size))[-1] = 0 output pattern test, should match  
 is located 1 bytes to the left of 2726297600-byte

Hello Ron,

This was reported back in August.

http://thread.gmane.org/gmane.linux.lfs.devel/14295/focus=14318

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] GCC build first pass: mpc build looks for libgmp.la in the wrong place

2013-12-07 Thread William Harrington

On Dec 7, 2013, at 1:38 PM, Hazel Russman wrote:

 On a full Slackware install, no one would notice this. Who is going to
 root around in archive files looking for bad dependency paths when
 everything has gone smoothly?

Which sets did you install from the slackware installer?

I normally do the base,   a, ap, l, n, d, so I get the base system,  
development tools, system libraries, and network apps.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] GCC build first pass: mpc build looks for libgmp.la in the wrong place

2013-12-07 Thread William Harrington
-2.1.0-x86_64-1
sysklogd-1.5-x86_64-2
syslinux-4.06-x86_64-1
sysvinit-2.88dsf-x86_64-3
sysvinit-functions-8.53-x86_64-2
sysvinit-scripts-2.0-noarch-17
tar-1.26-x86_64-1
tcp_wrappers-7.6-x86_64-1
tcpdump-4.4.0-x86_64-1
tcsh-6.18.01-x86_64-2
telnet-0.17-x86_64-2
terminus-font-4.38-noarch-1
texinfo-4.13a-x86_64-4
time-1.7-x86_64-1
traceroute-2.0.19-x86_64-1
tree-1.6.0-x86_64-1
udev-182-x86_64-7
usbutils-007-x86_64-1
utempter-1.1.5-x86_64-1
util-linux-2.21.2-x86_64-6
vim-7.4.050-x86_64-1
wget-1.14-x86_64-2
which-2.20-x86_64-1
whois-5.0.25-x86_64-1
xz-5.0.5-x86_64-1
yasm-1.2.0-x86_64-2
zlib-1.2.8-x86_64-1

Some still aren't needed for a minimal system.

Also with slackware64, there are no libraries in /lib or /usr/lib or / 
usr/local/lib. All libraries should be in /lib64 or /usr/lib64.

LFS environment which should be per the book:

lfs:~$ cat .bashrc
set +h
umask 022
LFS=/mnt/lfs
LC_ALL=POSIX
LFS_TGT=$(uname -m)-lfs-linux-gnu
PATH=/tools/bin:/bin:/usr/bin
export LFS LC_ALL LFS_TGT PATH

lfs:~$ cat .bash_profile
exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash

Up to gcc pass1 result:

Success.

No problems whatsoever.

Here is the config.log in gcc-build/mpc:

http://hastebin.com/mameleyite.md

SIncerely,

William Harrington
So I built LFS up to GCC pass1 such as you and this is the result:


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Configuring 3.10.10 for quad-core processor

2013-12-04 Thread William Harrington

On Dec 4, 2013, at 1:49 PM, Dan McGhee wrote:

 AMD-10-5745M

Have you used the powernow-k8 driver and have SMP enabled?

http://cateee.net/lkddb/web-lkddb/X86_POWERNOW_K8.html

Sincerely,

WIlliam Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Configuring 3.10.10 for quad-core processor

2013-12-04 Thread William Harrington

On Dec 4, 2013, at 3:36 PM, Ken Moffat wrote:

 CONFIG_MK8 but works on K10

Ah was trying to find the exact configure option.

It works with my A4 3400, as well.

SIncerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Ethernet Card Not Found

2013-11-26 Thread William Harrington

On Nov 26, 2013, at 6:19 PM, Baho Utot wrote:

 Want to bet which one of these I can remember?

p33p1  for people!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Ethernet Card Not Found

2013-11-25 Thread William Harrington

On Nov 25, 2013, at 8:59 AM, Alan Feuerbacher wrote:

 2: p4p1: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast
 state UP group default qlen 1000
 link/ether 30:85:a9:8f:31:09 brd ff:ff:ff:ff:ff:ff
 inet 10.0.1.31/24 brd 10.0.1.255 scope global p4p1
valid_lft forever preferred_lft forever
 inet6 fe80::3285:a9ff:fe8f:3109/64 scope link
valid_lft forever preferred_lft forever

Your link name is p4p1.

You can always look in /sys/class/net, too and see what is there for  
your system to use.

If you want eth0, then follow this thread:
http://www.mail-archive.com/blfs-support@linuxfromscratch.org/msg18294.html

It'll help you get back to eth0. Otherwise, use whatever name the  
kernel gives the device.

Sincerely,

WIlliam Harrington

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Good Results with LFS and EFI

2013-11-18 Thread William Harrington

On Nov 18, 2013, at 10:30 AM, Dan McGhee wrote:

 I'm still going to try to find a way to use GRUB2 in this.  But, I
 haven't done any building for my LFS system in almost a month and I  
 want
 to get back to it.  I'm going to let this grub stuff grow penicillin  
 in
 my brain for awhile and then try again.

Grub2 has made a lot of things very complicated, but the project is  
also not only working with the i386 platform, it is also working on  
multiple targets with multiple platforms.

arc, coreboot, efi, emu, ieee1275, loongson, multiboot, qemu, qemu- 
mips, pc: for which target regarding i386, ia64, mips, mipsel,  
powerpc, sparc64, and x86_64

You may want to give syslinux a go as it may have a healthier efi state.

For syslinux you will need the syslinux source, gnu-efi source, and  
nasm source.

I have a guide I updated, but I think it still needs work. I may have  
got some commands backwards.

http://trac.cross-lfs.org/wiki/bootloaders/syslinux

Such as IA64 and IA32 going with syslinux and not gnu-efi.

I referred to the archlinux wiki for syslinux.

I found it a huge pain to even setup grub2 for a serial console to  
boot. WIth syslinux, was quite simple. It may be the same way with efi  
and uefi.

GRUB2 is okay, but it isn't that great. There are still plenty of  
headaches out there with it. Although, I am glad it was working  
partially with sparc64 systems.

SIncerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Help with Installing to UEFI Motherboard

2013-11-17 Thread William Harrington

On Nov 17, 2013, at 5:46 PM, Ken Moffat wrote:

 I remember reading something that said fedora's grub is very
 different from upstream.  Try using cgit to see what fedora are
 doing [ use a graphical browser ].

 ĸen

http://pkgs.fedoraproject.org/cgit/grub2.git/plain/

I found this a while back while helping someone with a jfs problem and  
grub while accessing relocator module and all.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Step 5.4.1 Installation of Cross Binutils errors

2013-11-12 Thread William Harrington

On Nov 12, 2013, at 1:48 PM, Vasco Almeida wrote:

 make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/bfd/po'
 make[3]: Entering directory `/mnt/lfs/sources/binutils-build/bfd/po'
 make[3]: Nothing to be done for `info'.

What is before that? We need to know what exactly caused the error.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Chapter 6.7.1 header file search verification failure

2013-11-06 Thread William Harrington

On Nov 6, 2013, at 1:24 PM, Sandy Widianto wrote:

 I'm sure there will be always another top-posting from new members,  
 so I think about top-posting should be mentioned on LFS web.

 [ Sandy Widianto ]

We have pointers to proper posting:

Go to the Mailing Lists link at http://www.linuxfromscratch.org

Then go to the link described in the sentence Information on how to  
post messages through Gmane is available on theposting messages page

which links to Posting messages http://gmane.org/post.php

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] gcc tests

2013-11-01 Thread William Harrington

On Nov 1, 2013, at 5:01 AM, Richard wrote:

 I'm struggling to understand why we have differing numbers of tests  
 for the same package.

you will se some major differences between clfs and lfs because  
graphite tests are ran with our builds.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] gcc tests

2013-10-31 Thread William Harrington

On Oct 31, 2013, at 8:28 AM, Richard wrote:

 1. How bad is that error? I have inferred that it is probably  
 infrequent - but it does no harm to check...
 (FAIL: g++.dg/asan/asan_test.C  -O2  AddressSanitizer_HugeMallocTest  
 Ident((char*)malloc(size))[-1] = 0 output pattern test, should match  
 is located 1 bytes to the left of 2726297600-byte)

 2. Far more worryingly - have I somehow mishandled the tests? I am  
 drawn to startling disparity in the test totals. Here is my gcc  
 summary, based on source tarballs downloaded in the past week or so:

 === gcc Summary ===

 # of expected passes92870
 # of expected failures259
 # of unsupported tests1096

I looked at the CLFS build I did for our last release of 2.1.0 which  
used gcc-4.8.1 with a branch update patch right before release and  
this is my summary and the test above passed.

Although my host was a debian jessie system at the time:

Running /sources/gcc-4.8.1/gcc/testsuite/gcc.dg/asan/asan.exp ...

That test passed and the summary:

 === g++ Summary ===

# of expected passes52135
# of expected failures  290
# of unsupported tests  653
/sources/gcc-build/gcc/testsuite/g++/../../xg++  version 4.8.1 (GCC  
for Cross-LFS 4.8.1.20131001)

 === gcc tests ===


Running target unix

 === gcc Summary ===

# of expected passes92152
# of expected failures  263
# of unsupported tests  1283
/sources/gcc-build/gcc/xgcc  version 4.8.1 (GCC for Cross-LFS  
4.8.1.20131001)


And for the LFS 7.4 test logs where Running /sources/gcc-4.8.1/gcc/ 
testsuite/gcc.dg/asan/asan.exp ...  passed:

=== g++ tests === Running target unix

=== g++ Summary ===

# of expected passes54027
# of expected failures  290
# of unsupported tests  877
/sources/gcc-build/gcc/testsuite/g++/../../xg++  version 4.8.1 (GCC)

=== gcc tests ===


Running target unix

=== gcc Summary ===

# of expected passes93302
# of expected failures  261
# of unsupported tests  1368
/sources/gcc-build/gcc/xgcc  version 4.8.1 (GCC)

I did have it fail back in May, but not this time around when I  
released CLFS 2.1.0.

http://lists.cross-lfs.org/pipermail/clfs-dev-cross-lfs.org/2013-May/001371.html

Sincerely,
William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] e2fsprogs -- undefined reference to `uuid_unparse'

2013-10-29 Thread William Harrington

On Oct 29, 2013, at 2:46 PM, Viola Zoltán wrote:

 unix.o: In function `PRS':
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/unix.c:763:  
 undefined reference to `blkid_get_cache'
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/unix.c:855:  
 undefined reference to `blkid_get_devname'
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/unix.c:929:  
 undefined reference to `blkid_get_devname'
 e2fsck.o: In function `e2fsck_free_context':
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/e2fsck.c:179:  
 undefined reference to `blkid_put_cache'
 super.o: In function `check_super_block':
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/super.c:717:  
 undefined reference to `uuid_is_null'
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/super.c:719:  
 undefined reference to `uuid_generate'
 journal.o: In function `e2fsck_journal_load':
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:544:  
 undefined reference to `uuid_is_null'
 journal.o: In function `e2fsck_get_journal':
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:268:  
 undefined reference to `uuid_is_null'
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:350:  
 undefined reference to `uuid_unparse'
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:351:  
 undefined reference to `blkid_get_devname'
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:354:  
 undefined reference to `blkid_devno_to_devname'
 journal.o: In function `e2fsck_check_ext3_journal':
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:718:  
 undefined reference to `uuid_is_null'
 journal.o: In function `e2fsck_journal_reset_super':
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:637:  
 undefined reference to `uuid_generate'
 journal.o: In function `e2fsck_fix_ext3_journal_hint':
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:1068:  
 undefined reference to `uuid_is_null'
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:1071:  
 undefined reference to `uuid_unparse'
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/journal.c:1072:  
 undefined reference to `blkid_get_devname'
 dirinfo.o: In function `setup_tdb':
 /sources/e2fsprogs-1.42.8/build/e2fsck/../../e2fsck/dirinfo.c:63:  
 undefined reference to `uuid_unparse'


Did you properly install util-linux which provides the uuid and blkid  
libraries?

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Glibc-2.18 Test Suite Failed

2013-10-23 Thread William Harrington

On Oct 23, 2013, at 6:24 PM, Dan McGhee wrote:

 make -k check 21 | tee glibc-check-log
 grep Error glibc-check-log
What as the output when running make -k check?

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Vim Early in Ch. 6

2013-10-14 Thread William Harrington

On Oct 14, 2013, at 8:08 PM, Bruce Dubbs wrote:

 ./configure --prefix=/tools
 make
 make install

Should probably also include this:

echo '#define SYS_VIMRC_FILE /tools/etc/vimrc'  src/feature.h
There have been many threads in the past throughout the various LFS  
versions even before 5.1.1 to add an editor in ch5, but the LFS devs  
never found it useful, although I have, and others have, too. Some of  
us do require an editor in ch6. Sed isn't that great, cat is okay with  
more as a pager before less isbuilt. But when you have text like this:
It is a good idea to visually inspect the specs file to verify the  
intended change was actually made.  when adjusting the toolchain,  
it's much easier in a text editor.
Either way, users have a pager which can be used, not ideal if a need  
to edit.
If someone wants a full set of tools to build a complete final system,  
an editor is required, even if the build commands don't use it. But,  
don't see an editor in ch5 any time soon.
Although, if you want to learn how to use sed and gawk, go for it!  
Learn how to edit without an editor! Cause the LFS devs are hardcore!

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 7.2 chapter 5.7. Glibc-2.18 no makefile

2013-10-14 Thread William Harrington

On Oct 14, 2013, at 9:52 PM, Robert Sissick wrote:

 fs@lfshost /mnt/lfs/sources/glibc-build $ make
 make: *** No targets specified and no makefile found.  Stop.

Configure didn't finish and there is no Makefile. Find out why  
configure didn't complete.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Inetutils check error

2013-10-09 Thread William Harrington

On Oct 9, 2013, at 10:33 AM, hans kaper wrote:

 FAIL: ping-localhost.sh
 traceroute to 127.0.0.1 (127.0.0.1), 64 hops max
 ../src/traceroute: can't find supplied protocol 'icmp'
 Failed at UDP tracing.
 traceroute to 127.0.0.1 (127.0.0.1), 64 hops max
 ../src/traceroute: can't find supplied protocol 'icmp'
 Failed at ICMP tracing.
 FAIL: traceroute-localhost.sh

Perhaps your host is blocking or dropping icmp or it is altogether  
disabled?

Sincerely,

William Hrrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Inetutils check error (SOLVED)

2013-10-09 Thread William Harrington

On Oct 9, 2013, at 3:32 PM, hans kaper wrote:

 I rebuild Inetutils in LFS7.3: no problem.

 But I found something else: in build LFS7.4 no logfile from Iana!?  
 And no /etc/protocols and no etc/services. I must have missed an  
 error there. Must make my scripts more fool-proof!!

 William, sorry for the trouble and thanks for the attention.


 Hans.

Always helps to not miss a package install! I can usually tell when  
someone missed a package, but this is the first encounter of someone  
not installing iana-etc

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Errata for LFS 7.4

2013-10-08 Thread William Harrington

On Oct 8, 2013, at 7:02 PM, Steve Crosby wrote:

 Minor issue with LFS 7.4 Host Requirements

 Changelog lists host system requirements changes for kernel to 2.6.34,
 however host requirement section only says 2.6.32

 --  
 -- -
 Steve Crosby
 --  
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page

http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html

Linux 2.6.32

http://www.linuxfromscratch.org/lfs/view/stable/prologue/errata.html

Errata is blank.

What are you getting at?

Which ChangeLog states 2.6.34?  You need to post links, not just state  
things. Prove it.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Errata for LFS 7.4

2013-10-08 Thread William Harrington

On Oct 8, 2013, at 7:02 PM, Steve Crosby wrote:

 Changelog lists host system requirements changes for kernel to 2.6.34,

http://www.linuxfromscratch.org/lfs/view/stable/chapter01/changelog.html

Indeed,

Not sure why

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Errata for LFS 7.4

2013-10-08 Thread William Harrington

On Oct 8, 2013, at 8:28 PM, Ken Moffat wrote:

 The initial discussion was on lfs-dev on 6th July, starting at
 http://www.mailarchive.com/lfs-...@linuxfromscratch.org/msg18826.html
 if I've manually copied the link correctly (I'm on my netbook, need
 to use a tty to be able to _read_ my mail, don't have gpm).  The
 value of --enable-kernel= was set to 2.6.34 in r10302.  It got
 downgraded to 2.6.32 in r10327 in August, and obviously the log was
 overlooked.

http://comments.gmane.org/gmane.linux.lfs.devel/14171

and here:

http://www.mail-archive.com/lfs-dev@linuxfromscratch.org/msg18939.html

Two different threads.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS for mips64

2013-10-06 Thread William Harrington
On Sun, 6 Oct 2013 10:03:52 +0200
Graham Crowe graham.crowe...@gmail.com wrote:

 I recently purchased a Yeeloong Notebook from Lemote, 
 http://www.lemote.com/en/products/Notebook/2010/0310/112.html, and I'm 
 attempting to follow the LFS guide. I'm having problems during chapter 5.
 
 On my first attempt the result from the test in Glibc2.18 (chapter 5.7) was 
 not quite as specified:
 it was:
 
   [Requesting program interpreter: /tools/lib32/ld-linux.so.2]
 instead of:
 
   [Requesting program interpreter: /tools/lib/ld-linux.so.2]

You have to be careful when using LFS for certain targets.

MIPS64 is one of those.

/lib for o32
/lib32 for n32
/lib64 for n64

I suggest you look at CLFS for building for MIPS64, and we also need testers 
for it as we release in on Oct 15.

LFS isn't setup to build for mips because of that exact issue up there. Look at 
the different targets for mips in CLFS http://trac.cross-lfs.org in development.

-- 
William Harrington kb0...@berzerkula.org
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Unable to login

2013-10-03 Thread William Harrington

On Oct 3, 2013, at 3:01 PM, hans kaper wrote:

 login: root
 password: xx
 crypt: Invalid argument

Not using pam?

Also, double check your login.defs in /etc

Sincerely,

WIlliam Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Unable to login

2013-10-03 Thread William Harrington

On Oct 3, 2013, at 3:24 PM, hans kaper wrote:

 I added a line and an error occurred. So login.defs was read.

Now find the line that is causing the invalid argument

chroot and run login and see what happens.

Also, install strace and run login and see what happens.

Sincerely,

William Harrington


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 6.17. GCC-4.8.1 - Linker search paths

2013-10-01 Thread William Harrington

On Sep 30, 2013, at 9:27 PM, Craig Magee wrote:


 However, grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' returns  
 only:
 SEARCH_DIR(/usr/lib)
 SEARCH_DIR(/lib);

You may want to run:

strings /usr/bin/ld | grep SEARCH_DIR

If you did not install binutils, you will get the result above instead  
of what is at 6.17 in LFS 7.4

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 6.17. GCC-4.8.1 - Linker search paths

2013-10-01 Thread William Harrington

On Oct 1, 2013, at 2:23 PM, Craig Magee wrote:

 
  However, grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g' returns
  only:
  SEARCH_DIR(/usr/lib)
  SEARCH_DIR(/lib);

 You may want to run:

 strings /usr/bin/ld | grep SEARCH_DIR

 If you did not install binutils, you will get the result above instead
 of what is at 6.17 in LFS 7.4

 Sincerely,

 William Harrington

 I'm not sure where I went wrong, but you were on the right track  
 there, William.

 Figuring I'd made a mistake somewhere along the toolchain I went  
 back to 6.13. Binutils-2.23.2.  I'm not sure if I needed to rebuild  
 the gmp, mpfr, atd mpc libraries but did to be sure, and got up to  
 running the gcc make tests before passing out from sleep deprivation  
 myself.
 I get the expected result from the library search path toolchain  
 test! :D

 Thanks for your time and assistance, everyone.  And your ongoing  
 support of LFS.  It's highly valued.

The reason you got /usr/lib and /lib is becuase the linker built in  
binutils pass2 when rebuilding ld for the second time has the default  
lib path of /lib and /usr/lib:

http://www.linuxfromscratch.org/lfs/view/stable/chapter05/binutils-pass2.html

make -C ld clean
make -C ld LIB_PATH=/usr/lib:/lib
cp -v ld/ld-new /tools/bin

If you forget to install binutils in ch6, you are still using ld-new  
which was copied to ld during the toolchain adjustment in ch6.
That ld has default SEARCH_DIR of /usr/lib:/lib
Sincerely,
William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Boot Issues

2013-09-27 Thread William Harrington
On Fri, 27 Sep 2013 23:04:29 -0400
Casey Daniels l...@cd.kcfam.net wrote:

 linux   /boot/vmlinuz-3.10.10-lfs-7.4 root=/dev/sda2 rootdelay=120 ro

Nothing new. I could have told you from the beginning to use rootdelay. Or use 
rootwait, which is in current kernels. The reason for this is that the usb 
system has time to settle down, just like the scsi systems in the day have to 
settle down. The same thing happens when using firewire devices. I encounter it 
all of the time when developing CLFS with PPC and PPC64 with firewire.

People who use USB devices need to be using an initramfs where the devices are 
already loaded and recognized before rootfs is detected and mounted and init is 
ran. Also, using an initramfs (don't mistake it for initrd which is deprecated) 
it makes sure that the rootfs is mounted based on UUID or BLKID or however 
other ID. This has been brought up in all kinds of mailing lists all around the 
world.

-- 
William Harrington kb0...@berzerkula.org
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFSv7.4 stuck at section 6.9.1

2013-09-24 Thread William Harrington

On Sep 24, 2013, at 4:25 AM, Kodali Sivakiran wrote:

 WHAT MIGHT BE THE REASON??
 In an attempt to understand the problem, i did this outside the  
 chroot environment:
  shiva@shiva-desktop:/$ ldd /tools/bin/gcc
 linux-gate.so.1 =  (0xb77dd000)
 libc.so.6 = /lib/i386-linux-gnu/libc.so.6 (0xb761b000)
 /lib/ld-linux.so.2 (0xb77de000)
 so, does it mean that my /tools/bin/gcc got linked with the host  
 libraries rather than my /tools/lib ???

If you were able to chroot, and you can't run gcc because of the error  
above, it means that most likely the gcc source and build directories  
weren't removed before rebuilding gcc during pass2 in chapter 5. You  
need to rebuild gcc.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Installation of Linux API Headers (chapter 6.7.1) problem

2013-09-23 Thread William Harrington

On Sep 19, 2013, at 4:10 AM, Артём Орлов wrote:

 Hello!

 I am trying to make LFS-7.4 release. I passed chapters successfully  
 but got stuck in chapter 6.7.1 (Installation of Linux API Headers).  
 I untar linux-3.10.10.tar.xz and trying to make headers check but  
 the following errors appear:

If command substitution is broken in your temp tools bash while in  
chroot, then your host wasn't setup properly. You should have bash as  
your default shell and bison yacc, not some other yacc. The host  
system requirements page helps set the stage for that.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS-7.4 is released

2013-09-09 Thread William Harrington


On Sep 8, 2013, at 1:20 PM, Bruce Dubbs wrote:


The Linux From Scratch community announces the release of LFS Stable


I've updated the Updated LFS 6.3 livecd.

It meets or exceeds the host system requirements (outside of gawk as  
an update to gawk isn't needed), and have updated Make, wget, sudo  
(for jhalfs builds), pciids, usbids, BOOK XML and BOOK HTML, ssl  
certs, and updated to linux 3.10.11.


It should work. Remember, don't submit issues to the lfs or clfs  
lists. Instead, direct issues with the livecd as described at the  
description stated at:


http://cross-lfs.org/~kb0iic/livecdupd/

Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] error unable to proceed make gcc 4.7.2 Linux from scrach LFS book 7.3

2013-09-05 Thread William Harrington


On Sep 5, 2013, at 0:28, savyan sav...@gmail.com wrote:

 Sir, I am getting the following error during making gcc 4.7.2. checking for 
 MPFR... no configure: error: libmpfr not found or uses a different ABI..

Post the gcc-build/gcc/config.log or gcc-build/config.log if no gcc/config.log.

Sincerely,
William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] martin

2013-08-31 Thread William Harrington


On Aug 31, 2013, at 4:02, Carl Martin Bacus simple.mart...@gmail.com wrote:

 What should i do? Your Help will much be appreciated..

Running the tests with an ext file system or not?

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] martin

2013-08-31 Thread William Harrington


On Aug 31, 2013, at 4:02 AM, Carl Martin Bacus wrote:


5 tests succeeded   123 tests failed


Run the tests and again and post a test log somewhere. There should be  
messages as to why the tests fail.


Also, check that all of the virtual kernel filesystems are mounted.

Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] martin

2013-08-29 Thread William Harrington


On Aug 29, 2013, at 22:26, Carl Martin Bacus simple.mart...@gmail.com wrote:

 bash: tar: command not found

Did you install tar from chapter 5?

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Glibc-2.18

2013-08-24 Thread William Harrington

On Aug 24, 2013, at 11:28 AM, Dave wrote:

 When compiling and testing Glibc 
 I've noticed in the configure line the option
 '--enable-kernel=2.6.32'.  Why this when its a 3.10.9 kernel?

Because not everyone builds hosts running a 3.10.9 kernel. Reference  
this:

http://permalink.gmane.org/gmane.linux.lfs.devel/14299


and this

http://www.gnu.org/software/libc/manual/html_node/Configuring-and-compiling.html

If you desire to build less support in GNU libc and plan on running a  
3.10.9 kernel or later then change the option at your discretion.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Newbie

2013-08-16 Thread William Harrington

On Aug 16, 2013, at 1:46 PM, inquiring.m...@hushmail.com wrote:

 Hello all,

 1. I just saw the LFS site and would like to try it but can't see  
 the section that says how to download the source file packages ready  
 to work through the programme.

 2. I'd also like to know which LIVE CD/DVD you can recommend to use  
 as a base that satisfies all the criteria from the script on the  
 host requirements page 
 (http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html 
 ) as all the distro's I've chosen (major ones like Kubuntu, CentOS,  
 Gentoo, etc) all fail on one or more element. Some of them fail on  
 BISON while others on GCC, a package I suspect to be rather  
 important in this endeavour.

 3. I recently bought a new computer with no OS on it just for  
 installing Linux on it and learning more about it so LFS seemed to  
 be ideal. It's a new platform with UEFI instead of the older BIOS a  
 3TB HDD. I read that on drives like this, the old fdisk tool is  
 insufficient but the only instructions I've seen in the manual are  
 for the older, fdisk programme. I read something about needing to  
 install a FAT32 partition at the start or something like that but  
 wasn't sure if this was right or not as I know that FS is quite  
 different to any *nix based filesystems.

 I realise there are a few different points here but would appreciate  
 some help on this to get me started.

http://www.linuxfromscratch.org/lfs/view/stable/prologue/prerequisites.html

You should know how to download packages. The links are given in the  
section of the book about packages and patches.

For a livecd you can use the one I keep updated 
http://cross-lfs.org/~kb0iic/livecdupd/

or any other livecd which meets the host system requirements. The host  
sys reqs page does state that dev packages may need to be installed.

There are wikis about configuring bootloaders for EUFI, and if you  
have the above and patience and don't want quick answers and can  
search mailing lists and documentation, then you will most likely  
succeed.

LFS has a FAQ, has a mailing list (which is archived by gmane and  
others to search), do not take the LFS support page and download page  
and book for granted. Read and comprehend and have fun building LFS.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Newbie

2013-08-16 Thread William Harrington


On Aug 16, 2013, at 3:09 PM, Aleksandar Kuktin wrote:

As stated above, you can use the LFS live CD although it is rather  
old.


Can't build current LFS with LFS 6.3 livecd. That's why I've updated  
it. But that will soon come to an end with gcc-4.8.x targets.


the 6.3 livecd uses gcc 4.1.2 which has no Wno-narrowing and another  
variable which causes issues when cross compiling.


I'd need to update the livecd to at least gcc 4.4 or 4.5 to get rid of  
it, not a problem, just letting you know.


A new LFS livecd needs to be available, or get rid of it and have a  
wiki for people to look toward to hosts that work wtih LFS and the  
commands required to get them to the point if they don't meet the host  
system requirements.


Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-support] Need help with libass install

2013-08-16 Thread William Harrington


On Aug 16, 2013, at 3:25 PM, Dave Wagler wrote:

I just can't figure out how to write the configure command to  
suppress this check.


Thanks for any help.


Libass isn't in BLFS. Where did you get libass?  Maybe you need to  
install fribidi!


Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [lfs-support] eglibc-source glibc

2013-08-09 Thread William Harrington


On Aug 9, 2013, at 1:16 PM, Joko Bento wrote:

 Hi friends I'm gonna try LFS 7.3 with Debian 7.1.0. But I find  
eglibc-source 2.13-38 not glibc-2.5.1, it's something like similar?

--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Debian uses eglibc, so that is the package you will be looking for the  
host system requirements.


Sincerely,

WIlliam Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] eglibc-source glibc

2013-08-09 Thread William Harrington


On Aug 9, 2013, at 1:53 PM, Ken Moffat wrote:


Eglibc is/was a fork of glibc, particularly aimed at people who
needed to use less-common architectures, and those who needed to
cross-compile.


And for future reference:

http://www.eglibc.org/archives/patches/msg01299.html

EGLIBC is going to be phased out around 2.19 or so.

Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] 'su' command does not take effect

2013-08-06 Thread William Harrington


On Aug 3, 2013, at 8:45, Parmenides mobile.parmeni...@gmail.com wrote:

   weedly [ ~ ]$ su root
   Password:
   Sorry.

Use strace when running su. It will let you get an idea of the problem.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] No package 'liblzma' found in 6.52 KMOD-12 in LFS-7.3

2013-08-06 Thread William Harrington


On Aug 6, 2013, at 23:26, Srinivasan Friendster sriniva...@friendster.com 
wrote:

 I verified the last post in LFS support , But no solution .

XZ should have been installed before KMOD in chapter 6 and should not be using 
any xz install from ch5 tools.

Sincerely,
William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] make: gcc: Command not found - chap. 6.7.1

2013-07-29 Thread William Harrington


On Jul 28, 2013, at 11:58 AM, Unix User wrote:


root:/sources/linux-3.10.2# make mrproper
make: gcc: Command not found


When you encounter issues like these, don't rely on ldd.

Rely on readelf.

readelf -e /tools/bin/gcc | grep interpreter

or any other binary.

Especially when cross compiling, ldd isn't valid. Learn to use readelf.

If you know what the output should be when looking for the  
interpreter, you'll be better off.


Usually if your interpreter is wrong with gcc or binutils after  
chroot, it means that gcc source and/or build directories were not  
removed before the next build.


Sincerely,

WIlliam Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] target triplet

2013-07-22 Thread William Harrington


On Jul 22, 2013, at 11:51 AM, Dave wrote:


I haven't
gone on from here, but I've fought this item for around 3 yrs now.
Final build triplet always comes out as x64 unknown linux. Is this  
where

the problem occurs?  Doesn't stop any function ability.  Just bugs me.
Just reset the triplet and go on?


LFS_TGT is only used up to the point of Chapter 5 and GCC pass 2.
After GCC pass 2, the target triplet will be x86_64-unknown-linux-gnu  
or x86-unknown-linux-gnu.

LFS_TGT will no longer be in chroot as it isn't exported, nor required.

Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS 7.3 - VFS: Cannot open root device /dev/sda4 or unknown-block(0,0)‏

2013-07-18 Thread William Harrington


On Jul 18, 2013, at 18:54, Kevin Abraham a@icloud.com wrote:

 What would the right driver be?

Perhaps AHCI?

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Migrate bc to lfs?

2013-07-17 Thread William Harrington


On Jul 17, 2013, at 2:51 AM, loki wrote:

I took the easy road and compiled bc since I'm going to need it  
anyway for SSH.
I was too lazy to find which configuration parameter in the kernel  
source

should be disabled.

https://patchwork.kernel.org/patch/2143611/

You won't be able to disable the generation of timeconst as it is  
required by the kernel. Perl used to do it, but now bc does it.


Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Missing the good, old RTC

2013-07-17 Thread William Harrington


On Jul 17, 2013, at 2:38 PM, alex lupu wrote:


Whatever happened to the CONFIG_RTC?
Enhanced Real Time Clock Support (legacy PC RTC driver)



http://cateee.net/lkddb/web-lkddb/RTC.html

May shed some light on the topic.

SIncerely,

WIlliam Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Passwd

2013-07-17 Thread William Harrington


On Jul 17, 2013, at 22:26, francisco martinez fram...@gmail.com wrote:

 when i issue the command it wont let me type my password, seems the prompt 
 reads it too fast, its like it aint waiting for my reply, it reads (i think) 
 null  and does this on my 3 attempts(very fast indeed). 

Make sure you have tty device nodes otherwise no input will be available for 
passwd.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] gcc (pass 2) compile error

2013-07-13 Thread William Harrington


On Jul 13, 2013, at 0:02, Erich Schulman (KT4VOL/KTN4CA) 
chibito...@gmail.com wrote:

 bin/sh: line 1: 29603 Segmentation fault  ./gen-bases header 32 0
 mp_bases.h

Does this happen when not using a vm?

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS-7.3 Get Counted

2013-07-01 Thread William Harrington


On Jul 1, 2013, at 10:28 AM, William K Helbig Jr wrote:


I went to the website at
http://www.linuxfromscratch.org/cgi-bin/lfscounter.php to register  
as an

LFS user but there is no option for 7.3 in the drop down list.


Hmmm that is a problem! I do not see 7.3, too.

Sincerely,

WIlliam Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] LFS-7.3: Kernel hang problem

2013-06-30 Thread William Harrington


On Jun 30, 2013, at 3:24 AM, Chen Qi wrote:


 tried both approaches.
No matter I used the 'defconfig + devtmpfs' approach or I used the  
'host

config file' approach, I always met the following error.
'''
VFS: Cannot open root device sdb1 or unknown-block(0,0)



For USB devices, there are two ways to do this when not using initramfs:

Inside the kernel source tree's Documentation/kernel-parameters.txt:

rootdelay=
rootwait=

Those are two options you can use. 5 seconds is usually good for  
rootdelay.


So you could pass rootdelay=5 to the kernel when using usb devices.

rootwait will wait indefinitely.

Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Getting incorrect search results, mentioned in Errata for section 6.10

2013-06-25 Thread William Harrington


On Jun 25, 2013, at 9:37 AM, Aleksandar Kuktin wrote:


I think you can just go on.

Whats important is that the new program requests /lib/ld-linux.so.2  
(or
other, but in /lib) for its run-time linker. That linker is part of  
the
new glibc, which means that new libraries will be used by your  
program.


This will be correct as after binutils is built, the new linker will  
default to /lib /usr/lib and not include /tools/lib.


When doing the toolchain test after gcc in ch6, it'll be using the new  
linker and SEARCH_DIR will be back to defaults.


Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Can't compile Check-0.9.9 package

2013-06-21 Thread William Harrington


On Jun 21, 2013, at 3:57 AM, Sergey Shidlovsky wrote:

First command, ./configure --prefix=/tools goes okay. But when I'm  
trying to say next make, I get compilation errors:


http://www.linuxfromscratch.org/lfs/support.html

Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Coreutils make error in ch.6.26

2013-06-21 Thread William Harrington


On Jun 21, 2013, at 2:11 PM, hans kaper wrote:


Can't locate unicore/Heavy.pl in @INC (@INC contains:
/tools/lib/perl5/site_perl/5.16.1/i686-linux
/tools/lib/perl5/site_perl/5.16.1 /tools/lib/perl5/5.16.1/i686-linux
/tools/lib/perl5/5.16.1 .) at /tools/lib/perl5/5.16.1/utf8_heavy.pl  
line 176.


This may be the problem.

Have you changed any of the commands in the book?
Or have you updated any package versions?

Sincerely,

William Harrington


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] First LFS login/boot

2013-06-19 Thread William Harrington


On Jun 18, 2013, at 4:47 AM, John Black wrote:

Adding IPv4 address 192.168.1.1 to the eth0 interface...Cannot find  
device eth0


Can you add the address manually with ip?

Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] First LFS login/boot

2013-06-19 Thread William Harrington


On Jun 19, 2013, at 2:24 PM, John Black wrote:

I don't know how to do that, please give me complete command line  
Mr. William


http://andys.org.uk/bits/2010/02/24/iproute2-life-after-ifconfig/   
That'll give you some pointers.


Or you can read the full docs here:

http://www.policyrouting.org/iproute2.doc.html

Iproute2 is worth looking into and learning the syntax well. It's nice  
and powerful!


you'll want to use:

ip link
ip addr

maybe ip route, too

Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] First LFS login/boot

2013-06-18 Thread William Harrington


On Jun 18, 2013, at 7:10 AM, John Black wrote:

Yes,  Adding IPv4 address 192.168.1.1 to the eth0  
interface...Cannot find device eth0 it's during the boot.

whoami -- root.
I will see that links, thank you for you help Mr. Pierre and Mr.  
Fernando


You can see what is in /sys/class/net for any network devices.

If you don' see any eth* devices, then you are probably missing a  
kernel driver for your ethernet device.


Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Just got my system compiled and installed, getting errors when booting

2013-06-15 Thread William Harrington


On Jun 15, 2013, at 10:49 AM, Molly Jakić wrote:

mount: wrong fstype,bad option, bad superblock on tmpfs, missing  
codepage or helper program, or other error


then directly below this I start getting:

mkdir: cannot create directory '/run/var': Read-only file system


Make sure DEVTMPFS is in the kernel.
Refer to the note at 
http://www.linuxfromscratch.org/lfs/view/stable/chapter08/kernel.html

Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Why do we need a temporary toolchain?

2013-06-11 Thread William Harrington


On Jun 11, 2013, at 9:54 AM, Charlie Brown wrote:


So I just need some more detailed explanation.


Here's the core of it:

http://www.linuxfromscratch.org/hints/downloads/files/OLD/pure_lfs.txt

You can go to lfs-dev mailing list archive via online mailing list  
archivers such as mailing list archive or gmane or some others and  
search for talk about the toolchain above for discussions. There you  
will find some answers.


Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Off subject Red Hat version 2.0 Manual

2013-06-11 Thread William Harrington

 Can Anyone tell me where I might find the Red Hat Version 2.0  
 installation Manual ?? I have downloaded the files and can get it  
 partially going, but don't know the order of things and what disks  
 to use where..

 THANK YOU Marty


Look in the red hat 2.0 archives  
https://access.redhat.com/site/documentation/en-US/Red_Hat_Storage/2.0/ 
   I suggest you learn how to navigate the redhat website. If you plan  
on using red hat for builds, that'd be a good skill to have.

Sincerely,

WIlliam Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Creating the /etc/fstab File

2013-06-11 Thread William Harrington


On Jun 11, 2013, at 9:45 PM, John Black wrote:


Kernel panic, probably it's from fstab file.


Kernel panics don't know about /etc/fstab.

Kernel panics mean that you don't have the proper drivers in the  
running kernel.


If it is a vfs issue about mounting root fs and unknown block-device  
(0,0) or (2,0) I suggest you build the required drivers to mount the  
rootfs into the kernel:


hard drive controller driver
filesystem driver

Please read the LFS FAQ, it explains it.

Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Kernel configuration

2013-06-11 Thread William Harrington

On Jun 11, 2013, at 11:05 PM, John Black wrote:

 I'm confused about kernel configuration. What about I leave it by  
 default then compile it, it is fine for creating live cd at later  
 time?

For a lived you still need to configure a proper kernel for it.

I suggest you read the kernel documentation and other distro wikis  
about configuring the kernel.

I started building kernels since linux 2.0 and the kernel is more  
complicated to configure now since then. There are books about the  
linux 2.6 kernel (which are relevant for 3.x kernels, too.)

Sincerely,

William Harrington

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Kernel configuration

2013-06-11 Thread William Harrington


On Jun 11, 2013, at 11:34 PM, John Black wrote:

Okay.. I will try to compile now if fail I will try again later.  
wiki or book I think it's still confusing me, if there any cheat  
sheet for kernel configuration, please let me know about it.


No cheat sheets that I know of. Matter of fact. When you use make  
menuconfig you get a default config from the kernel source regarding  
your hardware.


Depending what you want to do you will want to remove unneeded  
drivers. What I did a while back was a allnoconfig and build only what  
I needed for my server.


Gentoo usually has some good docs on kernel configuration. Maybe look  
there. It's really straight forward. When you look at the help for  
options in the kernel, when it says safe to say N here or safe to  
say Y here you should adhere to that. As far as drivers, disable what  
you don't need and enable what yo do need. Take an hour or so to get  
used to the kernel config process. It'll help in the long run.  
Explore, read the help text of each option, that's fine when starting  
out new with kernel configuration. When I first started configuring  
kernels back in Linux 2.0 days, I had a mentor and I'm sure I made him  
sick of questions. I knew it and I started looking on my own. heh. You  
aren't the first and you will find your path.


Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] About gcc test

2013-06-06 Thread William Harrington

On Jun 6, 2013, at 7:45 AM, Philippe Delavalade wrote:

 Hi all.

 In chapter 6 when building gcc, to have a view from the test suite,  
 it is
 said to issue
 ../gcc-4.8.0/contrib/test_summary | grep -A7 Summ

 My problem is that it is too large for the screen and less or more  
 are not
 installed.

 It's easy to go on another console and use the less of the host but is
 there a way to see the output within the chroot environment ?

 Should it be possible to install less (or more) in chapter 5 ?

 Thanks for answers.

 -- 
 Ph. Delavalade
 -- 
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


You could increase your scrollback buffer:

http://www.mjmwired.net/kernel/Documentation/fb/fbcon.txt

Then you can use the keyboard presses and view contents in the buffer.

Or you can build an editor and install it into /tools and then  
redirect the output to a file and use the editor to view it.

Or you could extract util-linux and build more and install it into / 
tools
Or you could extract less and build less and install it into /tools

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Trying to bring up LFS 2.0

2013-06-03 Thread William Harrington


On Jun 3, 2013, at 5:18 PM, geist1...@juno.com wrote:

When I am compiling my glibc-2.1.3 it say it says my compilier is  
too old, when actually it is newer, anyway I know what it needs and  
I have it.. So how do I say that Gcc is located at /mnt/lfs/usr/bin  
instead of usr/bin ??

THANK YOU marty


You need to start understanding things are to be done as stated in  
chapter 5.  You should have gone to LFS 2.1.5 rather than using 2.0  
which was never releeased.



The build process is way different than it was in 3.0.

Your host needs the required versions.  Back then gcc 2.95.2 or 2.95.3  
was standard in distros. Choose your distro carefully.


You will get to a point where gcc3 won't build a certain LFS version,  
then you'll get to the point where distros moved to gcc3 and then LFS  
had a bunch of patches.


Then you will get to a point where distros started using gcc4 and then  
there was a huge endeavor in LFS to port gcc3 code to gcc4 and thus a  
lot of patches.


After that it cooled down a bit.

Read carefully about the build process. It changes between 2.0, 3.0,  
4.0, 5.0, and 6.0, and 7.0


Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Trying to bring up LFS 2.0

2013-06-01 Thread William Harrington

On Jun 1, 2013, at 10:51 AM, geist1...@juno.com wrote:

 Hi All;

 My name is Marty.. This is my first email to the group..
 I am trying to get an old LFS to work on my system.. And I am not  
 doing very well..  I tried to do a later LFS namely LFS 6.8, but ran  
 into many problems, and so I though I would start out with an older  
 version and work both my understanding and my compatance up..
 I printed the book for both LFS version 1.0 and LFS 2.0-pre1.. I  
 figured version 2.0 would have the bugs worked out from version  
 1.0.. I did look at versions 1.1 and 1.2..
 I have a 100G drive, which I have installed Red Hat Linux Enterprise  
 WS (Red Hat Linux 9.1), which is residing on hda1 and hda2, my LFS  
 is residing on hda6.. When I try to boot to the LFS partition it  
 starts to load, but after a little while it stops and says it cannot  
 find the init file.. I am using LILO for my boot loader, and in my  
 lilo.conf script I have (for my lfs) image=/boot/bzImage 
 label=lfsinitrd=/boot/vmlinuzroot=/dev/hda6read-only
 this is at /etc/lilo.conf.. On my /dev/hda6 section I have at /dev/ 
 hda6/etc/lilo.conf (the folowing) image=/boot/bzImage  label=lfs 
 initrd=/boot/vmlinuzroot=/dev/hda6/init=/dev/hda6/etc/ 
 inittab ( I have tried it with and without this line andit does the  
 same thing)read-only
 On the /etc/init it has what came with the Red Hat system and I have  
 not altered it at all.. On my hda6 I have for /dev/hda6/etc/inittab   
 (what is in the book) which is the followingid:2:initdefault: 
 ca:12345:crtlaltdel:/sbin/shutdown -t1 -a -r now 1:2345:respawn:/ 
 sbin/sulogin
 I am using Linux From Scratch Book version 2.0-pre1.. So, my  
 question is How do I get the Linux system when it is booting from / 
 dev/hda6 to recognize the files that are on the hda6 partition ??  
 And when it stops, what is it looking for ?? It says the it can't  
 find init=...
 I hope I have provided enought information, and yet not too much..

 THANK YOU Marty


A while back I built LFS 2.4.4 and 3.3 and some others and archived  
the builds. They were i686 builds I used vmware linux 2.2 guests and  
old slackware hosts to build them. This is what the lilo.conf in 2.4.4  
has:

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
prompt
timeout = 1200
# VESA framebuffer console @ 1024x768x64k
vga = 791
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins

image = /boot/linux-2.2.26ext3
   root = /dev/hda1
   label = LFS-2.4.4
   read-only
# Linux bootable partition config ends

I'd be glad to put the 2.4.4 build up for you somewhere and you can  
look at it if you like.

Sincerely,

William Harrington
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Trying to bring up LFS 2.0

2013-06-01 Thread William Harrington


On Jun 1, 2013, at 4:05 PM, geist1...@juno.com wrote:

Also, what is the difference between vmlinuz and vmlinux and which  
should I use or neither one ??


Vmlinux is uncompressed
Vmlinuz is compressed

Depending on the platform, you can use either. Some large kernels  
won't load in memory if I recall correctly when using the uncompressed  
kernel.


For 2.4 you make the config, then make dep, then make bzImage and use  
that compressed kernel image.

Look in the README in the kernel source.

Sincerely,

William Harrington-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


  1   2   3   >