Re: AllowEmtpyInput

2010-10-30 Thread linux fan
On 10/29/10, linux fan linuxscra...@gmail.com wrote:
 On 10/29/10, Ken Moffat k...@linuxfromscratch.org wrote:

  Looking at what I'm using on the desktop, I see I added the
 following to ~/.xinitrc in January to reinstate the old behaviour for
 xorg-7.4.  Apologies for missing this last night -

 setxkbmap -option terminate:ctrl_alt_bksp


 For me, not all things pass thru ~/.xinitrc (e.g., xfce) and thus my
 requirement is the ???/X11/xorg.conf.d/xkb-defaults.conf seen earlier
 to actually get ctrl_alt_bksp function.


Interestingly, this works in xorg.conf although vim highligting shows error
Section InputClass
   Identifier XKB Defaults
   MatchIsKeyboard yes
   Option XkbOptions terminate:ctrl_alt_bksp
EndSection
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: AllowEmtpyInput

2010-10-29 Thread linux fan
On 10/28/10, Stuart Stegall kel...@keltor.org wrote:
 On Thu, Oct 28, 2010 at 4:16 PM, Dr.-Ing. Edgar Alwers
 edgaralw...@gmx.de wrote:
 Hi Bruce,

 I know, this issue is a little  the field of BLFS. I am trying to get
 xorg working, a not to difficult task in former times. Now, testing the
 xorg.conf.new, I get a screen, with a dirty X on it, but no way to close
 it again. strg-alt-backspace is ignored, also the mouse. Cold reboot is
 needed.

 in Xorg.0.log I can read:
 (WW) AllowEmtpyInput is on, devices using drivers 'kbd' or 'mouse' will
 be
 disabled..

 OK, if disabled, I cannot work with them, that's clear. Question: what is
 the matter with this ? How and where can I avoid that this drivers become
 useless ?

 And ( granting a little, I am really tired  ;-) ), what is the reason for
 this _new_ behaviour ?
 svn 20101023, xorg-server-1.8.2

 Hope you can again help, and thanks a lot,

 Edgar

 --
 Dr.-Ing. EdgarAlwers edgaralw...@gmx.de
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


 This is usually an issue with hal+dbus.  Ctrl-Alt-Backspace doesn't
 work anymore. AltGr-SysReq-K still works though.  this was done
 because apparently people hit Ctrl-Alt-Backspace quite often when they
 don't mean to.

 Add this to your xorg.conf to reenable that:

 Section ServerFlags
 Option  DontZap   false
 EndSection

 You probably need to stop hal, restart dbus then start hal again and
 try xf86-input-evdev driver instead of the keyboard/mouse drivers.
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


My DontZap doesn't work.

This worked from here
http://linuxfromscratch.org/pipermail/blfs-dev/2010-September/020652.html

arrs=$( \
  find / -xdev \
 -type d \
 -regex \\\(/etc\\\|/usr\\\).*/X11/xorg.conf.d \
)
if [ X$arrs != X ]; then
  cat  $arrs/xkb-defaults.conf  EOF
Section InputClass
   Identifier XKB Defaults
   MatchIsKeyboard yes
   Option XkbOptions terminate:ctrl_alt_bksp
EndSection
EOF
echo $arrs/xkb-defaults.conf XkbOptions terminate:ctrl_alt_bksp
fi
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: AllowEmtpyInput

2010-10-28 Thread linux fan
On 10/28/10, Dr.-Ing. Edgar Alwers edgaralw...@gmx.de wrote:
 Hi Bruce,

 I know, this issue is a little  the field of BLFS. I am trying to get xorg
 working, a not to difficult task in former times. Now, testing the
 xorg.conf.new, I get a screen, with a dirty X on it, but no way to close
 it again. strg-alt-backspace is ignored, also the mouse. Cold reboot is
 needed.

 in Xorg.0.log I can read:
 (WW) AllowEmtpyInput is on, devices using drivers 'kbd' or 'mouse' will be
 disabled..

 OK, if disabled, I cannot work with them, that's clear. Question: what is
 the matter with this ? How and where can I avoid that this drivers become
 useless ?

 And ( granting a little, I am really tired  ;-) ), what is the reason for
 this _new_ behaviour ?
 svn 20101023, xorg-server-1.8.2

 Hope you can again help, and thanks a lot,

 Edgar

 --
 Dr.-Ing. EdgarAlwers edgaralw...@gmx.de
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page


I think I ran into something similar once. All I can remember is that
I had hal installed before I installed xorg and all was useless. Or it
could be that hal was running when I was installing xorg (I really
didn't and don't need hal).
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: glibc: 16.9 SBU, really?

2010-10-20 Thread linux fan
Sometimes I try the 20-second fix-all:
Shutdown.
Turn off all power to all hardware.
After 20 seconds, power-up and boot.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: glibc: 16.9 SBU, really?

2010-10-20 Thread linux fan
On 10/20/10, Mike Hollis zzf...@embarqmail.com wrote:
 On Wed, Oct 20, 2010 at 03:18:26PM -0400, linux fan wrote:
 Sometimes I try the 20-second fix-all:
 Shutdown.
 Turn off all power to all hardware.
 After 20 seconds, power-up and boot.
 --
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page

 Aha, the Microsoft solution!!
 You have moved your mouse, please reboot the computer
   for the changes to take effect

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


Well, it has been known to work.
 Paper jam in cheap printer and it starts jumping around.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Grub2 and ext4

2010-10-19 Thread linux fan
On 10/19/10, Dr.-Ing. Edgar Alwers edgaralw...@gmx.de wrote:

 In my case - I am not excluding errors from my part-, I got, as I wrote, an
 error message not an assigment

If one is brave and patient, it can be very much fun to get to the
grub2 command line and experiment.
set pager=1 turns the pager on so that if you try to get help, you
can actually read it.
set pager=0 turns it off again.
The help is not very helpful.

There is something of a find command (exact usage is forgotten), but i
believe that such a command as follows, should print (hd0,6):
search -f /boot/lfskernel-2.6.34

If it does that, and if that partition is ext4, then it must be able to read it.

With a sufficient amount of bravery and patience, and an ability to
make fabulous guesses one can often get the thing to eventually boot.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Grub2 and ext4

2010-10-19 Thread linux fan
On 10/19/10, Dr.-Ing. Edgar Alwers edgaralw...@gmx.de wrote:

 OK. I did grub-config. But as I am always a little afraid of touching MBR,
 I did not make  grub-install. This tourned to be a catastrophe. I got a
 grub pront and nothing more.


I am always afraid of touching MBR and would almost never do so
because I know of methods to swim from one grub to another;

menu.lst can have like:
title grub2-stuff
kernel (hdx,y)/boot/grub/core.img
...
and if there is (hdx,y)/boot/grub/grub.cfg that grub2 likes, it will
go into grub2's menu
grub.cfg can have the enty you want, and just select it
...
The above scenario never installed grub2 into a partition.

grub.cfg can have an entry containing similar to:
configfile (hdz,a)/boot/grub/grub.cfg
...
and it will throw it under control of that menu.

