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.

Aleatory Kernel Internal error: Oops: 17 when running udev in a custom system image

Other Parts Discussed in Thread: DRA752, PMP, BEAGLEBOARD-X15, AM5728, TMP102, TLV320AIC3104, ASH

I am working on a custom system image and I got an aleatory kernel internal Oops error. The error occurs completely randomly, I can boot the board many times without presenting the error, but sometimes it appears just after booting while running udev. I will paste here my log information: The error is this: 

[    9.669062] Unable to handle kernel paging request at virtual address ffffffff

[    9.902470] Internal error: Oops: 17 [#1] PREEMPT SMP ARM

[    9.931682] CPU: 1 PID: 474 Comm: udevd Not tainted 4.1.6-g52c4aa7 #1

The completely log information is this one:  

U-Boot SPL 2015.07-00114-g167724d-dirty (Feb 04 2016 - 16:06:54)
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 (Feb 04 2016 - 16:06:54 -0600)

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
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
162 bytes read in 3 ms (52.7 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc0 ...
reading zImage
3076024 bytes read in 158 ms (18.6 MiB/s)
reading am57xx-beagle-x15.dtb
92484 bytes read in 9 ms (9.8 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x2eefb8 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffe6000, end 8ffff943 ... 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 (dgarbanzo@ridgerun-GA-890FXA-UD5) (gcc version 4.8.2 20130603 (prerelease) (crosstool-NG 1.19.0 - Linaro GCC 2013.07) ) #1 SMP PREEMPT Wed Feb 3 17:10:45 CST 2016
[ 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] Reserved memory: created CMA memory pool at 0x95800000, size 56 MiB
[ 0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x99000000, size 64 MiB
[ 0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x9d000000, size 32 MiB
[ 0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x9f000000, size 16 MiB
[ 0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[ 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 @ee536000 s17088 r8192 d23872 u49152
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 481105
[ 0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/nfs nfsroot=10.251.101.4:/home/dgarbanzo/work/AM5728evm-RRSDK-Trunk-GIT/dgarbanzo-sdk-AM5728-trunk-new/fs/fs rw ip=dhcp
[ 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: 1707288K/1931260K available (5719K kernel code, 282K rwdata, 2092K rodata, 320K init, 249K bss, 27364K reserved, 196608K cma-reserved, 1292284K highmem)
[ 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 - 0xc07a9034 (7813 kB)
[ 0.000000] .init : 0xc07aa000 - 0xc07fa000 ( 320 kB)
[ 0.000000] .data : 0xc07fa000 - 0xc0840a88 ( 283 kB)
[ 0.000000] .bss : 0xc0843000 - 0xc08817fc ( 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.000427] Architected cp15 timer(s) running at 6.14MHz (virt).
[ 0.000457] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[ 0.000462] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[ 0.000473] Switching to timer-based delay loop, resolution 162ns
[ 0.001031] Console: colour dummy device 80x30
[ 0.001049] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
[ 0.001056] This ensures that you still see kernel messages. Please
[ 0.001062] update your kernel commandline.
[ 0.001075] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[ 0.001088] pid_max: default: 32768 minimum: 301
[ 0.001167] Security Framework initialized
[ 0.001203] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001214] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001764] Initializing cgroup subsys blkio
[ 0.001778] Initializing cgroup subsys memory
[ 0.001805] Initializing cgroup subsys devices
[ 0.001818] Initializing cgroup subsys freezer
[ 0.001830] Initializing cgroup subsys perf_event
[ 0.001853] CPU: Testing write buffer coherency: ok
[ 0.002113] /cpus/cpu@0 missing clock-frequency property
[ 0.002166] /cpus/cpu@1 missing clock-frequency property
[ 0.002177] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002217] Setting up static identity map for 0x80008280 - 0x800082d8
[ 0.060724] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.060787] Brought up 2 CPUs
[ 0.060800] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[ 0.060806] CPU: All CPU(s) started in SVC mode.
[ 0.061200] devtmpfs: initialized
[ 0.086568] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.087324] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.100378] omap_hwmod: tptc0 using broken dt data from edma-controller
[ 0.100832] omap_hwmod: tptc1 using broken dt data from edma-controller
[ 0.272229] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.276674] pinctrl core: initialized pinctrl subsystem
[ 0.277518] NET: Registered protocol family 16
[ 0.278427] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.300609] cpuidle: using governor ladder
[ 0.330633] cpuidle: using governor menu
[ 0.337130] OMAP GPIO hardware version 0.1
[ 0.342404] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[ 0.364459] No ATAGs?
[ 0.364492] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.364501] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.367052] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.367062] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.367550] OMAP DMA hardware revision 0.0
[ 0.408656] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.411382] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver
[ 0.416403] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 0.416575] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 0.416733] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 0.416883] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 0.417145] omap-iommu 41501000.mmu: 41501000.mmu registered
[ 0.417315] omap-iommu 41502000.mmu: 41502000.mmu registered
[ 0.417544] vgaarb: loaded
[ 0.417941] SCSI subsystem initialized
[ 0.419071] palmas 0-0058: Irq flag is 0x00000008
[ 0.432539] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
[ 0.514564] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 0.515125] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[ 0.515339] pps_core: LinuxPPS API ver. 1 registered
[ 0.515347] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.515376] PTP clock support registered
[ 0.515970] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
[ 0.516254] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
[ 0.516537] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 0.516817] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[ 0.517097] Advanced Linux Sound Architecture Driver Initialized.
[ 0.517748] Switched to clocksource arch_sys_counter
[ 0.527021] NET: Registered protocol family 2
[ 0.527562] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.527626] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.527776] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.527827] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.527858] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.528003] NET: Registered protocol family 1
[ 0.528232] RPC: Registered named UNIX socket transport module.
[ 0.528241] RPC: Registered udp transport module.
[ 0.528248] RPC: Registered tcp transport module.
[ 0.528255] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.529249] CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
[ 0.529285] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.531099] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.531178] audit: initializing netlink subsys (disabled)
[ 0.531209] audit: type=2000 audit(0.510:1): initialized
[ 0.537257] VFS: Disk quotas dquot_6.6.0
[ 0.537422] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.539408] NFS: Registering the id_resolver key type
[ 0.539435] Key type id_resolver registered
[ 0.539443] Key type id_legacy registered
[ 0.539496] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.541536] NET: Registered protocol family 38
[ 0.541619] bounce: pool size: 64 pages
[ 0.541767] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.541781] io scheduler noop registered
[ 0.541793] io scheduler deadline registered
[ 0.541827] io scheduler cfq registered (default)
[ 0.545373] pinctrl-single 4a003400.pinmux: 281 pins at pa fc003400 size 1124
[ 0.579755] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[ 0.579768] pci_bus 0000:00: root bus resource [io 0x1000-0xffff]
[ 0.579780] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[ 0.579791] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.579894] pci 0000:00:00.0: IOMMU is currently not supported for PCI
[ 0.580170] PCI: bus0: Fast back to back transfers disabled
[ 0.580296] PCI: bus1: Fast back to back transfers enabled
[ 0.580388] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[ 0.580404] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[ 0.580417] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.583802] OMAP DSS rev 6.1
[ 0.584067] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[ 0.584604] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[ 0.588535] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[ 0.591511] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 299, base_baud = 3000000) is a 8250
[ 1.551979] console [ttyS2] enabled
[ 1.556646] [drm] Initialized drm 1.1.0 20060810
[ 1.569909] brd: module loaded
[ 1.577240] loop: module loaded
[ 1.581397] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.591002] mousedev: PS/2 mouse device common for all mice
[ 1.596605] i2c /dev entries driver
[ 1.601608] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 1.606480] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
[ 1.612974] omap_hsmmc 4809c000.mmc: no pinctrl state for hs200_1_8v mode
[ 1.619814] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
[ 1.626196] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
[ 1.632603] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
[ 1.639006] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
[ 1.645387] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr_1_8v mode
[ 1.688407] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr104 mode
[ 1.694878] omap_hsmmc 480b4000.mmc: no pinctrl state for hs200_1_8v mode
[ 1.701732] omap_hsmmc 480b4000.mmc: no pinctrl state for ddr50 mode
[ 1.708134] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr50 mode
[ 1.714516] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[ 1.720909] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[ 1.727482] vdd_3v3: supplied by regen1
[ 1.766666] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.768115] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.768446] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
[ 1.787097] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[ 1.790030] mmc0: new high speed SDHC card at address aaaa
[ 1.790350] mmcblk0: mmc0:aaaa SL08G 7.40 GiB
[ 1.793855] mmcblk0: p1
[ 1.805873] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
[ 1.812627] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
[ 1.821697] davinci-mcasp 48468000.mcasp: ERRATA i868 workaround is enabled
[ 1.829915] oprofile: using timer interrupt.
[ 1.834418] Initializing XFRM netlink socket
[ 1.838748] NET: Registered protocol family 17
[ 1.842403] mmc1: MAN_BKOPS_EN bit is not set
[ 1.847606] NET: Registered protocol family 15
[ 1.851243] mmc1: new DDR MMC card at address 0001
[ 1.851572] mmcblk1: mmc1:0001 S10004 3.56 GiB
[ 1.851706] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB
[ 1.851818] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB
[ 1.852487] mmcblk1: p1 p2 p3
[ 1.876576] Key type dns_resolver registered
[ 1.880980] omap_voltage_late_init: Voltage driver support not added
[ 1.887606] Power Management for TI OMAP4+ devices.
[ 1.892787] ThumbEE CPU extension supported.
[ 1.897090] Registering SWP/SWPB emulation handler
[ 1.903357] dmm 4e000000.dmm: workaround for errata i878 in use
[ 1.911188] dmm 4e000000.dmm: initialized all PAT entries
[ 1.920051] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.926695] [drm] No driver support for vblank timestamp query.
[ 2.201434] [drm] Enabling DMM ywrap scrolling
[ 2.217659] Console: switching to colour frame buffer device 160x45
[ 2.233871] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
[ 2.239833] omapdrm omapdrm.0: registered panic notifier
[ 2.267776] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[ 2.317768] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[ 2.323893] davinci_mdio 48485000.mdio: detected phy mask fffffff9
[ 2.334378] libphy: 48485000.mdio: probed
[ 2.338431] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver unknown
[ 2.346471] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver unknown
[ 2.355141] cpsw 48484000.ethernet: Detected MACID = 74:da:ea:47:b8:d2
[ 2.362438] cpsw 48484000.ethernet: cpsw: Detected MACID = 74:da:ea:47:b8:d3
[ 2.370119] hctosys: unable to open rtc device (rtc0)
[ 2.387391] net eth0: initializing cpsw version 1.15 (0)
[ 2.471923] net eth0: phy found : id is : 0x221622
[ 2.481422] net eth1: initializing cpsw version 1.15 (0)
[ 2.571763] net eth1: phy found : id is : 0x221622
[ 4.474970] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 4.497759] Sending DHCP requests ., OK
[ 4.567759] IP-Config: Got DHCP answer from 10.251.101.1, my address is 10.251.101.95
[ 4.579783] IP-Config: Complete:
[ 4.583029] device=eth0, hwaddr=74:da:ea:47:b8:d2, ipaddr=10.251.101.95, mask=255.255.255.0, gw=10.251.101.1
[ 4.593361] host=10.251.101.95, domain=cr.ridgerun.com, nis-domain=(none)
[ 4.600658] bootserver=10.251.101.1, rootserver=10.251.101.4, rootpath=
[ 4.607562] nameserver0=200.91.75.5, nameserver1=8.8.8.8
[ 4.613759] ldousb: disabling
[ 4.617013] aic_dvdd_fixed: disabling
[ 4.620948] ALSA device list:
[ 4.623927] No soundcards found.
[ 4.631625] VFS: Mounted root (nfs filesystem) on device 0:15.
[ 4.637839] devtmpfs: mounted
[ 4.641070] Freeing unused kernel memory: 320K (c07aa000 - c07fa000)
starting pid 86, tty '': '/etc/rcS'
loading modules
no /etc/modules, exiting
Starting System
done.
Welcome to
__________ .__ .___ __________
\______ \|__| __| _/ ____ ____ \______ \ __ __ ____
| _/| | / __ | / ___\ _/ __ \ | _/| | \ / \
| | \| |/ /_/ | / /_/ >\ ___/ | | \| | /| | \
|____|_ /|__|\____ | \___ / \___ >|____|_ /|____/ |___| /
\/ \//_____/ \/ \/ \/

