Re: [lfs-support] Basic Kernel Configuration

2014-02-15 Thread Ken Moffat
On Sun, Feb 16, 2014 at 01:04:12AM +0100, Armin K. wrote:
> Hello there,
> 
> I have been spending my time on LFS IRC for a long time now and have
> noticed that most users who come for help there get stuck at configuring
> their kernel.
> 
> Thus, I have written a rather basic guide on how to configure the kernel
> to get your machine to boot for the first time (disk controllers and
> filesystem drivers), but not other hardware specific stuff.
> 
> You can see it here:
> 
> http://www.linuxfromscratch.org/~krejzi/basic-kernel.txt
> 
> Any suggestions or additions are welcome.
> 
> Cheers.
> 
 Just a couple of suggestions:

1. SATA etc
"So I select the first two modules below."
s/modules/drivers/ - people coming from a distro might be used to
building everything as a module and take it too literally.

2. filesystems -
I would be inclined to drop specific mention of reiser3, and cover
it by "Additionally, any other filesystem not listed here.", but
perhaps some distro(s) used to use it in the last couple of years.

 I guess that defconfig covers almost everything else that is
commonly needed to get a bootable .config.

ĸen
-- 
das eine Mal als Tragödie, dieses Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Basic Kernel Configuration

2014-02-15 Thread Viola Zoltán
Big thanks for You!


2014-02-16 0:04 GMT+00:00 Armin K. :

> Hello there,
>
> I have been spending my time on LFS IRC for a long time now and have
> noticed that most users who come for help there get stuck at configuring
> their kernel.
>
> Thus, I have written a rather basic guide on how to configure the kernel
> to get your machine to boot for the first time (disk controllers and
> filesystem drivers), but not other hardware specific stuff.
>
> You can see it here:
>
> http://www.linuxfromscratch.org/~krejzi/basic-kernel.txt
>
> Any suggestions or additions are welcome.
>
> Cheers.
>
> --
> Note: My last name is not Krejzi.
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Basic Kernel Configuration

2014-02-15 Thread Bruce Dubbs
Armin K. wrote:
> Hello there,
>
> I have been spending my time on LFS IRC for a long time now and have
> noticed that most users who come for help there get stuck at configuring
> their kernel.
>
> Thus, I have written a rather basic guide on how to configure the kernel
> to get your machine to boot for the first time (disk controllers and
> filesystem drivers), but not other hardware specific stuff.
>
> You can see it here:
>
> http://www.linuxfromscratch.org/~krejzi/basic-kernel.txt

I wrote 
http://www.linuxfromscratch.org/hints/downloads/files/kernel-configuration.txt 
a couple of years ago.

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


[lfs-support] Basic Kernel Configuration

2014-02-15 Thread Armin K.
Hello there,

I have been spending my time on LFS IRC for a long time now and have
noticed that most users who come for help there get stuck at configuring
their kernel.

Thus, I have written a rather basic guide on how to configure the kernel
to get your machine to boot for the first time (disk controllers and
filesystem drivers), but not other hardware specific stuff.

You can see it here:

http://www.linuxfromscratch.org/~krejzi/basic-kernel.txt

Any suggestions or additions are welcome.

Cheers.

-- 
Note: My last name is not Krejzi.
-- 
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.55 man-DB 2.6.6

2014-02-15 Thread Ken Moffat
On Sat, Feb 15, 2014 at 08:36:45PM +0100, Frans de Boer wrote:
> I did a rebuild with glibc-2.18 and there is no difference. All other 
> variables like flex-2.5.37 and using man-db-2.6.5 did not help. So I 
> just put some set +eset -e around the make check and continue with 
> the next package. We'll see where it goes wrong.
> 
> Frans.
> 
 It seems to work fine, at least in an LFS/BLFS context.  Bruce has
now experienced this failure too.

ĸen
-- 
das eine Mal als Tragödie, dieses Mal als Farce
-- 
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.55 man-DB 2.6.6

2014-02-15 Thread Frans de Boer
On 02/13/2014 09:40 PM, Ken Moffat wrote:
> On Thu, Feb 13, 2014 at 06:08:46PM +0100, Frans de Boer wrote:
>> On 02/13/2014 05:29 PM, Armin K. wrote:
>>> On 02/13/2014 04:42 PM, Frans de Boer wrote:
 During testing I get "col: Invalid or incomplete multibyte or wide
 character" as output for the man-6 test. I found references which date
 back to 2009 with the same errors, but no solution is found.

 So, I doubt I'll be the first to notice this.
 Any suggestions?

 Regards, Frans.

>>>
>>> Ken also reported it few days back on lfs-dev, but it seems that there's
>>> no solution for that one, too.
>>>
>>> http://www.mail-archive.com/lfs-dev@linuxfromscratch.org/msg19395.html
>>>
>> Yes, exactly the same error. I also checked my glibc logs as well as the
>> actual contents of the 'locale-archive'file. Could not find any error.
>>
>> Maybe the answer is in the past, since this was noticed in 2009 too. I
>> will look furtherer into it, because it will have impact as reported in
>> 2009.
>> By the way, I tried this with 2.6.4 and 2.6.5 with the same result. I do
>> not remember this when building with glibc-2.18. I will check that too.
>>
>
>   My build was with glibc-2.18 - I don't expect problems from 2.19,
> but if they do happen it would be nice to correctly attribute the
> problem - I've seen too many fixes in distros over the years where
> they blamed the wrong part of hte toolchain.
>
>   And all the other testsuites were reasonably ok.
>
>> Frans.
>>
>> PS: I am glad I finally have made an automated build, same me sooo much
>> time and energy.
>
>   Great.  I just wish I could quickly spot all the changes in LFS and
> BLFS between my own builds, without looking line-by-line at the
> diffs.  Fortunately, Armin is good at identifying what I've done
> wrong when I report problems in BLFS ;-)
>
> ĸen
>
I did a rebuild with glibc-2.18 and there is no difference. All other 
variables like flex-2.5.37 and using man-db-2.6.5 did not help. So I 
just put some set +eset -e around the make check and continue with 
the next package. We'll see where it goes wrong.