To get from grub2 to grub legacy need to chainloader:
menuentry Chainload Grub Legacy {
savedefault
insmod chain
set root='(hdx,y)'
chainloader +1
}
...
[somebody may have said single quotes unnecessary, but I don't know]

These are just some ways to play grub.
I have very little love for grub ... and much less for grub2.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Grub2 and ext4

2010-10-16 Thread linux fan
On 10/16/10, Andrew Benton b3n...@gmail.com wrote:
 On Sat, 16 Oct 2010 21:03:36 +0200
 Dr.-Ing. Edgar Alwers edgaralw...@gmx.de wrote:

 Andrew Benton b3n...@gmail.com wrote:

   The linux statement on the other hand tells grub where the kernel
   resides and were root of the partition to be booted is. Is this not
   correct ?

   The linux statement on the other hand tells grub where the kernel
   resides
Is true if and only if it contains the optional (hdx,y) specification.

   ... were root of the partition to be booted is.
True, it tells the kernel that.

menuentry KDE-4.5 ext4 {
insmod ext2
set root='(hd1,5)'
linux (hd0,6)/boot/lfskernel-2.6.34  root=/dev/sda6 rw
}

Since linux (hd0,6) immediately follows set root='(hd1,5)',  in
the above menuenty, set root='(hd1,5)' is effectively doing nothing.

In the above, (hd0,6) specifies the partition from which to retrieve the kernel.
root=/dev/sda6 tells the kernel which partition to regard as the
root partition. If root=/dev/sda6 were absent, the kernel would
presume the partition on which it had been compiled.

I believe that the one statement:
linux (hd0,6)/boot/lfskernel-2.6.34  root=/dev/sda6 rw

would be equivalent to the 2 statements:
set root='(hd0,6)'
linux /boot/lfskernel-2.6.34  root=/dev/sda6 rw
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: glibc: 16.9 SBU, really?

2010-10-15 Thread linux fan
On 10/15/10, Alberto Hernando pajaro...@gmail.com wrote:
 Hi.

 Well, the untarred files have timestamps of months ago, when the developers
 made the package. Even untarring with -m and getting the current time makes
 no difference. But I can post the part where it repeats:

The untarred timestamps are irrelevant. It is the make target timestamp.

The exact problem happened before at the exact same place. Setting the
system clock correctly apparently was the fix:
http://linuxfromscratch.org/pipermail/lfs-support/2010-May/038711.html
http://linuxfromscratch.org/pipermail/lfs-support/2010-May/038653.html

Just a thought:   The time from date and hwclock can be different.

hwclock
 Display Hardware Clock.

hwclock --hctosys
  Set the System Time from the Hardware Clock.

hwclock --systohc
  Set the Hardware Clock to the current System Time.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: glibc: 16.9 SBU, really?

2010-10-15 Thread linux fan
Also, not forgetting to remove any previously unpacked glibc sources
and glibc-build directories before unpacking with tar.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Grub2 and ext4

2010-10-13 Thread linux fan
This one said kernel must have ext4 support.
http://lists.debian.org/debian-user/2009/01/msg00190.html
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: SVN 20100923 - gcc-4.5.1, pass 1, won't compile

2010-10-10 Thread linux fan
On 10/9/10, Neal Murphy neal.p.mur...@alum.wpi.edu wrote:

 a jumble of data. See the attached script; it can give folks a clean, tidy

Oops, I got FAIL: /usr/bin/find not found. Need findutils version=4.1.20
My find is winding up in /bin
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Stable 6.6, not 6.7 ?

2010-09-21 Thread linux fan
http://www.linuxfromscratch.org/lfs/view/stable/
I'm confused that LFS-6.7 is out (I thought), and when I read stable,
it says 6.6.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Stable 6.6, not 6.7 ?

2010-09-21 Thread linux fan
On 9/21/10, Bruce Dubbs bruce.du...@gmail.com wrote:

 I't possible your browser is remembering the old page.  Try doing a
 refresh.  All the lfs 'stable' entries are point to 6.7:

Refresh fixed it.

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


Re: Adding user on LiveCD

2010-08-31 Thread linux fan
The live cd has the user jhalfs which is already set up in sudoers (sudo).
Once booted and at the shell, you can become jhalfs with:
su - jhalfs

Then can get into graphical desktop with:
startxfce4

In the instructions that reference user lfs, substitute the user jhalfs

I think that may work ok.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Error at 7.13. Configuring the network Script ( Book 6.6 )

2010-08-14 Thread linux fan
On 8/13/10, Suraj Linux suraj.embedded.li...@gmail.com wrote:

 add_matching_files: unable to open '/dev/.udev/rules.d': No such file
 or directory

Without knowing anything, I wonder why '/dev/.udev/rules.d' is
missing. What creates it?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: 2 grubs

2010-08-09 Thread linux fan
On 8/9/10, Alberto Hernando pajaro...@gmail.com wrote:
 Hi.

 Is it possible to have 2 grubs running in a same computer?
 My idea is to have the first grub in mbr, with the main OS, and an entry
 pointing to the second grub, installed in a partition with the LFS and all
 its options.
 I could do it with lilo, but now that I'm with grub, I'd like to do the
 same. I tried using an entry like the one I have for win xp but no success.
 Is it possible to do it?


Re: grub2, I have failed to install in a partition.
That said, my favorite trick is to put other grub conf file(s) on
other partitions.
Then, in the main grub conf file, add an entry configfile.
This could look like:

configfile (hd0,4)/boot/grub/grub.cfg

So, my idea is to avoid touching the mbr and making it unbootable.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: 2 grubs

2010-08-09 Thread linux fan
On 8/9/10, linux fan linuxscra...@gmail.com wrote:

 configfile (hd0,4)/boot/grub/grub.cfg

For grub2, before that may also be needed:
insmod configfile
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Hit a Speed Bumps with Grub 2

2010-07-21 Thread linux fan
On 7/21/10, Dan McGhee beesn...@grm.net wrote:
 On 07/21/2010 06:08 AM, Andrew Benton wrote:
 On 21/07/10 01:25, Dan McGhee wrote:

 It's nagging me that currently grub sees nothing but my new LFS system.


Grub2 supposedly searches for one of the specific kernel name prefixes of:
vmlinuz
vmlinux
(/etc/grub.d/10_linux line 100)

 So did you try adding this to grub.cfg?

 menuentry Windows {
 set root=(hd0,1)
 chainloader +1
 }


Better make that:

menuentry Windows {
insmod chain
set root=(hd0,1)
chainloader +1
}

To make rescue, *almost* as in lfs dev (note more than 1440 bytes),
 grub-mkrescue --output=grub-img.iso
 dd if=grub-img.iso of=/dev/fd0

Assuming sys is on first drive, fifth partition,
and it has made a grub.cfg,
once that boots, you can do,
 configfile (hd0,5)/boot/grub/grub.cfg

Configfile throws it over to there.


 stage2_eltorito is a long-in-the-tooth grub thing -- works great :)


Grub2 manual re: making bootable cdrom was essentially copied from legacy manual
http://www.gnu.org/software/grub/manual/html_node/Making-a-GRUB-bootable-CD_002dROM.html#Making-a-GRUB-bootable-CD_002dROM

The new procedure is (imperfectly 1440) mentioned in lfs dev, i.e.,
grub-mkrescue --output=grub-img.iso
burn that to cd
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Hit a Speed Bumps with Grub 2

2010-07-20 Thread linux fan
On 7/20/10, Dan McGhee beesn...@grm.net wrote:
 The speed bumps that I mention in the grammatically incorrect subject
 line have grown to a mountain range higher than the Himalayas.


With grub 2, the first thing to do is panic. Done.
The second thing is don't panic.


 1. Review the grub-0.97 manual and use commands from that to see if I
 can get into LFS-SVN.

I think you indicate that you can get a boot with grub-0.97.
If so, it's a piece of cake.

Put this in booting grub-0.97's menu.lst:

title LFS-SVN (core.img)
root (0,4)
kernel /boot/grub/core.img

If I guessed the right partition, that will activate grub2 using the
grub.cfg file in LFS-SVN's /boot/grub directory if it is valid.

If LFS-SVN's /boot/grub/grub/cfg is not valid, then you will get a
grub2 prompt from which you can hack your way in.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Hit a Speed Bumps with Grub 2

2010-07-20 Thread linux fan
On 7/20/10, Dan McGhee beesn...@grm.net wrote:

 Since my post of just an hour ago, my options have been reduced to
 one--write to the MBR. One of the files needed to make a completely
 independent bootable grub disk is stage2_eltorito, which is not present
 in /usr/lib/grub/i386-pc/, or anywhere else on / for that matter. The

stage2_eltorito is a long-in-the-tooth grub thing -- works great :)

 If you'd allow me to rant just for a second--or longer--the
 documentation for grub over the years has left a little to be desired

I rant with you.
... a lot to be desired ...
Maybe grub 2 is lazy to write documentation, so they refer to lfs docs.
... or maybe they haven't decided how it works ...
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: My New JHALFS Build is Gone...Missing...Not There

2010-07-18 Thread linux fan
On 7/18/10, Dan McGhee beesn...@grm.net wrote:

 I've started again and that's the way I ran make except that, again, I
 want it to stop after Ch. 6 so I ran make mk_CHROOT


NOT: make mk_CHROOT

make BREAKPOINT=mk_CHROOT

If you want it to stop after finishing target mk_CHROOT

BREAKPOINT is all caps and no typos allowed
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Moving to JHALFS [WAS: Overwhelming Binutils Test Failures [info added] ]

2010-07-17 Thread linux fan
On 7/17/10, Dan McGhee beesn...@grm.net wrote:

 3. Can I shutdown if I put a breakpoint in the makefile call?

Yes, but ...
... like driving a racing car around a track at 190 MPH, if you really
know what you are doing, you'll make it most of the time. But if you
don't really know what you are doing, a surprising number of things
can go wrong.

The technique for re-entering the build after a shutdown varies
greatly depending on where you were when you stopped.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS 6.6 Chapter 2, Preparing a New Partition

2010-07-03 Thread linux fan
On 7/3/10, PRAKHAR gaur prakhar_aaid...@hotmail.com wrote:

 Dear All,

 I already have a 50 GB partition, which I had created while, Installing the
 host Operating System(Debian 5.0.5).
 Do I need to partition it again, its a ext3 fs.
 Or I can directly mount it in /mnt/lfs?, as its already mounted in /media.


If the 50GB host Operating System(Debian 5.0.5) is needed to run (yes,
I think), then you need to use a separate partition to contain the
destination LFS system. I think 12 GB is a good size. 5GB is a little
too small if many things will be installed (a typical desktop system
with lots of goodies).
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS 6.6 Chapter 2, Preparing a New Partition

2010-07-03 Thread linux fan
On 7/3/10, Ken Moffat zarniwhoo...@googlemail.com wrote:

 destination LFS system. I think 12 GB is a good size. 5GB is a little
 too small if many things will be installed (a typical desktop system
 with lots of goodies).

  I shudder to think about what you are using to fill that up ;)  I'm
 still happy with 3GB for '/', with separate /sources and /home.
 Your system, your rules - just make sure you remember to back
 up.

I went on a training mission to install kde4 and that would not fit in
5GB unless the sources are hosted on separate partition. Not impressed
enough with kde4 not to remove it though.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS (Version SVN-20100529) - 5.9. Binutils-2.20.1 - Pass 2

2010-07-03 Thread linux fan
On 7/3/10, Andrew Benton b3n...@gmail.com wrote:

 If using bash a simple:

 #!/bin/bash -e
 set +h

 at the top of the script works, bails on any error

Or
set -e

A few package maintainers manage to return 0 success from configure
even when the configure fails. These may be rare or nonexistent in ch5
and ch6. When an installation finishes in very much less time than
expected, it is a red flag.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: MySQL and More Control/Package Users Package Mgmt

2010-06-24 Thread linux fan
On 6/24/10, Timothy Rice t.r...@ms.unimelb.edu.au wrote:

 It occurred to me that maybe once mysql is installed, info can then use
 mysql to, say, manage a database of entries, or something. Pure
 conjecture, but if true, it could explain why dir would need to be
 rebuilt. However, nothing I've noticed in any documentation for either
 mysql or info suggests that this is actually true.

 Now, if nothing like that is really going on, then may I submit to the
 BLFS editors that the suggested install commands for mysql be streamlined

Info is documentation that I personally only consult as a last resort.
Everything that installs any info documentation apparently updates
that file called dir.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: A typo in the wget-list

2010-06-22 Thread linux fan
On 6/22/10, Mike McCarty mike.mcca...@sbcglobal.net wrote:
 Philippe Delavalade wrote:

 http://prdownloads.sourceforge.net//expect/expect-5.44.1.15.tar.bz2

 That may be a typo, but it shouldn't affect the download. URLs are
 permitted repeated slashes.


That's what I was going to say ... but when you click on it ... Error 404
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: A Kernel patch overview?

2010-06-20 Thread linux fan
On 6/20/10, Paul Rogers paulgrog...@fastmail.fm wrote:

 Is there someplace where someone writes about what's new in
 kernel patches?  New and removed features, considerations about
 implementation, etc.?  Someplace where we can see what's in it,
 whether it has anything for us or not?

Kernel newbies is usually found in google search such as kernel 2.6.33
and writes about that http://kernelnewbies.org/Linux_2_6_33
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Cannot execute grub-install

2010-06-17 Thread linux fan
On 6/17/10, Michael Vahl mvah...@bib.h-brs.de wrote:

 Any other suggestions?

Without knowing anything, maybe outputs would give somebody a clue:

ls -ld /boot/grub

grep sda /etc/fstab

sudo /sbin/fdisk -l /dev/sda

date

sudo /usr/sbin/grub-mkdevicemap

