From owner-freebsd-arm@FreeBSD.ORG Sat Oct 12 13:10:02 2013 Return-Path: Delivered-To: freebsd-arm@smarthost.ysv.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 40777529 for ; Sat, 12 Oct 2013 13:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1F4342CD1 for ; Sat, 12 Oct 2013 13:10:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r9CDA1om020837 for ; Sat, 12 Oct 2013 13:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r9CDA1s2020836; Sat, 12 Oct 2013 13:10:01 GMT (envelope-from gnats) Date: Sat, 12 Oct 2013 13:10:01 GMT Message-Id: <201310121310.r9CDA1s2020836@freefall.freebsd.org> To: freebsd-arm@FreeBSD.org Cc: From: =?ISO-8859-1?Q?Eddy_Beaupr=E9?= Subject: Re: arm/181601: Sporadic failure of root mount on ARM/Raspberry X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: =?ISO-8859-1?Q?Eddy_Beaupr=E9?= List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Oct 2013 13:10:02 -0000 The following reply was made to PR arm/181601; it has been noted by GNATS. From: =?ISO-8859-1?Q?Eddy_Beaupr=E9?= To: bug-followup@FreeBSD.org Cc: Subject: Re: arm/181601: Sporadic failure of root mount on ARM/Raspberry Date: Sat, 12 Oct 2013 09:08:06 -0400 I can confirm the same issue exist on FreeBSD-11, here's the boot log: U-Boot 2013.01-rc1-g6709570-dirty (Oct 11 2013 - 00:06:34) DRAM: 224 MiB WARNING: Caches not enabled MMC: bcm2835_sdhci: 0 Using default environment In: serial Out: lcd Err: lcd mbox: Timeout waiting for response bcm2835: Could not set USB power state Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 reading uEnv.txt 89 bytes read in 9690 ms (0 Bytes/s) Importing environment from mmc ... reading ubldr 238986 bytes read in 53873 ms (3.9 KiB/s) ## Starting application at 0x02000054 ... Consoles: U-Boot console Compatible API signature found @db682a8 Number of U-Boot devices: 1 FreeBSD/armv6 U-Boot loader, Revision 1.2 (root@vfs.beaupre.biz, Sat Oct 12 08:46:38 EDT 2013) DRAM: 224MB Device: disk Loading /boot/defaults/loader.conf /boot/kernel/kernel data=0x495f64+0x47428 syms=[0x4+0x83b60+0x4+0x4edde] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by U-Boot. Kernel entry at 0x100100... Kernel args: (null) KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.0-CURRENT #0 r256372: Sat Oct 12 08:43:05 EDT 2013 root@vfs.beaupre.biz:/root/crochet-freebsd/work/obj/arm.armv6/root/crochet-freebsd/src/sys/RPI-B arm FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 CPU: ARM1176JZ-S rev 7 (ARM11J core) Supported features: ARM_ISA THUMB2 JAZELLE ARMv4 Security_Ext WB enabled LABT branch prediction enabled 16KB/32B 4-way instruction cache 16KB/32B 4-way write-back-locking-C data cache real memory = 268435456 (256 MB) avail memory = 221831168 (211 MB) random device not loaded; using insecure entropy kbd0 at kbdmux0 random: initialized simplebus0: mem 0x20000000-0x20ffffff on fdtbus0 intc0: mem 0x2000b200-0x2000b3ff on simplebus0 systimer0: mem 0x20003000-0x20003fff irq 8,9,10,11 on simplebus0 Event timer "BCM2835 Event Timer 3" frequency 1000000 Hz quality 1000 Timecounter "BCM2835 Timecounter" frequency 1000000 Hz quality 1000 bcmwd0: mem 0x2010001c-0x20100027 on simplebus0 gpio0: mem 0x20200000-0x202000af irq 57,59,58,60 on simplebus0 gpio0: read-only pins: 46,47,48,49,50,51,52,53. gpio0: reserved pins: 48,49,50,51,52,53. gpioc0: on gpio0 gpiobus0: on gpio0 bcm_dma0: mem 0x20007000-0x20007fff,0x20e05000-0x20e05fff irq 24,25,26,27,28,29,30,31,32,33,34,35,36 on simplebus0 mbox0: mem 0x2000b880-0x2000b8bf irq 1 on simplebus0 sdhci_bcm0: mem 0x20300000-0x203000ff irq 70 on simplebus0 mmc0: on sdhci_bcm0 uart0: mem 0x20201000-0x20201fff irq 65 on simplebus0 uart0: console (115200,n,8,1) dwcotg0: mem 0x20980000-0x2099ffff irq 17 on simplebus0 usbus0 on dwcotg0 fb0: on fdtbus0 sc0: Unknown <16 virtual consoles, flags=0x300> simplebus1: on fdtbus0 Timecounters tick every 10.000 msec usbus0: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 mmcsd0: 16GB at mmc0 50.0MHz/4bit/65535-block mmcsd0: Error indicated: 1 Timeout mmcsd0: Error indicated: 1 Timeout fb0: 656x416(0x0@0,0) 16bpp fb0: pitch 1312, base 0x4e006000, screen_size 545792 Root mount waiting for: usbus0 uhub0: 1 port with 1 removable, self powered Root mount waiting for: usbus0 ugen0.2: at usbus0 uhub1: on usbus0 uhub1: MTT enabled uhub1: 3 ports with 2 removable, self powered Root mount waiting for: usbus0 ugen0.3: at usbus0 smsc0: on usbus0 Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]... mountroot: waiting for device /dev/mmcsd0s2a ... smsc0: chip 0xec00, rev. 0002 miibus0: on smsc0 ukphy0: PHY 1 on miibus0 ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ue0: on smsc0 ue0: Ethernet address: b8:27:eb:2d:c8:bf Mounting from ufs:/dev/mmcsd0s2a failed with error 19. Loader variables: vfs.root.mountfrom=ufs:/dev/mmcsd0s2a vfs.root.mountfrom.options=rw,noatime Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:tank cd9660:/dev/acd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot>