This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Kernel Hanging

Other Parts Discussed in Thread: AM5728, DRA752, PMP, BEAGLEBOARD-X15, TLC59108

Hi,

We are working on AM5728 with processor SDK. The kernel is hanging at the following messages. Can any one help out on this issue,

U-Boot SPL 2015.07-00114-g167724d-dirty (Jan 12 2016 - 18:54:08)
DRA752 ES1.1
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2015.07-00114-g167724d-dirty (Jan 12 2016 - 18:54:08 +0530)

CPU  : DRA752 ES1.1
Board: BeagleBoard x15
I2C:   ready
DRAM:  2 GiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
SCSI:  SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net:   <ethaddr> not set. Validating first E-fuse MAC
Phy 1 not found
cpsw
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
604 bytes read in 3 ms (196.3 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc0 ...
3304320 bytes read in 183 ms (17.2 MiB/s)
87696 bytes read in 25 ms (3.3 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x326b80 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe7000, end 8ffff68f ... OK

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 4.1.6-g52c4aa7 (gtbldadm@ubuntu-12) (gcc version 4.9.3 20150413 (prerelease) (Linaro GCC 4.9-2015.05) ) #1 SMP PR5
[    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TI AM5728 BeagleBoard-X15
[    0.000000] cma: Reserved 24 MiB at 0xfe400000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DRA752 ES1.1
[    0.000000] PERCPU: Embedded 12 pages/cpu @ee58e000 s17088 r8192 d23872 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522065
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
[    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: 2041516K/2095100K available (6175K kernel code, 282K rwdata, 2192K rodata, 324K init, 249K bss, 29008K reserved, 24576K)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 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 - 0xc0834074   (8369 kB)
[    0.000000]       .init : 0xc0835000 - 0xc0886000   ( 324 kB)
[    0.000000]       .data : 0xc0886000 - 0xc08cc988   ( 283 kB)
[    0.000000]        .bss : 0xc08cf000 - 0xc090d77c   ( 250 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] OMAP clockevent source: timer1 at 32768 Hz
[    0.000000] clocksource 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000030] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 65535999984741ns
[    0.000030] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000396] Architected cp15 timer(s) running at 6.14MHz (virt).
[    0.000427] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[    0.000431] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[    0.000442] Switching to timer-based delay loop, resolution 162ns
[    0.000942] Console: colour dummy device 80x30
[    0.000958] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000964] This ensures that you still see kernel messages. Please
[    0.000970] update your kernel commandline.
[    0.000983] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[    0.000996] pid_max: default: 32768 minimum: 301
[    0.001068] Security Framework initialized
[    0.001108] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001119] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001646] Initializing cgroup subsys blkio
[    0.001660] Initializing cgroup subsys memory
[    0.001684] Initializing cgroup subsys devices
[    0.001696] Initializing cgroup subsys freezer
[    0.001708] Initializing cgroup subsys perf_event
[    0.001730] CPU: Testing write buffer coherency: ok
[    0.001972] /cpus/cpu@0 missing clock-frequency property
[    0.002019] missing device node for CPU 1
[    0.002029] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002069] Setting up static identity map for 0x80008280 - 0x800082d8
[    0.060655] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.060720] Brought up 2 CPUs
[    0.060733] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[    0.060740] CPU: All CPU(s) started in SVC mode.
[    0.061118] devtmpfs: initialized
[    0.083825] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.084557] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.097475] omap_hwmod: tptc0 using broken dt data from edma-controller
[    0.097932] omap_hwmod: tptc1 using broken dt data from edma-controller
[    0.268945] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.269668] pinctrl core: initialized pinctrl subsystem
[    0.270445] NET: Registered protocol family 16
[    0.271377] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.300589] cpuidle: using governor ladder
[    0.330612] cpuidle: using governor menu
[    0.336942] OMAP GPIO hardware version 0.1
[    0.357687] No ATAGs?
[    0.357719] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.357727] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.360143] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.360153] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.360602] OMAP DMA hardware revision 0.0
[    0.397922] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.400536] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
[    0.404436] vgaarb: loaded
[    0.404787] SCSI subsystem initialized
[    0.406058] palmas 0-0058: IRQ missing: skipping irq request
[    0.421135] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0
[    0.493399] pcf857x 0-0020: probed
[    0.494070] pcf857x 0-0021: probed
[    0.494198] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    0.494356] pps_core: LinuxPPS API ver. 1 registered
[    0.494364] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.494389] PTP clock support registered
[    0.494710] omap-mailbox 4883c000.mailbox: no available mbox devices found
[    0.494760] omap-mailbox 4883e000.mailbox: no available mbox devices found
[    0.494808] omap-mailbox 48840000.mailbox: no available mbox devices found
[    0.494854] omap-mailbox 48842000.mailbox: no available mbox devices found
[    0.495069] Advanced Linux Sound Architecture Driver Initialized.
[    0.495720] Switched to clocksource arch_sys_counter
[    0.504547] NET: Registered protocol family 2
[    0.505098] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.505162] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.505287] TCP: Hash tables configured (established 8192 bind 8192)
[    0.505337] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.505368] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.505509] NET: Registered protocol family 1
[    0.505757] RPC: Registered named UNIX socket transport module.
[    0.505765] RPC: Registered udp transport module.
[    0.505772] RPC: Registered tcp transport module.
[    0.505777] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.506692] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[    0.506746] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.508370] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.508447] audit: initializing netlink subsys (disabled)
[    0.508476] audit: type=2000 audit(0.490:1): initialized
[    0.514278] VFS: Disk quotas dquot_6.6.0
[    0.514428] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.516349] NFS: Registering the id_resolver key type
[    0.516380] Key type id_resolver registered
[    0.516387] Key type id_legacy registered
[    0.516437] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.518366] NET: Registered protocol family 38
[    0.518440] bounce: pool size: 64 pages
[    0.518454] io scheduler noop registered
[    0.518465] io scheduler deadline registered
[    0.518500] io scheduler cfq registered (default)
[    0.521775] pinctrl-single 4a003400.pinmux: 281 pins at pa fc003400 size 1124
[    0.554680] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[    0.554693] pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
[    0.554704] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[    0.554714] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.554818] pci 0000:00:00.0: IOMMU is currently not supported for PCI
[    0.555087] PCI: bus0: Fast back to back transfers disabled
[    0.555215] PCI: bus1: Fast back to back transfers enabled
[    0.555303] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.555317] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[    0.555329] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.557256] OMAP DSS rev 6.1
[    0.557509] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[    0.574659] tlc59108 0-0040: Successfully initialized tlc59108
[    0.577096] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    0.579908] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 299, base_baud = 3000000) is a 8250
[    1.419616] console [ttyS0] enabled
[    1.424026] [drm] Initialized drm 1.1.0 20060810
[    1.436835] brd: module loaded
[    1.444000] loop: module loaded
[    1.447988] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.457071] mousedev: PS/2 mouse device common for all mice
[    1.462675] i2c /dev entries driver
[    1.467403] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    1.472271] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
[    1.478771] omap_hsmmc 4809c000.mmc: no pinctrl state for hs200_1_8v mode
[    1.485588] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
[    1.491989] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
[    1.498386] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
[    1.504769] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
[    1.511166] omap_hsmmc 4809c000.mmc: no pinctrl state for hs mode
[    1.517302] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr_1_8v mode
[    1.556008] ledtrig-cpu: registered to indicate activity on CPUs
[    1.562300] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[    1.568762] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[    1.574897] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[    1.581574] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[    1.590239] oprofile: using timer interrupt.
[    1.594725] Initializing XFRM netlink socket
[    1.599120] NET: Registered protocol family 17
[    1.603608] NET: Registered protocol family 15
[    1.608158] Key type dns_resolver registered
[    1.612534] omap_voltage_late_init: Voltage driver support not added
[    1.619174] Power Management for TI OMAP4+ devices.
[    1.624293] ThumbEE CPU extension supported.
[    1.628620] Registering SWP/SWPB emulation handler
[    1.634752] dmm 4e000000.dmm: workaround for errata i878 in use
[    1.642248] dmm 4e000000.dmm: initialized all PAT entries
[    1.668096] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.674742] [drm] No driver support for vblank timestamp query.
[    1.705199] [drm] Enabling DMM ywrap scrolling
[    1.790237] Console: switching to colour frame buffer device 160x50
[    1.803888] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[    1.809850] omapdrm omapdrm.0: registered panic notifier
[    1.835738] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[    1.842854] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    1.847751] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
[    1.854221] omap_hsmmc 4809c000.mmc: no pinctrl state for hs200_1_8v mode
[    1.861058] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
[    1.867452] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
[    1.873832] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
[    1.880225] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
[    1.886619] omap_hsmmc 4809c000.mmc: no pinctrl state for hs mode
[    1.892737] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr_1_8v mode
[    1.985725] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[    1.991848] davinci_mdio 48485000.mdio: detected phy mask fffffff3
[    2.002366] libphy: 48485000.mdio: probed
[    2.006420] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver unknown
[    2.014459] davinci_mdio 48485000.mdio: phy[3]: device 48485000.mdio:03, driver unknown
[    2.023071] cpsw 48484000.ethernet: Detected MACID = 7c:66:9d:ed:63:a0
[    2.030351] cpsw 48484000.ethernet: cpsw: Detected MACID = 7c:66:9d:ed:63:a1
[    2.037971] hctosys: unable to open rtc device (rtc0)
[    2.054363] vdd_3v3: disabling
[    2.057674] ALSA device list:
[    2.060653]   No soundcards found.
[    2.064427] Waiting for root device PARTUUID=00000000-02...
[    2.115062] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.123189] mmc0: new SDHC card at address aaaa
[    2.128101] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
[    2.142309]  mmcblk0: p1 p2
[    2.928426] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
[    2.939653] EXT4-fs (mmcblk0p2): recovery complete
[    2.946195] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.954352] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.965140] devtmpfs: mounted
[    2.968339] Freeing unused kernel memory: 324K (c0835000 - c0886000)
INIT: version 2.88 booting
Starting udev
[    3.687835] udevd[105]: starting version 182
[    4.011478] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.voltdm
[    4.059423] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.voltdm
[    4.070617] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
[    4.084520] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.voltdm
[    4.148592] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.voltdm
[    4.251343] omap_rtc 48838000.rtc: already running
[    4.281963] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc0
[    4.292508] media: Linux media interface: v0.10
[    4.323468] Linux video capture interface: v2.00
[    4.374777] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    4.474883] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
[    4.505943] vpe 489d0000.vpe: Device registered as /dev/video0
[    5.079048] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[    5.482182] usbcore: registered new interface driver usbfs
[    5.488058] usbcore: registered new interface driver hub
[    5.493753] usbcore: registered new device driver usb
[    5.517059] dwc3 48890000.usb: otg: primary host xhci-hcd.0.auto registered
[    5.524052] dwc3 48890000.usb: otg: shared host xhci-hcd.0.auto registered
[    5.530985] dwc3 48890000.usb: otg: can't start till gadget registers
[    5.565111] CMEMK module: reference Linux version 4.1.6
[    5.571972] CMEMK Error: Failed to request_mem_region(0xa0000000, 0xa000000)
[    5.664474] cryptodev: driver 1.6 loaded.
[    5.696118] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
bootlogd: cannot allocate pseudo tty: No such file or directory
Starting random number generator daemon.
[    5.756091] random: nonblocking pool is initialized
ALSA: Restoring mixer settings...
/usr/sbin/alsactl: load_state:1729: No soundcards found...
INIT: Entering runlevel: 5
Configuring network interfaces... [    6.150164] net eth0: initializing cpsw version 1.15 (0)
[    6.158420] libphy: PHY 48485000.mdio:01 not found
[    6.163231] net eth0: phy 48485000.mdio:01 not found on slave 0
udhcpc (v1.23.1) started
Sending discover...
Sending discover...
Sending discover...
No lease, forking to background
done.
Starting system message bus: dbus.
UIM SYSFS Node Not Found
Initializing the graphics driver ...
Starting Dropbear SSH server: [   16.483916] NET: Registered protocol family 10
[   16.492285] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
dropbear.
Starting telnet daemon.
Starting tiipclad daemon
GateMP support enabled on host