ls -l /boot/grub/device.map

: ... date should almost match date of device.map

cat /boot/grub/device.map

/usr/sbin/grub-setup -V

ls /usr/{s,}bin/grub*

find /usr/lib/grub -type d

ls $(find /usr/lib/grub -type d | tail -1)

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


Re: live and learn

2010-06-09 Thread linux fan
On 6/8/10, Neal Murphy neal.p.mur...@alum.wpi.edu wrote:

 ... You'll learn to pause before hitting ENTER.


I learned that lesson very quickly. It is extremely important.

My system wouldn't last long without backups.
Speaking of backups and rescue disks, I am using an rsync snapshots
style of backup. It does not compress, yet it can save multiple
copies of a system at different points in time using remarkable
little disk space. Any copy can be rsynced to any mount point and so
I can recover or load up any system copy in around 20 minutes.  I
have several LFS builds (2 are 6.6), a few Fedoras, and miscellaneous
others. I loaded and ran FC4 the other day. I made a snapshot of my
current system yesterday, before installing some experimental stuff.

The backup might have looked something like this:
mount LABEL=BACK_UPS /back_up
back_up snapdir=/back_ups/LFS-6-2

My last restoration might have looked something like this:
mount LABEL=BACK_UPS /back_ups
mount /dev/[bla-bla] /mnt
cd /mnt
R-M-minus-R-star (you never write that in a post)
rsync -aH --numeric-ids /back_ups/LFS-6-2/root_fs/back_up.0/. /mnt/

More info on these rsync snapshots in case anyone is curious is here
http://linux-fan-alfs.blogspot.com/2008/03/system-backups.html

Disk size has increased and disk cost has decreased to the point that
I have much more available disk space than I need (it's hard to find a
tiny 20GB disk any more.) Actually I have 4 various sized disks
including 2 500GB drives and a few old spare drives lying aroung. Each
one of the disks ha one partition that is the logical type that is
reported by fdisk as f  W95 Ext'd (LBA). The logical partition can
contain partitions 5-15. More than one of the disks has a partition
dedicated to back ups. I'm lazy and don't regularly delete old copies.

Most of the systems in the scheme are bootable, so I automatically
have numerous rescue systems. I also have grub boot cd and lfs
livecd. I've learned to expect that I'll occasionally (or regularly as
the case may be) break something. Many times, one of the rescue
systems has been called upon to save the day, even if only for 1 file.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-06-08 Thread linux fan
On 6/8/10, Andrew Benton b3n...@gmail.com wrote:

 shouldn't that be
 if (( ${v[0]}   2 ))  (( ${v[1]}  4 ))


or maybe (( v[0] ==  2 ))  (( v[1]  4 ))

... bash (( allowed me to omit $ and {} around variables/arrays ))

But in the target lfs-6.6, glibc  2.4 is true, so the test isn't even needed.
That's the funny thing. Why did they look at the host to see what will
be on the target in this stage in a cross compile situation, when they
have no way of knowing what it will be? It seems like there should be
one of those --switches allowing the user to specify a thing like
this.


 Sorry for picking nits. It looks good and solves a problem I had due to
 one of my deviations.

You are welcome to pick all the nits you want. I don't care.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-06-08 Thread linux fan
On 6/8/10, Andrew Benton b3n...@gmail.com wrote:

 so the whole thing can be reduced to:

 v=($(ls  /lib/libc-*.so | sed 's/[.-]/ /g'))
 [ (( ${v[1]}   2 ))  (( ${v[2]}  4 )) ] 
 sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' ../gcc-4.5.0/gcc/configure


[ $(ls  /lib/libc-*.so \
 | sed 's/[.-]/ /g' \
 | awk '{print ($23  $34) ? foo : bar}') == foo ] 
 sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' ../gcc-4.5.0/gcc/configure

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


Re: live and learn

2010-06-08 Thread linux fan
I haven't read where piper.guy confirmed that bash is installed or
that if bash is not installed, that changing the link to point to bash
won't help.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-06-07 Thread linux fan
# Hack to solve glibc __stack_chk_guard cross compile (  2.4 :)
# this schpeel in LFS-6.6 ch5 gcc-pass1 and ch5 gcc-pass2 after unpack:
glibc=$(ls  /lib/libc-*.so)
read j1 v[0] v[1] v[2] j2  ${glibc//[-.]/ }
if (( v[0]  2 )) || (( v[1]  4 ))  [ -f gcc/configure ]; then
  # kick it
  sed -i -e '/# Test for stack protector support in target C library/ {
  a\
gcc_cv_libc_provides_ssp=yes
} ' gcc/configure
fi

# Result: nscd with stack-smashing protector + no error in ch6 glibc
# Notes:
# If should probably have (( v[0]  3 ))  (( v[1]  4 )),
# but could do the sed unconditionally for target LFS-6.6.
# Don't know if needed in ch5 gcc-pass1 and/or ch5 gcc-pass2.
# Testing on host lfs-6.2/linux-2.6.22.18,
# Everything is proceeding as I have foreseen it.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-06-04 Thread linux fan
On 6/4/10, Paul Rogers paulgrog...@fastmail.fm wrote:

 So the problem was the Chapter 5 gcc?

 I'm not sure that follows.

Seems to.

Intending to attempt to duplicate __stack_chk_guard error in chapter 6
while building lfs-6.6 from lfs-6.1.1 ...
The theory being that the host gcc/glibc ideal gets passed to the
toolchain build and then passed to the finished build as if it were an
olympic torch.

I'm using the exemplary jhalfs.
lfs-6.2 original host (hostname lfs)
lfs-6.1.1 target partition /dev/sdb8 (hostname lfs-1)
lfs-6.6 target partition /dev/sdb9

Stage 1 - build lfs-6.1.1
-
m...@lfs:~/jhalfs-0.2$
su # stay in root for this version
mount /dev/sdb8 /mnt/lfs
./jhalfs -L 6.1.1
cd /mnt/lfs/jhalfs
make
... it goes on for hours and then is done.
... chroot into it and build a requisite kernel.
... shutdown and boot to it (entertaining grub in the process).

Stage 2 - build lfs-6-6
---
m...@lfs-1:~/jhalfs-2.3.2$
su
mount /dev/sdb9 /mnt/lfs
exit # to regular user for this version
make
 select the options and approve
cd /mnt/lfs/jhalfs
make BREAKPOINT=038-gcc-pass2

... while that is building, I see in gcc-build/config.log
Reading specs from ...  Configured with: ... --disable-libssp
... I decide to break out of it, and try something
... This diff in commands
=
--- /mnt/lfs/jhalfs/lfs-commands/chapter05/038-gcc-pass2.orig
+++ /mnt/lfs/jhalfs/lfs-commands/chapter05/038-gcc-pass2
@@ -43,7 +43,8 @@
 --enable-shared --enable-threads=posix \
 --enable-__cxa_atexit --enable-languages=c,c++ \
 --disable-libstdcxx-pch --disable-multilib \
---disable-bootstrap
+--disable-bootstrap \
+--enable-libssp
 make
 make install
 ln -vs gcc /tools/bin/cc
=

... remove gcc-4.4.3 and gcc-build dirs
... restart ...
make BREAKPOINT=038-gcc-pass2
... libssp is produced in tools/lib
... continue building
make

I imagine this will be ok.

Fun!

http://picasaweb.google.com/lh/photo/W2_o6_oWA2JilLZdPJT19A?feat=directlink
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-06-04 Thread linux fan
On 6/4/10, linux fan linuxscra...@gmail.com wrote:

 So the problem was the Chapter 5 gcc?

 I'm not sure that follows.

 Seems to.

 ... I decide to break out of it, and try something
 ... This diff in commands
 =
 --- /mnt/lfs/jhalfs/lfs-commands/chapter05/038-gcc-pass2.orig
 +++ /mnt/lfs/jhalfs/lfs-commands/chapter05/038-gcc-pass2
 @@ -43,7 +43,8 @@
  --enable-shared --enable-threads=posix \
  --enable-__cxa_atexit --enable-languages=c,c++ \
  --disable-libstdcxx-pch --disable-multilib \
 ---disable-bootstrap
 +--disable-bootstrap \
 +--enable-libssp
  make
  make install
  ln -vs gcc /tools/bin/cc
 =
 I imagine this will be ok.

 Fun!


