v6.6 section 6.10, Re-adjusting the Toolchain

2010-03-16 Thread David Gay

Hello,

I am having a problem getting thru section 6.10, Re-Adjusting the Toolchain.  
The 3rd block of instructions seems to hang on the cc dummy.c... command.  I 
can ctrl-C, and it stops, but would like to know what may have caused it to not 
complete, or if it is ok to continue.


From the Book, the 3rd block of commands are:
--
echo 'main(){}' dummy.c
cc dummy.c -v -Wl,--verbose  dummy.log
readelf -l a.out | grep ': /lib'
--


Here is the dummy.log file created:
--
Reading specs from /tools/lib/gcc/i686-pc-linux-gnu/4.4.3/specs
cc: unrecognized option '-v'
cc: unrecognized option '-mtune=generic'
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.4.3/configure --prefix=/tools 
--with-local-prefix=/tools --enable-clocale=gnu --enable-shared 
--enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ 
--disable-libstdcxx-pch --disable-multilib --disable-bootstrap
Thread model: posix
gcc version 4.4.3 (GCC)
COLLECT_GCC_OPTIONS='-v' '-mtune=generic'
 /tools/libexec/gcc/i686-pc-linux-gnu/4.4.3/cc1
--

I don't know if it is useful, but also attached is a log of the output each of 
the prior commands in section 6.10.

Any help or direction to a solution would be appreciated.

Thank you.

David Gay

  
_
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_2
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: v6.6 section 6.10, Re-adjusting the Toolchain

2010-03-16 Thread stosss
 From the Book, the 3rd block of commands are:
 --
 echo 'main(){}' dummy.c
 cc dummy.c -v -Wl,--verbose  dummy.log
 readelf -l a.out | grep ': /lib'
 --

The only thing that I see that is different with your code and the
book's code is in the first line:

Yours
echo 'main(){}' dummy.c # no space '
Book's
echo 'main(){}'  dummy.c # space ' 
-- 
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 x86_64 problem in Chapter 6.9 Glibc-2.11.1

2010-03-16 Thread Simon Geard
On Mon, 2010-03-15 at 08:57 +0100, Szabolcs Gyalókay wrote:
 With glibc configparms does he mean this expression?:
 
 case `uname -m` in
   i?86) echo CFLAGS += -march=i486 -mtune=native -O3 -pipe  configparms ;;
 esac
 Because I'm not sure that this even works on x86_64. I don't have
 anything in configparms after this is executed.

You're right, it doesn't do anything on x86_64, but on x86 it writes
that line to the file. That's the point - it's something done
differently depending on whether you're running x86 or x86_64.

Simon.


signature.asc
Description: This is a digitally signed message part
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS-Book 6.3 Chap 5.7 Adjusting The Toolchain Error?

2010-03-16 Thread Simon Geard
On Mon, 2010-03-15 at 13:30 +0100, Franz L. Kuhlmann wrote:
 Trying to build LFS using the LiveCD.iso 
 within SUN VirtualBox under Windows XP by the book 
 
 echo $(gcc -print-libgcc-file-name) returns
 /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-/gnu/4.1.2
  how come  ???
 
 While I am starting from scratch again (assuming I missed a turn
 somewhere) :
 Is there anybody around to give me a hint on what the problem might
 be?

Why do you think there's a problem?

Simon.


signature.asc
Description: This is a digitally signed message part
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


RE: v6.6 section 6.10, Re-adjusting the Toolchain

2010-03-16 Thread David Gay


 Date: Tue, 16 Mar 2010 02:37:52 -0400
 Subject: Re: v6.6 section 6.10, Re-adjusting the Toolchain
 From: sto...@gmail.com
 To: lfs-support@linuxfromscratch.org

From the Book, the 3rd block of commands are:
 --
 echo 'main(){}' dummy.c
 cc dummy.c -v -Wl,--verbose  dummy.log
 readelf -l a.out | grep ': /lib'
 --

 The only thing that I see that is different with your code and the
 book's code is in the first line:

 Yours
 echo 'main(){}' dummy.c # no space '
 Book's
 echo 'main(){}' dummy.c # space '
 --

Thanks for the quick response.  However, I tried the above both with and 
without the space, and still get the same issue.  It's interesting that in my 
email the space is missing, as I simply did a copy  paste  directly from the 
book.

Looking at the dummy.log file, I wonder if the following line indicates that I 
mistyped/did  something in an earlier step:

cc: unrecognized option '-mtune=generic'

Any idea which step may have introduced this problem?

Thanks again for any help.

  
_
Hotmail is redefining busy with tools for the New Busy. Get more from your 
inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_2
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Unable to boot LFS... Help me

