On Tue, Apr 09, 2013 at 06:04:21PM -0500, Bruce Dubbs wrote: > 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 > > It sounds like you have the wrong driver. What is the output of lspci > on the host? What is the result of lsmod on the host? You might also > need some dependent drivers. > > -- Bruce > There was some discussion a year ago on lkml. http://www.gossamer-threads.com/lists/linux/kernel/1521980
Those guys were all using an initramfs, so their solution will be tangential to your problem. If I'm reading correctly then it seems that the broadcom module needs to be loaded (to get the phylib) before the tg3 module is loaded. Did you enable the broadcom module ? I'm guessing it is CONFIG_BROADCOM_PHY. If building them both as modules works, no problem. If not, I suppose you will need to put something into modprobe.d [ do we still use that ? ] or build them in to the kernel. ĸen -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page