Embedded Linux Solutions

For further information see:
http://www.ridgerun.com
Build host: ridgerun-GA-890FXA-UD5
Built by: dgarbanzo
Build date: Fri, 05 Feb 2016 11:18:55 -0600
Build tag: am5728-tievm
Configuring network interfaces
Starting D-Bus message bus system
[ 5.373459] random: dbus-daemon urandom read with 87 bits of entropy available
Starting udev
[ 5.469925] udevd[166]: starting version 182
[ 5.749187] random: nonblocking pool is initialized
[ 8.983284] omap_rtc 48838000.rtc: rtc core: registered 48838000.rtc as rtc2
[ 9.379745] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 9.412568] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
[ 9.456276] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.voltdm
[ 9.503598] omap-rproc 58820000.ipu: assigned reserved memory node ipu1_cma@9d000000
[ 9.524290] media: Linux media interface: v0.10
[ 9.559702] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.voltdm
[ 9.601392] remoteproc0: 58820000.ipu is available
[ 9.669062] Unable to handle kernel paging request at virtual address ffffffff
[ 9.708201] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.voltdm
[ 9.735154] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 9.802775] pgd = ebc74000
[ 9.863424] nfs: RPC call returned error 14
[ 9.863653] Linux video capture interface: v2.00
[ 9.873344] [ffffffff] *pgd=af7aa821
[ 9.883436] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.voltdm
[ 9.898245] , *pte=00000000, *ppte=00000000
[ 9.902470] Internal error: Oops: 17 [#1] PREEMPT SMP ARM
[ 9.907892] Modules linked in: videodev libata phy_omap_usb2 media omap_remoteproc(+) cpufreq_voltdm(+) remoteproc omap_rng omap_wdt ti_soc_thermal snd_soc_simple_card dwc3_omap rng_core rtc_omap virtio thermal_sys extcon_usb_gpio virtio_ring extcon leds_gpio hwmon
[ 9.931682] CPU: 1 PID: 474 Comm: udevd Not tainted 4.1.6-g52c4aa7 #1
[ 9.938151] Hardware name: Generic DRA74X (Flattened Device Tree)
[ 9.944275] task: ecef3700 ti: ecefc000 task.ti: ecefc000
[ 9.949709] PC is at find_get_entry+0x34/0xb4
[ 9.954091] LR is at 0x0
[ 9.956637] pc : [<c00c1598>] lr : [<00000000>] psr: a0000113
[ 9.956637] sp : ecefdc10 ip : ffffffff fp : ecefdc2c
[ 9.968167] r10: 00000000 r9 : c084028c r8 : 00000000
[ 9.973413] r7 : edd69650 r6 : 00000000 r5 : 00000000 r4 : 00000000
[ 9.979967] r3 : ecefdbfc r2 : 00000000 r1 : 00000000 r0 : ffffffff
[ 9.986525] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 9.993869] Control: 10c5387d Table: abc7406a DAC: 00000015
[ 9.999640] Process udevd (pid: 474, stack limit = 0xecefc218)
[ 10.005497] Stack: (0xecefdc10 to 0xecefe000)
[ 10.009873] dc00: 00000000 00000000 00000000 edd6964c
[ 10.018086] dc20: ecefdc5c ecefdc30 c00c16b4 c00c1570 00000000 00000000 00000000 00000001
[ 10.026301] dc40: edd6964c ed1b2780 00000000 00000000 ecefdcd4 ecefdc60 c00c2ac8 c00c1694
[ 10.034515] dc60: c010d114 c010ce90 ecefdce0 ed1b2780 00000001 ed1b27e8 00000000 edd69570
[ 10.042732] dc80: 00000fff ffffffff ecefdd0c ecefdd20 ecefdcc4 ecefdca0 c01e91b0 c059955c
[ 10.050949] dca0: ecefdd20 edd69570 ecefdd0c ecefdd20 edd69570 ecefdd0c ecefdd98 00000080
[ 10.059164] dcc0: ed2bc919 ebd23948 ecefdcf4 ecefdcd8 c01e6958 c00c2928 c01e6904 00000000
[ 10.064949] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 10.077072] remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
[ 10.077075] remoteproc0: Falling back to user helper
[ 10.091036] dce0: 00000000 ed1b2780 ecefdd64 ecefdcf8 c0104b34 c01e6910 00000080 c0139c2c
[ 10.099250] dd00: 00000000 ed733600 00000080 00000002 00000000 00000080 ecefdd04 00000001
[ 10.107463] dd20: ed1b2780 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 10.115676] dd40: ed1b2780 ed1b2780 ed733600 ecefdd98 ed1b2780 c08136cc ecefdd94 ecefdd68
[ 10.123890] dd60: c01051cc c0104a90 c010e054 c026ccc4 bf000000 ed733600 00000000 ed1b2780
[ 10.132101] dd80: c08136cc ed2bc919 ecefddb4 ecefdd98 c0109d20 c0105154 00000000 00000000
[ 10.140314] dda0: 00000000 ec93b600 ecefde3c ecefddb8 c01489a0 c0109cf0 ed733600 00000080
[ 10.148527] ddc0: 00000080 ecc0cc08 00000001 ecefddb8 00000000 ebd23948 ecefde14 ecefdde8
[ 10.156739] dde0: c0105228 ebe52500 00000000 00000000 bf000000 edd68dd8 ed2bc900 00000001
[ 10.164950] de00: c08136cc c08136cc ecefde34 ecefde18 c0109d20 ed733600 c0813bc4 fffffff8
[ 10.173163] de20: 00000001 c08136cc c08136cc ebd23948 ecefde64 ecefde40 c010ab04 c014880c
[ 10.181375] de40: ed733600 00000000 fffffff8 00000001 c08136cc c08136cc ecefdf04 ecefde68
[ 10.189588] de60: c0148388 c010aa94 00000000 ed733602 6e69622f 0068732f 00000000 c085f338
[ 10.197800] de80: befff00f 0000001d ecefdebc ecefde98 c00e0e70 c05995b4 00000b14 ef6ebf50
[ 10.206013] dea0: 00000000 beffff1f befff000 0000001d ecefded4 ecefdec0 c00e0f3c c059955c
[ 10.214225] dec0: 00000440 ef6ebf50 ecefdee4 ecefded8 c001e228 c00e0ec8 ecefdf2c ecefdee8
[ 10.222438] dee0: ed733600 c0813b28 fffffffe 00000001 ed733600 c0813ba8 ecefdf2c ecefdf08
[ 10.230649] df00: c010ab04 c0148198 ed733600 ecef3700 00000000 ebd19000 000001da ec9db500
[ 10.238861] df20: ecefdf74 ecefdf30 c010b2f8 c010aa94 ebd19000 ec9db538 0003f7e0 be8563e8
[ 10.247073] df40: 00000000 ecef3980 c0112338 0003f7e0 be8563e8 00000005 0000000b c000f204
[ 10.255286] df60: ecefc000 00000000 ecefdf8c ecefdf78 c010b4d8 c010aef8 00000000 c0112300
[ 10.263499] df80: ecefdfa4 ecefdf90 c010b728 c010b4b0 00027008 ffffffff 00000000 ecefdfa8
[ 10.271711] dfa0: c000f060 c010b710 00027008 ffffffff be8565e8 be8563e8 0003f7e0 00000008
[ 10.279924] dfc0: 00027008 ffffffff 00000005 0000000b 00026464 0003f7e0 ffffffff 0001a0f1
[ 10.288137] dfe0: 0000000b be856334 b6e52d43 b6df9716 80000030 be8565e8 4d4f5246 5645445f
[ 10.296346] Backtrace:
[ 10.298819] [<c00c1564>] (find_get_entry) from [<c00c16b4>] (pagecache_get_page+0x2c/0x198)
[ 10.307203] r7:edd6964c r6:00000000 r5:00000000 r4:00000000
[ 10.312926] [<c00c1688>] (pagecache_get_page) from [<c00c2ac8>] (generic_file_read_iter+0x1ac/0x5cc)
[ 10.322095] r10:00000000 r9:00000000 r8:ed1b2780 r7:edd6964c r6:00000001 r5:00000000
[ 10.329999] r4:00000000 r3:00000000
[ 10.333611] [<c00c291c>] (generic_file_read_iter) from [<c01e6958>] (nfs_file_read+0x54/0x8c)
[ 10.342168] r10:ebd23948 r9:ed2bc919 r8:00000080 r7:ecefdd98 r6:ecefdd0c r5:edd69570
[ 10.350072] r4:ecefdd20
[ 10.352628] [<c01e6904>] (nfs_file_read) from [<c0104b34>] (__vfs_read+0xb0/0xd8)
[ 10.360140] r6:ed1b2780 r5:00000000 r4:00000000 r3:c01e6904
[ 10.365858] [<c0104a84>] (__vfs_read) from [<c01051cc>] (vfs_read+0x84/0x108)
[ 10.373021] r8:c08136cc r7:ed1b2780 r6:ecefdd98 r5:ed733600 r4:ed1b2780
[ 10.379793] [<c0105148>] (vfs_read) from [<c0109d20>] (kernel_read+0x3c/0x54)
[ 10.386956] r9:ed2bc919 r8:c08136cc r7:ed1b2780 r6:00000000 r5:ed733600 r4:bf000000
[ 10.394780] [<c0109ce4>] (kernel_read) from [<c01489a0>] (load_elf_binary+0x1a0/0xfd0)
[ 10.402728] r4:ec93b600
[ 10.405281] [<c0148800>] (load_elf_binary) from [<c010ab04>] (search_binary_handler+0x7c/0x1c4)
[ 10.414014] r10:ebd23948 r9:c08136cc r8:c08136cc r7:00000001 r6:fffffff8 r5:c0813bc4
[ 10.421914] r4:ed733600
[ 10.424466] [<c010aa88>] (search_binary_handler) from [<c0148388>] (load_script+0x1fc/0x20c)
[ 10.432937] r9:c08136cc r8:c08136cc r7:00000001 r6:fffffff8 r5:00000000 r4:ed733600
[ 10.440757] [<c014818c>] (load_script) from [<c010ab04>] (search_binary_handler+0x7c/0x1c4)
[ 10.449141] r5:c0813ba8 r4:ed733600
[ 10.452749] [<c010aa88>] (search_binary_handler) from [<c010b2f8>] (do_execveat_common+0x40c/0x5b8)
[ 10.461832] r9:ec9db500 r8:000001da r7:ebd19000 r6:00000000 r5:ecef3700 r4:ed733600
[ 10.469650] [<c010aeec>] (do_execveat_common) from [<c010b4d8>] (do_execve+0x34/0x3c)
[ 10.477510] r10:00000000 r9:ecefc000 r8:c000f204 r7:0000000b r6:00000005 r5:be8563e8
[ 10.485411] r4:0003f7e0
[ 10.487962] [<c010b4a4>] (do_execve) from [<c010b728>] (SyS_execve+0x24/0x28)
[ 10.495132] [<c010b704>] (SyS_execve) from [<c000f060>] (ret_fast_syscall+0x0/0x3c)
[ 10.502818] r5:ffffffff r4:00027008
[ 10.506425] Code: e1a01006 eb07a8e1 e250c000 0a00001b (e59c4000)
[ 10.513054] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled
[ 10.538186] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[ 10.582154] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
[ 10.594401] ---[ end trace fc3abe8a439e5d5f ]---
[ 10.602494] BUG: Bad rss-counter state mm:ecb12700 idx:1 val:2
[ 10.602632] scsi host0: ahci
[ 10.603033] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 353
[ 10.603289] omap-rproc 55020000.ipu: assigned reserved memory node ipu2_cma@95800000
[ 10.603346] remoteproc1: 55020000.ipu is available
[ 10.603350] remoteproc1: Note: remoteproc is still under development and considered experimental.
[ 10.603352] remoteproc1: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 10.603598] omap-rproc 40800000.dsp: assigned reserved memory node dsp1_cma@99000000
[ 10.603632] remoteproc2: 40800000.dsp is available
[ 10.603635] remoteproc2: Note: remoteproc is still under development and considered experimental.
[ 10.603638] remoteproc2: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 10.604033] omap-rproc 41000000.dsp: assigned reserved memory node dsp2_cma@9f000000
[ 10.604070] remoteproc3: 41000000.dsp is available
[ 10.604073] remoteproc3: Note: remoteproc is still under development and considered experimental.
[ 10.604076] remoteproc3: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 10.608547] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
[ 10.612833] remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
[ 10.612835] remoteproc1: Falling back to user helper
[ 10.613672] remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
[ 10.613675] remoteproc2: Falling back to user helper
[ 10.614357] remoteproc3: Direct firmware load for dra7-dsp2-fw.xe66 failed with error -2
[ 10.614359] remoteproc3: Falling back to user helper
[ 10.619373] vpe 489d0000.vpe: Direct firmware load for vpdma-1b8.bin failed with error -2
[ 10.619376] vpe 489d0000.vpe: Falling back to user helper
[ 10.665087] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
[ 10.672057] vpe 489d0000.vpe: couldn't get firmware
[ 10.789939] tmp102 0-0048: initialized
[ 10.791313] rtc-ds1307 2-006f: rtc core: registered mcp7941x as rtc0
[ 10.804842] rtc-ds1307 2-006f: 64 bytes nvram
[ 10.806430] of_get_named_gpiod_flags: can't parse 'gpio-reset' property of node '/ocp/i2c@48070000/tlv320aic3104@18[0]'
[ 10.806558] aic_dvdd_fixed: supplied by vdd_3v3
[ 10.826756] remoteproc0: failed to load dra7-ipu1-fw.xem4
[ 10.832369] remoteproc3: failed to load dra7-dsp2-fw.xe66
[ 10.842622] of_get_named_gpiod_flags: can't parse 'simple-audio-card,hp-det-gpio' property of node '/sound@0[0]'
[ 10.863363] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659 as rtc1
[ 10.876287] remoteproc1: failed to load dra7-ipu2-fw.xem4
[ 10.889238] of_get_named_gpiod_flags: can't parse 'simple-audio-card,mic-det-gpio' property of node '/sound@0[0]'
[ 10.902392] remoteproc2: failed to load dra7-dsp1-fw.xe66
[ 10.909280] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: GPIO lookup for consumer id
[ 10.931150] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: using device tree for GPIO lookup
[ 10.947865] ata1: SATA link down (SStatus 0 SControl 300)
[ 10.947920] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
[ 10.957815] of_get_named_gpiod_flags: parsed 'id-gpios' property of node '/ocp/i2c@48070000/tps659038@58/tps659038_usb[0]' - status (0)
[ 10.957823] no flags found for id
[ 10.988932] palmas-usb 48070000.i2c:tps659038@58:tps659038_usb: USB-HOST cable is detached
[ 11.004822] palmas_pwrbutton 48070000.i2c:tps659038@58:tps659038_pwr_button: h/w controlled shutdown duration=12 seconds
[ 11.030761] input: palmas_pwron as /devices/platform/44000000.ocp/48070000.i2c/i2c-0/0-0058/48070000.i2c:tps659038@58:tps659038_pwr_button/input/input0
[ 11.735611] usbcore: registered new interface driver usbfs
[ 11.741548] usbcore: registered new interface driver hub
[ 11.747282] usbcore: registered new device driver usb
[ 11.853046] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 11.858606] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[ 11.866655] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x00010010
[ 11.875456] xhci-hcd xhci-hcd.1.auto: irq 443, io mem 0x48890000
[ 11.881654] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 11.888518] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 11.895771] usb usb1: Product: xHCI Host Controller
[ 11.900685] usb usb1: Manufacturer: Linux 4.1.6-g52c4aa7 xhci-hcd
[ 11.906802] usb usb1: SerialNumber: xhci-hcd.1.auto
[ 11.912462] hub 1-0:1.0: USB hub found
[ 11.916253] hub 1-0:1.0: 1 port detected
[ 11.920549] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 11.926065] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[ 11.933840] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 11.942090] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 11.948926] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 11.956190] usb usb2: Product: xHCI Host Controller
[ 11.961104] usb usb2: Manufacturer: Linux 4.1.6-g52c4aa7 xhci-hcd
[ 11.967222] usb usb2: SerialNumber: xhci-hcd.1.auto
[ 11.972846] hub 2-0:1.0: USB hub found
[ 11.976636] hub 2-0:1.0: 1 port detected