No, not ok.
/sources/glibc-build/nscd/connections.o: In function `main_loop_epoll':
/sources/glibc-2.11.1/nscd/connections.c:2005: undefined reference to
`__stack_chk_guard'
/sources/glibc-build/nscd/connections.o:/sources/glibc-2.11.1/nscd/connections.c:1795:
more undefined references to `__stack_chk_guard' follow
collect2: ld returned 1 exit status
make[3]: *** [/sources/glibc-build/nscd/nscd] Error 1
make[3]: Leaving directory `/sources/glibc-2.11.1/nscd'
make[2]: *** [nscd/others] Error 2
make[2]: Leaving directory `/sources/glibc-2.11.1'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/sources/glibc-build'

I guess Gnu are smarter than I.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: lfs-6.6 booting on my vmware!, but allays checking consistence of sda1

2010-06-02 Thread linux fan
On 6/2/10, linux fan linuxscra...@gmail.com wrote:

 system, /etc/sysconfig/clock had UTC=1.
 As a consequence, timestamps were in the past.

Or would that be in the future.
My timezone is America/New_York in /etc/localtime.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Being a trailer

2010-06-02 Thread linux fan
On 6/2/10, Paul Rogers paulgrog...@fastmail.fm wrote:

 To be a proper trailer you need to have a system with ONLY the
 minimum requirements for the book.  Otherwise you aren't proving
 building will work with only those.

I don't think you will find any volunteers to perform the intricate
and time-consuming labor. This is partly because the releases move
forward fast enough to discourage volunteers.

I loaded up a LFS-6.2 system (love rsync) and it exceeds minimum
requirements for 6.6 except for the kernel. It does not meet
requirements for DEV.

While configuring a kernel, just for fun, I saw this:
CONFIG_CC_OPTIMIZE_FOR_SIZE:
  x
  x Enabling this option will pass -Os instead of -O2 to gcc
  x resulting in a smaller kernel.
  x
  x WARNING: some versions of gcc may generate incorrect code with this
  x option.  If problems are observed, a gcc upgrade may be needed.
  x
  x If unsure, say N.
  x
 and that made me wonder.

We may never know for sure exactly what caused the original problem
undefined reference to __stack_chk_guard which seems to surface from
time to time.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-06-02 Thread linux fan
On 6/2/10, Mike McCarty mike.mcca...@sbcglobal.net wrote:
 Paul Rogers wrote:
 I reported it doesn't work with 6.1, that's as close as I had. And the
 response I got was, paraphrasing, use 6.3, it's known to work.  There
 seemed to be a complete lack of recognition of it being a problem with
 the book.  Frankly, the resistance I experienced getting general
 recognition the problem should be taken seriously hasn't engendered much
 desire to volunteer.  I don't care for this sort of welcome.


It was recognized that there might be a problem with the book.
As of this writing, it has not been proven that there is a problem with the book
To prove that, just needs for someone to make the attempt to build
from 6.1 to 6.6 by hand to elimiate the possibilty of a script
introducing some peculiar effect.

But, due to debate, that point has become obsolete since the book has
been obligingly updated.

 I haven't read where anyone claims that the book is infallible. What
 has been claimed is that if you follow the book, then you'll get help,
 and if you depart then the amount of help you'll get is inversely
 related to the amount of departure.

That's the way it works.

 I thought the purpose of a support mailing list was to help users solve
 THEIR problems.  My mistake, I guess.

Everybody is happy to help solving problems encountered while building
a system according to the instructions in the book
LFS-DEV is for discussing the contents of the book.
Disagreements irritate everybody and should go private email and then
the result can be summarised.

At least that is what I thought.

The LFS books are great and the support is great.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-06-02 Thread linux fan
On 6/2/10, Danny Engelbarts d.engelba...@gmail.com wrote:

 ...  a 6.3 system is required than the book should state 6.3 until proven
 otherwise.

That is just exactly what the DEV book now requires.

Unfortunately, now we don't get to find out exactly why the original problem
undefined reference to __stack_chk_guard
surfaces from time to time.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-06-02 Thread linux fan
On 6/2/10, Bruce Dubbs bruce.du...@gmail.com wrote:

 The version of glibc within chroot certainly should support ssp but the
 two reports we have didn't seem to find it automatically.  Others cannot
 duplicate the problem.  If we had consistent errors on most builds, we
 could fix it.

Could there be slight variances in how one enters chroot that
could possibly affect this? I would't expect that to be likely.

Once in chroot, gcc and glibc have already been built (twice for gcc).
How could the conditions on the host system be still affecting the
outcome? Why only 2 reports in all this time?

Anyway, you all are doing a great job!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Blfs X-Window (lfs scratch 6.3)

2010-06-01 Thread linux fan
On 6/1/10, David Expósito david.sa...@gmail.com wrote:

 /usr/lib/libXfont.so: undefined reference to `ft_isdigit'
 collect2: ld returned 1 exit status

In newer versions of Freetype2, the ft_isdigit macro has been removed.
When building libXfont-1.2.8 in ch. 23.8 Xorg-Libraries you were supposed to do:
sed -i 's/(ft_isdigit/(isdigit/' src/FreeType/fttools.c

Maybe you can rebuild libXfont and then resume.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-06-01 Thread linux fan
On 6/1/10, Baho Utot baho-u...@columbus.rr.com wrote:


 Volunteers welcomed.

 I'll volunteer...I can mess up anything :)

 I am going to try it again as I am a gluten for punishment.


From one punishment lubber 't another:
Consider using the HSR that are now in LFS-DEV for your testing.
The reason I say so, is that 6.6 is a done deal and not likely to change.
I started checking for barnicles in linux-2.6.18 before I discoverd
that the HSR accepted the upgrade.

I Built LFS-6-6 up through ch6 Glibc-2.11.1 using jhalfs.
It ended up building ch6 Glibc-2.11.1 without an error.
The host system was a previously built LFS-6.3 system booted with a
custom made linux-2.6.18.8 kernel.
cat /etc/lfs-release
6.3 - jhalfs build
cat /proc/version
Linux version 2.6.18.8 (r...@lfs) (gcc version 3.3.6) #1

So it wasn't strictly the kernel.
Perhap the host linux-headers-2.6.22.5 were too new to fail.
Or was Gcc the old bilge rat whut deserves the black spot?
Perhaps I missed the boat entirely.
It may be never to be known.
The HSR that are now in LFS-DEV were updated and I wouldn't complain about that.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-05-31 Thread linux fan
On 5/31/10, Bruce Dubbs bruce.du...@gmail.com wrote:

 You don't have any standing to 'expect' anything from us.  You can
 suggest, but with your attitude, my reaction is to push back and say no,
 even if that's wrong.

-- Bruce

I support and congratulate Paul Roger's package management ability to
clone and LFS system and swap out parts, and to make analyses.

I suspect someday soon, someone will try making an LFS-6.3 system
using linux-2.6.18.8 (instead of 2.6.22.5). Then, using that as a
host, try to build LFS-6.6 to verify the minimum kernel requirement.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-05-31 Thread linux fan
On 5/31/10, x2...@lycos.com x2...@lycos.com wrote:

   Most of the posters with problems do seem to have,
   for whatever reason, strayed from the path of righteousness
   and not followed the book closely enough.

Quoth the creator:
Gerard: Read the book we wrote for our users. But, don’t be afraid to
deviate from it. After all, that’s the whole point of the project: to
make a system for yourself, not according to somebody else’s
specifications.
http://www.crazyengineers.com/gerard-beekmans-building-linux-from-scratch/
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-05-29 Thread linux fan
On 5/29/10, Paul Rogers paulgrog...@fastmail.fm wrote:
 Since I cut and paste the book instructions into my build script
 template, albeit with ample instruction and organization for use in
 cloning the system too, I can provide them for the Stage 1  2 builds of
 gcc and glibc, if it would help to see EXACTLY what I have done.  I have
 read all of a similar thread from March and April on this topic and
 found no instruction, other than to avoid pretty much.  I do want to
 get around this impediment and continue using LFS.

I closely examined you script and my eyes could not detect anything
about the ch6-glibc that would cause any difference from pure cut and
past to the command line. Something before that must have set up the
conditions leading to the trouble. Everyone has been assuming that
host system requirements (HSR) are all met, and (in ch6) the kernel
virtual filesystems are properly mounted and you are running in
chroot.

I'll throw this at it:
I could not build linux-2.6.18 with the newer gcc's. To build it, I
installed gcc-3.3.6 in order to build it. I chose gcc-3.3.6 because of
an article comparing gcc's which indicated that 3.3.6 had a history of
stability. I used 2.6.18.8 for a long time because because the
SATA_PROMISE maintainer remapped the ports on TX4 which fouled me up.
But I haven't used 2.6.18 for over 6 months now.

HSR say Linux Kernel-2.6.18 (having been compiled with GCC-3.0 or
greater) ... true   (y) _

The __stack_chk_guard which is only seen by grep in gcc, must have
gotten built in at some earlier step or possibly bled in from the
2.6.18 kernel (i think) you said you built to begin the lfs build.

I built lfs running from the livecd which has kernel 2.6.22.5.
For speed (unless little memory), at the boot prompt,
boot:linux toram

Once at the # (root) prompt, set a password for root.
# passwd root
# su - jhalfs
$ echo Xft.dpi: 96  .Xresources
$ startxfce4

... might need to tweak /etc/X11/xorg.conf ...

You can begin at the beginning and even use your scripts. If it still
fails, your hardware or you scripts must have anomalies. Once it's
build, you could even build linux-2.6.18.8 (using gcc 3.3.6), if
desired.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-05-29 Thread linux fan
On 5/29/10, Paul Rogers paulgrog...@fastmail.fm wrote:

 No fun.  1.4GHz P-3, 512MB.  Besides, as I wrote, I really want to have
 a clean migration path.  Maybe 6.1 to 6.6 is too far a jump, but it
 matched the HSR with the exception of kernel version.

 Besides I rather think the LiveCD starts the NIC/network, mine doesn't
 and I really don't want that.


Notes say:
To load the CD contents to RAM with the toram option, the minimum
required amount of RAM is 512 MB. If you have less than 768 MB of RAM,
add swap when the CD boot finishes -- a good idea anyway.

Alternatively, it is possible to boot the livecd from disk.
The short version is under BOOTING FROM ISO IMAGE in
http://www.linuxfromscratch.org/livecd/documentation.html
I made a script to remember how
http://docs.google.com/View?id=dg7ck9hb_135djs6xvrn

I'm sure you know that jhalfs provides an alternative to your script.
I understand concern for clean migration path and NIC/network.

Just thinking out loud ... if jhalfs can build it using the host
system, then the scripts must have a fault ... but if the scripts can
build it using the livecd, then the host system must have a fault. Is
it the host kernel config, the host glibc, the host gcc, the scripts,
or what?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-05-28 Thread linux fan
On 5/28/10, Paul Rogers paulgrog...@fastmail.fm wrote:

 gcc package for that __stack_chk_guard variable, assuming it was
 defined there.  It's not.  Could someone please grep their include
 directory and let me know where it is defined?  I haven't found it on
 my system.

grep -r -c _stack_chk_guard /usr/include (nothing)
grep -r _stack_chk_guard /sources/linux-2.6.33.1 (nothing)
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-05-28 Thread linux fan
On 5/28/10, Ken Moffat zarniwhoo...@googlemail.com wrote:

  Good advice.  I'd actually recommend 'make oldconfig' and then make
 notes on *everything* that might be questionable, research, then set or
 not in menuconfig, but that's just a variation - the important thing is not
 to try to jump through too many different kernel versions in one go.


The only problem with 'make oldconfig' is that there will be a million
questions that mortals cannot *possibly* know how to answer. However,
about 90% of them will have a default response that you can take by
pressing ENTER if you want to guess that must be it.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: How to Improve the LFS book

2010-05-27 Thread linux fan
On 5/27/10, JimD. wrote:
 On this topic, I too had a notion that what I call Lab Notes would have
 been an improvement and perhaps call users attention to important
 procedures.


I like that.
In the BLFS book, each package has user notes that link to a wiki
page if it exists. Those are not even noticed unless the reader
suspects that some need to know might be there.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-6.6, Stage2, glibc, nscd.c:442

2010-05-27 Thread linux fan
On 5/27/10, Paul Rogers paulgrog...@fastmail.fm wrote:

[Ken Moffat]
 getting from a .config that worked in 2.6.18 to one that works in
 2.6.32.  Particularly, libata [ most ide drives now use libata and
 therefore /dev/sdXn instead of hdXn ].