2010-03-16 Thread Aleksandar Kuktin
On Sat, 13 Mar 2010 14:02:41 +0530
Sathya Narayana.R sathyan...@gmail.com wrote:

 Hello,
 I finished my LFS 6.5 along with package user system. After
 completing the installation of grub and everything, i booted into the
 new system.
 
 It shows the following errors...
 
 
 /sysmount: only root can do that
 grep: /proc/mounts: No such file or directory
 
 Failure:
 Unable to create devices without a SysFS filesystem
 
 After you press enter, this system will be halted and powered off

Perhaps you can share some more information?

How about all of the boot messages up until that point.
The point for now is in answering the question of whether /sys gets
mounted or not. Also, where did you get that sysmount from?

How did you install the bootscripts? Are they from the
lfs-bootscripts-20090812 package?

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


Re: Unable to boot LFS... Help me

2010-03-16 Thread Chris Staub
On 03/13/2010 03:32 AM, Sathya Narayana.R wrote:

 Hello,
 I finished my LFS 6.5 along with package user system. After
 completing the installation of grub and everything, i booted into the
 new system.

 It shows the following errors...


 /sysmount: only root can do that
 grep: /proc/mounts: No such file or directory

 Failure:
 Unable to create devices without a SysFS filesystem

 After you press enter, this system will be halted and powered off


I would guess that /bin/mount is probably suid util-linux-ng, so its 
ownership would need to be changed to root.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: How to implement pkgtool in LFS and where to download it

2010-03-16 Thread guitarjerry

 

 I have used slackware for a few years now so I think I can help you.  pkgtool 
requires tar-1.13. all you need to do is install the executable so you will 
have /bin/tar-1.13 in addition to your regular tar.  tar-1.13 will only be used 
by pkgtool so make sure it is named tar-1.13(you may have to cp after configure 
and make from source instead of make install so you don't overwrite your normal 
tar).  Also pkgtool requires some utilities from chapter 6 to be installed so 
you wont be able to use it to install most of ch 6 at least until after which 
is installed.  However, you can make directories to keep the package files in 
and make packages for them later, which you can install over your present 
system so they will be in the database. just make sure the package directories 
match everything you do in the book to install them on the system. so you will 
probably have, for example a directory /packages/gzip-1.4 with a usr/ usr/bin 
usr/lib etc subdirectories. www.linuxpackages.net has a tutorial on the left 
column, Building packages and you may want to start there. you can get pkgtool 
from here: 


http://packages.slackverse.org/
(right now slackware's official package dbase is kinda fubar-ed)

 

-Original Message-
From: Sathya Narayana.R sathyan...@gmail.com
To: lfs-support@linuxfromscratch.org
Sent: Mon, Mar 15, 2010 2:33 am
Subject: How to implement pkgtool in LFS and where to download it


I want to follow pkgtool from the chapter 6 (LFS 6.5).. so some one tell me 
how, please waiting...,

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

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


Since we are talking USB

2010-03-16 Thread brown wrap
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 20
Memory at fea7f000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd

00:04.1 USB Controller: nVidia Corporation MCP73 [nForce 630i] USB 2.0 
Controller (EHCI) (rev a1) (prog-if 20 [EHCI])
Subsystem: Acer Incorporated [ALI] Device 0137
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
Memory at fea7ec00 (32-bit, non-prefetchable) [size=256]
Capabilities: [44] Debug port: BAR=1 offset=0098
Capabilities: [80] Power Management version 2
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd

The system boots up, seems to recognize the USB ports, but then gets errors in 
the sys.log:

http://pastebin.com/eKZ5GycV

Here is my current config file:

http://pastebin.com/03FY0zwc

And finally here is the entire output of lspci:

http://pastebin.com/GtT6iUqb

Anyone see anything?




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


Re: Since we are talking USB

2010-03-16 Thread Bruce Dubbs
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])
   Subsystem: Acer Incorporated [ALI] Device 0137
   Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
   Memory at fea7f000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [44] Power Management version 2
   Kernel driver in use: ohci_hcd
   Kernel modules: ohci-hcd
 
 00:04.1 USB Controller: nVidia Corporation MCP73 [nForce 630i] USB 2.0 
 Controller (EHCI) (rev a1) (prog-if 20 [EHCI])
   Subsystem: Acer Incorporated [ALI] Device 0137
   Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
   Memory at fea7ec00 (32-bit, non-prefetchable) [size=256]
   Capabilities: [44] Debug port: BAR=1 offset=0098
   Capabilities: [80] Power Management version 2
   Kernel driver in use: ehci_hcd
   Kernel modules: ehci-hcd
 
 The system boots up, seems to recognize the USB ports, but then gets errors 
 in the sys.log:
 
 http://pastebin.com/eKZ5GycV
 
 Here is my current config file:
 
 http://pastebin.com/03FY0zwc
 
 And finally here is the entire output of lspci:
 
 http://pastebin.com/GtT6iUqb
 
 Anyone see anything?

