From owner-freebsd-questions@FreeBSD.ORG Thu Jun 28 21:23:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE0B216A46C for ; Thu, 28 Jun 2007 21:23:39 +0000 (UTC) (envelope-from redchin@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.freebsd.org (Postfix) with ESMTP id 69A8613C46C for ; Thu, 28 Jun 2007 21:23:39 +0000 (UTC) (envelope-from redchin@gmail.com) Received: by ug-out-1314.google.com with SMTP id o4so225487uge for ; Thu, 28 Jun 2007 14:23:38 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=KsoPcpM3b62hcruqJf0kWYxYTg2t/8+YiR1rr18mEcWdjlv3tSlFyBzGr1zWjvD5G41Y1MnM+BCZnF/9WX8FkaNSkH/W5uqckNWVu1nCZssuAPJ2JTgLcPWSOm4rgpLTLCSxOaxZfce1Qhb6+Gz4eaSMhNE+xqjb361vjkKBnFo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tBLCSt5HA+YUdTKecdKgbVZQmrJWeoOlHpGfVM3IfDOrosoipuxWT9j9jh/nvWbJSoJ6xG229FRxsGqXVGWYPzNk1Avj1tMTMS2jI+ScF/cAEguFf7q4cog81bVUw0xRlelGbq53xlUH/HGezQzb7xBCrscM0t0kyMZY9DTWE2I= Received: by 10.78.107.8 with SMTP id f8mr1196437huc.1183065817957; Thu, 28 Jun 2007 14:23:37 -0700 (PDT) Received: by 10.78.56.15 with HTTP; Thu, 28 Jun 2007 14:23:37 -0700 (PDT) Message-ID: <1d3ed48c0706281423y2915af7dka05c35873dda716f@mail.gmail.com> Date: Thu, 28 Jun 2007 14:23:37 -0700 From: "Kevin Downey" To: "Roberto Nunnari" In-Reply-To: <4684228D.8030208@supsi.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4683ED4A.2040602@supsi.ch> <4683F051.8040201@supsi.ch> <44ps3gx7z4.fsf@be-well.ilk.org> <46840212.7070405@supsi.ch> <1d3ed48c0706281311k60041069k3d7eb0c817b5571c@mail.gmail.com> <4684228D.8030208@supsi.ch> Cc: freebsd-questions@freebsd.org Subject: Re: em0 net interface Link state changed to UP too late at boot time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jun 2007 21:23:40 -0000 On 6/28/07, Roberto Nunnari wrote: > Hi Kevin. > > No DHCP. The box gets a static address. From rc.conf: > > ifconfig_em0="inet aaa.bbb.ccc.ddd netmask 255.255.252.0 media 1000baseTX" > > as you see, I also tried to use a fixed speed (both on the server > NIC and the switch port) instead of autoconfiguration, but it > doesn't help. > > > > > Kevin Downey wrote: > > On 6/28/07, Roberto Nunnari wrote: > >> Thank you Gilbert. > >> > >> I think I will give that a try. > >> > >> But it seams to me that is not the solution.. it may > >> be a workaround but not a solution.. It seams to me > >> that early_late_divider is in case you mount a FS > >> like /usr/local where there are startup scripts executed > >> at the late stages of the boot process.. and that's > >> not my case.. my case is that the em0 interface, somehow > >> gets ready too late.. it doesn't react in a responsive > >> way to the up command.. I have other boxes with different > >> NICs, mounting that FS without problem and without > >> the early_late_divider option. > >> > >> Can anybody tell why this strange behaviour started > >> after upgrading from 5.3-RELEASE to 6.1-RELEASE (that > >> was last summer or early fall). May it be related with > >> the problems of the em driver? Is there a solution? > >> > >> is there a way to tell the boot system to wait until > >> ifconfig_em0 is be up? > >> > >> or a way to have em0 responde up before in the boot stage? > >> > >> Thank you again. > >> Best regards. > >> > >> -- > >> Robi > >> > >> > >> Lowell Gilbert wrote: > >> > Roberto Nunnari writes: > >> > > >> >> ..but on the other box (the em0 one that at the second > >> >> retry will succed to mount the NFS FS) is there since > >> >> I upgraded it from 5.3-RELEASE to 6.1-RELEASE > >> >> > >> >> Again.. any hints? > >> > > >> > I think you're looking for the early_late_divider as described in the > >> > manual for rc.conf(5). > >> > > > > > if you are using dhcp there is an option to run dhcp in the > > background, which means the system doesn't stop and wait for dhcp to > > configure the address. So if you are using dhcp take a look at the > > dhcp variables in the rc.conf manpage > > > > try adding an "up" in there. ifconfig_em0="up inet aaa.bbb.ccc.ddd netmask 255.255.252.0 media 1000baseTX" -- i'll unhook my oily pink mini-kimono, you kill him in honolulu -- www.thelastcitadel.com