[Pandaboard]Waiting for root device - Hangs on boot

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

[Pandaboard]Waiting for root device - Hangs on boot

Postby Shawn8901 » Mon Sep 30, 2013 6:30 pm

Hi guy,
first of all sorry for my bad english.
i installed archlinux arm on my pandaboard an having trouble to get it started from sdcard.
it successful finds the boot device (fat16), executes the boot.scr scripte and loads the Kernel-Image (uImage copied from rootfs). The kernel is decompressed, loaded fine and tries set up the board. But it hangs on waiting for root device

The output of the serial console while booting (usb device still attached, but behavior if not):
$this->bbcode_second_pass_code('', 'OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

U-Boot SPL 2011.12-rc1 (Jun 07 2012 - 15:22:33)
Texas Instruments OMAP4430 ES2.2
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img


U-Boot 2011.12-rc1 (Jun 07 2012 - 15:22:33)

CPU : OMAP4430 ES2.2
Board: OMAP4 Panda
I2C: ready
DRAM: 1 GiB
WARNING: Caches not enabled
MMC: OMAP SD/MMC: 0
Using default environment

In: serial
Out: serial
Err: serial
Net: No ethernet found.
Hit any key to stop autoboot: 3  2  1  0
reading uEnv.txt

** Unable to read "uEnv.txt" from mmc 0:1 **
reading boot.scr

228 bytes read
Loaded script from boot.scr
Running bootscript from mmc0 ...
## Executing script at 82000000
reading uImage

4861520 bytes read
## Booting kernel from Legacy Image at 80300000 ...
Image Name: Linux-3.7.10-8-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4861456 Bytes = 4.6 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.7.10-8-ARCH (nobody@) (gcc version 4.7.2 (GCC) ) #1 SMP PREEMPT Fri Jun 28 21:12:16 MDT 2013
[ 0.000000] CPU: ARMv7 Processor [411fc092] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: OMAP4 Panda board
[ 0.000000] Reserving 18874368 bytes SDRAM for VRAM
[ 0.000000] cma: CMA: reserved 16 MiB at ad000000
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] OMAP4: Map 0xbf800000 to 0xfe600000 for dram barrier
[ 0.000000] On node 0 totalpages: 255488
[ 0.000000] free_area_init_node: node 0, pgdat c09b4240, node_mem_map c0a7b000
[ 0.000000] Normal zone: 1520 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 188432 pages, LIFO batch:31
[ 0.000000] HighMem zone: 528 pages used for memmap
[ 0.000000] HighMem zone: 65008 pages, LIFO batch:15
[ 0.000000] OMAP4430 ES2.2
[ 0.000000] PERCPU: Embedded 9 pages/cpu @c1283000 s13696 r8192 d14976 u36864
[ 0.000000] pcpu-alloc: s13696 r8192 d14976 u36864 alloc=9*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 253440
[ 0.000000] Kernel command line: console=ttyO2,115200n8 noinitrd init=/sbin/init root=/dev/mmcblk0p2 rootwait rw loglevel=8
[ 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: 742MB 256MB = 998MB total
[ 0.000000] Memory: 985712k/985712k available, 62864k reserved, 262144K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc08dba88 (9039 kB)
[ 0.000000] .init : 0xc08dc000 - 0xc0932580 ( 346 kB)
[ 0.000000] .data : 0xc0934000 - 0xc09b74a8 ( 526 kB)
[ 0.000000] .bss : 0xc09b74cc - 0xc0a7add8 ( 783 kB)
[ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000213] Calibrating delay loop... 1590.23 BogoMIPS (lpj=6213632)
[ 0.070312] pid_max: default: 32768 minimum: 301
[ 0.070495] Security Framework initialized
[ 0.070526] AppArmor: AppArmor disabled by boot time parameter
[ 0.070800] Mount-cache hash table entries: 512
[ 0.071960] Initializing cgroup subsys cpuacct
[ 0.071990] Initializing cgroup subsys devices
[ 0.071990] Initializing cgroup subsys freezer
[ 0.072021] Initializing cgroup subsys blkio
[ 0.072021] Initializing cgroup subsys perf_event
[ 0.072174] CPU: Testing write buffer coherency: ok
[ 0.072509] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.072784] Setting up static identity map for 0x80631ca0 - 0x80631cf8
[ 0.072814] L310 cache controller enabled
[ 0.072845] l2x0: 16 ways, CACHE_ID 0x410000c4, AUX_CTRL 0x7e470000, Cache size: 1048576 B
[ 0.135711] CPU1: Booted secondary processor
[ 0.205566] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.205596] Brought up 2 CPUs
[ 0.205627] SMP: Total of 2 processors activated (3188.82 BogoMIPS).
[ 0.206420] devtmpfs: initialized
[ 0.265899] pinctrl core: initialized pinctrl subsystem
[ 0.266235] regulator-dummy: no parameters
[ 0.267700] NET: Registered protocol family 16
[ 0.287719] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.287994] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 0.289642] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[ 0.289703] OMAP GPIO hardware version 0.1
[ 0.290161] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[ 0.290679] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[ 0.291198] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
[ 0.291778] gpiochip_add: registered GPIOs 128 to 159 on device: gpio
[ 0.292358] gpiochip_add: registered GPIOs 160 to 191 on device: gpio
[ 0.292999] omap_mux_init: Add partition: #1: core, flags: 2
[ 0.294036] omap_mux_init: Add partition: #2: wkup, flags: 2
[ 0.294219] _omap_mux_get_by_name: Could not find signal fref_clk0_out.sys_drm_msecure
[ 0.294311] _omap_mux_get_by_name: Could not find signal sys_nirq
[ 0.294311] _omap_mux_get_by_name: Could not find signal sys_nirq
[ 0.295196] _omap_mux_get_by_name: Could not find signal uart1_rx.uart1_rx
[ 0.295227] _omap_mux_get_by_name: Could not find signal uart1_rx.uart1_rx
[ 0.335144] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.335174] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.336151] omap_init_sham: platform not supported
[ 0.336151] omap_init_aes: platform not supported
[ 0.338562] OMAP DMA hardware revision 0.0
[ 0.339996] ARM PMU: not yet supported on OMAP4430 due to missing CTI driver
[ 0.346008] bio: create slab <bio-0> at 0
[ 0.356506] omap-dma-engine omap-dma-engine: OMAP DMA engine driver
[ 0.356689] vwl1271: 1800 mV
[ 0.357330] SCSI subsystem initialized
[ 0.357543] usbcore: registered new interface driver usbfs
[ 0.357574] usbcore: registered new interface driver hub
[ 0.357696] usbcore: registered new device driver usb
[ 0.370178] Skipping twl internal clock init and using bootloader value (unknown osc rate)
[ 0.371063] twl 1-0048: PIH (irq 39) chaining IRQs 418..438
[ 0.371520] VUSB: 3300 mV normal standby
[ 0.371673] unable to find transceiver of type USB2 PHY
[ 0.371673] twl6030_usb twl6030_usb: phy not ready, deferring probe
[ 0.371704] platform twl6030_usb: Driver twl6030_usb requests probe deferral
[ 0.371917] vdd_mpu: 500 <--> 1500 mV normal
[ 0.372161] vdd_iva: 500 <--> 1500 mV normal
[ 0.372406] vdd_core: 500 <--> 1500 mV normal
[ 0.372894] V1V8: 1800 mV normal standby
[ 0.373138] V2V1: 2100 mV normal standby
[ 0.373535] VMMC: 1200 <--> 3000 mV at 3000 mV normal standby
[ 0.374084] VPP: 1800 <--> 2500 mV at 1900 mV normal standby
[ 0.374755] VCXIO: 1800 mV normal standby
[ 0.374786] VCXIO: supplied by V2V1
[ 0.375671] VDAC: 1800 mV normal standby
[ 0.375701] VDAC: supplied by V2V1
[ 0.376434] VAUX2_6030: 1200 <--> 2800 mV at 1800 mV normal standby
[ 0.376983] VAUX3_6030: 1000 <--> 3000 mV at 1200 mV normal standby
[ 0.377655] CLK32KG: no parameters
[ 0.377868] VANA: 2100 mV normal standby
[ 0.378021] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 400 kHz
[ 0.378051] omap_i2c omap_i2c.1: bus 1 rev2.4.0 at 400 kHz
[ 0.393249] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 400 kHz
[ 0.393280] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 400 kHz
[ 0.408935] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
[ 0.408935] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 100 kHz
[ 0.424499] omap_i2c omap_i2c.4: bus 4 rev2.4.0 at 400 kHz
[ 0.424499] omap_i2c omap_i2c.4: bus 4 rev2.4.0 at 400 kHz
[ 0.424621] media: Linux media interface: v0.10
[ 0.424682] Linux video capture interface: v2.00
[ 0.425201] omap-iommu omap-iommu.0: ducati registered
[ 0.425262] omap-iommu omap-iommu.1: tesla registered
[ 0.425384] Advanced Linux Sound Architecture Driver Initialized.
[ 0.425811] NetLabel: Initializing
[ 0.425842] NetLabel: domain hash size = 128
[ 0.425842] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.425903] NetLabel: unlabeled traffic allowed by default
[ 0.426086] Switching to clocksource 32k_counter
[ 0.450744] NET: Registered protocol family 2
[ 0.451477] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.453308] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.454406] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.454467] TCP: reno registered
[ 0.454498] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.454559] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.454895] NET: Registered protocol family 1
[ 0.455291] RPC: Registered named UNIX socket transport module.
[ 0.455291] RPC: Registered udp transport module.
[ 0.455291] RPC: Registered tcp transport module.
[ 0.455322] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.455444] usbhs_omap usbhs_omap: ehci_logic_fck failed:-2
[ 0.512329] omap_dsp_init: 600000 bytes @ bfa00000
[ 0.513671] audit: initializing netlink socket (disabled)
[ 0.513702] type=2000 audit(0.507:1): initialized
[ 0.652984] bounce pool size: 64 pages
[ 0.658630] VFS: Disk quotas dquot_6.5.2
[ 0.658935] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.662139] NFS: Registering the id_resolver key type
[ 0.662200] Key type id_resolver registered
[ 0.662200] Key type id_legacy registered
[ 0.662261] fuse init (API version 7.20)
[ 0.662872] NILFS version 2 loaded
[ 0.663940] Btrfs loaded
[ 0.664398] aufs 3.7-20130114
[ 0.664428] msgmni has been set to 1445
[ 0.665710] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.665710] io scheduler noop registered
[ 0.665740] io scheduler deadline registered
[ 0.665771] io scheduler cfq registered (default)
[ 0.666473] OMAP DSS rev 4.0
[ 0.668548] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.669616] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 104) is a OMAP UART0
[ 0.669952] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 105) is a OMAP UART1
[ 0.670257] omap_uart.2: ttyO2 at MMIO 0x48020000 (irq = 106) is a OMAP UART2
[ 1.650695] console [ttyO2] enabled
[ 1.654754] omap_uart.3: ttyO3 at MMIO 0x4806e000 (irq = 102) is a OMAP UART3
[ 1.662750] [drm] Initialized drm 1.1.0 20060810
[ 1.674957] brd: module loaded
[ 1.682098] loop: module loaded
[ 1.688903] Rounding down aligned max_sectors from 4294967295 to 4294967288
[ 1.697204] OneNAND driver initializing
[ 1.702789] usbcore: registered new interface driver cdc_ether
[ 1.709045] usbcore: registered new interface driver rndis_host
[ 1.715362] usbcore: registered new interface driver cdc_ncm
[ 1.721679] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.728698] ehci-omap.0 supply hsusb0 not found, using dummy regulator
[ 1.735748] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 1.741943] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[ 1.777770] ehci-omap ehci-omap.0: irq 109, io mem 0x4a064c00
[ 1.793334] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 1.800048] hub 1-0:1.0: USB hub found
[ 1.804046] hub 1-0:1.0: 3 ports detected
[ 1.808593] Initializing USB Mass Storage driver...
[ 1.813873] usbcore: registered new interface driver usb-storage
[ 1.820251] USB Mass Storage support registered.
[ 1.825286] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 1.831695] unable to find transceiver of type USB2 PHY
[ 1.837249] HS USB OTG: no transceiver configured
[ 1.842254] musb-hdrc musb-hdrc.0: musb_init_controller failed with status -19
[ 1.850250] mousedev: PS/2 mouse device common for all mice
[ 1.857604] twl_rtc twl_rtc: Enabling TWL-RTC
[ 1.864685] twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
[ 1.871337] i2c /dev entries driver
[ 1.875732] lirc_dev: IR Remote Control driver registered, major 248
[ 1.882568] Driver for 1-wire Dallas network protocol.
[ 1.888824] omap_wdt: OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec
[ 1.896606] device-mapper: uevent: version 1.0.3
[ 1.901794] device-mapper: ioctl: 4.23.0-ioctl (2012-07-25) initialised: dm-devel@redhat.com
[ 1.910980] device-mapper: multipath: version 1.5.0 loaded
[ 1.916778] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 1.924133] voltdm_scale: No voltage scale API registered for vdd_mpu
[ 1.931030] cpu cpu0: omap_target: unable to scale voltage up.
[ 1.937316] voltdm_scale: No voltage scale API registered for vdd_mpu
[ 1.944183] cpu cpu0: omap_target: unable to scale voltage up.
[ 1.950439] cpuidle: using governor ladder
[ 1.954803] cpuidle: using governor menu
[ 1.959045] sdhci: Secure Digital Host Controller Interface driver
[ 1.965667] sdhci: Copyright(c) Pierre Ossman
[ 1.970367] gpio_request: gpio-0 (mmc_reset) status -16
[ 1.976074] omap_hsmmc omap_hsmmc.0: Failed to get debounce clk
[ 1.982482] omap-dma-engine omap-dma-engine: allocating channel for 62
[ 1.989501] omap-dma-engine omap-dma-engine: allocating channel for 61
[ 1.997650] omap_hsmmc.0 supply vmmc_aux not found, using dummy regulator
[ 2.051330] omap_hsmmc omap_hsmmc.4: Failed to get debounce clk
[ 2.057647] omap-dma-engine omap-dma-engine: allocating channel for 60
[ 2.064697] omap-dma-engine omap-dma-engine: allocating channel for 59
[ 2.073181] omap_hsmmc.4 supply vmmc_aux not found, using dummy regulator
[ 2.137115] usb 1-1: new high-speed USB device number 2 using ehci-omap
[ 2.302001] hub 1-1:1.0: USB hub found
[ 2.306121] hub 1-1:1.0: 5 ports detected
[ 2.310729] Registered led device: pandaboard::status1
[ 2.316284] Registered led device: pandaboard::status2
[ 2.324066] usbcore: registered new interface driver snd-usb-6fire
[ 2.331024] mmc1: card claims to support voltages below the defined range. These will be ignored.
[ 2.351043] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
[ 2.358398] mmc1: new SDIO card at address 0001
[ 2.366180] omap-abe-twl6040 omap-abe-twl6040: twl6040-legacy <-> omap-mcpdm mapping ok
[ 2.377655] omap-hdmi-audio omap-hdmi-audio: omap-hdmi-hifi <-> omap-hdmi-audio-dai mapping ok
[ 2.387939] oprofile: no performance counters
[ 2.392669] oprofile: using timer interrupt.
[ 2.397674] TCP: cubic registered
[ 2.401855] NET: Registered protocol family 10
[ 2.407409] NET: Registered protocol family 17
[ 2.412353] Key type dns_resolver registered
[ 2.417083] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 1
[ 2.427185] omap_vc_i2c_init: I2C config for vdd_iva does not match other channels (0).
[ 2.435760] omap_vc_i2c_init: I2C config for vdd_mpu does not match other channels (0).
[ 2.445220] Power Management for TI OMAP4.
[ 2.449920] ThumbEE CPU extension supported.
[ 2.454498] Registering SWP/SWPB emulation handler
[ 2.465393] clock: disabling unused clocks to save power
[ 2.471771] registered taskstats version 1
[ 2.482971] Console: switching to colour frame buffer device 80x30
[ 2.494476] omapdss DPI: Could not find exact pixel clock. Requested 23500 kHz, got 23630 kHz
[ 2.506713] VANA: incomplete constraints, leaving on
[ 2.513061] VDAC: incomplete constraints, leaving on
[ 2.519409] VUSB: incomplete constraints, leaving on
[ 2.524993] unable to find transceiver of type USB2 PHY
[ 2.530609] twl6030_usb twl6030_usb: phy not ready, deferring probe
[ 2.537322] platform twl6030_usb: Driver twl6030_usb requests probe deferral
[ 2.546264] twl_rtc twl_rtc: setting system clock to 2000-01-01 01:39:07 UTC (946690747)
[ 2.555053] ALSA device list:
[ 2.558227] #0: PandaBoard
[ 2.561309] #1: OMAPHDMI
[ 2.564514] md: Waiting for all devices to be available before autodetect
[ 2.571838] md: If you don't use raid, use raid=noautodetect
[ 2.578552] md: Autodetecting RAID arrays.
[ 2.582977] md: Scanned 0 and added 0 devices.
[ 2.587707] md: autorun ...
[ 2.590728] md: ... autorun DONE.
[ 2.594360] Waiting for root device /dev/mmcblk0p2...
[ 2.606323] usb 1-1.1: new high-speed USB device number 3 using ehci-omap
[ 2.735168] unable to find transceiver of type USB2 PHY
[ 2.740753] twl6030_usb twl6030_usb: phy not ready, deferring probe
[ 2.747436] platform twl6030_usb: Driver twl6030_usb requests probe deferral
[ 2.817138] usb 1-1.3: new high-speed USB device number 4 using ehci-omap
[ 2.947296] scsi0 : usb-storage 1-1.3:1.0
[ 2.951965] unable to find transceiver of type USB2 PHY
[ 2.957580] twl6030_usb twl6030_usb: phy not ready, deferring probe
[ 2.964263] platform twl6030_usb: Driver twl6030_usb requests probe deferral
[ 3.951904] scsi 0:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 8.01 PQ: 0 ANSI: 0 CCS
[ 3.963684] unable to find transceiver of type USB2 PHY
[ 3.963867] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 3.974945] twl6030_usb twl6030_usb: phy not ready, deferring probe
[ 3.981628] platform twl6030_usb: Driver twl6030_usb requests probe deferral
[ 3.989562] sd 0:0:0:0: [sda] 15731711 512-byte logical blocks: (8.05 GB/7.50 GiB)
[ 3.998168] sd 0:0:0:0: [sda] Write Protect is off
[ 4.003234] sd 0:0:0:0: [sda] Mode Sense: 45 00 00 08
[ 4.009307] sd 0:0:0:0: [sda] No Caching mode page present
[ 4.015136] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 4.024414] sd 0:0:0:0: [sda] No Caching mode page present
[ 4.030273] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 4.041961] sda: sda1
[ 4.047302] sd 0:0:0:0: [sda] No Caching mode page present
[ 4.053131] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 4.059631] sd 0:0:0:0: [sda] Attached SCSI removable disk
')

