On Tue, 2013-04-09 at 18:18 -0430, Gabriel Formica wrote: > Hello, I just booted up into my linux from scratch. It seems to be ok, > but I'm having some troubles with the network interface. > When my linux from scratch begins, it shows: > > > Bringing up the eth0 interface > Adding IPv4 address --------(the ip) to the eth0 interface.... cannot > find device "eth0" > ******* > *******face eth0 doesn't exist > > > I followed the 7.3 version of the linux from scratch's book. > I loaded the module "tg3" (this is the module of my ethenet card) as a > module (not as a biltuin-in) when compiling the kernel. > Udev is loading the kernel automatically > > > My linux from scratch system is x86_64 > My host system is debian x86_64 > > > > > When using the dmesg | grep "tg3" I get > tg3.c:v3.128 > libphy: tg3 mdio bus: probed > tg3 0000:02:00.0 no phy devices > tg3 0000:02:00.0: problem fetching invariants of chip, aborintg > > > Thanks in advance for your help! > >
I don't know if this will help or not, but when I built 7.3 using Fedora 18 as a host, cat /etc/udev/rules.d/70-persistent-net.rules did not show my Ethernet device, though it did show wlan0 I configured /etc/sysconfig/ifconfig.eth0 anyway - though I told it not to come at boot, I've not attached it to a network yet. I got same message as you did. Inside the fresh LFS 7.3 - I rebuild LFS 7.3 again. In the LFS built by LFS - 70-persistent-net.rules now showed the Ethernet device, but it called it emo1 and not eth0 So I set up the device calling it emo1 instead of eth0 and while I still have not made an Ethernet connection, booting the LFS built inside LFS does not give me any errors. Anyway, my suggestion is to modify /etc/sysconfig/ifconfig.eth0 change IFACE=eth0 to IFACE=emo1 and rename the file to /etc/sysconfig/ifconfig.emo1 Interestingly, Fedora 18 calls the device em1 So it may be a 3.8.x kernel thing changing the device name that the LFS book didn't reflect. But I haven't made a connection yet so I really don't know. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page