From owner-freebsd-arm@freebsd.org Thu Jul 16 12:23:41 2015 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 D122E9A2B85 for ; Thu, 16 Jul 2015 12:23:41 +0000 (UTC) (envelope-from freebsd.asc@strcmp.org) Received: from olinguito.schwarzes.net (olinguito.schwarzes.net [IPv6:2a01:4f8:7d:1b5::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 71D5919DE for ; Thu, 16 Jul 2015 12:23:40 +0000 (UTC) (envelope-from freebsd.asc@strcmp.org) Received: from asc-t60.schwarzes.net (p5B031D02.dip0.t-ipconnect.de [91.3.29.2]) (authenticated bits=0) by olinguito.schwarzes.net (8.14.9/8.14.9) with ESMTP id t6GCNbtP055802 for ; Thu, 16 Jul 2015 14:23:37 +0200 (CEST) (envelope-from freebsd.asc@strcmp.org) Date: Thu, 16 Jul 2015 14:23:29 +0200 From: Andreas Schwarz To: freebsd-arm@freebsd.org Subject: Re: SDHC errors during boot on RPi2 (11.0-CURRENT) Message-Id: <20150716142329.4387b29de5d7fc9a2a9c27ab@strcmp.org> In-Reply-To: References: <55A5A3F4.7040105@foxvalley.net> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.10.14; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (olinguito.schwarzes.net [78.47.41.143]); Thu, 16 Jul 2015 14:23:38 +0200 (CEST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jul 2015 12:23:41 -0000 On Wed, 15 Jul 2015 21:17:21 -0600 Warner Losh wrote: > > On Jul 14, 2015, at 6:06 PM, Dan Raymond wrote: > > > > Is anyone else getting these errors during every boot? I'm running r285346. > > I’ve been running on the RPi2 for some time and have never seen this. I haven’t > rebuild in the past few weeks though. > > Does this happen on either SD cards? Or other versions of the kernel? I've the same output (using generic RPI2 kernel conf). root@pizelot:~ # uname -a FreeBSD pizelot.schwarzes.net 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r285191M: Thu Jul 9 00:39:13 CEST 2015 root@pizelot.schwarzes.net:/usr/obj/usr/src/sys/RPI2 arm sdhci_bcm0-slot0: Got data interrupt 0x00000002, but there is no active command. sdhci_bcm0-slot0: ============== REGISTER DUMP ============== sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm0-slot0: Blk size: 0x00000040 | Blk cnt: 0x00000001 sdhci_bcm0-slot0: Argument: 0x00010000 | Trn mode: 0x0000071b sdhci_bcm0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000001 sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947 sdhci_bcm0-slot0: Timeout: 0x0000000e | Int stat: 0x00000000 sdhci_bcm0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb sdhci_bcm0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 sdhci_bcm0-slot0: Caps: 0x00000000 | Max curr: 0x00000001 sdhci_bcm0-slot0: =========================================== sdhci_bcm0-slot0: Got data interrupt 0x00000002, but there is no active command. sdhci_bcm0-slot0: ============== REGISTER DUMP ============== sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm0-slot0: Blk size: 0x00000040 | Blk cnt: 0x00000001 sdhci_bcm0-slot0: Argument: 0x00010000 | Trn mode: 0x0000071b sdhci_bcm0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000001 sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947 sdhci_bcm0-slot0: Timeout: 0x0000000e | Int stat: 0x00000000 sdhci_bcm0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb sdhci_bcm0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 sdhci_bcm0-slot0: Caps: 0x00000000 | Max curr: 0x00000001 sdhci_bcm0-slot0: =========================================== sdhci_bcm0-slot0: Got data interrupt 0x00000002, but there is no active command. sdhci_bcm0-slot0: ============== REGISTER DUMP ============== sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm0-slot0: Blk size: 0x00000040 | Blk cnt: 0x00000001 sdhci_bcm0-slot0: Argument: 0x00010000 | Trn mode: 0x0000071b sdhci_bcm0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000001 sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947 sdhci_bcm0-slot0: Timeout: 0x0000000e | Int stat: 0x00000000 sdhci_bcm0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb sdhci_bcm0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 sdhci_bcm0-slot0: Caps: 0x00000000 | Max curr: 0x00000001 sdhci_bcm0-slot0: =========================================== sdhci_bcm0-slot0: Got data interrupt 0x00000002, but there is no active command. sdhci_bcm0-slot0: ============== REGISTER DUMP ============== sdhci_bcm0-slot0: Sys addr: 0x00000000 | Version: 0x00009902 sdhci_bcm0-slot0: Blk size: 0x00000040 | Blk cnt: 0x00000001 sdhci_bcm0-slot0: Argument: 0x00010000 | Trn mode: 0x0000071b sdhci_bcm0-slot0: Present: 0x01ff0000 | Host ctl: 0x00000001 sdhci_bcm0-slot0: Power: 0x0000000f | Blk gap: 0x00000000 sdhci_bcm0-slot0: Wake-up: 0x00000000 | Clock: 0x00003947 sdhci_bcm0-slot0: Timeout: 0x0000000e | Int stat: 0x00000000 sdhci_bcm0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb sdhci_bcm0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000000 sdhci_bcm0-slot0: Caps: 0x00000000 | Max curr: 0x00000001 sdhci_bcm0-slot0: =========================================== mmc0: CMD7 failed, RESULT: 1 mmcsd0: 32GB at mmc0 41.6MHz/4bit/65535-block -- best regards Andreas