[Paul Rogers]
 Yes, I've seen that in some of the other distros I've gotten from LXF.
 Using SCSI emulation for IDE drives just seems WRONG somehow.  I'm a
 follower of Einstein's dictum, As simple as possible, but no simpler.
 The systems I'm building on/for (P3's) all use PATA drives, and I was
 hoping to deal with SATA later in a POD-3.2 version.


I maintain some pure IDE drives as hdXn by using the config parameters:
CONFIG_HAVE_IDE=y
CONFIG_IDE=y
in addition to:
CONFIG_ATA=y
CONFIG_SATA_SIL24=y
CONFIG_SATA_PROMISE=y
for the SATAS as sdXn, providing the peaceful coexistence of both worlds.

This old heap of harware just _won't_  stop working!
I got from 2.6.18 to 2.6.32, over time, a few steps at a time and the
technique was to:
copy last good config to kernel souces .config
make menuconfig
change one thing and change it back (unless really changing something)
make menuconfig pulls the relevant new vs. deprecated pieces into line.
go through the whole menus with an eye on reality checking.

If I want to boot with my IDE /dev/hdXY's plugged in (always at the
fixed cable positions), I can, and I can access the /dev/sdXY's too,
or visa versa.

I still think 2.6.18 is a good kernel, but there was a clean break in
compatibility with newer software somewhere around 2.6.22.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: chapter 6.16: configure: error: in `/sources/gcc-build/i686-pc-linux-gnu/libgcc':, ... C preprocessor /lib/cpp fails sanity check

2010-05-26 Thread linux fan
On 5/26/10, Simon Geard delga...@ihug.co.nz wrote:

 I can't really see how things can be improved (short of blinking red
 text on *every* page), but it does seem like half the problems we deal
 with are from people not following it. Are people not even reading that
 entire General Compilation Instructions page, and skipping straight to
 the packages?

The important note #1 in ch 5.3 is clear.
However, General Compilation Instructions  never specifies the flow
of events expected to follow:

1 - make sure $LFS is set to the target directory (export LFS=/mnt/lfs)
2 - change directory to $LFS/sources
3 - unpack the package tarball
4 - change directory to the unpacked directory created by tar
5 - follow package build and install instructions
6 - change directory to $LFS/sources
7 - remove the unpacked directory created by tar

At least I can't remember where that is.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: chapter 6.16: configure: error: in `/sources/gcc-build/i686-pc-linux-gnu/libgcc':, ... C preprocessor /lib/cpp fails sanity check

2010-05-25 Thread linux fan
On 5/25/10, mhenriqu...@terra.cl  wrote:

 just to bother, the book mention something about that somewhere?, do I
 miss something...


Ch 5.3. General Compilation Instructions has an *Important* note to
delete the unpacked-source and build directories after installing
unless otherwise specified.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Glibc fails to make. (error 2)

2010-05-20 Thread linux fan
On 5/20/10, Kyle Brennan kyle_b...@live.com wrote:

 though.  I did work in the sources directory.  I got to GLibC and it ran
 for about 45 minutes and then it threw this error at me: make: *** [all]
 Error 2
 It just came out of the /mnt/lfs/sources/glibc-2.11.1 directory.  which

Wouldn't it be out of /mnt/lfs/sources/glibc-build?

The procedure (lfs 6.6 and LFS=/mnt/lfs)
LFS=/mnt/lfs
cd $LFS/sources
# If pre-existing glibc-build, rm -r glibc-build
# If pre-existing glibc-2.11.1, rm -r glibc-2.11.1
tar -xf glibc-2.11.1.tar.bz2
cd glibc-2.11.1
# Copy/Paste each applicable grey command block

mkdir -v ../glibc-build
cd ../glibc-build

... and so on, right?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: kdebaseworkspace-4.4.2-help required

2010-04-14 Thread linux fan
On 4/14/10, lux-integ lux-in...@btconnect.com wrote:
 On Tuesday 13 April 2010 07:53:42 pm Trent Shea wrote:
 Also,
 /opt/kde/share/apps/cmake/modules/FindX11.cmake which gets installed by
 kdelibs - not really sure if both files get used...

 all to no avail.
 I do not know if the 'name' used is a problem or otherwise

 root [ /usr/X11R7.5/lib/pkgconfig ]# cat   xi.pc
 prefix=/usr/X11R7.5
 exec_prefix=${prefix}
 libdir=${exec_prefix}/lib
 includedir=${prefix}/include

 Name: Xi
 Description: X Input Extension Library
 Version: 1.3
 Requires: inputproto
 Requires.private: x11 xext
 Cflags: -I${includedir}
 Libs: -L${libdir} -lXi

NOTE: /usr/X11R7.5

 D) The output from cmake shows that libXi is found :-
 ###  spew from cmake

 -- Found automoc4: /opt/kde-4.4.2/bin/automoc4
 -- Strigi API needs 'signed char'
 -- Found Strigi: /opt/kde-4.4.2/lib/libstreams.so
 --   found qimageblitz, version 4.0.0
 -- Found QImageBlitz: /opt/kde-4.4.2/include/qimageblitz
 -- Found ZLIB: /usr/lib64/libz.so
 -- checking for module 'libXi=1.2.0'
 --   package 'libXi=1.2.0' not found
 -- Found libXi: /usr/X11R7.5/lib64/libXi.so
 -- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
 -- Found GLIB2: /usr/lib64/libglib-2.0.so
 --   found fontconfig, version 2.7.3
 -- Found Fontconfig: /usr/lib64/libfontconfig.so
 --   found libggadget-1.0, version 0.11.2
 --   found libggadget-qt-1.0, version 0.11.2
 -- Found Googlegadgets: ggadget-qt-1.0;ggadget-1.0;QtGui;QtCore
 -- checking for modules 'qzion=0.4.0;qedje=0.4.0'
 --   found qzion, version 0.4.0
 --   found qedje, version 0.4.0
 -- Found QEdje: /opt/kde-4.4.2/lib/libqedje.so;/opt/kde-4.4.2/lib/libqzion.so

NOTE: Found libXi: /usr/X11R7.5/lib64/libXi.so

 -- Looking for _XiGetDevicePresenceNotifyEvent
 -- Looking for _XiGetDevicePresenceNotifyEvent - not found
 -- _XiGetDevicePresenceNotifyEvent is not found, libXi version 1.2.0 or later
 is required to keep layouts with keyboard hotplugging

You seem to have multiplicities which are confusing only the Xi piece.
X11R7.5 - first order of possible kde Xi confusion?
lib64 - second order of possible kde Xi confusion?
X11R6 - is a there a link pointing wrong and only affect kde/Xi?
FindX11.cmake - predicting 2 or 3 in find / -xdev -iname FindX11.cmake
1=in /usr/share installed by cmake?
2=in /opt/kde installed by kdelibs
3=in ~ installed by ?

The permutations permit kde to easily do a bug and not find the right thing.
Just because you intend to override what kde does, does not mean that it is
not ignoring you and doing what it wants to anyway?
[lousy grammar]

Step back for a minute examine libXi.so closely
Where is it really?
Is there more than 1?
Is there any link that permits kde to look the other way?
Was (I'm sure not) libXi installed incorrectly?
How many possible ways to find it? Links, envars, etc?
There isn't a verbose option on cmake that would allow you to inspect
the detail of how kde is managing to not find it is there?

 ln -sfv $XORG_PREFIX/lib/libXi.so /usr/lib

 Thanks for the advice, ( It compiles to 100%) with a symbolic link of libXi.so
 to /usr/lib

That sounds wrong to me, if it is really in /usr/X11R7.5/lib64/libXi.so
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: kdebaseworkspace-4.4.2-help required

2010-04-12 Thread linux fan
On 4/12/10, lux-integ lux-in...@btconnect.com wrote:
 could this be related and does anyone have any  ideas for   swift resolution

I don't have  libxklavier and it built.

Going off topic:
I don't like the giant balloon tooltips over the panel.
I like it better with this patch for kdelibs even though it also
affects digital clock:


  # at least make hover 3 seconds before giant balloon tooltip pops up.
  patch -p1  EOF
--- kdelibs-4.4.2/plasma/tooltipmanager.cpp.orig
+++ kdelibs-4.4.2/plasma/tooltipmanager.cpp
@@ -157,9 +157,9 @@
 if (d-isShown) {
 // small delay to prevent unnecessary showing when the mouse
is moving quickly across items
 // which can be too much for less powerful CPUs to keep up with
-d-showTimer-start(200);
+d-showTimer-start(1800);
 } else {
-d-showTimer-start(700);
+d-showTimer-start(1800);
 }
 }

EOF

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


Re: Problems with HAL

2010-03-26 Thread linux fan
On 3/25/10, Andrew Benton b3n...@gmail.com wrote:

 HAL is not part of LFS, you should direct questions about things in BLFS to
 blfs-supp...@linuxfromscratch.org

I configure HAL with
--disable-console-kit \
--disable-policy-kit

Otherwise new hal expects them and if they are to be installed, it leads to
many dependencies that I am not interested in.
Useable documentation for these things might exist, though they
are gibberish to me.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: grub2: error: fiel not found

2010-03-25 Thread linux fan
On 3/24/10, Ken Moffat zarniwhoo...@googlemail.com wrote:
  I've finally got round to trying to install grub2 on one of my boxes.

I messed with grub2 a little.
I tried the 'kernel /core.img' method to get to grub2 from legacy.

'set' shows the settings somewhat like bash.

'set pager=1' ... I think pages output instead of scrolling so you cannot read.
'insmod help' ... maybe

Getting the correct 'set root=' very important.
insmod ext2 .. of course

I had success from grub legacy to grub2 with something like:
kernel /core.img
boot
set root= ... correctly
(there may have been another 'set' relevant to path)
insmod ext2
insmod configfile
(forgot exact) ... configfile (hd0,15)/.../grub.cfg

I kept hammering and eventually pulled up the grub2 menu.
Sorry, I don't remember exact formulas.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: grub2: error: fiel not found

2010-03-25 Thread linux fan
On 3/25/10, Ken Moffat zarniwhoo...@googlemail.com wrote:
 2. From somewhere, the prefix is set to (hd0,15)/boot/grub.  I've no
 idea where this is set, and trying to set it at the start of grub.cfg
 didn't work.  So, I've created that path for it -

 mkdir /boot/boot
 ln -s ../grub /boot/boot/grub

