[lfs-support] 64 bit host machine build question

2014-03-21 Thread Jonathan Arnold
I'm doing the 5.7 glibc-2.19 step and everything seems to be going
along swimmingly. But the test program mentioned in the Caution isn't
exactly what is desired:

lfs:/mnt/lfs/sources/glibc-build$ echo 'main(){}'  dummy.c
lfs:/mnt/lfs/sources/glibc-build$ $LFS_TGT-gcc dummy.c
lfs:/mnt/lfs/sources/glibc-build$ readelf -l a.out | grep ': /tools'
  [Requesting program interpreter: /tools/lib64/ld-linux-x86-64.so.2] 

While the Caution says to expect the /tools/lib64 part, it doesn't say
anything about the '-x86-64' I have appended to the name. Is this going
to be okay or is something amiss here?

-- 
Jonathan ArnoldWebstream: http://hieronymus.soup.io

If you want to go fast, go alone. If you want to go far, you
need a team ~ John Wooden

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


Re: [lfs-support] 64 bit host machine build question

2014-03-21 Thread Ken Moffat
On Thu, Mar 20, 2014 at 09:15:35PM -0400, Jonathan Arnold wrote:
 I'm doing the 5.7 glibc-2.19 step and everything seems to be going
 along swimmingly. But the test program mentioned in the Caution isn't
 exactly what is desired:
 
 lfs:/mnt/lfs/sources/glibc-build$ echo 'main(){}'  dummy.c
 lfs:/mnt/lfs/sources/glibc-build$ $LFS_TGT-gcc dummy.c
 lfs:/mnt/lfs/sources/glibc-build$ readelf -l a.out | grep ': /tools'
   [Requesting program interpreter: /tools/lib64/ld-linux-x86-64.so.2] 
 
 While the Caution says to expect the /tools/lib64 part, it doesn't say
 anything about the '-x86-64' I have appended to the name. Is this going
 to be okay or is something amiss here?
 

 Your result looks fine.  When you get to section 6.10 you will see
that we add the phrase allowing for platform-specific differences in
dynamic linker name.  If you look at your host system, the linker
will be ld-linux-x86-64.so for 64-bit x86_64.

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


[lfs-support] What are the SERVICES of ifconfig.eth0 but ip4-static for ppp?

2014-03-21 Thread Golam Md. Shibly
cd /etc/sysconfig/
cat  ifconfig.eth0  EOF ONBOOT=yes
IFACE=eth0
#SERVICE=ipv4-static
#IP=192.168.1.1
#GATEWAY=192.168.1.2
#PREFIX=24
#BROADCAST=192.168.1.255 EOF
What are the SERVICES of ifconfig.eth0 but ip4-static for ppp?

I tried:

SERVICE=ipv4-dynamicSERVICE=ipv4-dhcpSERVICE=dhcpSERVICE=dynamic

Got error with these options.


Thanks

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


Re: [lfs-support] What are the SERVICES of ifconfig.eth0 but ip4-static for ppp?

2014-03-21 Thread Bruce Dubbs
Golam Md. Shibly wrote:
 cd /etc/sysconfig/
 cat  ifconfig.eth0  EOF ONBOOT=yes
 IFACE=eth0
 #SERVICE=ipv4-static
 #IP=192.168.1.1
 #GATEWAY=192.168.1.2
 #PREFIX=24
 #BROADCAST=192.168.1.255 EOF
 What are the SERVICES of ifconfig.eth0 but ip4-static for ppp?

 I tried:

 SERVICE=ipv4-dynamic SERVICE=ipv4-dhcp SERVICE=dhcp SERVICE=dynamic

 Got error with these options.

Sorry.  We don't have support for ppp.  That's pretty rare for us.  I 
don't recall seeing a request for that in the last 10 years.  I notice 
that there is a howto, but it hasn't been updated since the year 2000.

http://www.tldp.org/HOWTO/PPP-HOWTO/index.html

What does your host do?

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


[lfs-support] lsmod return nothing

2014-03-21 Thread 包乾
hi all!
Its been alot of effort and I finally got my LFS 7.4 successfully boot on
my thinkpad X40.

The first problem I encountered was that during the boot process it
displayed face eth0 doesn't exist. Well its a typical error msg with
driver problem.
So I went back to host system, figured out which kernel module my NIC use(
I found it was e1000.ko, a intel NIC driver).
Then I go back into LFS, re-configure and re-make the kernel, re-install
all thing include modules.
And weird thing happened. I tried to modprobe e1000, it return nothing,
just like successfully loaded. But when I double-check lsmod, there is
actually NOTHING there-no module was loaded. I wonder if I screwed sth. up
during the build process or there is other problem...

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