From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RFS4M-0000Gr-V7 for garchives@archives.gentoo.org; Sun, 16 Oct 2011 14:52:07 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5998521C070; Sun, 16 Oct 2011 14:51:57 +0000 (UTC) Received: from mail-gy0-f181.google.com (mail-gy0-f181.google.com [209.85.160.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 894EB21C01F for ; Sun, 16 Oct 2011 14:51:03 +0000 (UTC) Received: by gye5 with SMTP id 5so3112867gye.40 for ; Sun, 16 Oct 2011 07:51:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=sZVlULRm6+E+RhYFP3fKx5itbw2LhGJzVisasSGXKbM=; b=EtoDLHY6g3rAFGSJ9EjDxR8iWYOV/Vg0TY5loHWr+wy5UIQA/IC19YoF7hCoXZZzQm f9He8itJKDKY1hRN2G1C+L1Ll6U2vZaPT0yC04jW01Ev/Is55qYAq3AX0PF6G6tkvI5S 3MakGR7Lct8yRMnUluvgjwCS+S8T1zgeJ3Ij0= Received: by 10.150.213.19 with SMTP id l19mr15277214ybg.34.1318776663037; Sun, 16 Oct 2011 07:51:03 -0700 (PDT) Received: from [192.168.2.11] (bas1-hamilton02-1279489609.dsl.bell.ca. [76.67.118.73]) by mx.google.com with ESMTPS id 18sm28109443any.21.2011.10.16.07.51.01 (version=SSLv3 cipher=OTHER); Sun, 16 Oct 2011 07:51:01 -0700 (PDT) Message-ID: <4E9AEFC3.9020308@gmail.com> Date: Sun, 16 Oct 2011 10:52:51 -0400 From: CJoeB User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110602 Lightning/1.0b2 Thunderbird/3.1.10 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Another Install Issue References: <4E9A119D.1000501@gmail.com> <201110161143.51308.michaelkintzios@gmail.com> In-Reply-To: <201110161143.51308.michaelkintzios@gmail.com> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 98edf6190bf07918f479141b29fe161c On 10/16/11 06:43, Mick wrote: > On Sunday 16 Oct 2011 00:05:01 CJoeB wrote: >> Hi everyone, >> >> >> However, now I have a networking issue. >> >> In past, when I booted to the install CD and my ethernet connection was >> not active, I typed net-setup eth0 and was able to set it up. This >> time, when I booted to the install CD and typed net-setup eth0, the >> network card was not recognized. > This means that your kernel is not configured with the corresponding modules > for your network card, or that there is some other configuration problem with > e.g. firmware loading (if such a thing is necessary for your card). I use genkernel. Granted, rather than just running genkernel all, I run genkernel --menuconfig all because I remove stuff that I know I won't need. However, in the network section, everything related to broadcom and tg3 is built as a module. I even tried building tg3 directly into the kernel and it didn't help. I had to do the 'modprobe -r broadcom' and 'modprobe -r tg3' and then, 'modprobe broadcom' and 'modprobe tg3' prior to running net-setup even when booted to the install CD. >> I googled and found a post where >> someone said that they had to 'modprobe -r broadcom' and 'modprobe -r >> tg3' and then 'modprobe broadcom' and 'modprobe tg3' and then, run >> net-setup. I did this and then ifconfig returned my eth0 connection. >> >> Of course, later you have to do the cp -L /etc/resolv.conf >> /mnt/gentoo/etc/ .... which I did and dhcpcd has been added to my >> default runlevel. >> >> However, when I boot, eth0 does not start. > What does dmesg show? On line states: tg3 0000:03:00.0: Problem fetching invariants of chip, aborting > > > What does cat /var/log/syslog | grep -i tg3 show Don't have a syslog file .... however, 'cat /var/log/rc.log | grep -i tg3' shows: *Loading modul tg3 ... The line is repeated a total of 7 times. >> I can start it manually by >> doing 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe >> broadcom' and 'modprobe tg3' > So the question is why when you remove and install the module manually your > NIC driver loads, but at boot time it does not ... > Good question and I have no idea! :-) >> However, I would like to have my network started automatically. >> >> I do have config_eth0="dhcp" in my /etc/conf.d/net file > Please show: > > grep ^[^#] /etc/conf.d/net Prior to loading: config_eth0="dhcp" Note, that this is the format listed in the Handbook. Previously, in the Handbook, the format was config_eth0=( "dhcp" ). I've tried it both ways > ifconfig and ifconfig -a (before and after you modprobe the driver) Before loading: ifconfig just lists: lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:11 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:198 (198.0 B) TX bytes:198 (198.0 B) ifconfig -a lists: lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:18 errors:0 dropped:0 overruns:0 frame:0 TX packets:18 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:324 (324.0 B) TX bytes:324 (324.0 B) After doing ''modprobe -r broadcom' and 'modprobe -r tg3' and then, 'modprobe broadcom' and 'modprobe tg3' ifconfig lists: eth0 Link encap:Ethernet HWaddr 78:2b:cb:ad:9e:47 inet addr:192.168.2.15 Bcast:192:168.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1727 errors:0 dropped:0 overruns:0 frame:0 TX packets:908 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1826702 (1.7 MiB) TX bytes:67525 (65.9 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:46 errors:0 dropped:0 overruns:0 frame:0 TX packets:46 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:828 (828.0 B) TX bytes:828 (828.0 B) ifconfig -a lists eth0 Link encap:Ethernet HWaddr 78:2b:cb:ad:9e:47 inet addr:192.168.2.15 Bcast:192:168.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2024 errors:0 dropped:0 overruns:0 frame:0 TX packets:958 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1846649 (1.7 MiB) TX bytes:70725 (69.0 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:50 errors:0 dropped:0 overruns:0 frame:0 TX packets:50 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1062 (1.0 KiB) TX bytes:1062 (1.0 KiB) > It may also help to know what is your card (lshw and lspci -v). Okay, I had to install pciutils before I could get the output so, obviously, this was done after the drivers loaded. lspci -v shows: 03:00.0 Ethernet controller: Broadcom Corporation Netlink BCM57788 Gigabit Ethernet PCIe (rev 01) Subsystem: Dell Device 04aa Flags: bus master, fast devsel, latency 0, IRQ 47 Memory at fe500000 (64-bit, non-prefetchable) [size=64K] Capabilities: [48] Power Management version 3 Capabilities: [60] Vendor Specific Information: Len=6c Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [cc] Express Endpoint, MSI 00 Capabilities: [100] Advanced Error Reporting Capabilities: [13c] Virtual Channel Capabilities: [160] Device Serial Number 78-2b-cb-ff-fe-ad-9e-47 Capabilities: [16c] Power Budgeting Kernel driver in use: tg3 Kernel modules: tg3 I couldn't do lshw because I had to install it and there was an error during the build. Something about a "gui" and I don't have x installed yet. HTH Colleen -- Registered Linux User #411143 with the Linux Counter, http://counter.li.org