6.1 errata
Hi, Starting a new 6.1 build. Maybe I'm getting old, but this is my first stable build since my first ever build. :) A quick question about the errata, should the versions in the book be built and then upgraded to the recommended versions, or would the initial build be done with the recommended versions? (zlib and perl currently). My research was inconclusive. -- Matrimony is the root of all evil. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: 6.1 errata
S. Anthony Sequeira wrote: A quick question about the errata, should the versions in the book be built and then upgraded to the recommended versions, or would the initial build be done with the recommended versions? I can't foresee any problems just building with the versions recommended in the errata to be honest. Plus, it'll save you a couple of SBUs too :) Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: 6.1 errata
On Sat, 2005-08-06 at 11:34 +0100, Matthew Burgess wrote: S. Anthony Sequeira wrote: A quick question about the errata, should the versions in the book be built and then upgraded to the recommended versions, or would the initial build be done with the recommended versions? I can't foresee any problems just building with the versions recommended in the errata to be honest. Plus, it'll save you a couple of SBUs too :) Matt. Thanks Matt. -- There is no such thing as an ugly woman -- there are only the ones who do not know how to make themselves attractive. -- Christian Dior -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS times
personally, i found it easier to just leave the machine turned on in a quiet corner, rather than go through re-mounting/chroot each time i want to work on it. i tend to find it serves as a little reminder/motivation too, and it means you can set off the huge compiles and leave the machine working whilst you get on with things like sleep ;) If this is your first build of LFS I would encourage you to leave the system running, there are too many things which can mess up rebooting the system. Best thing for the first time is to follow the book as straight as possible (assuming you are not very familiar with linux at this time and know what you are doing). Have fun thorsten -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS times
Rumor has it that thorsten may have mentioned these words: personally, i found it easier to just leave the machine turned on in a quiet corner, rather than go through re-mounting/chroot each time i want to work on it. i tend to find it serves as a little reminder/motivation too, and it means you can set off the huge compiles and leave the machine working whilst you get on with things like sleep ;) If this is your first build of LFS I would encourage you to leave the system running, there are too many things which can mess up rebooting the system. Best thing for the first time is to follow the book as straight as possible (assuming you are not very familiar with linux at this time and know what you are doing). If you have 1) time to tinker a bit before actually starting the LFS build, and 2) another (preferably faster) machine available, there's a program called distcc on the LFS Live CD that can distribute compilations across multiple machines on the network. I was hoping to have a hint and *maybe* patches to help people use this type of setup by now, but familial duties has unfortunately compromised much of my available free time in the last couple of weeks or so. However, I can explain the basics in a nutshell: 1) boot your desktop machine and your laptop with a LFS LiveCD (make sure you have the exact same version for both CDs. Altho distcc is normally not very picky about stuff like that, making sure everything's on the same sheet of music could nip a problem in the bud later on.) 2) Set up the networking on each machine and either a) assign each an IP address, or if you're using DHCP, find out what IP addresses were assigned to each machine. You're gonna need this later. 2.5) Let's assume for now that your on a trusted network (i.e. no external internet access) and your IPs are 10.10.10/24. Your desktop machine is 10.10.10.2 and your laptop is 10.10.10.3. 3) Set up the environment necessary for distcc. On your desktop machine, start the distcc daemon by typing: distccd -a 10.10.10/24 The distcc daemon will complain that there's no 'distcc' user, but it should work anyway. =-=-=-=-= OK, what follows is what I haven't had a chance to tinker with... you're gonna have to frobnicate with this stuff a bit, methinks... ;-) =-=-=-=-=-= 4) I don't remember if you have to run a copy of the distccd daemon on the client machine (in this case, the laptop) to use it for compilation as well: If so, just start a daemon there using the same command listed above: distccd -a 10.10.10/24 5) On your laptop, you're going to have to set up the environment to tell distcc/gcc to be able to use the other machine(s); in this case, you'd need to set an environment variable with the hostnames or ip addresses to all the machines running the distccd daemon: export DISTCC_HOSTS='10.10.10.2 10.10.10.3' The hosts listed in the DISTCC_HOSTS environment variable should be ordered with fastest machines first, and slowest machines last. So if your desktop is much faster (most usually are) you'll want to make sure that IP address is first. Now, you're going to have to tell all the makefiles to use 'parallel compiling' -- so go into the config/general.ent file, and where you see this: !ENTITY jlevel you'll need to change that entry. There's the easy way, but *may* not work right for all makefiles in the profile. If it doesn't work, don't worry - it won't hurt anything, but you won't get distributed compiling, either. Change the entry to this, and give this a try: !ENTITY jlevel -j4 CC=distcc If the makefile honors the CC environment variable, all is good, and you should be zooming. As far as I know, most if not all should honor this. If that setting above works for all but one or two packages, then I'd say run with it. However, if you want to *force* distcc usage for all packages, you need to trick the LFS LiveCD environment into thinking it's just running gcc, when in fact it's running distcc. Run these commands: mkdir /usr/local/distcc/bin cd /usr/local/distcc/bin ln -s /usr/bin/distcc gcc ln -s /usr/bin/distcc cc ln -s /usr/bin/distcc g++ ln -s /usr/bin/distcc c++ export PATH=/usr/local/distcc/bin:$PATH and the change to the config/general.ent file would be: !ENTITY jlevel -j4 According to the distcc man page, this is called 'MASQUERADING'. This can be both good and bad, however. Good in that if the makefile is a little diddled up and it doesn't support the CC= environment variable, it can still be parallel compiled. The bad news is, tho, if the package *can't* be parallel compiled due to some other bug and you try to force it this way, it may not build correctly. If you use the masquerading technique, do *not* skip any testing phases of the build! =-=-=-=-=-=-= This technique scales quite well, with 4 machines (of similar speed) you'll get about a 3.7x faster compile time IIRC, so if you have more than one
Re: .SWF file de-compiler?
Declan Moriarty wrote: Is this done? My young geek has somebody's flash writer, and he doesn't know what he's doing with it. Help is anything but helpful. It saves off a .fla file(the page 'source') and 'compiles' an .swf file which is used by browsers. The whole business has people sitting on information to keep a competitive advantage. That stinks. AFAIK there are many ways to assemble an .swf file, compiling from .fla being one of them. For _some_ decompiler, you can find swfdump (from today's freshmeat) useful: http://www.quiss.org/swftools/ Note that I have never used that program. -- Alexander E. Patrakov -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: grub errors and read-only
Thanks Ken, this seems to have worked. suse reports on its boot that it can't find /etc/mtab, also, there is a fatal X server error, as it can find the screen(s), but none are usable I tried a startx, an int 5, etc., but no luck. Also, I'm using an nvidia driver (from about last march) and I'm wondering if that had anything to do with it??? Thanks a million for all your help too. Donal -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
SASL and PAM under Postfix
I am having trouble getting SASL and PAM to play nicely together (Im using postfix as my MTA). When I run cyrus-sasls saslauthd in debug mode, and then telnet to the smtp port on my pox, I see the correct authentication mechanisms being offered, which include plain. But when I do an AUTH PLAIN with my base64 encoded credentials, pam refuses to authenticate. The saslauthd debug trace shows that it correctly received the credentials, but these were rejected by pam. Im thinking that Im missing a pam config file for this setup. There is reference to such a file in a great howto I found on www.postfix.org dealing with sasl and postfix, but the BLFS installation makes no mention of such a file. Thanx in advance for any help! - Mark -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
LFS install troubles...
Hi all, Everything was going fine till I reached the stage where you install the first package (binutils) from source. While copying the source from the liveCD onto the hdd for unpacking, I started getting buffer I/O errors and the file could not be copied. When I tried a second time after rebooting, I was able to copy the file successfully. However, some other files started to give similar problems. I tried it a third time to confirm that this behavior was random. Sometimes, the system would say 'tar' command not found, sometimes 'lynx' - cannot run executable file or some such. Obviously, the CDROM drive on my Laptop has gone flaky. Now I'm looking for an alternate method to start the installation. The 12 Gig HDD in my Laptop is for all practical purposes blank. Any suggestions? Best Regards, Srinath Madhavan Free as in Freedom. May the source be with you! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
RE: SASL and PAM under Postfix
Thanx for the quick reply. It turns out the problem was that, while I had a pam config file for the smtp service, it wasn't configured properly. Copying over the one I use for sshd did the trick. - Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Archaic Sent: Saturday, August 06, 2005 10:21 AM To: BLFS Support List Subject: Re: SASL and PAM under Postfix On Sat, Aug 06, 2005 at 10:08:51AM -0700, Mark Olbert wrote: But when I do an AUTH PLAIN with my base64 encoded credentials, pam refuses to authenticate. The saslauthd debug trace shows that it correctly received the credentials, but these were rejected by pam. According to cyrus-sasl-2.1.21/doc/sysadmin.html: If you are using the PAM method to verify passwords with saslauthd, keep in mind that your PAM configuration will need to be configured for each service name that is using saslauthd for authentication. Common service names are imap, sieve, and smtp. Also, make sure you read postfix-2.2.5/README_FILES/SASL_README especially where it says: IMPORTANT: all users must be able to authenticate using ALL authentication mechanisms advertised by Postfix, otherwise the negotiation might end up with an unsupported mechanism, and authentication would fail. grepping for PAM in both the postfix and the sasl source trees yields much information. -- Archaic Want control, education, and security from your operating system? Hardened Linux From Scratch http://www.linuxfromscratch.org/hlfs -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Users loading modules
Ever since I went to a 2.6 kernel here (on my LFS-5.0 installation) I have been having permission problems loading modules as a user. I had to sort something, because glibc will now not compile on a 2.4 kernel Changing the perms on /sbin/modprobe to 4755 sorted the problem, and a user can load away now. But 0755 was fine on the old programs -rwxr-xr-x 1 root root 31593 2003-12-14 21:36 /sbin/insmod* -rwxr-xr-x 1 root root 359 2003-12-14 21:33 /sbin/insmod_ksymoops_clean* -rwxr-xr-x 1 root root 101860 2003-12-14 21:33 /sbin/insmod.old* -rwxr-xr-x 1 root root 4741951 2003-12-14 21:36 /sbin/insmod.static* -rwxr-xr-x 1 root root 53505 2003-12-14 21:36 /sbin/modinfo* -rwxr-xr-x 1 root root 44140 2003-12-14 21:33 /sbin/modinfo.old* -rwsr-xr-x 1 root root 80901 2003-12-14 21:36 /sbin/modprobe* lrwxrwxrwx 1 root root 10 2003-12-14 21:34 /sbin/modprobe.old - insmod.old* Is the sky going to fall in, or have I comitted the unforgiveable sin? (More likely) what have I done wrong. We have changed from modutils to module-init-tools (0.9.15pre4), modules.conf to modprobe.conf and of course kernels. Is this a security hazard? -- With best Regards, Declan Moriarty. -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: LFS install troubles...
Srinath M wrote: Obviously, the CDROM drive on my Laptop has gone flaky. Not unnecessarily, it may be that the kernel on the live cd has not been compiled with support for your particular chipset. Now I'm looking for an alternate method to start the installation. The 12 Gig HDD in my Laptop is for all practical purposes blank. Any suggestions? Install a linux distro on a small partition and use it as a host system to build LFS. Probably the first thing you should do is recompile the kernel the get a good kernel .config that works with your hardware. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS install troubles...
Srinath M wrote: I think it might be what Andrew says or simply, my drive lens or some component is not cooperating. I checked the specs on the cdrom. For my Thinkpad 390X, 'crn-8241b-(sm)' is the model/unit number or whatever for the CDROM hardware. How much memory do you have? You can always try again, this time adding your swap partition from your hdd (assuming you made one already). If not formatted, then mkswap /dev/hdXX and then swapon -p 1 /dev/hdXX Just trying to be sure you aren't running out of memory or something. Justin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS install troubles...
Actually yes, that could make sense. The system has 128M of physical RAM. I take it that the live CD pools space from this in order to populate the executables. That would leave me with lesser RAM for whatever stuff I do. And to top this all, I simply ASSUMED that 'mkswap /dev/hda2' ensures that swap is configured for use; never realized that I had to do a 'swapon -p 1 /dev/hda2' :( Interestingly however, I do not recollect the LFS book mentioning the 'swapon' routine before unpacking and installing the packages when using the liveCD. I'll give it a shot and let you know how it goes. Thanks for the input. --- Justin R. Knierim [EMAIL PROTECTED] wrote: Srinath M wrote: I think it might be what Andrew says or simply, my drive lens or some component is not cooperating. I checked the specs on the cdrom. For my Thinkpad 390X, 'crn-8241b-(sm)' is the model/unit number or whatever for the CDROM hardware. How much memory do you have? You can always try again, this time adding your swap partition from your hdd (assuming you made one already). If not formatted, then mkswap /dev/hdXX and then swapon -p 1 /dev/hdXX Just trying to be sure you aren't running out of memory or something. Justin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page Best Regards, Srinath Madhavan Free as in Freedom. May the source be with you! Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS install troubles...
No luck :( Can I post the output of dmesg here? --- Justin R. Knierim [EMAIL PROTECTED] wrote: Srinath M wrote: I think it might be what Andrew says or simply, my drive lens or some component is not cooperating. I checked the specs on the cdrom. For my Thinkpad 390X, 'crn-8241b-(sm)' is the model/unit number or whatever for the CDROM hardware. How much memory do you have? You can always try again, this time adding your swap partition from your hdd (assuming you made one already). If not formatted, then mkswap /dev/hdXX and then swapon -p 1 /dev/hdXX Just trying to be sure you aren't running out of memory or something. Justin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page Best Regards, Srinath Madhavan Free as in Freedom. May the source be with you! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS install troubles...
Srinath M wrote: No luck :( Can I post the output of dmesg here? :( Sure, or you can post as an attachment bzipped. Justin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: LFS install troubles...
Hi, I've attached the output from dmesg. Any pointers are welcome :) --- Justin R. Knierim [EMAIL PROTECTED] wrote: Srinath M wrote: No luck :( Can I post the output of dmesg here? :( Sure, or you can post as an attachment bzipped. Justin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page Best Regards, Srinath Madhavan Free as in Freedom. May the source be with you! __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com dmesg_output.tar.bz2 Description: 3913109590-dmesg_output.tar.bz2 -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page