When booting the same rootfs image on usb it showes the image from 28th June.
$this->bbcode_second_pass_code('', '[root@alarm mnt]# uname -a
Linux alarm 3.7.10-8-ARCH #1 SMP PREEMPT Fri Jun 28 21:12:16 MDT 2013 armv7l GNU/Linux
')

when on booted on rootfs on usb and i try ls on /dev/ the mmc block device is missing. so it seems like a problem with the kernelmodule?

$this->bbcode_second_pass_code('', '[root@alarm ~]# ls /dev
autofs log ram10 stdin tty28 tty5 ttyS1
block loop0 ram11 stdout tty29 tty50 ttyS2
bsg loop1 ram12 tty tty3 tty51 ttyS3
btrfs-control loop2 ram13 tty0 tty30 tty52 uinput
bus loop3 ram14 tty1 tty31 tty53 urandom
char loop4 ram15 tty10 tty32 tty54 usbmon0
console loop5 ram2 tty11 tty33 tty55 usbmon1
cpu_dma_latency loop6 ram3 tty12 tty34 tty56 vcs
disk loop7 ram4 tty13 tty35 tty57 vcs1
ecryptfs loop-control ram5 tty14 tty36 tty58 vcs2
fb0 mapper ram6 tty15 tty37 tty59 vcs3
fb1 md0 ram7 tty16 tty38 tty6 vcs4
fb2 mem ram8 tty17 tty39 tty60 vcs5
fd mqueue ram9 tty18 tty4 tty61 vcs6
full net random tty19 tty40 tty62 vcsa
fuse network_latency rfkill tty2 tty41 tty63 vcsa1
i2c-1 network_throughput rtc tty20 tty42 tty7 vcsa2
i2c-2 null rtc0 tty21 tty43 tty8 vcsa3
i2c-3 ppp sda tty22 tty44 tty9 vcsa4
i2c-4 psaux sda1 tty23 tty45 ttyO0 vcsa5
initctl ptmx sg0 tty24 tty46 ttyO1 vcsa6
input pts shm tty25 tty47 ttyO2 watchdog
kmem ram0 snd tty26 tty48 ttyO3 zero
kmsg ram1 stderr tty27 tty49 ttyS0
')



https://github.com/archlinuxarm/PKGBUILDs/issues/288
i found this, which seems the same problem, but the config options are set in kernel

$this->bbcode_second_pass_code('', '[root@alarm mnt]# zcat /proc/config.gz | grep CONFIG_DMADEVICES
CONFIG_DMADEVICES=y
# CONFIG_DMADEVICES_DEBUG is not set
[root@alarm mnt]# zcat /proc/config.gz | grep CONFIG_DMA_OMAP
CONFIG_DMA_OMAP=y
')

the boot.scr of sdcard-rootfs
$this->bbcode_second_pass_code('', 'fatload mmc 0 0x80300000 uImage
setenv bootargs console=ttyO2,115200n8 noinitrd init=/sbin/init root=/dev/mmcblk0p2 rootwait rw loglevel=8
bootm 80300000')

for usb i exchange root=/dev/mmcblk0p2 with root=/dev/sda1, rest the same.

i also tried another sdcard, both are booting the fat16 bootfs, and hangs with same output. when changing to usb both are booting.

After googling around i'm out of ideas, so i would be very thankful for every idea.

Thanksand greetz,
Shawn.


edit:

after i found the ext2ls command of uboot i tried it on my sdcard (fs is ext3)

$this->bbcode_second_pass_code('', 'Panda # ext2ls mmc 0:2
<DIR> 4096 .
<DIR> 4096 ..
<DIR> 16384 lost+found
<SYM> 7 bin
<DIR> 4096 boot
<DIR> 4096 dev
<DIR> 4096 etc
<DIR> 4096 home
<SYM> 7 lib
<DIR> 4096 mnt
<DIR> 4096 opt
<DIR> 4096 proc
<DIR> 4096 root
<DIR> 4096 run
<SYM> 7 sbin
<DIR> 4096 srv
<DIR> 4096 sys
<DIR> 4096 tmp
<DIR> 4096 usr
<DIR> 4096 var
')
So the sdcard seems fine and the board can read it...
Maybe only a missing module or something like this? :(

Greetz.
Shawn8901
 
Posts: 2
Joined: Mon Sep 30, 2013 5:34 pm

Re: [Pandaboard]Waiting for root device - Hangs on boot

Postby vbmithr » Mon Oct 07, 2013 2:02 pm

Same problem here with the beaglebone black after having built my own kernel (just makepkg linux-am33x).

The boot process stops at [ 2.059260] Waiting for root device /dev/mmcblk0p2...

Here is the full log:

$this->bbcode_second_pass_code('', '

U-Boot SPL 2013.07 (Aug 09 2013 - 18:03:11)
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
OMAP SD/MMC: 0
mmc_send_cmd : timeout: No status update
reading args
spl: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2013.07 (Aug 09 2013 - 18:03:11)

I2C: ready
DRAM: 512 MiB
WARNING: Caches not enabled
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 1  0
gpio: pin 53 (gpio 53) value is 1
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
mmc0(part 0) is current device
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
mmc_send_cmd : timeout: No status update
mmc1(part 0) is current device
mmc_send_cmd : timeout: No status update
gpio: pin 54 (gpio 54) value is 1
SD/MMC found on device 1
reading uEnv.txt
578 bytes read in 3 ms (187.5 KiB/s)
Importing environment from mmc ...
gpio: pin 55 (gpio 55) value is 1
Checking if uenvcmd is set ...
gpio: pin 56 (gpio 56) value is 1
Running uenvcmd ...
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
mmc0(part 0) is current device
Card did not respond to voltage select!
mmc_send_cmd : timeout: No status update
Card did not respond to voltage select!
** Bad device mmc 0 **
3224664 bytes read in 554 ms (5.6 MiB/s)
14011 bytes read in 63 ms (216.8 KiB/s)
Booting from mmc ...
Kernel image @ 0x80200000 [ 0x000000 - 0x313458 ]
## Flattened Device Tree blob at 80f80000
Booting using the fdt blob at 0x80f80000
Using Device Tree in place at 80f80000, end 80f866ba

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.12.0-rc2-1-1-ARCH (vb@alarm) (gcc version 4.7.2 (GCC) ) #1 SMP Wed Oct 2 14:54:42 CEST 2013
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.0 (sgx neon )
[ 0.000000] PERCPU: Embedded 8 pages/cpu @c0d83000 s9728 r8192 d14848 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129792
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait fixrtc
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] allocated 1048576 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 507952K/523264K available (6084K kernel code, 457K rwdata, 2252K rodata, 257K init, 605K bss, 15312K 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] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc082c4b4 (8338 kB)
[ 0.000000] .init : 0xc082d000 - 0xc086d600 ( 258 kB)
[ 0.000000] .data : 0xc086e000 - 0xc08e0738 ( 458 kB)
[ 0.000000] .bss : 0xc08e0740 - 0xc0977bb0 ( 606 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000366] Calibrating delay loop... 364.54 BogoMIPS (lpj=729088)
[ 0.027653] pid_max: default: 32768 minimum: 301
[ 0.027899] Security Framework initialized
[ 0.028014] Mount-cache hash table entries: 512
[ 0.034269] Initializing cgroup subsys memory
[ 0.034353] Initializing cgroup subsys devices
[ 0.034374] Initializing cgroup subsys freezer
[ 0.034394] Initializing cgroup subsys net_cls
[ 0.034411] Initializing cgroup subsys blkio
[ 0.034428] Initializing cgroup subsys perf_event
[ 0.034584] CPU: Testing write buffer coherency: ok
[ 0.035137] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.035218] Setting up static identity map for 0xc05bf960 - 0xc05bf9b8
[ 0.036695] Brought up 1 CPUs
[ 0.036716] SMP: Total of 1 processors activated.
[ 0.036731] CPU: All CPU(s) started in SVC mode.
[ 0.037995] devtmpfs: initialized
[ 0.044927] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.050714] omap_hwmod: debugss: _wait_target_disable failed
[ 0.106829] xor: measuring software checksum speed
[ 0.143629] arm4regs : 683.000 MB/sec
[ 0.183626] 8regs : 504.000 MB/sec
[ 0.223622] 32regs : 682.000 MB/sec
[ 0.263626] neon : 489.000 MB/sec
[ 0.263643] xor: using function: arm4regs (683.000 MB/sec)
[ 0.263671] pinctrl core: initialized pinctrl subsystem
[ 0.264307] regulator-dummy: no parameters
[ 0.267719] NET: Registered protocol family 16
[ 0.268588] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.269308] cpuidle: using governor ladder
[ 0.269330] cpuidle: using governor menu
[ 0.279173] OMAP GPIO hardware version 0.1
[ 0.287428] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.301359] bio: create slab <bio-0> at 0
[ 0.367920] raid6: int32x1 87 MB/s
[ 0.436026] raid6: int32x2 111 MB/s
[ 0.504246] raid6: int32x4 98 MB/s
[ 0.571653] raid6: int32x8 91 MB/s
[ 0.639671] raid6: neonx1 792 MB/s
[ 0.707647] raid6: neonx2 1034 MB/s
[ 0.775637] raid6: neonx4 329 MB/s
[ 0.843889] raid6: neonx8 192 MB/s
[ 0.843905] raid6: using algorithm neonx2 (1034 MB/s)
[ 0.843920] raid6: using intx1 recovery algorithm
[ 0.844732] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot
[ 0.844785] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5
[ 0.846801] SCSI subsystem initialized
[ 0.847229] usbcore: registered new interface driver usbfs
[ 0.847334] usbcore: registered new interface driver hub
[ 0.847694] usbcore: registered new device driver usb
[ 0.848169] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
[ 0.848208] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[ 0.848308] media: Linux media interface: v0.10
[ 0.848393] Linux video capture interface: v2.00
[ 0.850619] Switched to clocksource timer1
[ 0.867373] NET: Registered protocol family 2
[ 0.868563] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.868708] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)
[ 0.868873] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.868989] TCP: reno registered
[ 0.869017] UDP hash table entries: 256 (order: 1, 12288 bytes)
[ 0.869064] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[ 0.869521] NET: Registered protocol family 1
[ 0.870146] RPC: Registered named UNIX socket transport module.
[ 0.870169] RPC: Registered udp transport module.
[ 0.870182] RPC: Registered tcp transport module.
[ 0.870196] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.885799] VFS: Disk quotas dquot_6.5.2
[ 0.886323] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.891214] NFS: Registering the id_resolver key type
[ 0.891314] Key type id_resolver registered
[ 0.891332] Key type id_legacy registered
[ 0.893173] bio: create slab <bio-1> at 1
[ 0.894427] Btrfs loaded
[ 0.895101] msgmni has been set to 992
[ 0.900267] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.900584] io scheduler noop registered
[ 0.900604] io scheduler deadline registered
[ 0.900947] io scheduler cfq registered (default)
[ 0.902007] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.903926] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.906244] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
[ 1.603698] console [ttyO0] enabled
[ 1.608615] [drm] Initialized drm 1.1.0 20060810
[ 1.626718] brd: module loaded
[ 1.636109] loop: module loaded
[ 1.640066] Loading iSCSI transport class v2.0-870.
[ 1.646001] iscsi: registered transport (tcp)
[ 1.652843] libphy: Fixed MDIO Bus: probed
[ 1.658700] usbcore: registered new interface driver usb-storage
[ 1.665334] usbcore: registered new interface driver usbserial
[ 1.674497] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[ 1.681121] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
[ 1.689797] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.697015] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.704672] usb usb1: Product: MUSB HDRC host driver
[ 1.709945] usb usb1: Manufacturer: Linux 3.12.0-rc2-1-1-ARCH musb-hcd
[ 1.716869] usb usb1: SerialNumber: musb-hdrc.0.auto
[ 1.723170] hub 1-0:1.0: USB hub found
[ 1.727251] hub 1-0:1.0: 1 port detected
[ 1.734229] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.740833] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
[ 1.749487] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.756712] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.764373] usb usb2: Product: MUSB HDRC host driver
[ 1.769648] usb usb2: Manufacturer: Linux 3.12.0-rc2-1-1-ARCH musb-hcd
[ 1.776568] usb usb2: SerialNumber: musb-hdrc.1.auto
[ 1.782752] hub 2-0:1.0: USB hub found
[ 1.786822] hub 2-0:1.0: 1 port detected
[ 1.801650] mousedev: PS/2 mouse device common for all mice
[ 1.809700] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 1.817628] i2c /dev entries driver
[ 1.821780] Driver for 1-wire Dallas network protocol.
[ 1.828753] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.838561] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.845538] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.851580] usbcore: registered new interface driver usbhid
[ 1.857521] usbhid: USB HID core driver
[ 1.862560] ashmem: initialized
[ 1.867517] TCP: cubic registered
[ 1.872300] NET: Registered protocol family 10
[ 1.878402] mip6: Mobile IPv6
[ 1.881642] NET: Registered protocol family 17
[ 1.886852] Key type dns_resolver registered
[ 1.891726] ThumbEE CPU extension supported.
[ 1.896429] Registering SWP/SWPB emulation handler
[ 1.902780] registered taskstats version 1
[ 1.912969] DCDC1: at 1500 mV
[ 1.917489] vdd_mpu: 925 <--> 1325 mV at 1100 mV
[ 1.923782] vdd_core: 925 <--> 1150 mV at 1100 mV
[ 1.929964] LDO1: at 1800 mV
[ 1.934298] LDO2: at 3300 mV
[ 1.939358] LDO3: 1800 mV
[ 1.943417] LDO4: at 3300 mV
[ 1.947535] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 1.953268] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 2.010689] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 2.017172] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 2.024817] libphy: 4a101000.mdio: probed
[ 2.029144] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 2.039123] Random MACID = de:05:88:e3:6d:49
[ 2.045546] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 2.063306] Waiting for root device /dev/mmcblk0p2...
')
vbmithr
 
