From owner-freebsd-arm@FreeBSD.ORG Sun Sep 15 05:26:00 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D77865A0; Sun, 15 Sep 2013 05:25:59 +0000 (UTC) (envelope-from paradyse@gmail.com) Received: from mail-wg0-x230.google.com (mail-wg0-x230.google.com [IPv6:2a00:1450:400c:c00::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 440332EDC; Sun, 15 Sep 2013 05:25:59 +0000 (UTC) Received: by mail-wg0-f48.google.com with SMTP id n12so2522557wgh.27 for ; Sat, 14 Sep 2013 22:25:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=NAT8qlf3l0A456sqDhSknVOuxe4hYGuR+ywXH18bqkI=; b=LbDHLAcseH7J/eCGKt8v9Azg6db9n/Ni2o7sfRMySZHwCHQ+adI9d1t8ssb2bFhmSN zP2IPicKzA2rwKhhfwJ1cKdz5P28nLHrQSMxM1h1tef+S8p6QvJj4zyGy8p89NcLMeq7 3pHB38l5sVF4WvE/xRTP5kUQ+6NGNCGiSEtF8fGyF97HPAvo2Q4wreqycBitMLtiCuvz zeZCWUCuykg9ew8RYBDn2jZBZ+U/6HTgPXziVkUb3ET7rH6Wv/dn3MevWQFJzRcduXou 2XXhK+vWMoF4yTgIDPrGALVpQWLVVp/zHVBhtyEtfJlIN+bZ3llN+wowAix2ZDJayO5F 3TiQ== X-Received: by 10.180.205.236 with SMTP id lj12mr8532641wic.22.1379222757672; Sat, 14 Sep 2013 22:25:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.134.170 with HTTP; Sat, 14 Sep 2013 22:25:27 -0700 (PDT) In-Reply-To: <0AC11ABC-5C40-4C63-B90D-2E686562BFD2@kientzle.com> References: <1379188513.1197.35.camel@revolution.hippie.lan> <0AC11ABC-5C40-4C63-B90D-2E686562BFD2@kientzle.com> From: Su Kang Yin Date: Sun, 15 Sep 2013 13:25:27 +0800 Message-ID: Subject: Re: FreeBSD 10.0-ALPHA1 r255532 bootup freeze on BBB To: Tim Kientzle , Ian Lepore , freebsd-arm Content-Type: text/plain; charset=ISO-8859-1 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: Sun, 15 Sep 2013 05:26:00 -0000 Hi, I found that issue. It is because I disabled this options: #options DDB #Enable the kernel debugger #options INVARIANTS #Enable calls of extra sanity checking #options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS #options WITNESS #Enable checks to detect deadlocks and cycles #options WITNESS_SKIPSPIN #Don't run witness on spinlocks for speed #options DIAGNOSTIC Without them rootfs does not mount (kernel does not freeze, when I eject mmc, kernel shows "mmc0: detached") I use default kernel config and it works fine. Thanks, Yin On 15 September 2013 07:25, Tim Kientzle wrote: > > On Sep 14, 2013, at 12:55 PM, Ian Lepore wrote: > >> On Sun, 2013-09-15 at 01:15 +0800, Su Kang Yin wrote: >>> Log: >>> >>> 48.0MHz/4bit/65535-block >>> uhub0: 1 port with 1 removable, self powered >>> uhub1: 1 port with 1 removable, self powered >>> >>> ^^^^^^^^^^ Stuck here.... and I didn't connect any usb device. >>> >>> Any idea? >>> >> >> Two thoughts... make sure you're powering the board with a 5v adapter, >> not through a usb connection, > > I have lots of 5v supplies around but when I recently tried > to run one of my BBB from a USB connection, it did hang > a lot. The BBW worked okay, though. > > I suspect we're missing some boot code to detect > the power source and adjust the CPU clock accordingly. > >> and try adding this to your kernel config: >> >> option USB_HOST_ALIGN=64 >> >> If I don't use a separate power supply I get strange usb errors (but not >> a hang). If I do use the power supply, I get a data abort. Usb has >> never worked on my BBW, but I don't need it, so I've never tried hard to >> figure out why. > > I've just recently started tinkering with USB on my BBB here. > In particular, I've been able to run a urtwn USB Wifi adapter > (Specifically: adafru.it/814). > > I haven't tried with the BBW, though. > > Tim > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"