Frans.

-- 
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.40 automake-1.14.1 and flex-2.5.38

2014-02-15 Thread Bruce Dubbs
Frans de Boer wrote:
> On 02/15/2014 10:48 AM, Frans de Boer wrote:
>> On 02/15/2014 01:38 AM, Armin K. wrote:
>>> On 02/15/2014 01:29 AM, Frans de Boer wrote:
 During a BSS rebuild I found that automake generates two errors which
 stop the auto build.

 It is introduced by flex-2.5.38, I tried the same with flex-2.5.37 with
 no errors.

>>>
>>> Maybe automake needs static flex library which Bruce disabled explicitly
>>> with 2.5.38? There were no big changes in 2.5.37->2.5.38 development
>>> cycle that could cause that.
>>>
>> Hm, I did build it with static libs. I try again with static lib's disabled.
>>
>> Frans.
>>
>>
> That did not work. With or without static (flex) libs yields the same
> result. I now continue with those two tests disabled and will look into
> it later. I still suspect that the label yylex is not exported by the
> flex lib 'libfl.so'.

I will be enabling the static flex library and the tests for automake 
will be:

mv -v /usr/lib/libfl.{so,save}
ln -sv libfl.a /usr/lib/libfl.so
make -j4 check
rm -v /usr/lib/libfl.so
mv -v /usr/lib/libfl.{save,so}

All tests pass (or are skipped) and the test time is now reduced to 
about 12 SBU.

   -- Bruce



-- 
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.40 automake-1.14.1 and flex-2.5.38

2014-02-15 Thread Frans de Boer
On 02/15/2014 10:48 AM, Frans de Boer wrote:
> On 02/15/2014 01:38 AM, Armin K. wrote:
>> On 02/15/2014 01:29 AM, Frans de Boer wrote:
>>> During a BSS rebuild I found that automake generates two errors which
>>> stop the auto build.
>>>
>>> It is introduced by flex-2.5.38, I tried the same with flex-2.5.37 with
>>> no errors.
>>>
>>
>> Maybe automake needs static flex library which Bruce disabled explicitly
>> with 2.5.38? There were no big changes in 2.5.37->2.5.38 development
>> cycle that could cause that.
>>
> Hm, I did build it with static libs. I try again with static lib's disabled.
>
> Frans.
>
>
That did not work. With or without static (flex) libs yields the same 
result. I now continue with those two tests disabled and will look into 
it later. I still suspect that the label yylex is not exported by the 
flex lib 'libfl.so'.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Wrong package installed - how to fix?

2014-02-15 Thread Oshadha Gunawardena
Actually the issue got resolved now. I added the missing packages to the
host environment mentioned on "version_check.sh" script.
On Feb 15, 2014 2:36 PM, "Simon Geard"  wrote:

> On Fri, 2014-02-14 at 21:03 +0530, Oshadha Gunawardena wrote:
> > /bin/sh -> /bin/dash
> > ./v_check.sh: line 8: bison: command not found
> > yacc not found
> > ./v_check.sh: line 17: gawk: command not found
> > /usr/bin/awk -> /usr/bin/mawk
> > ./v_check.sh: line 34: makeinfo: command not found
>
> Sigh...
>
> Go back to the Host System Requirements page, and make sure your host
> system actually meets those requirements - not just running the script,
> but reading the contents of the page. This stuff is important - if you
> don't get it right, you're going to have problems.
>
> Then start from the beginning.
>
> Simon.
>
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>
-- 
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.40 automake-1.14.1 and flex-2.5.38

2014-02-15 Thread Frans de Boer
On 02/15/2014 01:38 AM, Armin K. wrote:
> On 02/15/2014 01:29 AM, Frans de Boer wrote:
>> During a BSS rebuild I found that automake generates two errors which
>> stop the auto build.
>>
>> It is introduced by flex-2.5.38, I tried the same with flex-2.5.37 with
>> no errors.
>>
>
> Maybe automake needs static flex library which Bruce disabled explicitly
> with 2.5.38? There were no big changes in 2.5.37->2.5.38 development
> cycle that could cause that.
>
Hm, I did build it with static libs. I try again with static lib's disabled.

Frans.


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


Re: [lfs-support] Wrong package installed - how to fix?

2014-02-15 Thread Simon Geard
On Fri, 2014-02-14 at 21:03 +0530, Oshadha Gunawardena wrote:
> /bin/sh -> /bin/dash
> ./v_check.sh: line 8: bison: command not found
> yacc not found
> ./v_check.sh: line 17: gawk: command not found
> /usr/bin/awk -> /usr/bin/mawk
> ./v_check.sh: line 34: makeinfo: command not found

Sigh... 

Go back to the Host System Requirements page, and make sure your host
system actually meets those requirements - not just running the script,
but reading the contents of the page. This stuff is important - if you
don't get it right, you're going to have problems.

Then start from the beginning.

Simon.

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