From owner-freebsd-arm@FreeBSD.ORG Sun Sep 15 14:33:10 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CC679CC3 for ; Sun, 15 Sep 2013 14:33:10 +0000 (UTC) (envelope-from pmather@vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7E62D24A9 for ; Sun, 15 Sep 2013 14:33:10 +0000 (UTC) Received: from mr2.cc.vt.edu (mr2.cc.vt.edu [198.82.163.74]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id r8FEWd6a014371 for ; Sun, 15 Sep 2013 10:32:39 -0400 Received: from mail-qc0-f180.google.com (mail-qc0-f180.google.com [209.85.216.180]) by mr2.cc.vt.edu (8.14.4/8.14.4) with ESMTP id r8FEWd6X019088 for ; Sun, 15 Sep 2013 10:32:39 -0400 Received: by mail-qc0-f180.google.com with SMTP id p19so2167211qcv.11 for ; Sun, 15 Sep 2013 07:32:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=lUEZu1/xq5bx6HeEmDLWiYVx/pkbXCW5hUoU7Ip46Xo=; b=M+2fspVPjNvHFtHLqK5yazuMh+qMlFTog5MpkjNSJu2s6QjDcbapf8rqFVT9uffxsF YvJ7rd5SPkbcO/BUSJgvFP2fL2KjyBj4QyNye7+DWt6PEp7z8UfKbZpmK1BSN2VgqWoK gVQlCKjE4Ww1gGDmvWwkfyCegWnWsMURxWgT+yMYpLiRiIN6fTdlHtcWcIY1eoMEpJ1L 28EyGRz5zdKcbd/oB2hDsDSoP3ZoEudXMOL3ee1JFE9akgw26ugo6WQCn/GHkYrlFcaH b/yZS0hGfTNKa9GAyoC2qsCQdeMK46kiIHf1aGVEPd468eCno1e+UltfsSfLEPMrVFZ4 dGlw== X-Gm-Message-State: ALoCoQkZPi8cv5Y62iJYKfuKKLEHJScRfCZnpor54jl+KJytimZdSqvnCsqwkM6oEzLHJzwYz3RCGsin2v8/ZucD7CMHmXrzY3/bTxtCDckZsDEW++6ot07KYNRsDKDXft41w2+a9xWK5Ey2HewdTpRo4hG1IQoEE+bZ6+m2mTkc96xb4T7bnEA= X-Received: by 10.229.73.6 with SMTP id o6mr40665540qcj.2.1379255559196; Sun, 15 Sep 2013 07:32:39 -0700 (PDT) X-Received: by 10.229.73.6 with SMTP id o6mr40665527qcj.2.1379255559104; Sun, 15 Sep 2013 07:32:39 -0700 (PDT) Received: from macbook.chumby.lan (c-98-249-9-133.hsd1.va.comcast.net. [98.249.9.133]) by mx.google.com with ESMTPSA id fy7sm39222429qeb.1.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 15 Sep 2013 07:32:38 -0700 (PDT) Subject: Re: FreeBSD 10.0-ALPHA1 r255532 bootup freeze on BBB Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=us-ascii From: Paul Mather In-Reply-To: Date: Sun, 15 Sep 2013 10:32:37 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1379188513.1197.35.camel@revolution.hippie.lan> <0AC11ABC-5C40-4C63-B90D-2E686562BFD2@kientzle.com> To: Su Kang Yin X-Mailer: Apple Mail (2.1283) Cc: Tim Kientzle , freebsd-arm , Ian Lepore 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 14:33:10 -0000 On Sep 15, 2013, at 1:25 AM, Su Kang Yin wrote: > Hi, >=20 > I found that issue. >=20 > It is because I disabled this options: >=20 > #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 >=20 > Without them rootfs does not mount (kernel does not freeze, when I > eject mmc, kernel shows "mmc0: detached") >=20 >=20 > I use default kernel config and it works fine. I can report that this also happened to me on BeagleBone Black with = those debugging options removed. The kernel would boot but would then = stop when trying to mount the root file system. Oddly enough, a kernel of the same revision (r255420) with those = debugging options removed will boot to multi-user on Raspberry Pi. Cheers, Paul. >=20 > Thanks, > Yin >=20 > On 15 September 2013 07:25, Tim Kientzle wrote: >>=20 >> On Sep 14, 2013, at 12:55 PM, Ian Lepore wrote: >>=20 >>> On Sun, 2013-09-15 at 01:15 +0800, Su Kang Yin wrote: >>>> Log: >>>>=20 >>>> 48.0MHz/4bit/65535-block >>>> uhub0: 1 port with 1 removable, self powered >>>> uhub1: 1 port with 1 removable, self powered >>>>=20 >>>> ^^^^^^^^^^ Stuck here.... and I didn't connect any usb device. >>>>=20 >>>> Any idea? >>>>=20 >>>=20 >>> Two thoughts... make sure you're powering the board with a 5v = adapter, >>> not through a usb connection, >>=20 >> 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. >>=20 >> I suspect we're missing some boot code to detect >> the power source and adjust the CPU clock accordingly. >>=20 >>> and try adding this to your kernel config: >>>=20 >>> option USB_HOST_ALIGN=3D64 >>>=20 >>> 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. >>=20 >> 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). >>=20 >> I haven't tried with the BBW, though. >>=20 >> Tim >>=20 >>=20 >> _______________________________________________ >> 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" > _______________________________________________ > 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" >=20