From owner-freebsd-arm@freebsd.org Mon Mar 7 15:33:57 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 555ABAC238A for ; Mon, 7 Mar 2016 15:33:57 +0000 (UTC) (envelope-from jau789@gmail.com) Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CF593B39 for ; Mon, 7 Mar 2016 15:33:56 +0000 (UTC) (envelope-from jau789@gmail.com) Received: by mail-lb0-x229.google.com with SMTP id x1so134453166lbj.3 for ; Mon, 07 Mar 2016 07:33:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=39jXR2u+YJyC8UyiClcYzxJF/WS73uaguy4u9rbcSAU=; b=nr+HMsdzcp6a/sM3aKv2B8HghkDtvB9t9XBRHO3w2cXYVS3wOsHdOTV2e5QstcikPS 3mbBv2cTlBFeSCHSZ7+rtrtJMLvuN7KQ4mEdMJN/DDUCHH688l0pXNKmlzJquaXNPxGm qy7iK+1WHFJ+y3iEWwR8S2y6rEetAZzjp1hHcRmeycTF2pg75UAFcu8++WEyta0w2JmC +n1FZYXGijAm59xvoIPpGoV4bWRRDUdwwiLuXpLgS7HDfIUiVssdTGOz/k97+oVNncZC pdnk1iwS6xUPl7aAx4ds6VJD/tbwTnz5naLqoT7MvjVzOj9gVO+M5vDFETJZwjv7qKTj V37A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=39jXR2u+YJyC8UyiClcYzxJF/WS73uaguy4u9rbcSAU=; b=hoMw/RZUjjsaMAktRo/7hs+1OJsdyHRRgWrYK+EmEz7dEi9+zt+a/LnF/hpwes5ra5 ZxSo3Yxtrxaa6CtTNeS1TgiLgbf/dyhPtyKlCNOlETNEdseEwvzrsS8mCQCvip3/Xqt/ 0zJP7BqsJwpQwgR/sbKT3au7VPFflPy6KSCd2XveUeiGPBqBPFqGaAgq14AKD93AU8oK f7hIxCjyHb6SGWdX9COm8ZoCid68VDwlYhH3xos97jtn+fu8XiaHYxEtH8d7rajC2+xr mWItSH6bfnX1YYMylpRlcbb94accMahRllGWpGI4ezfJXWBNNfBB4a3WxzUpQFgwYmex iJeg== X-Gm-Message-State: AD7BkJL+cOLN/U083J1bFfDImq2tnHLSUSaxegXTZRwRiYD+bENV3Not7kX1kE9h6GrrKQ== X-Received: by 10.112.52.100 with SMTP id s4mr8109410lbo.108.1457364834861; Mon, 07 Mar 2016 07:33:54 -0800 (PST) Received: from [192.168.1.131] (xdsl-205-1.nblnetworks.fi. [83.145.205.1]) by smtp.googlemail.com with ESMTPSA id su3sm2853649lbb.21.2016.03.07.07.33.53 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Mar 2016 07:33:53 -0800 (PST) Subject: Re: Odd hang during boot on RPI2 for 2 days now To: Hans Petter Selasky References: <56D99C2E.4020301@gmail.com> <56DD5DF8.9090700@gmail.com> <56DD6476.80603@selasky.org> From: Jukka Ukkonen X-Enigmail-Draft-Status: N1110 Cc: freebsd-arm Message-ID: <56DD9F60.7010509@gmail.com> Date: Mon, 7 Mar 2016 17:33:52 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56DD6476.80603@selasky.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Mar 2016 15:33:57 -0000 On 03/07/16 13:22, Hans Petter Selasky wrote: > On 03/07/16 11:54, Jukka Ukkonen wrote: >> >> Continuing where I previously left with this problem... >> When I set boot_verbose=1 in loader.conf I got a little >> more information before the poor RPI2 simply froze. >> Now the last shown line was... >> >> random: harvesting attach, 8 bytes (4 bits) from ukbd0 >> >> If I disconnect the USB keyboard and then reconnect it, >> the kernel prints the normal detach and attach messages, >> once again returns back to printing the "random: ..." >> line shown above, and freezes again. >> > > Then I think the init process is waiting for something. Would you manage > to press CTRL+T in the console and see what is printed? The ctrl-T trick might work with a keyboard connected via the serial line pins. With my USB keyboard and HDMI display combo it doesn't do anything at all. Surely the system must be waiting for something. Of that I am quite certain. It does not panic and it keeps reacting to the USB keyboard being disconnected and connected. Obviously it is still otherwise fine, at least sort of, but also firmly stuck waiting an event which either never happens or which goes undetected for some reason. --jau