Opened log file: lad.txt

numProcessors = 5 id = 0 baseId = 0

Spawned daemon: /usr/bin/lad_dra7xx

.
Starting rpcbind daemon...done.
starting statd: done
Starting syslogd/klogd: done
Starting thttpd.
Starting Lighttpd Web Server: lighttpd.
2015-10-07 20:22:00: (/home/gtbldadm/processor-sdk-linux-fido-build/build-CORTEX_1/arago-tmp-external-linaro-toolchain/work/cortexa15hf-vfp-ne
Initializing /dev/gdbtty0 based on /lib/firmware/dra7-dsp1-fw.xe66 ...
gdb_globalData (local)  = 00806000
gdb_globalData (global) = 40806000
Initializing /dev/gdbtty1 based on /lib/firmware/dra7-dsp2-fw.xe66 ...
gdb_globalData (local)  = 00806000
gdb_globalData (global) = 41006000
/
Starting Matrix GUI application.
Enabling thermal zones...
***************************************************************
***************************************************************
NOTICE: This file system contains the following GPLv3 packages:
        autoconf
        binutils-dev
        binutils
        bison-dev
        bison
        cpp-symlinks
        cpp
        g++-symlinks
        g++
        gcc-symlinks
        gcc
        gdbc6x
        gdbserver
        gstreamer1.0-libav
        libgmp10
        libmpc3
        libmpfr4
        make
        parted

If you do not wish to distribute GPLv3 components please remove
the above packages prior to distribution.  This can be done using
the opkg remove command.  i.e.:
    opkg remove <package>
Where <package> is the name printed in the list above

NOTE: If the package is a dependency of another package you
      will be notified of the dependent packages.  You should
      use the --force-removal-of-dependent-packages option to
      also remove the dependent packages as well
***************************************************************
***************************************************************
INIT: Id "O2" respawning too fast: disabled for 5 minutes
[  303.845708] EXT4-fs (mmcblk0p2): error count since last fsck: 9
[  303.851670] EXT4-fs (mmcblk0p2): initial error at time 1444248189: ext4_iget:4226: inode 399114: block 1852400175
[  303.862000] EXT4-fs (mmcblk0p2): last error at time 1452670660: ext4_iget:4207: inode 399114: block 1852400175
INIT: Id "O2" respawning too fast: disabled for 5 minutes

Thanks & Regards,

N.V.Subbaiah.