Waiting for root device /dev/sda1

Discussion in 'Troubleshooting' started by zigmo, Jun 4, 2014.

  1. zigmo

    zigmo New Member

    Joined:
    Dec 3, 2013
    Messages:
    3
    Likes Received:
    0
    Hi all,

    sometimes the boot process frozes at the following line:
    [ 3.114400] Waiting for root device /dev/sda1...

    The Sata is recognized by the U-Boot but seems that the process hangs between the loading of the driver and the loading of the rest of the OS.

    Googling the string seems that the problem affects several platforms that use U-Boot, and I wonder if there is some work-around to implement for the UDOO board to have the confidence that the system boots itself every time that i plug the power.

    The U-Boot version is U-Boot 2013.10-rc3 and the OS is the udoo_quad_ubuntu1204_v2.1.

    Thanks in advance,
    Marco
     
  2. jrk

    jrk New Member

    Joined:
    Jan 25, 2014
    Messages:
    30
    Likes Received:
    0
    Any update on this? I'm seeing the same issue.
    Upon boot I'm finding the sata drive
    Code:
    
    
    UDOO board => boot
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: ncq stag pm led clo only pmp pio slum part
    SATA Device Info:
    S/N: S1D5NSBDC50613P
    Product model number: Samsung SSD 840 EVO 120GB
    Firmware version: EXT0BB6Q
    Capacity: 234441648 sectors
    Booting from sata ...
    4788388 bytes read in 91 ms (50.2 MiB/s)
    ## Booting kernel from Legacy Image at 12000000 ...
       Image Name:   Linux-3.0.35
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    4788324 Bytes = 4.6 MiB
       Load Address: 10008000
       Entry Point:  10008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    
    Starting kernel ...
    
    Which is then followed by... CAN'T FIND THE DEVICE I'M BOOTING OFF OF!
    Code:
    [    2.934902] Bus freq driver module loaded
    [    2.938935] Bus freq driver Enabled
    [    2.944268] mxc_dvfs_core_probe
    [    2.947675] DVFS driver module loaded
    [    2.952984] snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:28:47 UTC (1727)
    [    2.961616] Waiting for root device /dev/sda1...
    
     
  3. zigmo

    zigmo New Member

    Joined:
    Dec 3, 2013
    Messages:
    3
    Likes Received:
    0
    I've solved the issue changing the disk type from mechanical to SSD (Intel 320 Series 40GB). Now the system boots up without any problem.
    I'was thinking that the problem was a lack of support of the old mechanical disk. But now that I see your post I'm quite confused.
    In this week I'll try to post more information on the new disk performance.
    In the meanwhile could you tell me how the disk is powered and the frequency of the problem?
     
  4. jrk

    jrk New Member

    Joined:
    Jan 25, 2014
    Messages:
    30
    Likes Received:
    0
    I'm still unable to boot to SATA SSD. If I mess around with uboot settings I get either this error, or a kernel panic. Oddly enough when I replace my SSD with a spinning drive it boots just fine. Go figure!
     
  5. nicoj10

    nicoj10 New Member

    Joined:
    Jan 11, 2014
    Messages:
    2
    Likes Received:
    0
    Hi,
    i have the same problem, after setting everything up with the tutorial from elinux.

    Here is my output:
    Code:
    
    
    U-Boot 2013.10-rc3 (Jan 20 2014 - 13:33:34)
    
    
    CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
    
    Reset cause: POR
    
    Board: UDOO
    
    DRAM:  1 GiB
    
    MMC:   FSL_SDHC: 0
    
    No panel detected: default to LDB-WVGA
    
    Display: LDB-WVGA (800x480)
    
    In:    serial
    
    Out:   serial
    
    Err:   serial
    
    Net:   using phy at 6
    
    FEC [PRIME]
    
    Warning: FEC MAC addresses don't match:
    
    Address in SROM is         00:c0:08:88:1e:0f
    
    Address in environment is  00:c0:08:88:9c:ce
    
    
    Hit any key to stop autoboot:  5  4  3  2  1  0 
    
    ## Error: "loadbootscript" not defined
    
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    
    flags: ncq stag pm led clo only pmp pio slum part 
    
    SATA Device Info:
    
    
    S/N: OCZ-XP5373JCUT2F5JM6
    
    
    Product model number: OCZ-VERTEX4
    
    
    Firmware version: 1.5
    
    
    Capacity: 250069680 sectors
    
    
    Booting from sata ...
    
    4788388 bytes read in 93 ms (49.1 MiB/s)
    
    ## Booting kernel from Legacy Image at 12000000 ...
    
       Image Name:   Linux-3.0.35
    
       Image Type:   ARM Linux Kernel Image (uncompressed)
    
       Data Size:    4788324 Bytes = 4.6 MiB
    
       Load Address: 10008000
    
       Entry Point:  10008000
    
       Verifying Checksum ... OK
    
       Loading Kernel Image ... OK
    
    
    Starting kernel ...
    
    
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Linux version 3.0.35 (udoo@ubuntu) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #7 SMP PREEMPT Thu Jul 3 15:12:59 CEST 2014
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine: SECO i.Mx6 UDOO Board
    [    0.000000] Kernel ver: v. 131\nMemory policy: ECC disabled, Data cache writealloc
    [    0.000000] CPU identified as i.MX6Q, silicon rev 1.2
    [    0.000000] PERCPU: Embedded 7 pages/cpu @8c008000 s5504 r8192 d14976 u32768
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 227328
    [    0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/sda1 rootwait rw fbmem=24M video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 640MB 256MB = 896MB total
    [    0.000000] Memory: 895020k/895020k available, 153556k reserved, 0K highmem
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    [    0.000000]     DMA     : 0xf4600000 - 0xffe00000   ( 184 MB)
    [    0.000000]     vmalloc : 0xc0800000 - 0xf2000000   ( 792 MB)
    [    0.000000]     lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
    [    0.000000]     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    [    0.000000]     modules : 0x7f000000 - 0x7fe00000   (  14 MB)
    [    0.000000]       .init : 0x80008000 - 0x8003a000   ( 200 kB)
    [    0.000000]       .text : 0x8003a000 - 0x80c474f0   (12342 kB)
    [    0.000000]       .data : 0x80c48000 - 0x80cb4c80   ( 436 kB)
    [    0.000000]        .bss : 0x80cb4ca4 - 0x80d077e4   ( 331 kB)
    [    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] NR_IRQS:624
    [    0.000000] MXC GPIO hardware
    [    0.000000] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
    [    0.000000] arm_max_freq=1GHz
    [    0.000000] MXC_Early serial console at MMIO 0x21e8000 (options '115200')
    [    0.000000] bootconsole [ttymxc1] enabled
    [    0.000000] Console: colour dummy device 80x30
    [    0.217507] Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
    [    0.305845] pid_max: default: 32768 minimum: 301
    [    0.310732] Mount-cache hash table entries: 512
    [    0.315993] Initializing cgroup subsys cpuacct
    [    0.320495] Initializing cgroup subsys devices
    [    0.324955] Initializing cgroup subsys freezer
    [    0.329446] Initializing cgroup subsys blkio
    [    0.333783] CPU: Testing write buffer coherency: ok
    [    0.338942] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
    [    0.439480] CPU1: Booted secondary processor
    [    0.519478] CPU2: Booted secondary processor
    [    0.599500] CPU3: Booted secondary processor
    [    0.638981] Brought up 4 CPUs
    [    0.654808] SMP: Total of 4 processors activated (6324.22 BogoMIPS).
    [    0.661617] devtmpfs: initialized
    [    0.681990] print_constraints: dummy: 
    [    0.685981] NET: Registered protocol family 16
    [    0.694909] print_constraints: vddpu: 725 <--> 1300 mV at 1150 mV fast normal 
    [    0.702493] print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal 
    [    0.710277] print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal 
    [    0.717926] print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal 
    [    0.725705] print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal 
    [    0.733393] print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal 
    [    0.742501] 
    [    0.742506] > UDOO quad
    [    0.746279] > rev C Called set_gpios_direction
    [    0.750958] Test and set gpios directions and values by Gionji feat. Ekirei test
    [    0.782990] Resetting ethernet physical layer.
    [    0.825898] hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
    [    0.832735] hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
    [    0.840097] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.845983] L310 cache controller enabled
    [    0.850027] l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x02070000, Cache size: 1048576 B
    [    0.900507] bio: create slab <bio-0> at 0
    [    0.907957] mxs-dma mxs-dma-apbh: initialized
    [    0.912678] print_constraints: vmmc: 3300 mV 
    [    0.917812] vgaarb: loaded
    [    0.921358] SCSI subsystem initialized
    [    0.926263] usbcore: registered new interface driver usbfs
    [    0.931938] usbcore: registered new interface driver hub
    [    0.937437] usbcore: registered new device driver usb
    [    0.942518] Freescale USB OTG Driver loaded, $Revision: 1.55 $
    [    0.968976] imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
    [    0.988973] imx-ipuv3 imx-ipuv3.1: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
    [    0.996816] mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed
    [    1.003294] mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130302a
    [    1.011016] MIPI CSI2 driver module loaded
    [    1.015382] Advanced Linux Sound Architecture Driver Version 1.0.24.
    [    1.022585] Bluetooth: Core ver 2.16
    [    1.026294] NET: Registered protocol family 31
    [    1.030764] Bluetooth: HCI device and connection manager initialized
    [    1.037139] Bluetooth: HCI socket layer initialized
    [    1.042039] Bluetooth: L2CAP socket layer initialized
    [    1.047169] Bluetooth: SCO socket layer initialized
    [    1.052532] cfg80211: Calling CRDA to update world regulatory domain
    [    1.059971] i2c-core: driver [max17135] using legacy suspend method
    [    1.066259] i2c-core: driver [max17135] using legacy resume method
    [    1.072487] Switching to clocksource mxc_timer1
    [    1.092507] NET: Registered protocol family 2
    [    1.097094] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    1.105000] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
    [    1.114336] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
    [    1.122076] TCP: Hash tables configured (established 131072 bind 65536)
    [    1.128726] TCP reno registered
    [    1.131886] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    1.137864] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    1.144599] NET: Registered protocol family 1
    [    1.149300] RPC: Registered named UNIX socket transport module.
    [    1.155240] RPC: Registered udp transport module.
    [    1.159978] RPC: Registered tcp transport module.
    [    1.164697] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    1.172058] PMU: registered new PMU device of type 0
    [    1.177195] Static Power Management for Freescale i.MX6
    [    1.182439] wait mode is enabled for i.MX6
    [    1.186727] cpaddr = c0880000 suspend_iram_base=c08fc000
    [    1.192158] PM driver module loaded
    [    1.196073] IMX usb wakeup probe
    [    1.199800] add wake up source irq 75
    [    1.207083] IMX usb wakeup probe
    [    1.210606] cpu regulator mode:ldo_enable
    [    1.214825] i.MXC CPU frequency driver
    [    1.241907] VFS: Disk quotas dquot_6.5.2
    [    1.246170] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [    1.256629] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [    1.263491] fuse init (API version 7.16)
    [    1.268298] msgmni has been set to 1748
    [    1.273708] alg: No test for stdrng (krng)
    [    1.277984] io scheduler noop registered
    [    1.281922] io scheduler deadline registered
    [    1.286296] io scheduler cfq registered (default)
    [    1.292100] MIPI DSI driver module loaded
    [    1.296298] mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver hdmi
    [    1.302813] mxc_hdmi mxc_hdmi: Detected HDMI controller 0x13:0xa:0xa0:0xc1
    [    1.309737] fbcvt: 1920x1080@60: CVT Name - 2.073M9
    [    1.314641] fb_videomode = 59 1920 1080 5780 328 128 3 32 200 5 2 0 32
    [    1.333338] imx-ipuv3 imx-ipuv3.0: WARNING: adapt panel end blank lines
    [    1.347140] imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
    [    1.380450] imx-ipuv3 imx-ipuv3.0: WARNING: adapt panel end blank lines
    [    1.413832] Console: switching to colour frame buffer device 160x64
    [    1.461973] mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver ldb
    [    1.468391] _regulator_get: get() with no identifier
    [    1.480093] mxc_sdc_fb mxc_sdc_fb.2: register mxc display driver ldb
    [    1.491326] imx-sdma imx-sdma: loaded firmware 1.1
    [    1.500432] imx-sdma imx-sdma: initialized
    [    1.634674] Serial: IMX driver
    [    1.637884] imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
    [    1.644910] imx-uart.1: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
    [    1.651417] console [ttymxc1] enabled, bootconsole disabled
    [    1.651417] console [ttymxc1] enabled, bootconsole disabled
    [    1.662978] imx-uart.3: ttymxc3 at MMIO 0x21f0000 (irq = 61) is a IMX
    [    1.674965] loop: module loaded
    [    1.678521] request BOSSA_CLK IRQ
    [    1.681840] registering IRQ 419 for BOSSAC Arduino erase/reset operation
    [    1.731631] No sata disk.
    [    1.735611] GPMI NAND driver registered. (IMX)
    [    1.741091] vcan: Virtual CAN interface driver
    [    1.745540] CAN device driver interface
    [    1.749393] flexcan netdevice driver
    [    1.753130] FEC Ethernet Driver
    [    1.758524] fec_enet_mii_bus: probed
    [    1.763300] usbcore: registered new interface driver rt2800usb
    [    1.769155] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    1.775799] fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
    [    1.782448] fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
    [    1.817106] fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000
    [    1.837085] fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
    [    1.843383] hub 1-0:1.0: USB hub found
    [    1.847166] hub 1-0:1.0: 1 port detected
    [    1.851271] add wake up source irq 72
    [    1.854969] fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
    [    1.861617] fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
    [    1.907085] fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200
    [    1.937072] fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
    [    1.943277] hub 2-0:1.0: USB hub found
    [    1.947039] hub 2-0:1.0: 1 port detected
    [    1.951479] usbcore: registered new interface driver usbtmc
    [    1.957112] Initializing USB Mass Storage driver...
    [    1.962207] usbcore: registered new interface driver usb-storage
    [    1.968233] USB Mass Storage support registered.
    [    1.973106] usbcore: registered new interface driver usbserial
    [    1.979070] USB Serial support registered for generic
    [    1.984239] usbcore: registered new interface driver usbserial_generic
    [    1.990783] usbserial: USB Serial Driver core
    [    1.995260] USB Serial support registered for debug
    [    2.000279] usbcore: registered new interface driver debug
    [    2.005770] ARC USBOTG Device Controller driver (1 August 2005)
    [    2.012078] g_ether gadget: using random self ethernet address
    [    2.017940] g_ether gadget: using random host ethernet address
    [    2.024555] usb0: MAC 7a:e4:45:23:12:98
    [    2.028409] usb0: HOST MAC fe:f8:9f:5e:78:05
    [    2.032684] g_ether gadget: controller 'fsl-usb2-udc' not recognized; trying CDC Ethernet (ECM)
    [    2.041422] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    [    2.048058] g_ether gadget: g_ether ready
    [    2.052068] Suspend udc for OTG auto detect
    [    2.087093] fsl-usb2-udc: bind to driver g_ether 
    [    2.092364] mousedev: PS/2 mouse device common for all mice
    [    2.098582] usbcore: registered new interface driver usbtouchscreen
    [    2.105282] Sitronix touch driver 2.9.1
    [    2.109135] Release date: 20120507
    [    2.112941] sitronix_reset_ic
    [    2.236206] send status reg command error (-5)
    [    2.240673] sitronix: probe of 2-0055 failed with error -5
    [    2.247223] snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0
    [    2.253894] i2c /dev entries driver
    [    2.258190] Linux media interface: v0.10
    [    2.262228] Linux video capture interface: v2.00
    [    2.287118] usb 2-1: new high speed USB device number 2 using fsl-ehci
    [    2.397169] ov5640_read_reg:write reg error:reg=300a
    [    2.402136] camera ov5640_mipi is not found
    [    2.406754] mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
    [    2.414401] mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
    [    2.422079] mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video18
    [    2.429733] mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video19
    [    2.437374] mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video20
    [    2.445181] vivi-000: V4L2 device registered as video2
    [    2.450341] Video Technology Magazine Virtual Video Capture Board ver 0.8.0 successfully loaded.
    [    2.459630] usbcore: registered new interface driver uvcvideo
    [    2.465409] USB Video Class driver (v1.1.0)
    [    2.470286] hub 2-1:1.0: USB hub found
    [    2.474215] hub 2-1:1.0: 4 ports detected
    [    2.478406] i2c-core: driver [mag3110] using legacy suspend method
    [    2.484620] i2c-core: driver [mag3110] using legacy resume method
    [    2.491306] imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
    [    2.499438] Bluetooth: Virtual HCI driver ver 1.3
    [    2.504368] Bluetooth: HCI UART driver ver 2.2
    [    2.508829] Bluetooth: HCI H4 protocol initialized
    [    2.513627] Bluetooth: HCI BCSP protocol initialized
    [    2.518604] Bluetooth: HCILL protocol initialized
    [    2.523309] Bluetooth: HCIATH3K protocol initialized
    [    2.528286] Bluetooth: Generic Bluetooth USB driver ver 0.6
    [    2.534006] usbcore: registered new interface driver btusb
    [    2.539663] sdhci: Secure Digital Host Controller Interface driver
    [    2.545847] sdhci: Copyright(c) Pierre Ossman
    [    2.550540] mmc0: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA
    [    2.557875] mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
    [    2.565879] VPU initialized
    [    2.572433] mxc_asrc registered
    [    2.595027] Thermal calibration data is 0x58f50569
    [    2.599852] Thermal sensor with ratio = 184
    [    2.617850] Anatop Thermal registered as thermal_zone0
    [    2.623172] anatop_thermal_probe: default cooling device is cpufreq!
    [    2.639408] usbcore: registered new interface driver usbhid
    [    2.644983] usbhid: USB HID core driver
    [    2.649322] usbcore: registered new interface driver snd-usb-audio
    [    2.656071] mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
    [    2.661577] Cirrus Logic CS42888 ALSA SoC Codec Driver
    [    2.666844] i2c-core: driver [cs42888] using legacy suspend method
    [    2.673118] i2c-core: driver [cs42888] using legacy resume method
    [    2.680664] mmc0: new high speed SDHC card at address b368
    [    2.686538] mmcblk0: mmc0:b368 00000 15.0 GiB 
    [    2.692557]  mmcblk0: p1
    [    2.761950] audio_codec_ac97_cold_reset 
    [    2.777596] usb 2-1.3: new high speed USB device number 3 using fsl-ehci
    [    2.839660] Found Audio codec AC97 vt1613, [ID = 5649 - 4123]
    [    2.857828] asoc: vt1613 <-> imx-ssi.0 mapping ok
    [    2.864151] imx_3stack asoc driver
    [    2.869145] asoc: mxc-hdmi-soc <-> imx-hdmi-soc-dai.0 mapping ok
    [    2.875827] ALSA device list:
    [    2.878823]   #0: vt1613-audio
    [    2.881879]   #1: imx-hdmi-soc
    [    2.885145] NET: Registered protocol family 26
    [    2.890167] TCP cubic registered
    [    2.893399] NET: Registered protocol family 17
    [    2.897868] can: controller area network core (rev 20090105 abi 8)
    [    2.904118] NET: Registered protocol family 29
    [    2.908601] can: raw protocol (rev 20090105)
    [    2.912875] can: broadcast manager protocol (rev 20090105 t)
    [    2.918633] Bluetooth: RFCOMM TTY layer initialized
    [    2.923521] Bluetooth: RFCOMM socket layer initialized
    [    2.928672] Bluetooth: RFCOMM ver 1.11
    [    2.932423] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    2.937744] Bluetooth: BNEP filters: protocol multicast
    [    2.942973] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [    2.949067] lib80211: common routines for IEEE802.11 drivers
    [    2.954756] Registering the dns_resolver key type
    [    2.959531] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    2.967601] Bus freq driver module loaded
    [    2.971616] Bus freq driver Enabled
    [    2.976967] mxc_dvfs_core_probe
    [    2.980352] DVFS driver module loaded
    [    2.985664] snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:17:09 UTC (1029)
    [    2.994299] Waiting for root device /dev/sda1...
    
    Why doesn't it recognize it correctly?

    If i kick it out of the boot order and analyze it, you can see it can be accessed after mounting it manually.
     
  6. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Hi nicoj10,
    could you try to reinstall UDOObuntu on a microSD and try to reconfigurate the boot device from the UDOO configuration tool?
    Which is the partition on the SATA disk? Ext3?
     
  7. Corry Lazarowitz

    Corry Lazarowitz New Member

    Joined:
    May 19, 2015
    Messages:
    4
    Likes Received:
    0
    I'm not sure if this worked for me yet, as I had been trying all sorts of other stuff, but it certainly produced a different boot result. The annoying thing is I looked up how to boot with sata on the site, which took me to the wiki, which has uboot environment variables to be set. Obviously, the built in tool to change things is much easier, but I didn't even look at Ubuntu much once it booted. So, in short, fix the wiki please.....PLEASE! I'll report when I finish reinstalling the image...

    Oh, and while I'm on the topic of fixing things, can you update the downloads page with a statement about how the tarballs are no longer available so we don't tear our hair out looking for a nonexistent link? I had thought perhaps I misunderstood and the sd image couldn't be dd'd to the target drive, so I wanted to try an alternate route that the wiki states, and several unofficial sources state is possible. Again, please fix these things. If you make a change, tell us that you made it, so when we come in may 2015, having never heard of udoo, never followed it, finding old documentation, we can get the story we're missing..it would *REALLY* help!

    Update:
    Ok well, that was interesint, uboot could see the sata drive fine, but somehow both the image on the SSD and the image on the SD Card lost the ability to see the sata drive. Booting led to a panic of not being able to see a device sda1 and run mmcboot and running fdisk, gparted, etc showed no device other than the SD Card. What did that option do? Clearly more than just setting uboot environment variables....I'm trying once more, everything reflashed, then ust using the tool, but I've not got high hopes. I'm not sure why all these SBCs have issues, and why all makers of them move on before ever fixing the issues with their current boards!

    Update 2:
    Yup, same thing, Use the udoo config, set sata to be boot device, and the system can't find the sata drive anymore. Lovely. Here's the log attempting to boot from it....gotta snip it to fit....
    Code:
    Hit any key to stop autoboot:  0
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: ncq stag pm led clo only pmp pio slum part
    SATA Device Info:
    S/N: S21TNWAG210464Y
    Product model number: Samsung SSD 850 EVO 120GB
    Firmware version: EMT01B6Q
    Capacity: 234441648 sectors
    Booting from sata ...
    4788388 bytes read in 69 ms (66.2 MiB/s)
    ## Booting kernel from Legacy Image at 12000000 ...
      Image Name:  Linux-3.0.35
      Image Type:  ARM Linux Kernel Image (uncompressed)
      Data Size:  4788324 Bytes = 4.6 MiB
      Load Address: 10008000
      Entry Point:  10008000
      Verifying Checksum ... OK
      Loading Kernel Image ... OK
    Starting kernel ...
    [  0.000000] Initializing cgroup subsys cpu
    [  0.000000] Linux version 3.0.35 (udoo@ubuntu) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #7 SMP PREEMPT Thu Jul 3 15:12:59 CEST 2014
    [  0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [  0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [  0.000000] Machine: SECO i.Mx6 UDOO Board
    [  0.000000] Kernel ver: v. 131\nMemory policy: ECC disabled, Data cache writealloc
    [  0.000000] CPU identified as i.MX6Q, silicon rev 1.2
    [  0.000000] PERCPU: Embedded 7 pages/cpu @8c008000 s5504 r8192 d14976 u32768
    [  0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 227328
    [  0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/sda1 fbmem=24M gpu_reserved=128M video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32
    [  0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [  0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [  0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [  0.000000] Memory: 640MB 256MB = 896MB total
    [  0.000000] Memory: 895020k/895020k available, 153556k reserved, 0K highmem
    [  0.000000] Virtual kernel memory layout:
    [  0.000000]  vector  : 0xffff0000 - 0xffff1000  (  4 kB)
    [  0.000000]  fixmap  : 0xfff00000 - 0xfffe0000  ( 896 kB)
    [  0.000000]  DMA  : 0xf4600000 - 0xffe00000  ( 184 MB)
    [  0.000000]  vmalloc : 0xc0800000 - 0xf2000000  ( 792 MB)
    [  0.000000]  lowmem  : 0x80000000 - 0xc0000000  (1024 MB)
    [  0.000000]  pkmap  : 0x7fe00000 - 0x80000000  (  2 MB)
    [  0.000000]  modules : 0x7f000000 - 0x7fe00000  (  14 MB)
    [  0.000000]  .init : 0x80008000 - 0x8003a000  ( 200 kB)
    [  0.000000]  .text : 0x8003a000 - 0x80c474f0  (12342 kB)
    [  0.000000]  .data : 0x80c48000 - 0x80cb4c80  ( 436 kB)
    [  0.000000]  .bss : 0x80cb4ca4 - 0x80d077e4  ( 331 kB)
    [  0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [  0.000000] Preemptible hierarchical RCU implementation.
    [  0.000000] NR_IRQS:624
    [  0.000000] MXC GPIO hardware
    [  0.000000] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
    [  0.000000] arm_max_freq=1GHz
    [  0.000000] MXC_Early serial console at MMIO 0x21e8000 (options '115200')
    [  0.000000] bootconsole [ttymxc1] enabled
    [  0.000000] Console: colour dummy device 80x30
    [  0.218027] Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
    [  0.306367] pid_max: default: 32768 minimum: 301
    [  0.311253] Mount-cache hash table entries: 512
    ----snip--------
    [  2.699943] sdhci: Secure Digital Host Controller Interface driver
    [  2.706128] sdhci: Copyright(c) Pierre Ossman
    [  2.710895] mmc0: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA
    [  2.718214] mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
    [  2.726224] VPU initialized
    [  2.732755] mxc_asrc registered
    [  2.756123] Thermal calibration data is 0x56f4df69
    [  2.760946] Thermal sensor with ratio = 179
    [  2.779076] Anatop Thermal registered as thermal_zone0
    [  2.784360] anatop_thermal_probe: default cooling device is cpufreq!
    [  2.791704] usbcore: registered new interface driver usbhid
    [  2.797282] usbhid: USB HID core driver
    [  2.801612] usbcore: registered new interface driver snd-usb-audio
    [  2.808346] mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
    [  2.813796] Cirrus Logic CS42888 ALSA SoC Codec Driver
    [  2.819054] i2c-core: driver [cs42888] using legacy suspend method
    [  2.821365] mmc0: new high speed SDHC card at address 59b4
    [  2.830759] i2c-core: driver [cs42888] using legacy resume method
    [  2.837104] mmcblk0: mmc0:59b4 USDU1 29.1 GiB
    [  2.842715]  mmcblk0: p1
    [  2.917826] usb 2-1.1: new full speed USB device number 3 using fsl-ehci
    [  2.919465] audio_codec_ac97_cold_reset
    [  3.000186] Found Audio codec AC97 vt1613, [ID = 5649 - 4123]
    [  3.018406] asoc: vt1613 <-> imx-ssi.0 mapping ok
    [  3.024736] imx_3stack asoc driver
    [  3.029729] asoc: mxc-hdmi-soc <-> imx-hdmi-soc-dai.0 mapping ok
    [  3.036405] ALSA device list:
    [  3.039429]  #0: vt1613-audio
    [  3.042485]  #1: imx-hdmi-soc
    [  3.045752] NET: Registered protocol family 26
    [  3.050885] TCP cubic registered
    [  3.054154] NET: Registered protocol family 17
    [  3.058636] can: controller area network core (rev 20090105 abi 8)
    [  3.064928] NET: Registered protocol family 29
    [  3.069392] can: raw protocol (rev 20090105)
    [  3.073664] can: broadcast manager protocol (rev 20090105 t)
    [  3.079481] Bluetooth: RFCOMM TTY layer initialized
    [  3.084368] Bluetooth: RFCOMM socket layer initialized
    [  3.089557] Bluetooth: RFCOMM ver 1.11
    [  3.093309] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [  3.098631] Bluetooth: BNEP filters: protocol multicast
    [  3.103858] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [  3.109973] lib80211: common routines for IEEE802.11 drivers
    [  3.115662] Registering the dns_resolver key type
    [  3.120408] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [  3.128485] Bus freq driver module loaded
    [  3.132500] Bus freq driver Enabled
    [  3.137807] mxc_dvfs_core_probe
    [  3.141150] DVFS driver module loaded
    [  3.146539] snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:01:26 UTC (86)
    [  13.057668] generic-usb 0003:093A:8002.0001: usb_submit_urb(ctrl) failed
    [  13.064403] generic-usb 0003:093A:8002.0001: timeout initializing reports
    [  13.071640] input: PixArtImaging OpticalTouchScreen as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.1/2-1.1:1.0/input/input0
    [  13.083487] generic-usb 0003:093A:8002.0001: input,hidraw0: USB HID v1.10 Mouse [PixArtImaging OpticalTouchScreen] on usb-fsl-ehci.1-1.1/input0
    [  13.096639] VFS: Cannot open root device "sda1" or unknown-block(0,0)
    [  13.103096] Please append a correct "root=" boot option; here are the available partitions:
    [  13.111468] b300  30587904 mmcblk0  driver: mmcblk
    [  13.116803]  b301  6803527 mmcblk0p1 00000000-0000-0000-0000-000000000000
    [  13.124315] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
    [  13.132616] [<800475d4>] (unwind_backtrace+0x0/0xfc) from [<8065e690>] (panic+0x74/0x19c)
    [  13.140814] [<8065e690>] (panic+0x74/0x19c) from [<80008cc4>] (mount_block_root+0x16c/0x220)
    [  13.149297] [<80008cc4>] (mount_block_root+0x16c/0x220) from [<80008e50>] (mount_root+0xd8/0xf4)
    [  13.158103] [<80008e50>] (mount_root+0xd8/0xf4) from [<80008f8c>] (prepare_namespace+0x120/0x184)
    [  13.166985] [<80008f8c>] (prepare_namespace+0x120/0x184) from [<800083dc>] (kernel_init+0x108/0x144)
    [  13.176148] [<800083dc>] (kernel_init+0x108/0x144) from [<80041080>] (kernel_thread_exit+0x0/0x8)
    
    
     
    Last edited: May 20, 2015
  8. Corry Lazarowitz

    Corry Lazarowitz New Member

    Joined:
    May 19, 2015
    Messages:
    4
    Likes Received:
    0
    in case it helps, printenv...
    Code:
     Hit any key to stop autoboot:  0
    UDOO board => printenv
    baudrate=115200
    boot=echo No boot source specified
    bootargs_base=setenv bootargs console=ttymxc0,115200
    bootargs_nfs=setenv bootargs $(bootargs) root=/dev/nfs ip=dhcp nfsroot=$(serverip):$(nfsrootfs),v3,tcp
    bootcmd=run ${src}boot; run sataboot; run mmcboot; run netboot;
    bootcmd_net=run bootargs_base bootargs_mtd bootargs_nfs; tftpboot 0x81000000 uImage-mx31; bootm
    bootdelay=5
    console=ttymxc1
    ethact=FEC
    ethaddr=00:c0:08:88:9c:ce
    ethprime=FEC
    get_cmd=ntp
    ipaddr=dhcp
    loadaddr=0x12000000
    memory=fbmem=24M gpu_reserved=128M
    mmcargs=setenv bootargs console=${console},${baudrate} root=${mmcroot} ${hdmi_patch} ${memory} ${video}
    mmcboot=if mmc rescan; then echo Booting from mmc ...; run mmcloaduimage; run mmcargs; bootm; else mmc boot failed; fi
    mmcdev=0
    mmcloaduimage=ext2load mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}
    mmcpart=1
    mmcroot=/dev/mmcblk0p1 rootwait rw
    netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ${hdmi_patch} ${memory} ${video} ip=${ipaddr} nfsroot=${serverip}:${nfsroot},v3,tcp
    netboot=echo Booting from net ...; run netargs; ${get_cmd} ${uimage}; bootm
    nfsroot=/src/nfs4/
    prg_uboot=tftpboot 0x81000000 u-boot-with-spl.bin; nand erase 0x0 0x40000; nand write 0x81000000 0x0 0x40000
    sataargs=setenv bootargs console=${console},${baudrate} root=${sataroot} ${hdmi_patch} ${memory} ${video}
    sataboot=if sata init; then echo Booting from sata ...; run sataloaduimage; run sataargs; bootm; else sata boot failed; fi
    satadev=0
    sataloaduimage=ext2load sata ${satadev}:${satapart} ${loadaddr} ${uimage}
    satapart=1
    sataroot=/dev/sda1
    serverip=192.168.1.1
    splashpos=m,m
    src=sata
    uimage=/boot/uImage
    video=video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32
    Environment size: 1758/8188 bytes
    UDOO board =>
    
    and sata stuff...
    Code:
    UDOO board => sata init
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: ncq stag pm led clo only pmp pio slum part
    SATA Device Info:
    S/N: S21TNWAG210464Y
    Product model number: Samsung SSD 850 EVO 120GB
    Firmware version: EMT01B6Q
    Capacity: 234441648 sectors
    UDOO board => sata device 0
    SATA device 0: Model: Samsung SSD 850 EVO 120GB Firm: EMT01B6Q Ser#: S21TNWAG210464Y
      Type: Hard Disk
      Supports 48-bit addressing
      Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)
    ... is now current device
    UDOO board => sata part
    Partition Map for SATA device 0  --  Partition Type: DOS
    Part  Start Sector  Num Sectors  UUID  Type
      1  16065  13607055  000c356e-01  83
    UDOO board =>
    
     
  9. Corry Lazarowitz

    Corry Lazarowitz New Member

    Joined:
    May 19, 2015
    Messages:
    4
    Likes Received:
    0
    Yes, I'm *STILL* trying just to get this booting off the SSD. Really wanted that working tonight....Not going to happen.
    So here's what I noticed: In the wiki, there is no rootwait in the instructions, or at least, I somehow ended up without it. If I add rootwait, I *ALWAYS* get that waiting for root filesystem on /dev/sda1 that this post was started for. As I said, somehow it was removed, and that's where I got the kernel panic from. I redownloaded the images, verified the sha1 hashes, reset the uboot env, fresh flash of both the SD card and the SSD, interrupted the boot and hit run sataboot, and ended up with the waiting.... If I boot the SD card, it will see the SSD, let me play with it with gparted, etc. The second I tell it to make the SSD the default boot device, the SDCard can't see the SSD ever again, and nothing works.

    What Gives? This *should* be a simple problem. SATA is sata right? The drive is a new Samsung 850 EVO drive. Same mex controller that was in the 840 EVO series. Shouldn't really be an issue there, and as I said, the SD Card sees the drive. Why can't it boot?!
     

Share This Page