The first two submissions are incomplete.

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


Re: Since we are talking USB

2010-03-16 Thread brown wrap
Bruce, I am not sure what you mean about the first two entries being 
incomplete. I just included the portion of lspci that pertained to USB.



--- On Tue, 3/16/10, Bruce Dubbs bruce.du...@gmail.com wrote:

 From: Bruce Dubbs bruce.du...@gmail.com
 Subject: Re: Since we are talking USB
 To: LFS 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])
      Subsystem: Acer Incorporated [ALI]
 Device 0137
      Flags: bus master, 66MHz, fast
 devsel, latency 0, IRQ 20
      Memory at fea7f000 (32-bit,
 non-prefetchable) [size=4K]
      Capabilities: [44] Power Management
 version 2
      Kernel driver in use: ohci_hcd
      Kernel modules: ohci-hcd
  
  00:04.1 USB Controller: nVidia Corporation MCP73
 [nForce 630i] USB 2.0 Controller (EHCI) (rev a1) (prog-if 20
 [EHCI])
      Subsystem: Acer Incorporated [ALI]
 Device 0137
      Flags: bus master, 66MHz, fast
 devsel, latency 0, IRQ 23
      Memory at fea7ec00 (32-bit,
 non-prefetchable) [size=256]
      Capabilities: [44] Debug port:
 BAR=1 offset=0098
      Capabilities: [80] Power Management
 version 2
      Kernel driver in use: ehci_hcd
      Kernel modules: ehci-hcd
  
  The system boots up, seems to recognize the USB ports,
 but then gets errors in the sys.log:
  
  http://pastebin.com/eKZ5GycV
  
  Here is my current config file:
  
  http://pastebin.com/03FY0zwc
  
  And finally here is the entire output of lspci:
  
  http://pastebin.com/GtT6iUqb
  
  Anyone see anything?
 
 The first two submissions are incomplete.
 
    -- Bruce
 -- 
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page
 


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


Re: Since we are talking USB

2010-03-16 Thread Chris Staub
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/eKZ5GycV

 From sys.log...

#
Inspecting /boot/System.map-2.6.32.7
#
Mar 16 20:29:51 guajome-dome kernel: Cannot find map file.


The obvious question would be - is this what he .map file is actually 
named? What's the output of ls /boot?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: Since we are talking USB

2010-03-16 Thread Bruce Dubbs
Chris Staub wrote:
 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/eKZ5GycV

  From sys.log...
 
 #
 Inspecting /boot/System.map-2.6.32.7
 #
 Mar 16 20:29:51 guajome-dome kernel: Cannot find map file.
 
 
 The obvious question would be - is this what he .map file is actually 
 named? What's the output of ls /boot?

Chris,
   I think we've gone through that before.  It is a message from klogd 
and is irrelevant here.

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


Re: Since we are talking USB

2010-03-16 Thread Bruce Dubbs
brown wrap wrote:
 Bruce, I am not sure what you mean about the first two entries being
 incomplete. I just included the portion of lspci that pertained to
 USB.

The first link has 24 lines from the start of dmesg.  None refer to USB.

The second link has 24 lines from the config file.  None refer to USB.

I did some googling and there seem to be lots of reports of problems 
with Acer USB ports.

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


Re: Since we are talking USB

2010-03-16 Thread brown wrap
Yes, I didn't see that that, but that's the name:

-rw-r--r-- 1 root root 2137391 Mar 16 16:12 System.map-2.6.32.7

--- On Tue, 3/16/10, Chris Staub ch...@beaker67.com wrote:

 From: Chris Staub ch...@beaker67.com
 Subject: Re: Since we are talking USB
 To: LFS Support List lfs-support@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/eKZ5GycV
 
  From sys.log...
 
 #
 Inspecting /boot/System.map-2.6.32.7
 #
 Mar 16 20:29:51 guajome-dome kernel: Cannot find map file.
 
 
 The obvious question would be - is this what he .map file
 is actually 
 named? What's the output of ls /boot?
 -- 
 http://linuxfromscratch.org/mailman/listinfo/lfs-support
 FAQ: http://www.linuxfromscratch.org/lfs/faq.html
 Unsubscribe: See the above information page
 


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


Reposted my config

2010-03-16 Thread brown wrap


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