From owner-freebsd-arm@FreeBSD.ORG Mon Dec 24 19:13:52 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B3EA53B5 for ; Mon, 24 Dec 2012 19:13:52 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) by mx1.freebsd.org (Postfix) with ESMTP id 6A9C18FC0C for ; Mon, 24 Dec 2012 19:13:51 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id c13so9148315ieb.17 for ; Mon, 24 Dec 2012 11:13:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to:x-mailer:x-gm-message-state; bh=qemV1HAh+KbTmqHAc+gdj2RlDZl2I/33Ge0iHed98SE=; b=m4yDQkEWY+SfZ2B3Kbv4IFkKhFpYZLWQw/v7+ox1iDDoxurdPhUUOm+5YxihrqkdRL hmVZiP2kZ6MBaCjgolpTuDfaai0+n5+NsxqfWfqpZlDZBAInH5a8+PbW8nBbLV4H2nC9 LnzHDujGhV3bR0ALYla+snNLFfwdW7uNU9C5P+Gk44n8pFW48D11BIwpdoSdgdHWGSu8 I0DE1vr2DrP7aOcwd29AH68/oqYzPoJM5YXIaGmbwoH7Y45UHrpoudhcn1d/T8Rtein1 ydMtCsr5pYnGqEric/v+BKrPiMp+LI7TgJ+3Fzq8SzaXC/1hKFD2jkTOXb+2/lZc4jW4 9MyQ== X-Received: by 10.43.17.199 with SMTP id qd7mr13328511icb.52.1356376425242; Mon, 24 Dec 2012 11:13:45 -0800 (PST) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id fv6sm22908389igc.17.2012.12.24.11.13.43 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 24 Dec 2012 11:13:44 -0800 (PST) Sender: Warner Losh Subject: Re: Raspberry Pi EABI test image Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <1356371614.1129.114.camel@revolution.hippie.lan> Date: Mon, 24 Dec 2012 12:13:42 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <9727806D-8356-4A98-B609-9B86BC42795F@bsdimp.com> References: <20121224103825.086cd584@fubar.geek.nz> <50D79C5C.1000704@m5p.com> <20121224135512.30c84b7c@fubar.geek.nz> <50D87B88.6080504@m5p.com> <1356371614.1129.114.camel@revolution.hippie.lan> To: Ian Lepore X-Mailer: Apple Mail (2.1085) X-Gm-Message-State: ALoCoQlW2xGFuAFm+o25lu5orvVjz1ytwD5K5pn2amKQjCjlcHLHQxvDIn6qQGAGOPBg6EUnjh12 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2012 19:13:52 -0000 On Dec 24, 2012, at 10:53 AM, Ian Lepore wrote: > On Mon, 2012-12-24 at 10:58 -0500, George Mitchell wrote: >> On 12/23/12 19:55, Andrew Turner wrote: >>> On Sun, 23 Dec 2012 19:05:48 -0500 >>> George Mitchell wrote: >>> [...] >>>> Although rc.conf says ue0_config=3D"DHCP"', dhclient doesn't run. = I can >>>> run it manually, and then everything network-related works. >>> I've seen this before with other RPi images. >>>=20 >> Changing DHCP to SYNCDHCP "fixes" the issue. I'll try to see if I = can >> figure out why DHCP doesn't work. >>=20 >=20 > To look into why =3DDHCP doesn't work, look at devd and the devd rules = to > figure out why usb-based interfaces (apparently) aren't being handled. > The way the rc system works these days, DHCP means "do 'ifconfig up' = on > the interface and let devd launch dhclient in response to that", and > SYNCDHCP means "the rc system directly invokes dhclient immediately". Or alternatively, you can look at the early startup state of the ue0 = device and look for subtle differences between it and other interfaces. = For a short period of time it may throw some weird error that dhclient = isn't coping with. But check to make sure that there's a rule that's run when it happens. = Since devd has transitioned to the link messages that are independent of = device type, I don't think there's a difference there, but you never = know. Finally, you might try it on a laptop, since that's an easy test = environment... Warner