Please press Enter to activate this console. [ 12.237901] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 12.297811] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 12.318050] usb 2-1: New USB device found, idVendor=0451, idProduct=8140
[ 12.324802] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 12.351117] hub 2-1:1.0: USB hub found
[ 12.355346] hub 2-1:1.0: 4 ports detected
[ 12.378077] usb 1-1: New USB device found, idVendor=0451, idProduct=8142
[ 12.384831] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[ 12.392051] usb 1-1: SerialNumber: CF010079C017
[ 12.415128] hub 1-1:1.0: USB hub found
[ 12.419072] hub 1-1:1.0: 4 ports detected
process '-/bin/sh' (pid 630) exited. Scheduling for restart.

Please press Enter to activate this console.
starting pid 634, tty '/dev/ttyS2': '-/bin/sh'


BusyBox v1.20.2 (2016-02-04 15:50:54 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/ #

  • Hi,

    Can you share what board is this? I see you use kernel 4.1.6, but is this kernel from TI SDK or downloaded from somewhere else? Have you done any modifications to the kernel sources?

    I see that your error comes from when udev tries to load ipu binaries. Can you try to modify fw_path[] in firmware_class.c to look for the ipu binaries in the correct fs folders?
    Or, just for the test, disable the omap_remoteproc driver from defconfig, to see if the kernel panic will occur again.

    Best Regards,
    Yordan
  • Hi, thanks!

    I am using AM5728 evm with the kernel from TI SDK. I find the problem. It occurs because I was using an older linaro toolchain version (4.8). It shows a message when I compile the kernel, that says something like this "The compiled Kernel 4.1.6 version using linaro toolcahin 4.8 is known to be buggy". So trying to figuring out what generates this random error with udev, I compiled the kernel with the linaro toolchain version 4.9, and the problem disappears. 

    Thanks for your help!

  • Thanks for updating the thread.

    Just, FYI, TI SDKs come with the toolchain that should be used for cross compiling. It is located in ~/ti-processor-sdk-linux-am57xx-evm-02.00.01.07/linux-devkit/sysroots/x86_64-arago-linux/usr/bin

    Best Regards,
    Yordan