Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2013 13:10:01 GMT
From:      =?ISO-8859-1?Q?Eddy_Beaupr=E9?= <eddy@beaupre.biz>
To:        freebsd-arm@FreeBSD.org
Subject:   Re: arm/181601: Sporadic failure of root mount on ARM/Raspberry
Message-ID:  <201310121310.r9CDA1s2020836@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR arm/181601; it has been noted by GNATS.

From: =?ISO-8859-1?Q?Eddy_Beaupr=E9?= <eddy@beaupre.biz>
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: <Software, Yarrow> initialized
 simplebus0: <Flattened device tree simple bus> mem 0x20000000-0x20ffffff 
 on fdtbus0
 intc0: <BCM2835 Interrupt Controller> mem 0x2000b200-0x2000b3ff on 
 simplebus0
 systimer0: <BCM2835 System Timer> 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: <BCM2708/2835 Watchdog> mem 0x2010001c-0x20100027 on simplebus0
 gpio0: <BCM2708/2835 GPIO controller> 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: <GPIO controller> on gpio0
 gpiobus0: <GPIO bus> on gpio0
 bcm_dma0: <BCM2835 DMA Controller> mem 
 0x20007000-0x20007fff,0x20e05000-0x20e05fff irq 
 24,25,26,27,28,29,30,31,32,33,34,35,36 on simplebus0
 mbox0: <BCM2835 VideoCore Mailbox> mem 0x2000b880-0x2000b8bf irq 1 on 
 simplebus0
 sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x20300000-0x203000ff 
 irq 70 on simplebus0
 mmc0: <MMC/SD bus> on sdhci_bcm0
 uart0: <PrimeCell UART (PL011)> mem 0x20201000-0x20201fff irq 65 on 
 simplebus0
 uart0: console (115200,n,8,1)
 dwcotg0: <DWC OTG 2.0 integrated USB controller> mem 
 0x20980000-0x2099ffff irq 17 on simplebus0
 usbus0 on dwcotg0
 fb0: <BCM2835 framebuffer device> on fdtbus0
 sc0: Unknown <16 virtual consoles, flags=0x300>
 simplebus1: <Flattened device tree simple bus> on fdtbus0
 Timecounters tick every 10.000 msec
 usbus0: 480Mbps High Speed USB v2.0
 ugen0.1: <DWCOTG> at usbus0
 uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
 mmcsd0: 16GB <SDHC SD16G 3.0 SN 1213219557 MFG 02/2013 by 130 JT> 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: <vendor 0x0424> at usbus0
 uhub1: <vendor 0x0424 product 0x9512, class 9/0, rev 2.00/2.00, addr 2> 
 on usbus0
 uhub1: MTT enabled
 uhub1: 3 ports with 2 removable, self powered
 Root mount waiting for: usbus0
 ugen0.3: <vendor 0x0424> at usbus0
 smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3> on usbus0
 Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]...
 mountroot: waiting for device /dev/mmcsd0s2a ...
 smsc0: chip 0xec00, rev. 0002
 miibus0: <MII bus> on smsc0
 ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
 ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 ue0: <USB Ethernet> 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:
    <fstype>:<device> [options]
        Mount <device> using filesystem <fstype>
        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)
    <empty line>    Abort manual input
 
 mountroot>
 
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310121310.r9CDA1s2020836>