Yep.

I always had to do that when /boot was on a separate partition.
My new habit is making /boot a regular directory so I would stop
being confused about when grub is in /boot or in /.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Which chipset for USB?

2010-03-23 Thread linux fan
On 3/23/10, Simon Geard delga...@ihug.co.nz wrote:
 On Mon, 2010-03-22 at 11:39 -0700, brown wrap wrote:
 I tried that. NO inputs work. Not USB or PS/2 mouse and old XT keyboard.

 Ok, that's something. If no input devices work, that might point to
 options under HID Devices not being enabled (HID = Human Interface
 Device). I have the following enabled (as modules):

 Device Drivers - HID Devices
 Device Drivers - HID Devices - Generic HID support
 Device Drivers - HID Devices - USB Human Interface Device (full HID)
 support


Just some homework.
Wierd messages in the log.
Are config settings dubious?
IRQ problem?

--
brown pastebin sys.log has
http://pastebin.com/EGZYEdMe

Mar 16 22:46:27 guajome-dome kernel: [9.460024] ehci_hcd
:00:04.1: Unlink after no-IRQ?  Controller is probably using the
wrong IRQ.

--
brown pastebin config has
http://pastebin.com/TVa6pvbx

CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_HOTPLUG=y
CONFIG_SPARSE_IRQ=y
CONFIG_NUMA_IRQ_DESC=y
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
# CONFIG_MEMORY_HOTPLUG is not set
CONFIG_HOTPLUG_CPU=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_HOTPLUG_PCI_PCIE is not set
CONFIG_HT_IRQ=y
CONFIG_HOTPLUG_PCI=y
# CONFIG_HOTPLUG_PCI_FAKE is not set
# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_HOTPLUG_PCI_CPCI is not set
# CONFIG_HOTPLUG_PCI_SHPC is not set
CONFIG_SERIAL_8250_SHARE_IRQ=y
CONFIG_SERIAL_8250_DETECT_IRQ=y
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_DEBUG_SHIRQ is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_SECURITY_ROOTPLUG is not set
CONFIG_HID_SUPPORT=y
CONFIG_HID=y
# CONFIG_HIDRAW is not set
CONFIG_USB_HID=y
CONFIG_HID_PID=y
CONFIG_USB_HIDDEV=y
# Special HID drivers
CONFIG_HID_A4TECH=y
CONFIG_HID_APPLE=y
CONFIG_HID_BELKIN=y
CONFIG_HID_CHERRY=y
CONFIG_HID_CHICONY=y
CONFIG_HID_CYPRESS=y
CONFIG_HID_DRAGONRISE=y
CONFIG_HID_EZKEY=y
CONFIG_HID_KYE=y
CONFIG_HID_GYRATION=y
CONFIG_HID_TWINHAN=y
CONFIG_HID_KENSINGTON=y
CONFIG_HID_LOGITECH=y
CONFIG_HID_MICROSOFT=y
CONFIG_HID_MONTEREY=y
CONFIG_HID_NTRIG=y
CONFIG_HID_PANTHERLORD=y
CONFIG_HID_PETALYNX=y
CONFIG_HID_SAMSUNG=y
CONFIG_HID_SONY=y
CONFIG_HID_SUNPLUS=y
CONFIG_HID_GREENASIA=y
CONFIG_HID_SMARTJOYPLUS=y
CONFIG_HID_TOPSEED=y
CONFIG_HID_THRUSTMASTER=y
CONFIG_HID_ZEROPLUS=y


CONFIG_SERIAL_8250_DETECT_IRQ
Help text

Say Y here if you want the kernel to try to guess which IRQ to use for
your serial port.

This is considered unsafe; it is far better to configure the IRQ in a
boot script using the setserial command.

If unsure, say N.


CONFIG_HOTPLUG
Help text

Say Y here if you want to plug devices into your computer while the
system is running, and be able to use them quickly. In many cases, the
devices can likewise be unplugged at any time too.

One well-known example of this is PCMCIA- or PC-cards, credit-card
size devices such as network cards, modems, or hard drives which are
plugged into slots found on all modern laptop computers. Another
example, used on modern desktops as well as laptops, is USB.

--
CONFIG_HOTPLUG_PCI
Help text

Say Y here if you have a motherboard with a PCI Hotplug controller.
This allows you to add and remove PCI cards while the machine is
powered up and running.

To compile this driver as a module, choose M here: the module will be
called pci_hotplug.

When in doubt, say N.


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


Re: Which chipset for USB?

2010-03-23 Thread linux fan
On 3/23/10, linux fan linuxscra...@gmail.com wrote:

 --
 brown pastebin sys.log has
 http://pastebin.com/EGZYEdMe

 Mar 16 22:46:27 guajome-dome kernel: [9.460024] ehci_hcd
 :00:04.1: Unlink after no-IRQ?  Controller is probably using the
 wrong IRQ.

Someone said boot parameter irqpoll is the key.
http://ubuntuforums.org/showthread.php?t=81153highlight=noapic+usb
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Which chipset for USB?

2010-03-22 Thread linux fan
On 3/21/10, brown wrap gra...@yahoo.com wrote:
 I'd be happy to get any keyboard and mouse to work.

I wonder is your usb problem just the keyboard and the mouse?

In my config
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_MOUSE_SERIAL is not set

I always thought XTKBD was obsoleted long ago.
To me, serial refers to 9-pin connector used long ago.

-When- does the keyboard start to not work?
 A. It works before grub only
 B. It works during grub but not after
 C. It works at a console login but not in X-windows

Does computer have a PS/2 style for a keyboard?
Do you have a keyboard with the PS/2 style plug?
Does it work differently than as a usb keyboard?
What kind of keyboard is it?

In short, should the focus be on getting the keyboard/mose to work rather
than on USB ?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Which chipset for USB?

2010-03-22 Thread linux fan
On 3/22/10, linux fan linuxscra...@gmail.com wrote:

 -When- does the keyboard start to not work?

If it works at a console login but not in X-windows, that happened to me,
and I reconfigured xorg-server to fix the scenario where dbus and hal
were installed, but I was not running them, and thus the xorg-server
obligingly disabled the keyboard and mouse:
# xorg-server config
--disable-config-dbus \
--disable-config-hal \

Then again, it could be a problem in xorg.conf.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Which chipset for USB?

2010-03-22 Thread linux fan
On 3/22/10, brown wrap gra...@yahoo.com wrote:
 So now I went back to building a clean kernel that will at least boot again.

Possibly try
rm .config
make defconfig ARCH=x86_64

Then make menuconfig
and select things you know that you will need built into the kernel.
Try to avoid making any alterations to any input devices or usb
until you know the defaults don't work.

I refer to README in the kernel source tree.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Which chipset for USB?

2010-03-22 Thread linux fan
On 3/22/10, brown wrap gra...@yahoo.com wrote:
 Today I booted up the LFS 6.3 DVD and its works as well. I found its .config
 and tried to use it to build a kernal:


 make mrproper

 Copied it to .config

 make oldconfig

 make

 make modules_install

 and then copied everything to its place in the /boot directory.

 I had previuously done the same thing with the CentOS .config. Both end up
 in a 'panic'.


In order to try that method,
After you do the make oldconfig, you need to do make menuconfig
and select to build into the kernel Y the few things that are totally
necessary at boot time.
This would include at the very least
ext2
ext3
hard drive (I saw CONFIG_SATA_AHCI=y in your pastebin)

The rule is that if the kernel must have it at boot time in order to
access the hard drive and filesystem (before the filesystem has
been accessed), then it must be built into the kernel or made available
via initrd.

Centos uses initrd, so it can have those essential things as modules, but
if not using initrd, if those essential things are modules, it will panic.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: write error with new version of tar

2010-03-19 Thread linux fan
On 3/19/10, Mike McCarty mike.mcca...@sbcglobal.net wrote:

 I wonder if head is closing the input pipe when it has read
 all it needs, and that's causing the error. I can't reproduce
 that problem with my host system, however.

It is tar-1.23 and not head

head --version
head (GNU coreutils) 8.4

tar -xf tar-1.23.tar.bz2
cd tar-1.23
./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin
make

src/tar --version
tar (GNU tar) 1.23
src/tar -tf ../tar-1.23.tar.bz2 | head -1
tar-1.23/
src/tar: write error

tar --version
tar (GNU tar) 1.22
tar -tf ../tar-1.23.tar.bz2 | head -1
tar: Record size = 8 blocks
tar-1.23/
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: my kernel won't recognize ide drives

2010-03-18 Thread linux fan
On 3/18/10, Andrew Benton b3n...@gmail.com wrote:
 On 18/03/10 19:24, Scott Kopel wrote:
 So the question is what kernel configuration changes do I have to make to
 get the kernel to recognize my ide drives?

I have old system with IDE drives and addon cards for sata dirves.
The systems sees tht IDE drives as hd and the SATA drives as sd.

grep ^[^#].*IDE\|^[^#].*ATA /boot/config-$(uname -r)
Shows these are in my config:

CONFIG_HAVE_IDE=y
CONFIG_IDE=y
CONFIG_IDE_XFER_MODE=y
CONFIG_IDE_TIMINGS=y
CONFIG_IDE_ATAPI=y
CONFIG_IDE_GD=y
CONFIG_IDE_GD_ATA=y
CONFIG_BLK_DEV_IDECD=y
CONFIG_BLK_DEV_IDECD_VERBOSE_ERRORS=y
CONFIG_IDE_PROC_FS=y
CONFIG_BLK_DEV_IDEDMA_SFF=y
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_ATA=y
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_ACPI=y
CONFIG_SATA_PMP=y
CONFIG_SATA_SIL24=y
CONFIG_ATA_SFF=y
CONFIG_SATA_PROMISE=y
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: partition sizes

2010-03-04 Thread linux fan
On 2/16/10, Ken Moffat zarniwhoo...@googlemail.com wrote:
  I tend to use 5GB or less for a desktop system.
 If you plan to build *all* of gnome, or *all* of kde,
 that probably isn't enough space, but in my case
 I'd probably put /boot (100MB is big), swap if any,
 and 2 or 3 versions of '/' on the 20GB drive.

I did manage to build KDE4 on a 5GB partition, while having
the sources (build) directory hosted on a separate partition.

I typically think about 12GB for the root partition with no separate partitions
for home or usr leaves enough space for me. It depends on how much space
will be needed for applications and files that will accumulate.

For /boot, I just use a /boot directory instead of a separate partition
(which is my choice) and it works fine.

I like to create a logical partition in which 15 partitions may exist.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Bash prompt in X-Windows

2010-02-23 Thread linux fan
On 2/23/10, Andrew Benton b3n...@gmail.com wrote:
 Do you source /etc/profile in ~/.bashrc?

Not the perfect answer, but it led to the answer.
Actually, /etc/bashrc should be sourced in ~/.bashrc and it was,
but I had missed creating /etc/bashrc in The Bash Shell Startup Files,
and /etc/bashrc:
 # Provides prompt for non-login shells, specifically shells started
  # in the X environment.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Setclock - no link - bootscripts

2010-02-23 Thread linux fan
Is it just me, or why does bootscripts no longer create setclock link
/etc/rc.d/rcsysinit.d/S25setclock ?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Setclock - no link - bootscripts

2010-02-23 Thread linux fan
On 2/23/10, Bruce Dubbs bruce.du...@gmail.com wrote:
 linux fan wrote:
 Is it just me, or why does bootscripts no longer create setclock link
 /etc/rc.d/rcsysinit.d/S25setclock ?

 It was removed about nine months ago because it is set by udev.

... supposed to be set by udev ...
But why, on my new LFS-6.5 system, does the system time does not get set to
hwclock time by the udev rule that is clearly there?

The bios/hwclock is set to local time and I have
UTC=0 in /etc/sysconfig/clock.

If I make the link the system clock gets set correctly.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: BLFS-6.4RC1 or any

2010-02-17 Thread linux fan
On 2/17/10, Randy McMurchy ra...@linuxfromscratch.org wrote:
 If the community's expectations are that we have the most current
 release of every package in the most recent BLFS book, then the
 expectations are too high and are unreasonable.

I agree.

I think the most important thing is that following step by step
in the books should achieve a well functioning system.

Even if some distro has far more current software,
the lfs/blfs system is by far better.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: SATA support in Linux kernel's menuconfig

2010-02-08 Thread linux fan
On 2/8/10, Andrew Benton b3n...@gmail.com wrote:
 On 08/02/10 15:04, Ken Moffat wrote:

 Indeed. I was wrong. They do work with libata. They were older machines
 that were working fine so I avoided the headache of altering their
 kernel configs. My first couple of attempts at getting libata to work
 ended with kernel panics. Not because of the kernel config, but because
 I forgot to change the grub boot line to /dev/sda (DOH!).
 So yeah, libata works fine. Sorry for the noise. Libata works better
 with udev. I don't need custom udev rules for each machine, the default
 udev rules creates the cdrom symlink pointing at /dev/sr0 which is owned
 by group cdrom.


I have both and udev works ok with everything.
CONFIG_IDE=y
CONFIG_ATA=y

This is an old system that has IDE cdroms/dvds and an IDE disk which
work fine as hdx. It also has SATA controller cards with some disks
that work fine as sdx.
The sata controllers were selected as
CONFIG_SATA_SIL24=y
CONFIG_SATA_PROMISE=y
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Step 6.7. Linux-2.6.30.2 API Headers [Error]

2010-01-27 Thread linux fan
On 1/27/10, Andrew Benton b3n...@gmail.com wrote:
 On 27/01/10 19:13, Justin P. Mattock wrote:
 does your home directory have the proper permissions?
 i.g. chown name:name /home/name


 In LFS we compile in $LFS/sources which should have been chown lfs when
 you created the user lfs


I tested unpacking in a direcory in which I did not have write
permission and got different errors:

tar: linux-2.6.30.2: Cannot mkdir: Permission denied
Plus about one million ... Cannot open: No such file or directory ... messages

There was no complaint about executing bzip2
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Step 6.7. Linux-2.6.30.2 API Headers [Error]

2010-01-27 Thread linux fan
On 1/27/10, Justin P. Mattock justinmatt...@gmail.com wrote:
 Oops..
 I didn't really follow the book step by step.

The best results are by following the book instructions. Especially in
chapter 6 those first steps must be done correctly:

Set $LFS correctly
Preparing Virtual Kernel File Systems
Entering the Chroot Environment
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Kernel panic - not syncing: No init found. Try passing init= option to kernel

2010-01-24 Thread linux fan
On 1/24/10, Rambabu Dasari babu4...@gmail.com wrote:
 Hi all,

 I am trying to build Linux from Scratch(LFS), while booting the kernel
 throughing the following error.

 [4.586704] Warning: unable to open an initial console.
 [4.592188] Failed to execute /init


6.2.1. Creating Initial Device Nodes, is supposed to have created null
and console. If these are not present on the filesystem at boot time,
it will panic the kernel.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: 70-persistent-net.rules not created

2010-01-12 Thread linux fan
On 1/12/10, jmsc...@setex.ipcallback.com jmsc...@setex.ipcallback.com wrote:
 so, in the name of progress, i like to solict advice on what to do next,

LFS-6.4 and earlier had:
for NIC in /sys/class/net/* ; do
INTERFACE=${NIC##*/} udevadm test --action=add --subsystem=net $NIC
done

I wonder why subsystem was later removed.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: 70-persistent-net.rules not created

2010-01-12 Thread linux fan
On 1/12/10, jmsc...@setex.ipcallback.com jmsc...@setex.ipcallback.com wrote:

 not clear that adding --subsystem would force INTERFACE to be exported to

Hmm,

Output of ls -d /sys/class/net/*
/sys/class/net/eth0  /sys/class/net/lo

Output of ls -dl /sys/class/net/*
lrwxrwxrwx 1 root root 0 2010-01-12 03:44 /sys/class/net/eth0 -
../../devices/pci:00/:00:09.0/net/eth0
lrwxrwxrwx 1 root root 0 2010-01-12 03:44 /sys/class/net/lo -
../../devices/virtual/net/lo

I made a quick script and named it fubar:
for NIC in /sys/class/net/* ; do
echo INTERFACE=${NIC##*/} udevadm test --action=add $NIC
done

Here is the output of 'sh fubar'
INTERFACE=eth0 udevadm test --action=add /sys/class/net/eth0
INTERFACE=lo udevadm test --action=add /sys/class/net/lo

I remove the rule in my /etc/udev/rules.d/70-persistent-net.rules
pertaining to eth0 (the only rule in the file).

I execute the command line:
INTERFACE=eth0 udevadm test --action=add /sys/class/net/eth0

And I get the exact same rule put back in and I did see this output
which is consistent with the ls -dl
import_uevent_var: import into environment: 'INTERFACE=eth0'
import_uevent_var: import into environment: 'IFINDEX=2'
udevadm_test: looking at device
'/devices/pci:00/:00:09.0/net/eth0' from subsystem 'net'

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


Re: 70-persistent-net.rules not created

2010-01-12 Thread linux fan
On 1/12/10, linux fan wrote:

 Just experimenting ...

It almost seems like export/import is fouled up.
The following block should print:
bar
..

foo= 
echo 'echo $foo'  fubar 
chmod 755 fubar 
foo=bar ./fubar 
echo .$foo.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Stuck at 5.7.1

2010-01-10 Thread linux fan
On 1/9/10, Abhinav Chaturvedi wrote:

 So I guess I am looking for someone to tell me - perhaps reassure me - that
 I could build my own shareable (on a disk) distro that could compete
 (outperform?) standard linux distros. I understand I would need to do other
 stuff - like arrange for an installer. But if I could know now from people
 who know better that its possible, then it will would help me persist.

My reason for building LFS is to have a system that is built the way I
want it. There is a Live-CD and there is a jhalfs tool for automating
the build. They do not come close to solving all the difficulties of
creating a distro. However, they are a beginning, and they prove that
there are possibilities. I think it is a matter of interest and
persistence.

In this interview
http://www.crazyengineers.com/gerard-beekmans-building-linux-from-scratch/
Gerard Beekmans said:

Once you finished building an LFS system, it’s fully functional and
there’s nothing inferior about it. There are countless number of LFS
systems in mission critical production environments around the world.
I tried a number of distributions and could not decide on any one.
... it became apparent that there would not be a single system that
would be perfect for me. So I set out to create my own Linux system
that would fully conform to my personal preferences.
Read the book we wrote for our users. But, don’t be afraid to deviate
from it. After all, that’s the whole point of the project: to make a
system for yourself, not according to somebody else’s specifications.


And in this interview
http://it.toolbox.com/blogs/locutus/its-linux-and-i-did-it-my-way-an-interview-with-gerard-beekmans-19686
he said:

Teaching has always been the primary goal of LFS. That will never
change, lest LFS ceases to be what it is. But there also is no limit
to teaching. As we all learn more about Linux system creation and
package integration, that knowledge ought to be shared with the
community. The LFS books are good places to store that information in
a concise format.

But I think we also cannot ignore the automated process requirements anymore.
As a prime example, I (of course) use LFS at work. All our Linux
servers are LFS based but there are times, I unfortunately am forced
to (temporarily) use a different system. Always due to time
constraints and ALFS isn't quite ready for this kind of deployment
with the unique needs some workplaces have.

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


Re: How to script automate unTAR of packages

2009-12-28 Thread linux fan
On 12/28/09, Mikie wrote:
 I have difficulty understanding *why* you want to do this mass extraction.

 It's that much less typing.


For least typing, jhalfs lets you just type make and it does all
untarring and building.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS 6.3 Chapter 6.12, GCC-4.1.2 startfiles check fails -- no output

2009-12-18 Thread linux fan
On 12/18/09, Pixel 73  wrote:

 trim the '' quoted text to just the part
 want to resond to
==
==


 grep '/lib.*/crt[1in].*succeeded' dummy.log

 is:
 attempt to open /bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crt1.o
 succeeded
 attempt to open /bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crti.o
 succeeded
 attempt to open /bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../../../crtn.o
 succeeded

Looks messed up.


 The first time I entered the configure command without the backslashes but
 all the commands in 'one line'. As I understand that should be no problem.
OK

 I also checked the config.log in gcc-build. Unfortunately I can't find the
 config-command I used in the config.log. But there are errors:

I did the first steps and I see that there is a config.status.

show:
head config.status


 configure:2284:17: error: gmp.h: No such file or directory
Not good -- it should find it .

In the gcc-build dir show:
pwd
df -ha
whoami
echo $PATH
uname -a
ls /var/log

I'm just hunting for clues of:
- Preparing Virtual Kernel File Systems
- Entering the Chroot Environment
- Being in the wrong place
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS 6.3 Chapter 6.12, GCC-4.1.2 startfiles check fails -- no output

