I am trying to follow the 6.5 instructions, but running iinto problems. First
in trying to build gmp and mpfr, there are instructions to untar their files
and move their directories to new names. Tha's it, no further instructions that
I see. BTW, I am using the online instructions:
.
--- On Mon, 2/1/10, Andrew Benton b3n...@gmail.com wrote:
From: Andrew Benton b3n...@gmail.com
Subject: Re: Trying to follow 6.5 instructions, but
To: lfs-support@linuxfromscratch.org
Date: Monday, February 1, 2010, 4:05 AM
On 01/02/10 06:16, Bruce Dubbs wrote:
brown wrap wrote:
I am trying to follow
When I run configure it says critical programs are too old or missing. I am
logged into that window as user lfs. I looked at the environament and compared
it to root's env and the paths looks the same. But if I run configure as root,
I get no complaints. Here is the error, it looks to me likes
I am in Chapter 5, the first pass.
--- On Mon, 2/1/10, stosss sto...@gmail.com wrote:
From: stosss sto...@gmail.com
Subject: Re: OK, I stumbled again on glibc
To: LFS Support List lfs-support@linuxfromscratch.org
Date: Monday, February 1, 2010, 10:52 AM
When I run configure it says critical
I think I followed the setup steps. Here is my lfs environment:
lfs:/mnt/lfs/sources/6.4/glibc-build$ env
LDFLAGS=-L/usr/local/lib
TERM=xterm
OLDPWD=/mnt/lfs/sources/6.4/glibc-2.10.1
LC_ALL=POSIX
LD_LIBRARY_PATH=/usr/local/lib
LFS=/mnt/lfs
PATH=/tools/bin:/bin:/usr/bin
That is the environment for the lfs user. I think I set it up correctly, but I
am going through it again.
--- On Mon, 2/1/10, stosss sto...@gmail.com wrote:
From: stosss sto...@gmail.com
Subject: Re: OK, I stumbled again on glibc
To: LFS Support List lfs-support@linuxfromscratch.org
Date:
stumbled again on glibc
To: LFS Support List lfs-support@linuxfromscratch.org
Date: Monday, February 1, 2010, 12:32 PM
brown wrap wrote:
When I run configure it says critical programs are too old or missing.
What are the results of the script in Section vii. Host System Requirements?
-- Bruce
I figured I'd change the subject line. Here is the output of version check:
lfs:~$ ./version-check
bash, version 3.2.25(1)-release
/bin/sh - /bin/bash
Binutils: (GNU Binutils) 2.20
bison (GNU Bison) 2.3
/usr/bin/yacc - /usr/bin/yacc
bzip2, Version 1.0.3, 15-Feb-2005.
Coreutils: 5.97
diff
I looked around and found others who had ran into the same problem. I went and
downloaded the latest version of glibc 2.11.1 and that compiled and installed.
rm -f /mnt/lfs/sources/6.4/glibc-build/stubs.h
make[1]: Leaving directory `/mnt/lfs/sources/6.4/glibc-2.11.1'
--
I guess its still not quite clear to me why we take two passes on various
pieces of software to complete the install. Another question I have, i thought
I read somewhere that 7.0 is meant for 64 bit release. I'm installing on a 64
bit machine and things seem to be going, though I have ran into
PM
brown wrap wrote:
I guess its still not quite clear to me why we take two passes on
various pieces of software to complete the install. Another question
I have, i thought I read somewhere that 7.0 is meant for 64 bit
release. I'm installing on a 64 bit machine and things seem to be
going
Yesterday I thought I had made it through pass one. That was probably because
any of the compiles I made didn't require the tests being run. So today I
started off with pass 2, and the I think it was glibc failed right off the bat.
So when I saw the new release of 6.6, I thought I'd start all
make[1]: Target `check' not remade because of errors.
make[1]: Leaving directory `/sources/lfs-6.6/glibc-2.11.1'
make: *** [check] Error 2
I finally finshed the build of the first pass and now started the 2nd. the make
of glibc fails, but it really doesn't supply a whole lot of information. I am
Please follow the *final* instruction in
| cp -v ../glibc-2.11.1/iconvdata/gconv-modules iconvdata
| make -k check 21 | tee glibc-check-log
| grep Error glibc-check-log
At this point, nobody knows if there was 1 error
(probably
not a big deal), or 1500 (definitely bad).
Also,
My last email was regarding the test results of GCC. From my first run of the
test I thought the output had indicated the gcc had failed. I was told to
proceed, which I did. Then I started the make -k check and it took so long I
thought my machine was hung and its a quad core with 3 gigs of
--- On Sat, 2/6/10, Bruce Dubbs bruce.du...@gmail.com wrote:
From: Bruce Dubbs bruce.du...@gmail.com
Subject: Re: How do you interpet gcc test results?
To: LFS Support List lfs-support@linuxfromscratch.org
Date: Saturday, February 6, 2010, 9:49 AM
brown wrap wrote:
My last email
../docs/grub.texi:89: Menu reference to nonexistent node `Invoking the grub
shell' (perhaps incorrect sectioning?).
../docs/grub.texi:88: Menu reference to nonexistent node `Troubleshooting'
(perhaps incorrect sectioning?).
../docs/grub.texi:84: Menu reference to nonexistent node `Images'
Yes, I'm working with the grub project to update the
documentation. In
the meantime, ignore the grub.texi errors. Most of
the documentation
that is in there is obsolete anyway.
-- Bruce
OK, thank you. I hadn't hit 'install' yet. Now I will proceed. Thanks again.
greg
Ok, I built my system on an external drive. It has two partitions, busically I
split a 1.5 TB right down the middle. I used the 2nd partition for the build. I
have not reached the grub section yet. What my intention was to modify my
existing grub to point to the partition with LFS on it and
In 8.4.1 there is a procedure to build a rescue floppy. The procedure uses
grub-mkrescue which would support a cdrom if genisoimage. Has anyone figured
out a way to make a rescue cdrom?
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ:
Did you follow the instructions and boot GRUB2 from GRUB
Legacy to test
it out before updating the MBR?
-- Bruce
I must have missed them. I will go back and look.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Because the syntax is wrong. See the example in the
book.
Also, the kernel line is probably wrong if you didn't set
up a separate
/boot partition.
It's really hard maintain patience when users ask questions
without
trying to do some research, like reading the book, on their
own.
Did you read this in the book:
GRUB uses its own naming structure for drives and
partitions in the
form of (hdn,m), where n is the hard drive number and m is
the
partition number, both starting from zero. For example,
partition hda1
is (hd0,0) to GRUB and hdb3 is (hd1,2). In contrast
A little more. I didn't list the size of the disks because I didn't think it
was important, but since the legacy GRUB may not be able to handle them:
sda is small, I am not at the machine until Sunday or Monday.
sdb is one TB that I just store stuff on.
sdc is the disk with LFS on it. It is
I wanted to install LFS on a fresh partition and this was the only unused SATA
drive I had. I had small IDE drives, but this computer doesn't have an IDE
interface.
And when it comes to cost now $40 gets you double this size. I could
repartition the drive, but I am trying to avoid it. I
I received an error when it got up to starting the network. The error said to
report it to lfs-dev, which I will.
I finally gave up on trying to setup the external drive, which had LFS on the
2nd partition. I bought a small SATA drive, tarred things up and moved it over
to the new drive. I
I finally got the system to boot, but couldn't do anything with it. I thought
the system was locked up, but I now believe it was just the keyboard was being
recognized. I then went back and booted from the LiveLFS cd. I was able to
mount the system I built and look at the sys.log file. I
--- On Tue, 2/16/10, stosss sto...@gmail.com wrote:
Did you build USB support into your kernel?
I thought I had built usb support. I find modules in the /boot/grub directory:
[r...@localhost modprobe.d]# ls -l /mnt/lfs/boot/grub/|grep usb
-rw-r--r-- 1 root root 3232 Feb 15 05:57
It looks to me like you might not have everything you need
supported
in your kernel. You might want to configure and install the
kernel
again. Checking the config a lot closer this time.
I found this line in the .config file:
CONFIG_USB_SUPPORT=y
I don't have any problem in recompiling
I double checked and the usb stull was selected, and not as a module either. It
was selected to be built in.
What is operating at the time of the grub menu? I can select between the two
entries, the default and the rescue, but neither works. What is running at that
point? The keyboard works
CONFIG_USB_HID=y
Is the important option for USB input devices
Andy
--
Just checked, its there:
root:/# cd /boot
root:/boot# grep CONFIG_USB_HID *
config-2.6.32.7:CONFIG_USB_HID=y
config-2.6.32.7:CONFIG_USB_HIDDEV=y
--
I tried to post a reply and it was rejected. Of the setting that were listed,
there was only one that was different:
config-2.6.32.7:CONFIG_INPUT_FF_MEMLESS=y
The kernel that work in my Centos environment came prebuilt. Someone posted a
site where one could post their large files, don't
I have never used pastebin.com, but just tried it to. I didn't get any sort of
reference number, but didn't get any sort of reference number. So the post just
says 'Greg'.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
I have still not managed to log into my new LFS system. I believe the system is
up, it gets all the way to the login prompt. I can see in sys.log that the root
filesystem gets mounted and I created a swap partition that gets added. So I am
still stuck with the USB not working. My question is,
dhcp is not a part of LFS. There is no reason you
can't use a static IP
instead. However, you can build dhcp from
BLFS if you want.
You will need ot build openssl and openssh and start sshd
from a boot
script to log in remotely.
Are you by any chance building this in a VM? If
I posted my config file yesterday, but didn't know how to get the reference #.
Here it is:
pastebin.com/m4994360d
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
Nothing jumps out as missing, but can you give us the
results of
lspci | grep USB
That may give us a clue.
-- Bruce
Here you go:
[r...@localhost boot]# /sbin/lspci |grep USB
00:04.0 USB Controller: nVidia Corporation GeForce 7100/nForce 630i USB (rev a1)
00:04.1 USB
lspci | grep USB
That may give us a clue.
-- Bruce
Here you go:
I seem to recall a bunch of trial and error to get my first
kernel built.
--
Regards,
Trent.
That lspci output is from a working system.
--
17 February 2010
20:11:54 brown wrap wrote:
I posted the last boot. I see a warning regarding the
order of loading
modules, but its the errors at the end that is
worrisome.
Have you tried as Andrew suggested?
From the descriptions while configuring the kernel it
sounds like UHCI
Did you compare the CentOS dmesg with the one from LFS?
-- Bruce
Well, dmesg from CentOS doesn't have any errors or warnings.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information
I grepped USB from the dmesg file.
http://pastebin.com/d7fba
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
OK, I took the suggestion of make both
[r...@localhost boot]# grep CONFIG_USB_OHCI_HCD config-2.6.32.7
CONFIG_USB_OHCI_HCD=m
[r...@localhost boot]# grep CONFIG_USB_UHCI_HCD config-2.6.32.7
CONFIG_USB_UHCI_HCD=m
[r...@localhost boot]#
http://pastebin.com/d2117ee27
I am still getting this
The dmesg you posted earlier from Centos shows that your
system uses OHCI.
just build with
CONFIG_USB_OHCI_HCD=y
# CONFIG_USB_UHCI_HCD is not set
Andy
I tried this and it locked up even earlier. There is a config file in the boot
directory of Centos and it has both set as modules.
I have been away from LFS for a few days, but now back to it. I did confirm the
system is up by by installing SSH and DHCP. I can bring up the system, which
has no keyboard access, but log into from another machine. Below is the latest
output of sys.log. Does anyone know what the error means? I
No, this isn't a laptop, it is an Acer Aspire M5641 with nVidia.
The earlier reply mentioned it found a mouse, I have no mouse attached. I
thought about removing everything and booting. I'll try that next. I compile
new kernels with the drive in an external enclosure. I can't boot with the
I disconnected the keyboard and mouse and rebooted. I am not sure where to
remove selinux, but I haven't recompiled the kernel yet.
http://pastebin.com/d18dd5d87
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
-bash-4.1# mount
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=4,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
-bash-4.1# mount /dev/sda3 /home
mount: unknown filesystem type 'ext2'
-bash-4.1#
I have a filesystem
Is it possible to enable ext3 support without ext2?
Did you create the ext2 partition under Centos? Does it
have some sort of extended
attributes/selinux type modifications? I've had a similar
problem in the past with
a reiserfs partition that I created under Ubunut that I
couldn't mount
Is your keyboard direct connect, or through a hub?
The latter has
also been known to cause problems with several
versions of the kernel,
so I strongly suggest you not to use a hub with a
keyboard or mouse.
Mike
When you say hub, do you mean an external hub? No, I don't have an
I did download the Fedora patches and patched net-tools and was able to compile
it on Fedora-12:
g...@localhost ~]$ uname -ra
Linux localhost.localdomain 2.6.31.12-174.2.22.fc12.i686.PAE #1 SMP Fri Feb 19
19:10:04 UTC 2010 i686 athlon i386 GNU/Linux
[...@localhost ~]$
But I took that same
Everything you needed is discussed in this thread. Simply
use the CVS
version on the Berlios server. No patches needed. Works
great.
--
Randy
I downloaded Net-Tools from Berlios and it failed to compile as well. I ended
up building BIN with net-tools.
--
I have trouble compiling once I got into BLFS. I think I clobbered something
during an install. Anything that tries to include:
/usr/include/string.h won't compile. I figured out that file get installed from
glibc, but gcc won't compile it. So I need to backup to a point in LFS where I
can
Incidentally, this points up the need for doing backups,
even on
an incompletely built system.
Mike
I remembered I moved all of the compiled programs to a separate directory. I
was able to go back and do another make install on glibc and then gcc. I was
then able to make net-tools,
The safe answer is everything. More likely is nothing,
so
long as you are rebuilding identically the same version of
gcc.
More realistically, I'd try looking at string.h and find
out
what happened to it. Without forensic information, it's
difficult
to say how to proceed. What is the
Then either you must still have another, older xproto
version somewhere,
or you - more likely - are reusing the same source
directories. Make
sure you've removed all source directories for the X
packages.
I don't know where the compile script is getting its info from. I went through
I'm a bit confused. I'm trying to install Firefox and it talks about
dowbloading Xulrunner, yet the download point to the same location as the
Firefox download.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
I could never figure out how to get my USB ports to work. I tried numerous
kernel configurations and none of them would fly. I just moved on to other
things so I could proceed with LFS. Now I'm in BLFS and it would be nice to log
in directly from the console, instead of ssh'ing in.
Has anyone
I was never able to resolve my USB problem. Here is the output of lspci -v:
00:04.0 USB Controller: nVidia Corporation GeForce 7100/nForce 630i USB (rev
a1) (prog-if 10 [OHCI])
Subsystem: Acer Incorporated [ALI] Device 0137
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ
Support List lfs-support@linuxfromscratch.org
Date: Tuesday, March 16, 2010, 9:15 PM
brown wrap wrote:
I was never able to resolve my USB problem. Here is
the output of lspci -v:
00:04.0 USB Controller: nVidia Corporation GeForce
7100/nForce 630i USB (rev a1) (prog-if 10 [OHCI
@linuxfromscratch.org
Date: Tuesday, March 16, 2010, 9:35 PM
On 03/16/2010 11:56 PM, brown wrap
wrote:
I was never able to resolve my USB problem. Here is
the output of lspci -v:
The system boots up, seems to recognize the USB ports,
but then gets errors in the sys.log:
http://pastebin.com
config file:
http://pastebin.com/TVa6pvbx
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
http://pastebin.com/EGZYEdMe
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
I did some googling and there seem to be lots of reports of
problems
with Acer USB ports.
-- Bruce
I reposted the two files, but to revisit things, my USB ports work fine under
Centos on the same machine, so I think its a matter of configuration.
--
Get a copy of the kernel that Centos uses and rebuild that
with the
Centos configuration.
Alternatively, copy the Centos kernel to your LFS
system. You'll also
need to copy the entire /lib/modules/kernel-version
tree.
-- Bruce
What I did was get a copy of the CentOS config
I have given up on the NVidia chipset and trying to get a kernel built that
supports USB. I am now going to buy a PCI board, but don't want to go through
this hassel again. I notice NEC and VIA chipsets on PCI boards. Which is more
widelt supported? Thank you.
--
.
--- On Sun, 3/21/10, Andrew Benton b3n...@gmail.com wrote:
From: Andrew Benton b3n...@gmail.com
Subject: Re: Which chipset for USB?
To: lfs-support@linuxfromscratch.org
Date: Sunday, March 21, 2010, 9:49 AM
On 21/03/10 15:14, brown wrap wrote:
I have given up on the NVidia chipset
From: Gastón Cadenasso g_cadena...@hotmail.com
Subject: RE: Which chipset for USB?
To: lfs-support@linuxfromscratch.org
Date: Sunday, March 21, 2010, 10:02 AM
Sorry about my english!
I have tested a lot of VIA chipsets on PCI Boards and always works fine, but i
don't know about NEC
Well, I
Your best bet, I think, is to use lsmod with CentOS
running, and see
what's loaded, and configure appropriately.
I used lsmod on the running CentOS and it must have had nearly 100 modules.
Anyway, you might try replacing the USB mouse with a
regular one,
either PS/2 or serial port,
my kernel loads two modules:
ohci_hcd 19241 0
ehci_hcd 30605 0
lsmod of LFS 6.3:
Module Size Used by
usbhid 32704 0
ext3 118664 2
jbd69360 1 ext3
psmouse46620 0
pcspkr
You are leaving out many necessary things. I'm no kernel
expert,
but how can you hope to boot without any disc drivers or
file
systems present?
I think your problem goes much deeper than just a mouse not
working.
I'm surprised you aren't panicking with root file system
not found.
For example, I have no idea what
ohci1394 is.
Firewire. If you don't know that you need it, you
probably don't.
OK, thanks.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information
Someone said boot parameter irqpoll is the key.
http://ubuntuforums.org/showthread.php?t=81153highlight=noapic+usb
OK ! That fixed the old keyboard. I can now at least log in from that. The USB
ports don't work still, but at least I can now log into the console. Thank you.
since I don't
Great! Good work!
Mike
Many thanks to LinuxFan, he is the one who discovered the fix.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page
I built HAL, and during the compile received some errors that appeared to be
related to the building of the documentation, so I didn't worry about it. I
installed it, along with the startup script and thought things were ok. Now I
find its not running. The only way to start it is to specify
Well, I have an Acer M5641. Fedora wouldn't boot, but CentOS would. LFS DVD
worked as well. Solaris didn't see the disks either. At one point I even tried
a different SATA controller. I can't really off any help, but I've had many
similar problems. Although like I said, LFS dvd worked.
I am just starting the build of 7.0. The last time I posted was back in version
6.5. Anyway, I have a question about the patching of gcc. The directions in the
book showing patching 4.6.1. The patch now is 4.6.2. I tried to apply the
patch, substituting the new patch and was prompted, as to
From: Bruce Dubbs bruce.du...@gmail.com
To: brown wrap gra...@yahoo.com; LFS Support List
lfs-support@linuxfromscratch.org
Sent: Monday, November 7, 2011 8:41 PM
Subject: Re: Just starting 7.0
brown wrap wrote:
I am just starting the build of 7.0
You need to learn to read English. gcc-4.6.2-startfiles_fix-1.patch is
^
never mentioned in LFS7. It says to use
http://www.linuxfromscratch.org/patches/lfs/7.0/gcc-4.6.1-startfiles_fix-1.patch
I am using LFS 7.0. I have completed everything just trying to boot the system.
When I do boot,it panics and I get:
Cannot open root device sda1 or unknown=block(2,0)
...
hda1
hda2
hda3
hda4
My grub.cfg looks just like the one in the book. On the same machine, I booted
into Fedora, which was
Maybe it's called sdb1 or hda1 or perhaps you compiled your kernel with
modules?
I considered hba1, but never changed it since when I boot into Fedora, I always
mounted it as /dev/sda1. Anyway that got me beyond that panic, but now its
complaining about fs ext3. At this point should my fstab
Actually, I answered my own question, I changed fstab to hda and that allowed
it to boot. I don't quite understand it, since I thought hda was for scsi and
this is an ols laptop which uses IDE.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ:
...@beaker67.com
To: brown wrap gra...@yahoo.com; BLFS Support List
blfs-supp...@linuxfromscratch.org
Sent: Tuesday, November 6, 2012 8:26 AM
Subject: Re: [blfs-support] In which package is xorg macros?
On 11/06/2012 10:15 AM, brown wrap wrote:
I finished LFS in December of last year
I used the LFS instructions to build gcc 4.8.2 on a project outside of LFS.
The only language I removed on the config line was the 'go' language. But it
did not build a gcc. Here is what was built:
-rwxr-xr-x 2 root sfcb 2.1M Feb 21 14:20 x86_64-unknown-linux-gnu-gfortran
-rwxr-xr-x 2 root
83 matches
Mail list logo