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 1RFZK7-0000z7-Sb for garchives@archives.gentoo.org; Sun, 16 Oct 2011 22:36:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AEF4E21C04E; Sun, 16 Oct 2011 22:36:37 +0000 (UTC) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by pigeon.gentoo.org (Postfix) with ESMTP id 8ECA1E050F for ; Sun, 16 Oct 2011 22:35:45 +0000 (UTC) Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 474E420BB3 for ; Sun, 16 Oct 2011 18:35:45 -0400 (EDT) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute4.internal (MEProxy); Sun, 16 Oct 2011 18:35:45 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=binarywings.net; h=message-id:date:from:mime-version:to:subject:references :in-reply-to:content-type; s=mesmtp; bh=AfDpKe+Go7cIUC70Kw+pUyBN 2ik=; b=BXp1jdl87KT/7OBjXgh7Wu1Dm/aqXt/2rSik+1AZ5l9C9noI1UQXP3pu IPwN78U+yu4w3rvJ0emsYUEuhwvfgwcM0Sxw2MR9YkcJsz8DXL+wHKVOPRkfV9LF 5i2Z0qKVA+3ErUlJUwg074KhhNPUaUaT1p3YHO0qMxIL91JT+ZI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type; s=smtpout; bh=AfDp Ke+Go7cIUC70Kw+pUyBN2ik=; b=WrTTW+TuEPBAbC0a/jdNzT8NeTTAMAYp18ZQ JHPygMcbSjHVY/AbYy9OQwNGcXCgI4Y9TnC1B5o0neYcdGrllA9kZDiBnUKxgkcK XrCxku/EPqCw7lobfAD2cwdz3Ly8cfdPzShAhcI+B24b/CDtaCUHX/27oyMsQlEQ HsfwX+s= X-Sasl-enc: IMVESTupKu3sUP4O/priGj7lUs0iIGY12NG7MOGp1Ttb 1318804544 Received: from [192.168.5.18] (serv.binarywings.net [83.169.5.6]) by mail.messagingengine.com (Postfix) with ESMTPSA id C872F405C90 for ; Sun, 16 Oct 2011 18:35:43 -0400 (EDT) Message-ID: <4E9B5C37.7060501@binarywings.net> Date: Mon, 17 Oct 2011 00:35:35 +0200 From: Florian Philipp User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.20) Gecko/20110925 Lightning/1.0b3pre Thunderbird/3.1.12 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> <4E9AAC83.3050305@binarywings.net> <201110161118.45443.michaelkintzios@gmail.com> In-Reply-To: <201110161118.45443.michaelkintzios@gmail.com> X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD4CBB53F3F0226318725DFF5" X-Archives-Salt: X-Archives-Hash: 9735164fe315b013a36b393e3fba8494 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD4CBB53F3F0226318725DFF5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 16.10.2011 12:18, schrieb Mick: > On Sunday 16 Oct 2011 11:05:55 Florian Philipp wrote: >> Am 16.10.2011 01:05, schrieb CJoeB: >>> Hi everyone, >>> >>> Well, thanks to the help I got from the list, I finally have Gentoo >>> installed on my new desktop and booting to a command prompt. >>> >>> However, now I have a networking issue. >>> >>> In past, when I booted to the install CD and my ethernet connection w= as >>> 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. 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. I can start it manually b= y >>> doing 'modprobe -r broadcom' and 'modprobe -r tg3' and then 'modprobe= >>> broadcom' and 'modprobe tg3' >>> >>> However, I would like to have my network started automatically. >>> >>> I do have config_eth0=3D"dhcp" in my /etc/conf.d/net file >>> >>> Any suggestions? >>> >>> Colleen >> >> Hmm, a workaround would be a custom init script. Copy the following co= de >> into a new file in /etc/init.d (let's say /etc/init.d/broadcom-fix): >> >> #!/sbin/runscript >> description=3D"Reload broadcom and tg3 modules to work around kernel b= ug" >> depend() { >> before net >> after modules >> } >> start() >> { >> ebegin "Reloading broadcom and tg3 modules" >> modprobe -r broadcom tg3 && >> modprobe broadcom && >> modprobe tg3 >> eend $? "Failed to reload modules" >> } >> >> Make it executable (chmod 755) and add it to the default run level >> (rc-update add broadcom-fix default). >> >> Better try to start it manually before rebooting so you can be sure it= >> works as expected. >> >> Hope this helps, >> Florian Philipp >=20 > This would be a workaround - the question is why does the module need t= o be=20 > removed and reinstalled manually? Why isn't the kernel loading it at b= oot=20 > time? I agree that the problem should be solved but just in case Colleen wants to continue with his installation (I know, he is installing Gentoo for the first time so I doubt he values his time very high ;-) ), I suggest he either implements my proposal outlined above or adds similar code to /etc/conf.d/net: preup() { if [ "$IFACE" =3D eth0 ]; then ebegin "Reloading broadcom and tg3 modules" modprobe -r foo bar && modprobe broadcom && modprobe tg3 ewend $? "Failed to reload modules" fi return 0 } --------------enigD4CBB53F3F0226318725DFF5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6bXD0ACgkQqs4uOUlOuU+2fQCeOUltN4gGGq5ipM9J9nU1Rpgm TnMAn0V+sN4cmL7yKwF5zo5hJ2B5HtPT =T+8s -----END PGP SIGNATURE----- --------------enigD4CBB53F3F0226318725DFF5--