2009-12-17 Thread linux fan
On 12/17/09, Pixel 73  wrote:
 But now I found out, that the startfiles show up when I am entering the
 following command:

 grep -o '/lib.*/crt[1in].*succeeded' dummy.log

(Can you see above how I trimmed the '' quoted text to just the part
I want to resond to?)

Show us the output of this command which is the same grep without the -o

grep '/lib.*/crt[1in].*succeeded' dummy.log

Usually, in the sources directory, or maybe in gcc-build, there is a
file config.log and at the top, it shows the configure command that
was used. Are you sure you had the configure command exactly as in the
book ?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS 6.3 Chapter 6.12, GCC-4.1.2 startfiles check fails -- no output

2009-12-17 Thread linux fan
On 12/17/09, linux fan  wrote:
 On 12/17/09, Pixel 73  wrote:
  Are you sure you had the configure command exactly as in the
 book ?


And I'm thinking ... I usually copy/paste each entire grey block and
look at i before pressing enter. Notice that the backslashes \ at the
end of some lines make the next be included so that the whole thing is
interpreted as one big line.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [Newbie, LFS-6.5]: Problems with binutils-Pass2 compilation..

2009-12-17 Thread linux fan
On 12/17/09, Abhinav Chaturvedi wrote:

 6. Any deviations from the document?
 
 As far as I remember, I have stuck to the text. However, I did create a
 separate build folder for Pass 2 called binutils-build2. I assumed that the
 build folder created in Pass 1 needed to be separate from that in Pass 2.

Always ...
Before I build a package, I remove any previously extracted source for
that package and any build-dir. I don't trust getting a clean build if
the unpacked sources directory got used earlier.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [Newbie, LFS-6.5]: Problems with binutils-Pass2 compilation..

2009-12-17 Thread linux fan
On 12/17/09, Abhinav Chaturvedi  wrote:

 Plus, when I gave the /sbin/swapon command, I got the message that my
 exisiting swap partition was busy

swapon: /dev/yyy: swapon failed: Device or resource busy

I think that just means it is already using that swap partition.

You can see what swap it is using with:
swapon -s
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS 6.3 Chapter 6.12, GCC-4.1.2 startfiles check fails -- no output

2009-12-16 Thread linux fan
On 12/16/09, stosss  wrote:
 On 12/15/09, Pixel 73 wrote:
 Thank you very much for your help. What can I do, if I already did 'make
 install'? How can I uninstall again?

In linux, attempted uninstall risks more harm than good unless you
really know what might  break which is usually not the case.

At 6.12, GCC-4.1.2, the Readjusting the toolchain step has already
been done, so only a super-geek has any chance to go to anything
before that without starting at the beginning.

Something has gone wrong and it is possible that the resulting system
will be flawed. On the other hand, it is possible that you missed
something in the GCC-4.1.2 step. As an exercise, it may be possible to
remove the unpacked GCC-4.1.2 sources dir and the gcc-build dir and do
that step again. This time  paying close attention to the 'make and
'make -k check' and perhaps logging the output for close examination
like:
make 21 | tee my_log1
make -k check 21 | tee my_log2

If you get the same failure again, then it would be best to start over
from the beginning which you might be advised to do anyway.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Clock Problems

2009-12-15 Thread linux fan
On 12/14/09, Bruce Dubbs wrote:

 Try the fix Ken suggested (CONFIG_HZ_100) and make sure you turn off the
 SMP option.  That has a lot of extra code you don't need.


Is there a way to 'nice' the build so that it doesn't use all 100% cpu?

Does the clock moving only a tick or two during the entire build break it?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re:

2009-12-15 Thread linux fan
On 12/15/09, William Immendorf will.immend...@gmail.com wrote:
 On Tue, Dec 15, 2009 at 7:32 AM, Pixel 73 pixe...@hotmail.com wrote:
 I am doing LFS 6.3. Everything went well until Chapter 6.12, GCC-4.1.2.
 When
 Please don't use LFS 6.3, unless your host system is old enough to
 build it. I recommend LFS 6.5 from now on.

I disagree with that.

LFS 6.3 is stable and has the matching set BLFS 6.3 which can be built
without problems. LFS 6.3 is also available on the latest live CD. For
learning, I think it is valid to build it.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS 6.3 Chapter 6.12, GCC-4.1.2 startfiles check fails -- no output

2009-12-15 Thread linux fan
On 12/15/09, Pixel 73 wrote:

 How can I analyze which of my previous steps went wrong?

Did the make command really complete without errors?

I always try to keep a log containing all the output because the
screen scrolls by, and later, I wish I could see the errors that went
by so that I can search google to get clues.
Something like this:
make 21 | tee my_build_log

Would it be a problem if I just delete all extracted and compiled
 folders of chapter 6 with rm -R and start again
 at the beginning of chapter 6?

As long as you didn't do 'make install', it is possible to remove the
directory extracted from the source tarball, then extract the source
tarball again, and do the package over with a clean sources. I think
that is the way to do it when you have reason to believe that you
could have made a mistake in typing your commands.

I think you would want to start over 6.12. GCC-4.1.2 ... not the
beginning of chapter 6.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS 6.3 Chapter 6.12, GCC-4.1.2 startfiles check fails -- no output

2009-12-15 Thread linux fan
On 12/15/09, linux fan wrote:

 As long as you didn't do 'make install', it is possible to remove the
 directory extracted from the source tarball, then extract the source
 tarball again, and do the package over with a clean sources. I think

I forgot ... with gcc, you also want to remove the gcc-build directory.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re:

2009-12-15 Thread linux fan
On 12/15/09, Mike McCarty mike.mcca...@sbcglobal.net wrote:
 Pixel 73 wrote:
 I am using LFS LiveCD 6.3. So that should be no problem then, right? 
 
  

 You can use any distro which can build the tools, which is any
 distro I know of. Ignore the peanut gallery.


Yes, and you can use the LiveCD 6.3 and it works fine and then you can
build BLFS 6.3 too. But if you build BLFS 6.3 with LFS 6.5 there are
multiple problems due to GNU clamping down on older software 'taking
liberties'.

But anyway, FYI, this thread is suppressed on the web mailing list
because it has no subject, or because it has an argument.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Linux-2.6.30.9 build failure

2009-12-03 Thread linux fan
On 12/3/09, Simon Geard wrote:
 Wow... if you *do* get a new LFS build running on that, I'd be curious
 to know how long it took...

My first guess is 11 days or so.

Calculating from:
http://www.linuxfromscratch.org/~sbu
MHz=100
one_sbu=5848
lfs_6_5_sbus=153
seconds=899422
time=10,9:50:22
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Linux-2.6.30.9 build failure

2009-12-03 Thread linux fan
On 12/3/09, Mike McCarty wrote:

 You don't necessarily have to build on that machine. However,
 I realize that may be part of the challenge.

Hmm, if LFS 6.5 cross compiles, could you build it on a fast machine
for the slow machine and then put it on the slow machine with rsync or
something?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: linux-2.6.31.6 doesn't boot

2009-11-29 Thread linux fan
On 11/29/09, Alberto Hernando wrote:
 ...  The error is the same, VFS
 can't find a valid root system, please add a valid root option. I
 .. and /etc/fstab is as the book says.

If /etc/fstab is as the book says (verbatim), it won't work.
You must interpolate
/dev/xxx /fff  defaults1 1
replacing xxx and fff respectively.
Your other post suggests that it would be:
/dev/hda8/ext3  defaults1 1

The VFS can't find ... suggests that the boot loader (grub/lilo)
done its job and the kernel was loading until it choked on the
filesystem fstab told it,

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


Re: linux-2.6.31.6 doesn't boot

2009-11-29 Thread linux fan
On 11/29/09, linux fan wrote:

 The VFS can't find ... suggests that the boot loader (grub/lilo)
 done its job and the kernel was loading until it choked on the
 filesystem fstab told it,

If the message is exactly:
Kernel panic -not syncing VFS: unable to mount root fs on unknown-block(0,0)

Then it is the root= parameter on the linux/kernel line that is wrong
-- while the kernel is loading, it gets to the point where it wants to
use that parameter, but it is bogus so there is nothing else to do but
panic.

I just tried it accidentally and it gave that message.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: build problem LFS 6.5

2009-11-28 Thread linux fan
On 11/28/09, stosss wrote:
 I am only using the lfs 6.3 LiveCD (this is the newest and last lfs
 LiveCD released) so I will have a working environment to build  lfs

Unless I am mistaken, everything in ch6-8 is done within chroot.
Then it is imperative to be certain that
6.2. Preparing Virtual Kernel File Systems
6.4. Entering the Chroot Environment
was done correctly before doing anything else.
All typing, scripts, etc, are meant to be whithin that chroot.
If you get out, is is possible to get back in, but it is tricky.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: build problem LFS 6.5

2009-11-28 Thread linux fan
On 11/28/09, Baho Utot wrote:

 make test | tee $CURRDIR/06.58.Check.log
 make install | tee $CURRDIR/06.58.Install.log
Logging helps so much when things go wrong.

As already mentioned

 Scripting an LFS build is *hard*

 1.  Use jhalfs.  That is the most consistent way to do things
 and it keeps logs of everything you do.

I have used jhalfs time and time again and it succeeds.
You can watch the logs while it is building with tail -f.
You can find error clues to search google often getting ideas.

Most scripting hard codes specific version -- jhalfs is more reusable.

Note: jhalfs-2.3.1 on the live cd can't handle everything about
LFS-6.4 and later.
jhalfs-2.3.2 or svn-trunk is needed for LFS-6.4 and later.
Linux from scratch ALFS page tells how to download the latest version.

I only suggest this due to amount of time spent and it failing.
You can debrief what jhalfs did with its scripts in
lfs-commands/chapterXX/* and maybe detect what went wrong in handmade script.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: grub problem

2009-11-25 Thread linux fan
On 11/25/09, su.sinnes wrote:

 is there anything i can do?


We've all been down this road before ... whatever we do, grub doesn't
seem to work ...

You have gotten grub to load a kernel ... that is getting close.

The key marked PrtScr SysRq can stop the display from scrolling
while booting -- you have to be quick.
 / CTRL-Q resume scolling

Can you get with pencil and paper the messages that happen just before the pan
ic.


Does kernel config include CONFIG_EXT3_FS=y
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


  1   2   >