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.

AM335x I2C driver crashes in working system

Hello,


In one of our working system, i2c driver had crashed. This problem occurred when we were doing 4 video calls.  Please note as mentioned in dmesg that we are using linux-3.14.26 kernel.  We have connected one external RTC clock on this I2C bus. Why such problem may occur? Kindly resolve this problem.

3386.dmesg.txt
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.14.26-gb9df364-dirty (rajdeepvaghasiya@localhost.localdomain) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Wed Sep 14 15:37:08 IST 2016
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: MATRIX: ETERNITY_NEV3
[    0.000000] cma: CMA: reserved 16 MiB at 8e800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 65280
[    0.000000] free_area_init_node: node 0, pgdat c070b90c, node_mem_map cfbbb000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65280 pages, LIFO batch:15
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (neon )
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64768
[    0.000000] Kernel command line: console=ttyO0,115200n8 consoleblank=0 init=/etc/preinit root=ubi0:rootfs rw ubi.mtd=9,2048 noinitrd rootfstype=ubifs rootflags=sync user_debug=31 mem=256M mtdparts=omap2-nand.0:128k(SPL),128k(SPL.backup1),128k(SPL.backup2),128k(SPL.backup3),1m(U-Boot),512k(U-Boot-Env),1m(dtb),8m(Recv-Kernel),20m(Recv-Fs),16m(data),8m(Kernel),-(Rootfs) ethaddr=00:1B:09:02:91:59
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 234892K/261120K available (5052K kernel code, 241K rwdata, 1676K rodata, 208K init, 202K bss, 26228K 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 : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc069a550   (6730 kB)
[    0.000000]       .init : 0xc069b000 - 0xc06cf02c   ( 209 kB)
[    0.000000]       .data : 0xc06d0000 - 0xc070c640   ( 242 kB)
[    0.000000]        .bss : 0xc070c640 - 0xc073f058   ( 203 kB)
[    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 25000000 Hz
[    0.000014] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798691800ns
[    0.000031] OMAP clocksource: timer1 at 25000000 Hz
[    0.000280] Console: colour dummy device 80x30
[    0.000305] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
[    0.089521] pid_max: default: 32768 minimum: 301
[    0.089616] Security Framework initialized
[    0.089672] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.089681] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.095927] CPU: Testing write buffer coherency: ok
[    0.096296] Setting up static identity map for 0x804c9c60 - 0x804c9cb8
[    0.097202] devtmpfs: initialized
[    0.099125] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.101300] ------------[ cut here ]------------
[    0.101343] WARNING: CPU: 0 PID: 1 at arch/arm/mach-omap2/omap_hwmod.c:2568 _init+0x3cc/0x418()
[    0.101352] omap_hwmod: rtc: doesn't have mpu register target base
[    0.101357] Modules linked in:
[    0.101374] CPU: 0 PID: 1 Comm: swapper Not tainted 3.14.26-gb9df364-dirty #1
[    0.101426] [<c0013bc8>] (unwind_backtrace) from [<c0011120>] (show_stack+0x10/0x14)
[    0.101457] [<c0011120>] (show_stack) from [<c0033aec>] (warn_slowpath_common+0x64/0x84)
[    0.101474] [<c0033aec>] (warn_slowpath_common) from [<c0033ba0>] (warn_slowpath_fmt+0x30/0x40)
[    0.101489] [<c0033ba0>] (warn_slowpath_fmt) from [<c06a54c4>] (_init+0x3cc/0x418)
[    0.101518] [<c06a54c4>] (_init) from [<c0023bfc>] (omap_hwmod_for_each+0x30/0x5c)
[    0.101535] [<c0023bfc>] (omap_hwmod_for_each) from [<c06a5a50>] (__omap_hwmod_setup_all+0x24/0x40)
[    0.101550] [<c06a5a50>] (__omap_hwmod_setup_all) from [<c0008850>] (do_one_initcall+0xe4/0x140)
[    0.101576] [<c0008850>] (do_one_initcall) from [<c069bb44>] (kernel_init_freeable+0xe8/0x1b0)
[    0.101600] [<c069bb44>] (kernel_init_freeable) from [<c04c33a0>] (kernel_init+0x8/0xec)
[    0.101616] [<c04c33a0>] (kernel_init) from [<c000e458>] (ret_from_fork+0x14/0x3c)
[    0.101664] ---[ end trace f862c5e48e2c78c0 ]---
[    0.105626] omap_hwmod: tptc0 using broken dt data from edma
[    0.105692] omap_hwmod: tptc1 using broken dt data from edma
[    0.105753] omap_hwmod: tptc2 using broken dt data from edma
[    0.109808] omap_hwmod: debugss: _wait_target_disable failed
[    0.165265] pinctrl core: initialized pinctrl subsystem
[    0.166137] regulator-dummy: no parameters
[    0.167808] NET: Registered protocol family 16
[    0.169786] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.171513] cpuidle: using governor ladder
[    0.171528] cpuidle: using governor menu
[    0.177483] syscon 44e10000.control_module: regmap [mem 0x44e10000-0x44e107fb] registered
[    0.178739] platform 49000000.edma: alias fck already exists
[    0.178761] platform 49000000.edma: alias fck already exists
[    0.178774] platform 49000000.edma: alias fck already exists
[    0.179804] OMAP GPIO hardware version 0.1
[    0.187806] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@44e10800/nandflash_pins_default, deferring probe
[    0.187838] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral
[    0.188954] MATRIX NEV3: Registering i2c_board_info at Bus number 1
[    0.189479] No ATAGs?
[    0.189541] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.206535] bio: create slab <bio-0> at 0
[    0.218862] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.220199] SCSI subsystem initialized
[    0.221038] usbcore: registered new interface driver usbfs
[    0.221207] usbcore: registered new interface driver hub
[    0.221419] usbcore: registered new device driver usb
[    0.222070] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/i2c1_pins_default, deferring probe
[    0.222096] platform 4802a000.i2c: Driver omap_i2c requests probe deferral
[    0.222385] pps_core: LinuxPPS API ver. 1 registered
[    0.222394] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.222500] PTP clock support registered
[    0.223797] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[    0.225066] Switched to clocksource timer1
[    0.241680] NET: Registered protocol family 2
[    0.242500] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.242536] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.242563] TCP: Hash tables configured (established 2048 bind 2048)
[    0.242647] TCP: reno registered
[    0.242659] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.242676] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.242893] NET: Registered protocol family 1
[    0.243200] RPC: Registered named UNIX socket transport module.
[    0.243210] RPC: Registered udp transport module.
[    0.243215] RPC: Registered tcp transport module.
[    0.243222] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.244249] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[    0.246731] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.248244] VFS: Disk quotas dquot_6.5.2
[    0.248308] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.248836] NFS: Registering the id_resolver key type
[    0.248912] Key type id_resolver registered
[    0.248919] Key type id_legacy registered
[    0.248977] msgmni has been set to 490
[    0.250212] io scheduler noop registered
[    0.250226] io scheduler deadline registered
[    0.250254] io scheduler cfq registered (default)
[    0.251703] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.252882] omap_uart 44e09000.serial: no wakeirq for uart0
[    0.253044] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88, base_baud = 3000000) is a OMAP UART0
[    0.888280] console [ttyO0] enabled
[    0.892626] omap_uart 48022000.serial: no wakeirq for uart0
[    0.898573] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89, base_baud = 3000000) is a OMAP UART1
[    0.908751] omap_uart 48024000.serial: no wakeirq for uart0
[    0.914696] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 90, base_baud = 3000000) is a OMAP UART2
[    0.925532] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    0.942226] brd: module loaded
[    0.950669] loop: module loaded
[    0.955053] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.963485] of_dma_request_slave_channel: dma-names property of node '/ocp/spi@481a0000' missing or empty
[    0.973643] spi spi1.0: not using DMA for McSPI
[    0.978716] m25p80 spi1.0: found s25fl129p1, expected m25p80
[    0.984625] m25p80 spi1.0: s25fl129p1 (16384 Kbytes)
[    0.992083] PPP generic driver version 2.4.2
[    0.996981] PPP BSD Compression module registered
[    1.001927] PPP Deflate Compression module registered
[    1.007274] PPP MPPE Compression module registered
[    1.012263] NET: Registered protocol family 24
[    1.017595] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.024401] ehci-omap: OMAP-EHCI Host Controller driver
[    1.030073] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.036799] usbcore: registered new interface driver cdc_acm
[    1.042693] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.051221] usbcore: registered new interface driver usblp
[    1.057088] usbcore: registered new interface driver cdc_wdm
[    1.063107] usbcore: registered new interface driver usbtmc
[    1.069128] usbcore: registered new interface driver usb-storage
[    1.075546] usbcore: registered new interface driver usbtest
[    1.083107] 47401300.usb-phy supply vcc not found, using dummy regulator
[    1.092350] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[    1.092369] musb-hdrc: MHDRC RTL version 2.0 
[    1.092378] musb-hdrc: setup fifo_mode 4
[    1.092396] musb-hdrc: 28/31 max ep, 16384/16384 memory
[    1.092494] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[    1.098941] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
[    1.107303] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.114377] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.121919] usb usb1: Product: MUSB HDRC host driver
[    1.127099] usb usb1: Manufacturer: Linux 3.14.26-gb9df364-dirty musb-hcd
[    1.134168] usb usb1: SerialNumber: musb-hdrc.0.auto
[    1.140231] hub 1-0:1.0: USB hub found
[    1.144179] hub 1-0:1.0: 1 port detected
[    1.149314] 47401b00.usb-phy supply vcc not found, using dummy regulator
[    1.158510] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[    1.158527] musb-hdrc: MHDRC RTL version 2.0 
[    1.158535] musb-hdrc: setup fifo_mode 4
[    1.158549] musb-hdrc: 28/31 max ep, 16384/16384 memory
[    1.158642] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.165027] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
[    1.173463] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.180556] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.188090] usb usb2: Product: MUSB HDRC host driver
[    1.193260] usb usb2: Manufacturer: Linux 3.14.26-gb9df364-dirty musb-hcd
[    1.200337] usb usb2: SerialNumber: musb-hdrc.1.auto
[    1.206619] hub 2-0:1.0: USB hub found
[    1.210561] hub 2-0:1.0: 1 port detected
[    1.227592] i2c /dev entries driver
[    1.232185] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[    1.244109] usbcore: registered new interface driver usbhid
[    1.249968] usbhid: USB HID core driver
[    1.254152] platform 44d00000.wkup_m3: Driver wkup_m3 requests probe deferral
[    1.262434] oprofile: using arm/armv7
[    1.266395] Netfilter messages via NETLINK v0.30.
[    1.271320] nf_conntrack version 0.5.0 (3926 buckets, 15704 max)
[    1.277801] ctnetlink v0.93: registering with nfnetlink.
[    1.283606] ipip: IPv4 over IPv4 tunneling driver
[    1.289957] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.295751] ipt_CLUSTERIP: ClusterIP Version 0.8 loaded successfully
[    1.302472] TCP: cubic registered
[    1.305976] Initializing XFRM netlink socket
[    1.310494] NET: Registered protocol family 10
[    1.316210] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    1.322119] sit: IPv6 over IPv4 tunneling driver
[    1.328513] NET: Registered protocol family 17
[    1.333230] NET: Registered protocol family 15
[    1.338010] Bridge firewalling registered
[    1.342245] 8021q: 802.1Q VLAN Support v1.8
[    1.346716] Key type dns_resolver registered
[    1.352336] PM: Voltage scaling data blob not provided from DT.
[    1.358712] PM: no-rtc available, rtc-only mode disabled.
[    1.364386] ThumbEE CPU extension supported.
[    1.370320] regulator-dummy: disabling
[    1.374617] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    1.380078] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    1.387610] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xf1
[    1.394296] nand: AMD/Spansion S34ML01G2
[    1.398449] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    1.404341] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[    1.409936] 12 cmdlinepart partitions found on MTD device omap2-nand.0
[    1.416744] Creating 12 MTD partitions on "omap2-nand.0":
[    1.422373] 0x000000000000-0x000000020000 : "SPL"
[    1.428998] 0x000000020000-0x000000040000 : "SPL.backup1"
[    1.436095] 0x000000040000-0x000000060000 : "SPL.backup2"
[    1.443073] 0x000000060000-0x000000080000 : "SPL.backup3"
[    1.450110] 0x000000080000-0x000000180000 : "U-Boot"
[    1.457385] 0x000000180000-0x000000200000 : "U-Boot-Env"
[    1.464665] 0x000000200000-0x000000300000 : "dtb"
[    1.471728] 0x000000300000-0x000000b00000 : "Recv-Kernel"
[    1.485282] 0x000000b00000-0x000001f00000 : "Recv-Fs"
[    1.508160] 0x000001f00000-0x000002f00000 : "data"
[    1.527553] 0x000002f00000-0x000003700000 : "Kernel"
[    1.540526] 0x000003700000-0x000008000000 : "Rootfs"
[    1.611330] rtc-s35390a 1-0030: rtc core: registered rtc-s35390a as rtc0
[    1.618445] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[    1.624640]  remoteproc0: wkup_m3 is available
[    1.629343]  remoteproc0: Note: remoteproc is still under development and considered experimental.
[    1.638684]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[    1.649780]  remoteproc0: powering up wkup_m3
[    1.654327]  remoteproc0: Booting fw image am335x-pm-firmware.elf, size 154412
[    1.662195] PM: CM3 Firmware Version = 0x190
[    1.666774]  remoteproc0: remote processor wkup_m3 is now up
[    1.673236] UBI: attaching mtd9 to ubi0
[    1.774012] UBI: scanning is finished
[    1.784256] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 7, need 20
[    1.796035] UBI: attached mtd9 (name "Recv-Fs", size 20 MiB) to ubi0
[    1.802661] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    1.809762] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    1.816659] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[    1.823816] UBI: good PEBs: 160, bad PEBs: 0, corrupted PEBs: 0
[    1.829986] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[    1.837427] UBI: max/mean erase counter: 7/1, WL threshold: 4096, image sequence number: 656601578
[    1.846764] UBI: available PEBs: 0, total reserved PEBs: 160, PEBs reserved for bad PEB handling: 7
[    1.856815] UBI: background thread "ubi_bgt0d" started, PID 722
[    1.925116] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    1.931478] davinci_mdio 4a101000.mdio: detected phy mask ffffff7e
[    1.939120] libphy: 4a101000.mdio: probed
[    1.943306] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
[    1.951744] davinci_mdio 4a101000.mdio: phy[7]: device 4a101000.mdio:07, driver unknown
[    1.960654] cpsw 4a100000.ethernet: Detected MACID = 00:1b:09:02:91:59
[    1.969476] rtc-s35390a 1-0030: setting system clock to 2016-09-29 03:01:06 UTC (1475118066)
[    1.982274] UBIFS: parse sync
[    2.001749] UBIFS: background thread "ubifs_bgt0_0" started, PID 736
[    2.025049] UBIFS: recovery needed
[    2.128124] UBIFS: recovery completed
[    2.132087] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    2.138372] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    2.147896] UBIFS: FS size: 17522688 bytes (16 MiB, 138 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[    2.157957] UBIFS: reserved for root: 0 bytes (0 KiB)
[    2.163222] UBIFS: media format: w4/r0 (latest is w4/r0), UUID D0B55590-4203-45B6-A888-7BF20DA17BFF, small LPT model
[    2.175112] VFS: Mounted root (ubifs filesystem) on device 0:13.
[    2.181643] Freeing unused kernel memory: 208K (c069b000 - c06cf000)
[    4.614277] UBI: attaching mtd12 to ubi1
[    4.971176] UBI: scanning is finished
[    4.983071] UBI: attached mtd12 (name "Rootfs", size 73 MiB) to ubi1
[    4.989750] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    4.996828] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    5.003715] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.010882] UBI: good PEBs: 584, bad PEBs: 0, corrupted PEBs: 0
[    5.017051] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[    5.024483] UBI: max/mean erase counter: 34/14, WL threshold: 4096, image sequence number: 2089560987
[    5.034092] UBI: available PEBs: 0, total reserved PEBs: 584, PEBs reserved for bad PEB handling: 20
[    5.043627] UBI: background thread "ubi_bgt1d" started, PID 754
[    5.074963] UBIFS: background thread "ubifs_bgt1_0" started, PID 757
[    5.098174] UBIFS: recovery needed
[    5.514451] UBIFS: recovery completed
[    5.518475] UBIFS: mounted UBI device 1, volume 0, name "rootfs"
[    5.524735] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    5.534267] UBIFS: FS size: 69709824 bytes (66 MiB, 549 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
[    5.544331] UBIFS: reserved for root: 0 bytes (0 KiB)
[    5.549605] UBIFS: media format: w4/r0 (latest is w4/r0), UUID C2A731FF-58F6-44B3-A51A-1DD92DDFA016, small LPT model
[    6.064901] net eth0: initializing cpsw version 1.12 (0)
[    6.145500] net eth0: phy found : id is : 0x221560
[    6.157734] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.163818] 8021q: adding VLAN 0 to HW filter on device eth0
[    6.210986] usbcore: registered new interface driver usbserial
[    6.217307] usbcore: registered new interface driver usbserial_generic
[    6.224257] usbserial: USB Serial support registered for generic
[    6.286986] Drv_Leds: Info: Date: Sep 20 2016 Time: 11:05:41 
[    6.331078] Drv_GPIO: Info: Date--1: Sep 12 2016 Time: 19:49:38 
[    6.373278] Drv_PWDJMP: Info: Date: Sep 12 2016 Time: 18:16:29 
[    6.415893] Drv_DspHpi: Info: Date: Sep 12 2016 Time: 18:16:31 
[    6.422115] Drv_DspHpi: Info:  SETUP_CS2_BASEADDR = 11000000
[    6.428079] Drv_DspHpi :INFO: DspHpi module inserted successfully
[    6.470100] Drv_Test: Info: Date: Sep 12 2016 Time: 18:16:30 
[    6.512941] VoipHpi_Drv: Info: Date: Sep 12 2016 Time: 18:16:32 
[    6.519522] VoipHpi_Drv :INFO: VOPP HPI module inserted successfully
[    6.561861] wdt_drv: Info: Date: Sep 12 2016 Time: 18:16:30 
[    7.605753] Drv_GPIO:Info: USB set/reset gpioData: 1
[    7.605753]  
[    7.612636] Drv_GPIO:Info: De-Activate USB Supply 
[    8.145843] libphy: 4a101000.mdio:07 - Link is Up - 100/Full
[    8.151782] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.635771] Drv_GPIO:Info: USB set/reset gpioData: 0
[    8.635771]  
[    8.642584] Drv_GPIO:Info: Activate USB Supply 
[   16.781328] UBI: attaching mtd10 to ubi2
[   16.862962] UBI: scanning is finished
[   16.887546] UBI: attached mtd10 (name "data", size 16 MiB) to ubi2
[   16.894002] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[   16.901180] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[   16.908078] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[   16.915245] UBI: good PEBs: 128, bad PEBs: 0, corrupted PEBs: 0
[   16.921408] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[   16.928849] UBI: max/mean erase counter: 28/18, WL threshold: 4096, image sequence number: 1467812758
[   16.938459] UBI: available PEBs: 0, total reserved PEBs: 128, PEBs reserved for bad PEB handling: 20
[   16.947996] UBI: background thread "ubi_bgt2d" started, PID 879
[   16.994839] UBIFS: background thread "ubifs_bgt2_0" started, PID 882
[   17.018256] UBIFS: recovery needed
[   17.158290] UBIFS: recovery completed
[   17.162261] UBIFS: mounted UBI device 2, volume 0, name "data"
[   17.168446] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[   17.178059] UBIFS: FS size: 11935744 bytes (11 MiB, 94 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[   17.187979] UBIFS: reserved for root: 563754 bytes (550 KiB)
[   17.193879] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 53882EBF-4A2E-4558-8FD0-9E68A6FE6ABC, small LPT model
[   18.412193] net eth0: initializing cpsw version 1.12 (0)
[   18.495502] net eth0: phy found : id is : 0x221560
[   18.505275] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.511359] 8021q: adding VLAN 0 to HW filter on device eth0
[   21.495666] libphy: 4a101000.mdio:07 - Link is Up - 100/Full
[   21.501624] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   30.719530] VoipHpi_Drv :Info: voiphpi open
[   30.725980] Drv_DspHpi : INFO:dsphpi_open
[   30.830936] VoipHpi_Drv :INFO: DSP_IOCTL_HOLD_RESET 
[   30.855145] VoipHpi_Drv :INFO: DSP_IOCTL_LEAVE_RESET 
[   33.475908] Drv_DspHpi : INFO: dsphpi_close
[   33.551486] Drv_GPIO: Info: gpio_open
[   33.571456] Drv_DspHpi : INFO:dsphpi_open
[   39.086364] Drv_Leds :Info: Leds open
[   39.092775] Drv_PWDJMP :Info: PasswordJumper open
[   39.101925] Drv_GPIO: Info: gpio_open
[   41.650830] random: dnsmasq urandom read with 63 bits of entropy available
[  148.375193] random: nonblocking pool is initialized
[  487.975446] [sched_delayed] sched: RT throttling activated
[  497.012552] omap_i2c 4802a000.i2c: controller timed out
[  516.011104] omap_i2c 4802a000.i2c: controller timed out
[  549.907662] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa02a02c
[  549.922289] Internal error: : 1028 [#1] ARM
[  549.930152] Modules linked in: watchdog(O) vopp(O) test(O) dsphpi(O) pwdjmp(O) gpio(O) leds(O) usbserial
[  549.948865] CPU: 0 PID: 705 Comm: irq/87-4802a000 Tainted: G        W  O 3.14.26-gb9df364-dirty #1
[  549.965504] task: ce2d6800 ti: ce31c000 task.ti: ce31c000
[  549.975878] PC is at omap_i2c_isr_thread+0x3c/0x318
[  549.985079] LR is at irq_thread_fn+0x1c/0x34
[  549.993191] pc : [<c035a25c>]    lr : [<c005dc60>]    psr: 20000093
[  549.993191] sp : ce31df10  ip : 00000000  fp : 00000065
[  550.014433] r10: 00000010  r9 : 00000216  r8 : 00004000
[  550.024218] r7 : 00000008  r6 : 00000004  r5 : 20000013  r4 : ce312410
[  550.036374] r3 : fa02a02c  r2 : fa02a000  r1 : 0000002c  r0 : 00000057
[  550.048551] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[  550.062310] Control: 10c5387d  Table: 8e6c0019  DAC: 00000015
[  550.073047] Process irq/87-4802a000 (pid: 705, stack limit = 0xce31c238)
[  550.085518] Stack: (0xce31df10 to 0xce31e000)
[  550.093802] df00:                                     c035a220 ce318600 ce31c000 ce006d00
[  550.109111] df20: ce006d00 ce006d54 00000000 c005dc44 00000000 c005dc60 ce318600 ce31c000
[  550.124413] df40: 00000001 c005da64 00000000 c005db8c ce3185c0 00000000 ce3185c0 ce318600
[  550.139715] df60: c005d988 00000000 00000000 c004b3cc ffffffff 00000000 ffffffff ce318600
[  550.155025] df80: 00000000 ce31df84 ce31df84 00000000 ce31df90 ce31df90 ce31dfac ce3185c0
[  550.170317] dfa0: c004b310 00000000 00000000 c000e458 00000000 00000000 00000000 00000000
[  550.185601] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  550.200895] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff
[  550.216396] [<c035a25c>] (omap_i2c_isr_thread) from [<c005dc60>] (irq_thread_fn+0x1c/0x34)
[  550.232012] [<c005dc60>] (irq_thread_fn) from [<c005da64>] (irq_thread+0xdc/0x124)
[  550.246330] [<c005da64>] (irq_thread) from [<c004b3cc>] (kthread+0xbc/0xd8)
[  550.259520] [<c004b3cc>] (kthread) from [<c000e458>] (ret_from_fork+0x14/0x3c)
[  550.273089] Code: e594300c e5942004 e5d11001 e0823311 (e1d320b0) 
[  550.284508] ---[ end trace f862c5e48e2c78c2 ]---
[  550.321794] Unable to handle kernel paging request at virtual address fffffff0
[  550.346839] pgd = c0004000
[  550.353628] [fffffff0] *pgd=8fef6821, *pte=00000000, *ppte=00000000
[  550.376939] Internal error: Oops: 17 [#2] ARM
[  550.385178] Modules linked in: watchdog(O) vopp(O) test(O) dsphpi(O) pwdjmp(O) gpio(O) leds(O) usbserial
[  550.403911] CPU: 0 PID: 705 Comm: irq/87-4802a000 Tainted: G      D W  O 3.14.26-gb9df364-dirty #1
[  550.420632] task: ce2d6800 ti: ce31c000 task.ti: ce31c000
[  550.430898] PC is at kthread_data+0x4/0xc
[  550.438629] LR is at irq_thread_dtor+0x28/0xb8
[  550.447114] pc : [<c004b724>]    lr : [<c005dbb4>]    psr: 20000113
[  550.447114] sp : ce31dd90  ip : ce31df84  fp : 60000193
[  550.468492] r10: 00001028  r9 : ce2d6800  r8 : ce31c000
[  550.478334] r7 : c070ee1c  r6 : ce2d6800  r5 : ce2d6800  r4 : ce2d6b38
[  550.490567] r3 : 00000000  r2 : ce31dd90  r1 : ce31df48  r0 : ce2d6800
[  550.502813] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  550.516189] Control: 10c5387d  Table: 8e6c0019  DAC: 00000015
[  550.526991] Process irq/87-4802a000 (pid: 705, stack limit = 0xce31c238)
[  550.539533] Stack: (0xce31dd90 to 0xce31e000)
[  550.547853] dd80:                                     c005db8c ce2d6b38 00000000 c0048bdc
[  550.563262] dda0: 00000033 0000000b ce31dec8 ce2d6800 00000000 c0034fe0 ce31ddc8 00000001
[  550.578669] ddc0: 60000193 c04c4bb0 c05e2ee4 c06e75a4 ce31dec8 c070c844 ce31dec8 ce31c000
[  550.594072] dde0: 0000000b c06dd8d0 ce2d6800 00001028 60000193 c0011334 ce31c238 0000000b
[  550.609478] de00: c05dcc34 00001028 00000007 c06de314 fa02a02c ce31dec8 00000216 00000010
[  550.624872] de20: 00000065 c000843c 00000000 00000001 00000007 00000000 00000000 fa02a02c
[  550.640279] de40: ce2d6800 c06e6e80 ce31c000 c06e6e80 c04cd7c8 ce2d6970 01669760 00000069
[  550.655689] de60: 01669760 00000069 00000000 ce2d6800 c00557ec c06e6e80 c00096d4 ffffffff
[  550.671093] de80: 00000000 c004e3a4 ce07401c ce2d6800 ce061400 00000000 c06e6e80 c004e458
[  550.686498] dea0: 00000000 ce061430 00000000 ce2d6800 c035a25c 20000093 ffffffff ce31defc
[  550.701908] dec0: 00004000 c0011b18 00000057 0000002c fa02a000 fa02a02c ce312410 20000013
[  550.717309] dee0: 00000004 00000008 00004000 00000216 00000010 00000065 00000000 ce31df10
[  550.732717] df00: c005dc60 c035a25c 20000093 ffffffff c035a220 ce318600 ce31c000 ce006d00
[  550.748119] df20: ce006d00 ce006d54 00000000 c005dc44 00000000 c005dc60 ce318600 ce31c000
[  550.763520] df40: 00000001 c005da64 00000000 c005db8c ce3185c0 00000000 ce3185c0 ce318600
[  550.778918] df60: c005d988 00000000 00000000 c004b3cc ffffffff 00000000 ffffffff ce318600
[  550.794320] df80: 00000000 ce31df84 ce31df84 00000001 ce31df90 ce31df90 ce31dfac ce3185c0
[  550.809711] dfa0: c004b310 00000000 00000000 c000e458 00000000 00000000 00000000 00000000
[  550.825096] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  550.840488] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff
[  550.856058] [<c004b724>] (kthread_data) from [<c005dbb4>] (irq_thread_dtor+0x28/0xb8)
[  550.870911] [<c005dbb4>] (irq_thread_dtor) from [<c0048bdc>] (task_work_run+0x94/0xac)
[  550.885987] [<c0048bdc>] (task_work_run) from [<c0034fe0>] (do_exit+0x238/0x7fc)
[  550.900096] [<c0034fe0>] (do_exit) from [<c0011334>] (die+0x210/0x244)
[  550.912512] [<c0011334>] (die) from [<c000843c>] (do_DataAbort+0x8c/0x9c)
[  550.925418] [<c000843c>] (do_DataAbort) from [<c0011b18>] (__dabt_svc+0x38/0x60)
[  550.939230] Exception stack(0xce31dec8 to 0xce31df10)
[  550.948861] dec0:                   00000057 0000002c fa02a000 fa02a02c ce312410 20000013
[  550.964253] dee0: 00000004 00000008 00004000 00000216 00000010 00000065 00000000 ce31df10
[  550.979557] df00: c005dc60 c035a25c 20000093 ffffffff
[  550.989397] [<c0011b18>] (__dabt_svc) from [<c035a25c>] (omap_i2c_isr_thread+0x3c/0x318)
[  551.004714] [<c035a25c>] (omap_i2c_isr_thread) from [<c005dc60>] (irq_thread_fn+0x1c/0x34)
[  551.020339] [<c005dc60>] (irq_thread_fn) from [<c005da64>] (irq_thread+0xdc/0x124)
[  551.034701] [<c005da64>] (irq_thread) from [<c004b3cc>] (kthread+0xbc/0xd8)
[  551.047910] [<c004b3cc>] (kthread) from [<c000e458>] (ret_from_fork+0x14/0x3c)
[  551.061544] Code: e5130018 e7e00150 e12fff1e e59031c8 (e5130010) 
[  551.102642] ---[ end trace f862c5e48e2c78c3 ]---
[  551.115103] Fixing recursive fault but reboot is needed!
[  552.836515] omap_i2c 4802a000.i2c: controller timed out
[  553.996452] omap_i2c 4802a000.i2c: controller timed out

  • Hi,

    I will ask the software team to look at this. They will respond here.
  • Hi,

    Could you share what is connected to the i2c bus (from the log you provide I assume your i2c1 is crushing, right?)?

    Also can you share the commands you execute to get the kernel panics? Maybe I could try to recreate this.. Could you share your dts file?

    You also seem to have some problem with the omap_hwmod setting upon device bootup (your kernel experiences a fault at bootup). This happens at _setup_iclk_autoidle() and is worth further debugging.

    Best Regards,
    Yordan
  • Dear Yordan,


    Please find attached herewith the dts file. We have connected an external RTC device with this I2C interface.

    We did not use any specific commands. We were doing Video call related testing with 4 video calls, at that time this problem occurred. We are also trying to regenerate the issue to get the repeat sequence but so far we are not able to re-produce it. On the day it had occurred, we were able to generate this problem multiple times. On the same board with the same setup/configuration now, we are not able to regenerate the issue.

    Please suggest us next action to be taken to resolve this issue.

    am335x-evmsk_dts.zip

  • Hi Yordan,

    Any update regarding this issue?
  • Hi,

    Sorry for the delayed reply.
    If you have an external RTC chip connected to the I2C1 bus, then how it is defined in your dts? At which address is it?
    You need to have something like:
    &i2c1 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&i2c1_pins_default>;
    pinctrl-1 = <&i2c1_pins_sleep>;
    status = "okay";
    clock-frequency = <400000>; /* Her RTC is working in fast mode and freq = 400 KHZ*/
    rtc1: rtc1@<i2c_addr> {
    reg = <i2c_addr>;
    };
    /*other devices connected to i2c1*/
    };

    Also remove the definition of the internal RTC chip from am33xx.dtsi file. After doing this modifications, see if you will get the errors again.

    Best Regards,
    Yordan
  • Hi Yordan,

    Please check below abstract from dts file as given in line no. 93 to 105 of the same dts file.

    i2c1_pins_default: i2c1_pins_default {
    pinctrl-single,pins = < /* MATRIX: this pins used for RTC module */
    0x158 (PIN_INPUT_PULLUP | MUX_MODE2) /* MATRIX: i2c1_sda */
    0x15c (PIN_INPUT_PULLUP | MUX_MODE2) /* MATRIX: i2c1_scl */
    >;
    };

    i2c1_pins_sleep: i2c1_pins_sleep {
    pinctrl-single,pins = < /* MATRIX: this pins used for RTC module */
    0x158 (PIN_INPUT_PULLUP | MUX_MODE7) /* MATRIX: i2c1_sda */
    0x15c (PIN_INPUT_PULLUP | MUX_MODE7) /* MATRIX: i2c1_scl */
    >;
    };

    Also, there is configuration of rtc as below, in the same dts file from line 270 to 276.

    &i2c1 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&i2c1_pins_default>;
    pinctrl-1 = <&i2c1_pins_sleep>;
    status = "okay";
    clock-frequency = <400000>; /* Her RTC is working in fast mode and freq = 400 KHZ*/
    };

    Also, we have verified the dtsi file. It is not having any configuration of internal rtc?

    Please reply ASAP
  • Hi,
    Also, we have verified the dtsi file. It is not having any configuration of internal rtc?

    This is ok.

    Also, there is configuration of rtc as below, in the same dts file from line 270 to 276.

    &i2c1 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&i2c1_pins_default>;
    pinctrl-1 = <&i2c1_pins_sleep>;
    status = "okay";
    clock-frequency = <400000>; /* Her RTC is working in fast mode and freq = 400 KHZ*/
    };


    Where is the RTC chip described? At what address is this RTC? What is the compatible driver? This is the configuration of the I2C bus, NOT a definition of the RTC. Try adding rtc child node as I explained in my previous post:
    &i2c1 {
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&i2c1_pins_default>;
    pinctrl-1 = <&i2c1_pins_sleep>;
    status = "okay";
    clock-frequency = <400000>; /* Her RTC is working in fast mode and freq = 400 KHZ*/
    rtc1: rtc1@<i2c_addr> {
    //add your custom settings here, for example:
    compatible = <used driver>; //if needed
    status = "okay";
    reg = <i2c_addr>;
    };
    /*other devices connected to i2c1*/
    };

    Try describing all devices connected to i2c1, to be sure that you don't have devices attached to the bus that are undefined in the dts file.

    Also try removing the I2C1 node if it is NOT needed for your video calls and see if you'll get a kernel panic again. This is intended to try and pinpoint the root cause of your system hang (and exclude or confirm the problem is the i2c1 bus).

    Best Regards,
    Yordan.
  •  

    &i2c1 {

    pinctrl-names = "default", "sleep";

    pinctrl-0 = <&i2c1_pins_default>;

    pinctrl-1 = <&i2c1_pins_sleep>;

    status = "okay";

    clock-frequency = <400000>; /* Her RTC is working in fast mode and freq = 400 KHZ*/

    rtc1: rtc1@<i2c_addr> {

    //add your custom settings here, for example:

    compatible = <used driver>; //if needed

    status = "okay";

    reg = <i2c_addr>;

    };

    /*other devices connected to i2c1*/

    };

    -> We have not added any rtc device so far. Still the system is working normally and date-time is updated properly. 

    Q1) How this may be working?

    Q2) In case we have to add a device here, what details we have to add and how? Currently we are using S35390A rtc device.

     

    Best Regards,

    Rajdeep Vaghasia

     

  • Hi Yordan,

    I added this, as you said.

    ...........................................................................................................................

    &i2c1 {
        pinctrl-names = "default", "sleep";
        pinctrl-0 = <&i2c1_pins_default>;
        pinctrl-1 = <&i2c1_pins_sleep>;
        status = "okay";
         clock-frequency = <400000>;               /* Her RTC is working in
    fast mode and freq = 400 KHZ*/
         
         s35390a: s35390a@30{
          compatible="sii,s35390a";
          reg=<0x30>;
          status="okay";
        };
         
    }

     

     

    But on adding this it is showing

    1.603654] rtc-s35390a 1-0030: rtc core: registered rtc-s35390a as
    rtc0
    [    1.610727] i2c i2c-1: Failed to register i2c client s35390a at 0x30
    (-16)
    [    1.617982] i2c i2c-1: Can't create device at 0x30
    [    1.622987] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz

    And without this

     s35390a: s35390a@30{
          compatible="sii,s35390a";
          reg=<0x30>;
          status="okay";
        };

    My external clock is working but while making 4 video calls it some time shows

    omap_i2c .i2c: controller timed out


    And only S35390a RTC is connected to I2c1, no other device.
    Please replay ASAP

     

  • Hi,

    Regarding:
    "1.603654] rtc-s35390a 1-0030: rtc core: registered rtc-s35390a as
    rtc0
    [ 1.610727] i2c i2c-1: Failed to register i2c client s35390a at 0x30
    (-16)
    [ 1.617982] i2c i2c-1: Can't create device at 0x30
    [ 1.622987] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz"

    This indicates that the bus is not avaiable for some reason (it fails either in i2c_check_addr_busy(), or in device_register(), you should add some debug prints in i2c-core.c-> i2c_new_device() to locate where exactly is the problem).. Can you try with different I2C address?

    "omap_i2c .i2c: controller timed out"
    This could be a result of a heavy CPU usage... Could you try the following:
    cd /sys/devices/system/cpu/cpu0/cpufreq
    cat scaling_available_governors // do you see the performance governor here? If yes, then execute:
    echo performance > scaling_governor

    And try to do your video calls test to see if you'll get the crash.

    Best Regards,
    Yordan
  • Hi Yordan,

    cd /sys/devices/system/cpu/cpu0/cpufreq

    cpufreq directory is not present in my system.


    BR,

    Sourabh Jain

  • Hi Yordan,
    System get crash after showing this.

    [ 41.650830] random: dnsmasq urandom read with 63 bits of entropy available
    [ 148.375193] random: nonblocking pool is initialized
    [ 487.975446] [sched_delayed] sched: RT throttling activated
    [ 497.012552] omap_i2c 4802a000.i2c: controller timed out
    [ 516.011104] omap_i2c 4802a000.i2c: controller timed out
    [ 549.907662] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa02a02c
    [ 549.922289] Internal error: : 1028 [#1] ARM
    [ 549.930152] Modules linked in: watchdog(O) vopp(O) test(O) dsphpi(O) pwdjmp(O) gpio(O) leds(O) usbserial
    [ 549.948865] CPU: 0 PID: 705 Comm: irq/87-4802a000 Tainted: G W O 3.14.26-gb9df364-dirty #1
    [ 549.965504] task: ce2d6800 ti: ce31c000 task.ti: ce31c000
    [ 549.975878] PC is at omap_i2c_isr_thread+0x3c/0x318
    [ 549.985079] LR is at irq_thread_fn+0x1c/0x34
    [ 549.993191] pc : [<c035a25c>] lr : [<c005dc60>] psr: 20000093
    [ 549.993191] sp : ce31df10 ip : 00000000 fp : 00000065
    [ 550.014433] r10: 00000010 r9 : 00000216 r8 : 00004000
    [ 550.024218] r7 : 00000008 r6 : 00000004 r5 : 20000013 r4 : ce312410
    [ 550.036374] r3 : fa02a02c r2 : fa02a000 r1 : 0000002c r0 : 00000057
    [ 550.048551] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment kernel
    [ 550.062310] Control: 10c5387d Table: 8e6c0019 DAC: 00000015
    [ 550.073047] Process irq/87-4802a000 (pid: 705, stack limit = 0xce31c238)
    [ 550.085518] Stack: (0xce31df10 to 0xce31e000)
    [ 550.093802] df00: c035a220 ce318600 ce31c000 ce006d00
    [ 550.109111] df20: ce006d00 ce006d54 00000000 c005dc44 00000000 c005dc60 ce318600 ce31c000
    [ 550.124413] df40: 00000001 c005da64 00000000 c005db8c ce3185c0 00000000 ce3185c0 ce318600
    [ 550.139715] df60: c005d988 00000000 00000000 c004b3cc ffffffff 00000000 ffffffff ce318600
    [ 550.155025] df80: 00000000 ce31df84 ce31df84 00000000 ce31df90 ce31df90 ce31dfac ce3185c0
    [ 550.170317] dfa0: c004b310 00000000 00000000 c000e458 00000000 00000000 00000000 00000000
    [ 550.185601] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 550.200895] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff
    [ 550.216396] [<c035a25c>] (omap_i2c_isr_thread) from [<c005dc60>] (irq_thread_fn+0x1c/0x34)
    [ 550.232012] [<c005dc60>] (irq_thread_fn) from [<c005da64>] (irq_thread+0xdc/0x124)
    [ 550.246330] [<c005da64>] (irq_thread) from [<c004b3cc>] (kthread+0xbc/0xd8)
    [ 550.259520] [<c004b3cc>] (kthread) from [<c000e458>] (ret_from_fork+0x14/0x3c)
    [ 550.273089] Code: e594300c e5942004 e5d11001 e0823311 (e1d320b0)
    [ 550.284508] ---[ end trace f862c5e48e2c78c2 ]---
    [ 550.321794] Unable to handle kernel paging request at virtual address fffffff0
    [ 550.346839] pgd = c0004000
    [ 550.353628] [fffffff0] *pgd=8fef6821, *pte=00000000, *ppte=00000000
    [ 550.376939] Internal error: Oops: 17 [#2] ARM
    [ 550.385178] Modules linked in: watchdog(O) vopp(O) test(O) dsphpi(O) pwdjmp(O) gpio(O) leds(O) usbserial
    [ 550.403911] CPU: 0 PID: 705 Comm: irq/87-4802a000 Tainted: G D W O 3.14.26-gb9df364-dirty #1
    [ 550.420632] task: ce2d6800 ti: ce31c000 task.ti: ce31c000
    [ 550.430898] PC is at kthread_data+0x4/0xc
    [ 550.438629] LR is at irq_thread_dtor+0x28/0xb8
    [ 550.447114] pc : [<c004b724>] lr : [<c005dbb4>] psr: 20000113
    [ 550.447114] sp : ce31dd90 ip : ce31df84 fp : 60000193
    [ 550.468492] r10: 00001028 r9 : ce2d6800 r8 : ce31c000
    [ 550.478334] r7 : c070ee1c r6 : ce2d6800 r5 : ce2d6800 r4 : ce2d6b38
    [ 550.490567] r3 : 00000000 r2 : ce31dd90 r1 : ce31df48 r0 : ce2d6800
    [ 550.502813] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
    [ 550.516189] Control: 10c5387d Table: 8e6c0019 DAC: 00000015
    [ 550.526991] Process irq/87-4802a000 (pid: 705, stack limit = 0xce31c238)
    [ 550.539533] Stack: (0xce31dd90 to 0xce31e000)
    [ 550.547853] dd80: c005db8c ce2d6b38 00000000 c0048bdc
    [ 550.563262] dda0: 00000033 0000000b ce31dec8 ce2d6800 00000000 c0034fe0 ce31ddc8 00000001
    [ 550.578669] ddc0: 60000193 c04c4bb0 c05e2ee4 c06e75a4 ce31dec8 c070c844 ce31dec8 ce31c000
    [ 550.594072] dde0: 0000000b c06dd8d0 ce2d6800 00001028 60000193 c0011334 ce31c238 0000000b
    [ 550.609478] de00: c05dcc34 00001028 00000007 c06de314 fa02a02c ce31dec8 00000216 00000010
    [ 550.624872] de20: 00000065 c000843c 00000000 00000001 00000007 00000000 00000000 fa02a02c
    [ 550.640279] de40: ce2d6800 c06e6e80 ce31c000 c06e6e80 c04cd7c8 ce2d6970 01669760 00000069
    [ 550.655689] de60: 01669760 00000069 00000000 ce2d6800 c00557ec c06e6e80 c00096d4 ffffffff
    [ 550.671093] de80: 00000000 c004e3a4 ce07401c ce2d6800 ce061400 00000000 c06e6e80 c004e458
    [ 550.686498] dea0: 00000000 ce061430 00000000 ce2d6800 c035a25c 20000093 ffffffff ce31defc
    [ 550.701908] dec0: 00004000 c0011b18 00000057 0000002c fa02a000 fa02a02c ce312410 20000013
    [ 550.717309] dee0: 00000004 00000008 00004000 00000216 00000010 00000065 00000000 ce31df10
    [ 550.732717] df00: c005dc60 c035a25c 20000093 ffffffff c035a220 ce318600 ce31c000 ce006d00
    [ 550.748119] df20: ce006d00 ce006d54 00000000 c005dc44 00000000 c005dc60 ce318600 ce31c000
    [ 550.763520] df40: 00000001 c005da64 00000000 c005db8c ce3185c0 00000000 ce3185c0 ce318600
    [ 550.778918] df60: c005d988 00000000 00000000 c004b3cc ffffffff 00000000 ffffffff ce318600
    [ 550.794320] df80: 00000000 ce31df84 ce31df84 00000001 ce31df90 ce31df90 ce31dfac ce3185c0
    [ 550.809711] dfa0: c004b310 00000000 00000000 c000e458 00000000 00000000 00000000 00000000
    [ 550.825096] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 550.840488] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff
    [ 550.856058] [<c004b724>] (kthread_data) from [<c005dbb4>] (irq_thread_dtor+0x28/0xb8)
    [ 550.870911] [<c005dbb4>] (irq_thread_dtor) from [<c0048bdc>] (task_work_run+0x94/0xac)
    [ 550.885987] [<c0048bdc>] (task_work_run) from [<c0034fe0>] (do_exit+0x238/0x7fc)
    [ 550.900096] [<c0034fe0>] (do_exit) from [<c0011334>] (die+0x210/0x244)
    [ 550.912512] [<c0011334>] (die) from [<c000843c>] (do_DataAbort+0x8c/0x9c)
    [ 550.925418] [<c000843c>] (do_DataAbort) from [<c0011b18>] (__dabt_svc+0x38/0x60)
    [ 550.939230] Exception stack(0xce31dec8 to 0xce31df10)
    [ 550.948861] dec0: 00000057 0000002c fa02a000 fa02a02c ce312410 20000013
    [ 550.964253] dee0: 00000004 00000008 00004000 00000216 00000010 00000065 00000000 ce31df10
    [ 550.979557] df00: c005dc60 c035a25c 20000093 ffffffff
    [ 550.989397] [<c0011b18>] (__dabt_svc) from [<c035a25c>] (omap_i2c_isr_thread+0x3c/0x318)
    [ 551.004714] [<c035a25c>] (omap_i2c_isr_thread) from [<c005dc60>] (irq_thread_fn+0x1c/0x34)
    [ 551.020339] [<c005dc60>] (irq_thread_fn) from [<c005da64>] (irq_thread+0xdc/0x124)
    [ 551.034701] [<c005da64>] (irq_thread) from [<c004b3cc>] (kthread+0xbc/0xd8)
    [ 551.047910] [<c004b3cc>] (kthread) from [<c000e458>] (ret_from_fork+0x14/0x3c)
    [ 551.061544] Code: e5130018 e7e00150 e12fff1e e59031c8 (e5130010)
    [ 551.102642] ---[ end trace f862c5e48e2c78c3 ]---
    [ 551.115103] Fixing recursive fault but reboot is needed!
    [ 552.836515] omap_i2c 4802a000.i2c: controller timed out
    [ 553.996452] omap_i2c 4802a000.i2c: controller timed out

    Please replay ASAP.
    BR,
    Sourabh jain
  • Hi,

    were you able to solve this issue? It seems I've this same problem on my custom board.

    Unhandled fault: external abort on non-linefetch (0x1028) at 0xf9e0b02c
    Internal error: : 1028 [#1] ARM
    Modules linked in: cp210x musb_dsps musb_hdrc hci_uart bluetooth 6lowpan_iphc snd_soc_evm musb_am335x edt_ft5x06
    CPU: 0 PID: 707 Comm: irq/86-44e0b000 Not tainted 3.14.43 #90
    task: cf2a8200 ti: cf3da000 task.ti: cf3da000
    PC is at omap_i2c_isr_thread+0x48/0x3a4
    LR is at _raw_spin_lock_irqsave+0x48/0x54
    pc : [<c0404a50>]    lr : [<c0568ef0>]    psr: 20070093
    sp : cf3dbe98  ip : cf3dbe68  fp : cf3dbecc
    r10: cf3c9410  r9 : cf008554  r8 : 00000001
    r7 : 00000002  r6 : 00000004  r5 : 00000000  r4 : 00000065
    r3 : cf2a8200  r2 : f9e0b02c  r1 : f9e0b000  r0 : 0000002c
    Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
    Control: 10c5387d  Table: 8c25c019  DAC: 00000015
    Process irq/86-44e0b000 (pid: 707, stack limit = 0xcf3da238)
    Stack: (0xcf3dbe98 to 0xcf3dc000)
    be80:                                                       cf008588 20070013
    bea0: cf3dbedc cf3bdb00 cf008500 00000001 cf008500 cf3da030 cf008554 c00700c4
    bec0: cf3dbeec cf3dbed0 c00700e8 c0404a14 cf2a8200 cf3bdb00 cf3da000 00000001
    bee0: cf3dbf24 cf3dbef0 c007036c c00700d0 00000000 c00701b4 c0070284 00000000
    bf00: cf3bdac0 cf3bdb00 c0070284 00000000 00000000 00000000 cf3dbfac cf3dbf28
    bf20: c00529c0 c0070290 cf3dbf44 00000000 c006458c cf3bdb00 00000000 00000001
    bf40: dead4ead ffffffff ffffffff c07d2250 00000000 00000000 c06abb70 cf3dbf5c
    bf60: cf3dbf5c 00000000 00000001 dead4ead ffffffff ffffffff c07d2250 00000000
    bf80: 00000000 c06abb70 cf3dbf88 cf3dbf88 cf3bdac0 c00528fc 00000000 00000000
    bfa0: 00000000 cf3dbfb0 c000e868 c0052908 00000000 00000000 00000000 00000000
    bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
    Backtrace: 
    [<c0404a08>] (omap_i2c_isr_thread) from [<c00700e8>] (irq_thread_fn+0x24/0x48)
     r10:c00700c4 r9:cf008554 r8:cf3da030 r7:cf008500 r6:00000001 r5:cf008500
     r4:cf3bdb00
    [<c00700c4>] (irq_thread_fn) from [<c007036c>] (irq_thread+0xe8/0x130)
     r6:00000001 r5:cf3da000 r4:cf3bdb00 r3:cf2a8200
    [<c0070284>] (irq_thread) from [<c00529c0>] (kthread+0xc4/0xe0)
     r10:00000000 r9:00000000 r8:00000000 r7:c0070284 r6:cf3bdb00 r5:cf3bdac0
     r4:00000000
    [<c00528fc>] (kthread) from [<c000e868>] (ret_from_fork+0x14/0x2c)
     r7:00000000 r6:00000000 r5:c00528fc r4:cf3bdac0
    Code: e59a202c e59a1024 e5d00001 e0812210 (e1d210b0) 
    ---[ end trace 5e7b44c9a8c95991 ]---
    Unable to handle kernel paging request at virtual address ffffffd0
    pgd = c0004000
    [ffffffd0] *pgd=8fef2821, *pte=00000000, *ppte=00000000
    Internal error: Oops: 17 [#2] ARM
    Modules linked in: cp210x musb_dsps musb_hdrc hci_uart bluetooth 6lowpan_iphc snd_soc_evm musb_am335x edt_ft5x06
    CPU: 0 PID: 707 Comm: irq/86-44e0b000 Tainted: G      D      3.14.43 #90
    task: cf2a8200 ti: cf3da000 task.ti: cf3da000
    PC is at kthread_data+0x10/0x18
    LR is at irq_thread_dtor+0x30/0xd0
    pc : [<c0052fec>]    lr : [<c00701e4>]    psr: 20070113
    sp : cf3dbc88  ip : cf3dbc98  fp : cf3dbc94
    r10: cf2a8200  r9 : 00000001  r8 : cf3da008
    r7 : cf2a8200  r6 : c07d17ac  r5 : cf2a8200  r4 : cf2a853c
    r3 : 00000000  r2 : cf3dbc98  r1 : cf3dbef0  r0 : cf2a8200
    Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    Control: 10c5387d  Table: 8c25c019  DAC: 00000015
    Process irq/86-44e0b000 (pid: 707, stack limit = 0xcf3da238)
    Stack: (0xcf3dbc88 to 0xcf3dc000)
    bc80:                   cf3dbcac cf3dbc98 c00701e4 c0052fe8 cf2a853c 00000000
    bca0: cf3dbccc cf3dbcb0 c004fb64 c00701c0 0000000b cf3dbe50 00000000 0000000b
    bcc0: cf3dbd04 cf3dbcd0 c0037730 c004fac8 c078e178 00000001 cf3da010 cf3da008
    bce0: 00000001 c07cf044 cf3dbd04 cf3dbcf8 c0036c30 0000000b cf3dbd8c cf3dbd08
    bd00: c0012288 c00374b0 cf3da238 0000000b 00000000 00000000 cf3dbe50 00000008                                                           
    bd20: 60070193 00000000 65cbf074 32613935 20633230 61393565 34323031 64356520                                                           
    bd40: 30303030 30652031 32323138 28203031 32643165 30623031 cf002029 cf3c9410                                                           
    bd60: cf3dbd8c 00001028 00000007 c078ed04 f9e0b02c cf3dbe50 cf008554 cf3c9410                                                               
    bd80: cf3dbd9c cf3dbd90 c0012304 c0011f34 cf3dbe4c cf3dbda0 c0008450 c00122ec                                                               
    bda0: 00000000 cf3da010 00000007 00000000 00000000 f9e0b02c cf6f1d00 00000000                                                               
    bdc0: 000001c0 00000000 00000001 00000018 cf2a85e8 cf3da018 cf3da000 cf09b340                                                               
    bde0: cf3dbdfc cf3dbdf0 c006458c c00643b0 cf3dbe14 cf3dbe00 c0569084 c0064584
    be00: cf2a8200 00000000 cf3da000 60070093 00000001 cf3da030 cf008554 cf3c9410
    be20: cf3dbe64 cf3dbe30 c0066bb4 c0404a50 20070093 ffffffff cf3dbe84 00000001
    be40: cf3dbecc cf3dbe50 c0569a64 c00083cc 0000002c f9e0b000 f9e0b02c cf2a8200
    be60: 00000065 00000000 00000004 00000002 00000001 cf008554 cf3c9410 cf3dbecc
    be80: cf3dbe68 cf3dbe98 c0568ef0 c0404a50 20070093 ffffffff cf008588 20070013
    bea0: cf3dbedc cf3bdb00 cf008500 00000001 cf008500 cf3da030 cf008554 c00700c4
    bec0: cf3dbeec cf3dbed0 c00700e8 c0404a14 cf2a8200 cf3bdb00 cf3da000 00000001
    bee0: cf3dbf24 cf3dbef0 c007036c c00700d0 00000000 c00701b4 c0070284 00000000
    bf00: cf3bdac0 cf3bdb00 c0070284 00000000 00000000 00000000 cf3dbfac cf3dbf28
    bf20: c00529c0 c0070290 cf3dbf44 00000000 c006458c cf3bdb00 00000000 00000001
    bf40: dead4ead ffffffff ffffffff c07d2250 00000000 00000000 c06abb70 cf3dbf5c
    bf60: cf3dbf5c 00000001 00000001 dead4ead ffffffff ffffffff c07d2250 00000000
    bf80: 00000000 c06abb70 cf3dbf88 cf3dbf88 cf3bdac0 c00528fc 00000000 00000000
    bfa0: 00000000 cf3dbfb0 c000e868 c0052908 00000000 00000000 00000000 00000000
    bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
    Backtrace: 
    [<c0052fdc>] (kthread_data) from [<c00701e4>] (irq_thread_dtor+0x30/0xd0)
    [<c00701b4>] (irq_thread_dtor) from [<c004fb64>] (task_work_run+0xa8/0xbc)
     r5:00000000 r4:cf2a853c
    [<c004fabc>] (task_work_run) from [<c0037730>] (do_exit+0x28c/0x8a8)
     r7:0000000b r6:00000000 r5:cf3dbe50 r4:0000000b
    [<c00374a4>] (do_exit) from [<c0012288>] (die+0x360/0x3b8)
     r7:0000000b
    [<c0011f28>] (die) from [<c0012304>] (arm_notify_die+0x24/0x5c)
     r10:cf3c9410 r9:cf008554 r8:cf3dbe50 r7:f9e0b02c r6:c078ed04 r5:00000007
     r4:00001028
    [<c00122e0>] (arm_notify_die) from [<c0008450>] (do_DataAbort+0x90/0xa0)
    [<c00083c0>] (do_DataAbort) from [<c0569a64>] (__dabt_svc+0x44/0x80)
    Exception stack(0xcf3dbe50 to 0xcf3dbe98)
    be40:                                     0000002c f9e0b000 f9e0b02c cf2a8200
    be60: 00000065 00000000 00000004 00000002 00000001 cf008554 cf3c9410 cf3dbecc
    be80: cf3dbe68 cf3dbe98 c0568ef0 c0404a50 20070093 ffffffff
     r8:00000001 r7:cf3dbe84 r6:ffffffff r5:20070093 r4:c0404a50
    [<c0404a08>] (omap_i2c_isr_thread) from [<c00700e8>] (irq_thread_fn+0x24/0x48)
     r10:c00700c4 r9:cf008554 r8:cf3da030 r7:cf008500 r6:00000001 r5:cf008500
     r4:cf3bdb00
    [<c00700c4>] (irq_thread_fn) from [<c007036c>] (irq_thread+0xe8/0x130)
     r6:00000001 r5:cf3da000 r4:cf3bdb00 r3:cf2a8200
    [<c0070284>] (irq_thread) from [<c00529c0>] (kthread+0xc4/0xe0)
     r10:00000000 r9:00000000 r8:00000000 r7:c0070284 r6:cf3bdb00 r5:cf3bdac0
     r4:00000000
    [<c00528fc>] (kthread) from [<c000e868>] (ret_from_fork+0x14/0x2c)
     r7:00000000 r6:00000000 r5:c00528fc r4:cf3bdac0
    Code: e1a0c00d e92dd800 e24cb004 e59031c8 (e5130030) 
    ---[ end trace 5e7b44c9a8c95992 ]---
    Fixing recursive fault but reboot is needed!
    omap_i2c 44e0b000.i2c: controller timed out
    edt_ft5x06 0-0038: Unable to fetch data, error: -110
    omap_i2c 44e0b000.i2c: controller timed out
    omap_i2c 44e0b000.i2c: controller timed out