Posts: 7
Joined: Fri Dec 16, 2011 10:00 am

Re: [Pandaboard]Waiting for root device - Hangs on boot

Postby Shawn8901 » Sat Oct 12, 2013 4:03 pm

Hi,
how does your own config differ from the repo kernel from repository? And does your board boot fine with the repo kernel?
Shawn8901
 
Posts: 2
Joined: Mon Sep 30, 2013 5:34 pm

Re: [Pandaboard]Waiting for root device - Hangs on boot

Postby mhadi » Sat Nov 16, 2013 7:32 am

hi guys
i bought a pandaboard ES Rev. B1
first i tried to make ubuntu-12.04-preinstalled-server-armhf+omap4 on a SDHD EMTEC 8GB class 4
(i just described it completely as i saw many challenges on class and type of MMC)
every time i followed the steps thoroughly from http://www.novemberkiloecho.com/2012/04 ... rformance/ but every time that it hung in installation process and i rebooted that it behaved differently.
sometimes it stopped before enteral reboot and sometimes after booting kernel. i decided to change the mmc and this time i got 8GB TOSHIBA class 10 sd which performs really fast, but problems are enduring.
i tried many different approaches like partitioning manually.but that did not work too.the versions that i used are listed below
1. ubuntu 12.10 (lep linaro)
2. ArchLinuxARM-omap-smp-latest
3. ubuntu-core-11.10-core-armel
4. panda-raring_developer_20131021-500(linaro)
5. trusty-server-armhf+omap4
please if u have or know a practical method to bring a linux os on pandaboard help me!
it is vital for me
mhadi
 
Posts: 1
Joined: Fri Nov 15, 2013 1:54 pm


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 27 guests