Just a very quick update to those keeping an eye on my struggle with TILER, my second attempt at forcing fbdev into tiler memory involved just forcibly widening it to 8192 pixels, thereby making the buffer physically contiguous and making life much easier. This is obviously a waste of memory but I wanted to see something working first and worry about doing it *properly* later
https://github.com/mvduin/linux/commits/patch/tiler-fbdev2
It actually seemed to work initially, resulting in a rotated framebuffer console. Reports are however that running x11 with the fbturbo backend crashed. I haven't investigated yet. Still, this is considerable progress compared to attempt #1.
Note that drm applications are not automagically rotated by this, although it does make drm dumb buffers allocated in tiler memory hence all that's needed is setting the rotation property. I figured that since the number of drm modesetting clients is rather low it might actually be easier to just have a "natural orientation" udev property or something and fix individual clients rather than handling this in kernel. It doesn't help that omap_bo_new(), unlike the dumb buffer equivalent, simply doesn't give the kernel enough information to force allocation into tiled memory.
Matthijs
Found the culprit in arch/arm/include/asm/fb.h
Fix has been pushed to github. X11 with fbturbo video driver confirmed working and rotated, xrandr is convinced my HDMI monitor is 720x1280 ;-)
Matthijs
PS it's kinda weird how much faster xterm is than the framebuffer console... I mean I know I broke "fast ywrap" but xterm is clearly doing fine without... oh well
On 18/08/16 05:50, Matthijs van Duin wrote:
Found the culprit in arch/arm/include/asm/fb.h
Fix has been pushed to github. X11 with fbturbo video driver confirmed working and rotated, xrandr is convinced my HDMI monitor is 720x1280 ;-)
Matthijs
PS it's kinda weird how much faster xterm is than the framebuffer console... I mean I know I broke "fast ywrap" but xterm is clearly doing fine without... oh well
Just guessing here, but maybe Xterm draws to normal cached memory, which is then copied to the display buffer, and fbconsole works directly on the display buffer. Doing scrolling in cached memory must (?) be much faster than without caching.
Tomi
On 18 August 2016 at 09:27, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
Because omap_bo_new() doesn't contain the dimensions of the buffer?
Yup
Yeah, I think generally the OMAP API in libdrm is bad.
It is, in more than one way :P
Really I'm not sure it even needs a private API if dumb buffers allowed for some flags regarding what the client intends to use the buffer for. I also pondered the idea of using the information available at mmap() time to choose the allocation, but it's entirely possible the client wants to rotate the buffer at a later time. Guessing is no good, the client should say what sort of purpose/usage the buffer has up front. Whether it's needed for scanout at all, if so which bits of the "rotation" property it wants to exercise. Whether it's going to be mapped into userspace at all.
We could of course in theory map it untiled if there's no obvious need for rotation, and if the need arises allocate a tiled buffer, copy data, redo any existing kernel and userspace mappings, atomic modeset the new scanout location together with the rotation...
This however seems like a bit ridiculous amount of effort for the sole reason of allowing userspace to not bother with thinking ahead a little bit.
On 18 August 2016 at 09:30, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
Just guessing here, but maybe Xterm draws to normal cached memory
Not sure how to check. I do know fbturbo defaults to ShadowFB disabled whenever VFP/Neon is available since it then uses that whenever it has an urge to read. It also decides whether and when to windows backing storage based on some magic 8-ball, especially to avoid heavy redraws when e.g. dragging a window, but my impression is that this too defaults to off.
is then copied to the display buffer, and fbconsole works directly on the display buffer. Doing scrolling in cached memory must (?) be much faster than without caching.
Actually since I disabled ywrap, omap_fbdev also doesn't set FBINFO_READS_FAST so my impression is that it'll rerender rather than scroll.
I'm not sure which of the two would be faster if optimized... they're both mostly blitters, though render is a bit more complex but has the benefit of a small cached source memory (the font).
I'm also not sure which of the two would be faster if poorly optimized for that matter. The first person to care enough can try setting FBINFO_READS_FAST to see if it makes things faster or not. It's easier than fixing ywrap (for which my first thought would be using panning for the residue mod 32).
Thinking of it, can't the kernel just use DMA to blit large areas, such as when scrolling?
Matthijs
Just a quick update although not much has happened:
The letux-4.7 kernel with my patches has been semi-successfully tested on pyra hardware. Strangely, although it initially works correctly, Michael reported the display turns off after 10 seconds. Dumping properties after the display turned off shows DPMS = Off and no modes listed on the connector, all crtcs and layers inactive. Having any process open /dev/dri/card0 (implicitly grabbing DRM master) prevents this from happening, but then the display turns off the moment the file descriptor is closed.
This didn't happen with the "non-rotated" kernel. I've personally never seen such behaviour on the uevm + HDMI and also have absolutely no idea what could be causing it -- the only relevant difference should be the dsi panel driver and it shouldn't be aware at all of what my rotation patches are doing.
I've rebased my patches to letux-4.8-rc1 but this resulted in kernel tracebacks for me, escalated to panics if booting with HDMI connected. Booting without HDMI connected usually worked, as did modprobe -r omapdrm; connect HDMI; modprobe omapdrm. I merged 4.7-rc2 to see if it would help but it didn't. I've not yet had the time to investigate.
Until this is sorted out I suggest rebasing my patches to a known-working kernel if you want to try them. Rebasing to 4.7 results in a minor conflict in one of the patches, but it is easily resolved by hand.
Matthijs
On 25/08/16 04:37, Matthijs van Duin wrote:
Just a quick update although not much has happened:
The letux-4.7 kernel with my patches has been semi-successfully tested on pyra hardware. Strangely, although it initially works correctly, Michael reported the display turns off after 10 seconds. Dumping properties after the display turned off shows DPMS = Off and no modes listed on the connector, all crtcs and layers inactive. Having any process open /dev/dri/card0 (implicitly grabbing DRM master) prevents this from happening, but then the display turns off the moment the file descriptor is closed.
And what happens if you then try to run a DRM application? I presume everything fails after that, if there are no modes for the connector.
Tomi
On 25 August 2016 at 09:01, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
And what happens if you then try to run a DRM application? I presume everything fails after that, if there are no modes for the connector.
Yeah. Maybe if you just blindly set the configuration it might work. If the "grab drm master and hold on to it" trick didn't work then that would have been the next thing to try.
Isn't a fixed-geometry DSI display supposed to always list exactly one mode? I still find this whole thing quite puzzling...
Matthijs
On 25/08/16 10:12, Matthijs van Duin wrote:
On 25 August 2016 at 09:01, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
And what happens if you then try to run a DRM application? I presume everything fails after that, if there are no modes for the connector.
Yeah. Maybe if you just blindly set the configuration it might work. If the "grab drm master and hold on to it" trick didn't work then that would have been the next thing to try.
Isn't a fixed-geometry DSI display supposed to always list exactly one mode? I still find this whole thing quite puzzling...
Yes. So it doesn't list the mode even before the display blanks?
Tomi
On 25 August 2016 at 09:26, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
Yes. So it doesn't list the mode even before the display blanks?
Before the display blanks everything looks normal, at least reasonably I think:
On 25 August 2016 at 09:04, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
Btw, have you only used XRGB8888 format when testing rotation?
ARGB8888 actually, but yes.
I'm not able to get any of the YUV formats to work with rotation. And I don't know if those have ever worked. And I don't even know exactly what configuration is needed to get them working (tiler block size? stride sizes? etc).
I think yuyv and the chroma plane of nv12 are 16-bit while the luma plane of nv12 is 8-bit, but I'm not 100% sure of this.
The rotation also needs to be correctly written in some DSS register iirc. Other details may apply, I haven't fully dug into it and must admit some bits seemed slightly vague to me.
Matthijs
On 25/08/16 13:26, Matthijs van Duin wrote:
On 25 August 2016 at 09:26, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
Yes. So it doesn't list the mode even before the display blanks?
Before the display blanks everything looks normal, at least reasonably I think:
On 25 August 2016 at 09:04, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
Btw, have you only used XRGB8888 format when testing rotation?
ARGB8888 actually, but yes.
I'm not able to get any of the YUV formats to work with rotation. And I don't know if those have ever worked. And I don't even know exactly what configuration is needed to get them working (tiler block size? stride sizes? etc).
I think yuyv and the chroma plane of nv12 are 16-bit while the luma plane of nv12 is 8-bit, but I'm not 100% sure of this.
I guess the same for NV12, but YUYV... You need the whole 32bit macropixel to figure out the resulting color. In any case, I did try all the combinations that came to my mind, but I couldn't get them to work.
Oh, and as a clarification: it looked to me that the luma rotation was ok, but chroma was not, for both NV12 and YUYV. But I'm not 100% sure about that.
The rotation also needs to be correctly written in some DSS register iirc. Other details may apply, I haven't fully dug into it and must admit some bits seemed slightly vague to me.
Yes, "vague" expresses my thoughts too =).
Well, anyway, just so everyone is aware: TILER rotation only seems to work correctly for RGB.
Tomi
On 25 August 2016 at 12:33, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
Well, anyway, just so everyone is aware: TILER rotation only seems to work correctly for RGB.
For now, until we figure out how to correctly program DSS for YUYV and NV12. :)
You're right about YUYV, the TRM confirms it uses 32-bit mode (as well as that for nv12 the luma uses 8-bit mode and chrome 16-bit mode).
Apart from setting ROTATION correctly in VIDp_ATTRIBUTES it also mentions DOUBLESTRIDE is apparently supposed to be set for NV12 in 0 or 180 degree rotation but not in 90 or 270 degree rotation.
Matthijs
On 25/08/16 15:58, Matthijs van Duin wrote:
You're right about YUYV, the TRM confirms it uses 32-bit mode (as well as that for nv12 the luma uses 8-bit mode and chrome 16-bit mode).
Where was that mentioned? I had a quick look a few days back, and I couldn't find anything conclusive.
Tomi
On 25 August 2016 at 15:10, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
On 25/08/16 15:58, Matthijs van Duin wrote:
You're right about YUYV, the TRM confirms it uses 32-bit mode (as well as that for nv12 the luma uses 8-bit mode and chrome 16-bit mode).
Where was that mentioned? I had a quick look a few days back, and I couldn't find anything conclusive.
Most convincingly in the second NOTE of 10.2.4.6.5 DISPC Predecimation
Matthijs
On 25/08/16 16:22, Matthijs van Duin wrote:
On 25 August 2016 at 15:10, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
On 25/08/16 15:58, Matthijs van Duin wrote:
You're right about YUYV, the TRM confirms it uses 32-bit mode (as well as that for nv12 the luma uses 8-bit mode and chrome 16-bit mode).
Where was that mentioned? I had a quick look a few days back, and I couldn't find anything conclusive.
Most convincingly in the second NOTE of 10.2.4.6.5 DISPC Predecimation
Well, it's not talking about TILER there. The macro-pixel size is clear, but I was hoping to see a "if you use TILER, you need to use this and that". Or a mention that the macro-pixel size maps directly to the tiler unit sizes (or whatever they are called).
For NV12's luma and chroma 8 and 16 bit units make perfect sense. For YUYV's "two pixels in one" it's quite unclear.
Tomi
On 25 August 2016 at 15:31, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
On 25/08/16 16:22, Matthijs van Duin wrote:
Most convincingly in the second NOTE of 10.2.4.6.5 DISPC Predecimation
Well, it's not talking about TILER there. The macro-pixel size is clear, but I was hoping to see a "if you use TILER, you need to use this and that". Or a mention that the macro-pixel size maps directly to the tiler unit sizes (or whatever they are called).
I agree, but this still seems like the best guess. I think I've also seen other hints toward 32-bit but I'm really not sure anymore where.
BTW I just stumbled across another setting relevant for rotation of yuv data: YUVCHROMARESAMPLING in DISPC_VIDp_ATTRIBUTES2
On 27/08/16 03:01, Matthijs van Duin wrote:
On 25 August 2016 at 15:31, Tomi Valkeinen tomi.valkeinen@ti.com wrote:
On 25/08/16 16:22, Matthijs van Duin wrote:
Most convincingly in the second NOTE of 10.2.4.6.5 DISPC Predecimation
Well, it's not talking about TILER there. The macro-pixel size is clear, but I was hoping to see a "if you use TILER, you need to use this and that". Or a mention that the macro-pixel size maps directly to the tiler unit sizes (or whatever they are called).
I agree, but this still seems like the best guess. I think I've also seen other hints toward 32-bit but I'm really not sure anymore where.
I can't get the YUYV rotation to work correctly, but I get better results with 16-bit TILER unit.
I did get NV12 working, I think (I didn't do too much testing). Attached quick kernel patches for this. The first one makes me think that this has never worked, and the dispc code for TILER rotation is probably quite broken (as seen with YUYV).
Tomi
On 25 August 2016 at 03:37, Matthijs van Duin matthijsvanduin@gmail.com wrote:
I've rebased my patches to letux-4.8-rc1 but this resulted in kernel tracebacks for me, escalated to panics if booting with HDMI connected. Booting without HDMI connected usually worked, as did modprobe -r omapdrm; connect HDMI; modprobe omapdrm. I merged 4.7-rc2 to see if it would help but it didn't. I've not yet had the time to investigate.
OK, I've done at least a tiny step of bisecting: I've tested unmodified letux-4.8-rc1 with unmodified letux_defconfig. I still get consistent tracebacks.
To allow better debugging and have less log noise I reconfigured the kernel to strip some stuff irrelevant to omap5 and enable e.g. DEBUG_BUGVERBOSE. Curiously, although I still get a traceback, it now doesn't panic but continues to boot with apparently working HDMI output.
Sound is still broken however (aplay -l doesn't even show the twl6040, only hdmi audio as card0).
Kernel log attached below.
Matthijs
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.8.0-rc1-letux-custom (matthijs@bob) (gcc version 6.1.1 20160705 (Debian 6.1.1-9) ) #17 SMP PREEMPT Fri Aug 26 03:26:48 CEST 2016 [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=50c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache [ 0.000000] OF: fdt:Machine model: TI OMAP5 uEVM board [ 0.000000] cma: Reserved 16 MiB at 0xfd800000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] OMAP4: Map 0xfee00000 to fe600000 for dram barrier [ 0.000000] On node 0 totalpages: 519680 [ 0.000000] free_area_init_node: node 0, pgdat c0963800, node_mem_map ef019000 [ 0.000000] Normal zone: 1536 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 196608 pages, LIFO batch:31 [ 0.000000] HighMem zone: 323072 pages, LIFO batch:31 [ 0.000000] OMAP5432 ES2.0 [ 0.000000] percpu: Embedded 15 pages/cpu @eefa5000 s31400 r8192 d21848 u61440 [ 0.000000] pcpu-alloc: s31400 r8192 d21848 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 518144 [ 0.000000] Kernel command line: root=/dev/mmcblk0p1 console=ttyO2,115200n8 rw rootwait fixrtc consoleblank=0 omapdrm.num_crtc=1 omapdss.def_disp=hdmi [ 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: 2028032K/2078720K available (4096K kernel code, 496K rwdata, 2192K rodata, 1024K init, 8016K bss, 34304K reserved, 16384K cma-reserved, 1275904K highmem) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xf0800000 - 0xff800000 ( 240 MB) lowmem : 0xc0000000 - 0xf0000000 ( 768 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf800000 - 0xbfe00000 ( 6 MB) .text : 0xc0008000 - 0xc0500000 (5088 kB) .init : 0xc0800000 - 0xc0900000 (1024 kB) .data : 0xc0900000 - 0xc097c260 ( 497 kB) .bss : 0xc097c260 - 0xc1150554 (8017 kB) [ 0.000000] Running RCU self tests [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU lockdep checking is enabled. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] OMAP clockevent source: timer1 at 32768 Hz [ 0.000000] Architected cp15 timer(s) running at 6.14MHz (virt). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x16ac02862, max_idle_ns: 440795202218 ns [ 0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511085ns [ 0.000018] Switching to timer-based delay loop, resolution 162ns [ 0.000239] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000250] OMAP clocksource: 32k_counter at 32768 Hz [ 0.001112] Console: colour dummy device 80x30 [ 0.001145] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.001154] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.001161] ... MAX_LOCK_DEPTH: 48 [ 0.001169] ... MAX_LOCKDEP_KEYS: 8191 [ 0.001176] ... CLASSHASH_SIZE: 4096 [ 0.001184] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.001191] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.001197] ... CHAINHASH_SIZE: 32768 [ 0.001205] memory used by lock dependency info: 5167 kB [ 0.001212] per task-struct memory footprint: 1536 bytes [ 0.001242] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.28 BogoMIPS (lpj=61440) [ 0.001257] pid_max: default: 32768 minimum: 301 [ 0.001572] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001585] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.003928] CPU: Testing write buffer coherency: ok [ 0.005055] /cpus/cpu@0 missing clock-frequency property [ 0.005077] /cpus/cpu@1 missing clock-frequency property [ 0.005090] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.005122] Setting up static identity map for 0x80100000 - 0x8010004c [ 0.121130] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.121623] Brought up 2 CPUs [ 0.121638] SMP: Total of 2 processors activated (24.57 BogoMIPS). [ 0.121646] CPU: All CPU(s) started in SVC mode. [ 0.152834] devtmpfs: initialized [ 0.241295] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 [ 0.242551] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.301088] driver_register 'ARM-CCI PMU' [ 0.301247] driver_register 'ARM-CCI' [ 0.301382] pinctrl core: initialized pinctrl subsystem [ 0.302551] driver_register 'reg-dummy' [ 0.362237] NET: Registered protocol family 16 [ 0.366820] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.368375] omap_hwmod: l3_main_3 using broken dt data from ocp [ 0.369858] omap_hwmod: l3_main_2 using broken dt data from ocp [ 0.489562] driver_register 'omap_gpio' [ 0.490469] driver_register 'syscon' [ 0.490909] driver_register 'dummy' [ 0.491083] driver_register 'omap-gpmc' [ 0.491186] driver_register 'omap_l3_smx' [ 0.491282] driver_register 'omap_l3_noc' [ 0.505762] OMAP GPIO hardware version 0.1 [ 0.522638] GPIO line 234 (gpio8_234/msecure) hogged as output/high [ 0.524638] platform 50000000.gpmc: Cannot lookup hwmod 'gpmc' [ 0.524917] omap-gpmc 50000000.gpmc: _od_fail_runtime_resume: FIXME: missing hwmod/omap_dev info [ 0.524935] omap-gpmc 50000000.gpmc: GPMC revision 6.0 [ 0.531974] irq: no irq domain found for /ocp/l4@4a000000/scm@2800/pinmux@40 ! [ 0.535184] irq: no irq domain found for /ocp/l4@4a000000/scm@2800/pinmux@40 ! [ 0.558026] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.558037] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.558425] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.559134] driver_register 'omap_dma_system' [ 0.559607] OMAP DMA hardware revision 0.0 [ 0.581803] driver_register 'ti-dma-crossbar' [ 0.872468] driver_register 'omap-control-phy' [ 0.873070] driver_register 'pca953x' [ 0.873293] driver_register 'omap-dma-engine' [ 0.881941] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver [ 0.885991] driver_register 'edma3-tptc' [ 0.886373] driver_register 'edma' [ 0.886761] driver_register 'reg-fixed-voltage' [ 0.887832] vsys_cobra: supplied by vmain [ 0.889881] reg-fixed-voltage fixedregulator-mmcsdio: could not find pctldev for node /ocp/l4@4a000000/scm@2800/pinmux@40/pinmux_wlan_pins, deferring probe [ 0.890012] driver_register 'palmas-pmic' [ 0.890575] driver_register 'tps65023' [ 0.890713] driver_register 'tps6507x-pmic' [ 0.890932] driver_register 'tps65910-pmic' [ 0.891145] driver_register 'twl_reg' [ 0.933009] driver_register 'omap-iommu' [ 0.933478] omap-iommu 4a066000.mmu: 4a066000.mmu registered [ 0.933730] omap-iommu 55082000.mmu: 55082000.mmu registered [ 0.935138] driver_register 'tps65910' [ 0.935240] driver_register 'palmas' [ 0.963272] SCSI subsystem initialized [ 0.964016] libata version 3.00 loaded. [ 0.964416] driver_register 'Generic PHY' [ 0.964624] driver_register 'Generic 10G PHY' [ 0.965119] driver_register 'usbfs' [ 0.965533] usbcore: registered new interface driver usbfs [ 0.965552] driver_register 'hub' [ 0.965827] usbcore: registered new interface driver hub [ 0.965938] driver_register 'usb' [ 0.966149] usbcore: registered new device driver usb [ 0.966159] driver_register 'usb_phy_generic' [ 0.966719] hsusb2_phy supply vcc not found, using dummy regulator [ 0.966935] usb_add_phy_dev nop-xceiv [ 0.967145] hsusb3_phy supply vcc not found, using dummy regulator [ 0.967316] usb_add_phy_dev nop-xceiv [ 0.968304] driver_register 'omap_i2c' [ 0.968519] omap_i2c 48070000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@2800/pinmux@40/pinmux_i2c1_pins, deferring probe [ 0.969936] omap_i2c 48072000.i2c: bus 1 rev0.12 at 100 kHz [ 0.971011] omap_i2c 48060000.i2c: bus 2 rev0.12 at 100 kHz [ 0.972016] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 100 kHz [ 0.972142] omap_i2c 4807c000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@2800/pinmux@40/pinmux_i2c5_pins, deferring probe [ 0.974501] Advanced Linux Sound Architecture Driver Initialized. [ 0.979351] clocksource: Switched to clocksource arch_sys_counter [ 1.119677] VFS: Disk quotas dquot_6.6.0 [ 1.159425] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 1.197322] driver_register 'usbhs_tll' [ 1.389388] NET: Registered protocol family 2 [ 1.390962] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 1.391092] TCP bind hash table entries: 8192 (order: 6, 294912 bytes) [ 1.393349] TCP: Hash tables configured (established 8192 bind 8192) [ 1.393509] UDP hash table entries: 512 (order: 3, 40960 bytes) [ 1.393822] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes) [ 1.430272] NET: Registered protocol family 1 [ 1.430338] driver_register 'usbhs_omap' [ 1.476736] driver_register 'armv7-pmu' [ 1.476905] hw perfevents: /pmu: failed to probe PMU! [ 1.476914] hw perfevents: /pmu: failed to register PMU devices! [ 1.476953] armv7-pmu: probe of pmu failed with error -22 [ 1.477647] driver_register 'omap_timer' [ 1.481718] driver_register 'alarmtimer' [ 1.483933] futex hash table entries: 512 (order: 3, 32768 bytes) [ 1.522036] workingset: timestamp_bits=30 max_order=19 bucket_order=0 [ 1.979377] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 2.102707] bounce: pool size: 64 pages [ 2.149562] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 2.149619] io scheduler noop registered [ 2.149629] io scheduler deadline registered [ 2.189396] io scheduler cfq registered (default) [ 2.189515] driver_register 'omap-ocp2scp' [ 2.192567] driver_register 'omap-usb2' [ 2.193916] usb_add_phy_dev omap_usb2 [ 2.194225] driver_register 'ti-pipe3' [ 2.195508] ti-pipe3 4a096000.phy: can't get syscon-pllreset, sata dpll won't idle [ 2.196336] driver_register 'pinctrl-single' [ 2.197555] pinctrl-single 4a002840.pinmux: 219 pins at pa fc002840 size 438 [ 2.198035] pinctrl-single 4ae0c840.pinmux: 30 pins at pa fce0c840 size 60 [ 2.198632] driver_register 'twl-pwm' [ 2.199160] driver_register 'twl-pwmled' [ 2.199794] driver_register 'platform-lcd' [ 2.200293] driver_register 'pbias-regulator' [ 2.202335] driver_register 'omap_uart' [ 2.202729] DTR_gpio -2 inverted 0 [ 2.202738] DTR_gpio -22 inverted 0 [ 2.202752] omap_uart 4806a000.serial: no wakeirq for uart0 [ 2.203330] 4806a000.serial: ttyO0 at MMIO 0x4806a000 (irq = 304, base_baud = 3000000) is a OMAP UART0 [ 2.204920] DTR_gpio -2 inverted 0 [ 2.204930] DTR_gpio -22 inverted 0 [ 2.204944] omap_uart 4806c000.serial: no wakeirq for uart1 [ 2.205204] 4806c000.serial: ttyO1 at MMIO 0x4806c000 (irq = 305, base_baud = 3000000) is a OMAP UART1 [ 2.206444] DTR_gpio -2 inverted 0 [ 2.206454] DTR_gpio -22 inverted 0 [ 2.206629] 48020000.serial: ttyO2 at MMIO 0x48020000 (irq = 306, base_baud = 3000000) is a OMAP UART2 [ 3.267432] console [ttyO2] enabled [ 3.272144] DTR_gpio -2 inverted 0 [ 3.275685] DTR_gpio -22 inverted 0 [ 3.279358] omap_uart 4806e000.serial: no wakeirq for uart3 [ 3.285432] 4806e000.serial: ttyO3 at MMIO 0x4806e000 (irq = 307, base_baud = 3000000) is a OMAP UART3 [ 3.296272] DTR_gpio -2 inverted 0 [ 3.299846] DTR_gpio -22 inverted 0 [ 3.303493] omap_uart 48066000.serial: no wakeirq for uart4 [ 3.309589] 48066000.serial: ttyO4 at MMIO 0x48066000 (irq = 308, base_baud = 3000000) is a OMAP UART4 [ 3.320378] DTR_gpio -2 inverted 0 [ 3.323925] DTR_gpio -22 inverted 0 [ 3.327565] omap_uart 48068000.serial: no wakeirq for uart5 [ 3.333654] 48068000.serial: ttyO5 at MMIO 0x48068000 (irq = 309, base_baud = 3000000) is a OMAP UART5 [ 3.345183] driver_register 'omap_rng' [ 3.380854] brd: module loaded [ 3.403323] loop: module loaded [ 3.406607] driver_register 'twl' [ 3.410330] driver_register 'twl4030_power' [ 3.415411] driver_register 'twl4030-audio' [ 3.420299] driver_register 'twl6040' [ 3.424614] driver_register 'sd' [ 3.428187] driver_register 'ahci' [ 3.432923] ahci 4a140000.sata: SSS flag set, parallel bus scan disabled [ 3.439970] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode [ 3.448867] ahci 4a140000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst [ 3.462146] scsi host0: ahci [ 3.466483] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 336 [ 3.475469] driver_register 'spidev' [ 3.479287] driver_register 'spi_gpio' [ 3.483607] driver_register 'omap2_mcspi' [ 3.492734] driver_register 'SMSC LAN83C185' [ 3.497277] driver_register 'SMSC LAN8187' [ 3.501667] driver_register 'SMSC LAN8700' [ 3.506029] driver_register 'SMSC LAN911x Internal PHY' [ 3.511588] driver_register 'SMSC LAN8710/LAN8720' [ 3.516674] driver_register 'SMSC LAN8740' [ 3.521806] libphy: Fixed MDIO Bus: probed [ 3.526081] driver_register 'Atheros 8035 ethernet' [ 3.531276] driver_register 'Atheros 8030 ethernet' [ 3.536453] driver_register 'Atheros 8031 ethernet' [ 3.541645] driver_register 'ks8851' [ 3.545465] driver_register 'ks8851_mll' [ 3.549953] driver_register 'smc91x' [ 3.554073] driver_register 'smsc911x' [ 3.558349] driver_register 'davinci_mdio' [ 3.563044] driver_register 'cpsw-phy-sel' [ 3.567737] driver_register 'cpsw' [ 3.571760] driver_register 'am335x-control-usb' [ 3.576954] driver_register 'am335x-phy-driver' [ 3.582688] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.589545] driver_register 'usb-storage' [ 3.593905] usbcore: registered new interface driver usb-storage [ 3.601317] mousedev: PS/2 mouse device common for all mice [ 3.607143] driver_register 'atkbd' [ 3.611612] driver_register 'omap_rtc' [ 3.615940] driver_register 'palmas-rtc' [ 3.620445] i2c /dev entries driver [ 3.625893] Driver for 1-wire Dallas network protocol. [ 3.631390] driver_register 'w1_master_driver' [ 3.636120] driver_register 'w1_slave_driver' [ 3.640777] driver_register 'ti-soc-thermal' [ 3.647195] driver_register 'omap_wdt' [ 3.653681] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec [ 3.661159] driver_register 'twl4030_wdt' [ 3.665731] driver_register 'cpufreq-dt' [ 3.670562] driver_register 'omap-cpufreq' [ 3.675060] driver_register 'pwrseq_simple' [ 3.679957] driver_register 'pwrseq_emmc' [ 3.684514] driver_register 'mmcblk' [ 3.688344] driver_register 'sdio_uart' [ 3.692460] driver_register 'mmci-omap' [ 3.696835] driver_register 'omap_hsmmc' [ 3.801384] ata1: SATA link down (SStatus 0 SControl 300) [ 3.814375] ledtrig-cpu: registered to indicate activity on CPUs [ 3.821013] driver_register 'hid-generic' [ 3.825481] driver_register 'usbhid' [ 3.829686] usbcore: registered new interface driver usbhid [ 3.835563] usbhid: USB HID core driver [ 3.839655] driver_register 'gpio-clk' [ 3.847141] driver_register 'palmas-clk' [ 3.851830] driver_register 'twl6040-clk' [ 3.856537] driver_register 'palmas-usb' [ 3.861226] driver_register 'bmp280' [ 3.865176] driver_register 'bmp280' [ 3.869107] driver_register 'st-press-i2c' [ 3.873613] driver_register 'st-press-spi' [ 3.880058] driver_register 'snd-soc-dummy' [ 3.884946] driver_register 'soc-audio' [ 3.889733] Initializing XFRM netlink socket [ 3.894264] NET: Registered protocol family 17 [ 3.899031] NET: Registered protocol family 15 [ 3.903959] Key type dns_resolver registered [ 3.908570] omap_vc_init_channel: No PMIC info for vdd_core [ 3.914442] omap_vp_init: No PMIC info for vdd_core [ 3.919609] omap_vc_init_channel: No PMIC info for vdd_mm [ 3.925312] omap_vp_init: No PMIC info for vdd_mm [ 3.930291] omap_vc_init_channel: No PMIC info for vdd_mpu [ 3.936051] omap_vp_init: No PMIC info for vdd_mpu [ 3.941702] Power Management for TI OMAP4+ devices. [ 3.947039] ThumbEE CPU extension supported. [ 3.951546] Registering SWP/SWPB emulation handler [ 3.958666] mmc0: new high speed MMC card at address 0001 [ 3.965098] registered taskstats version 1 [ 3.975168] palmas 0-0048: Irq flag is 0x00000000 [ 3.980729] mmcblk0: mmc0:0001 SEM04G 3.69 GiB [ 3.987444] mmcblk0boot0: mmc0:0001 SEM04G partition 1 2.00 MiB [ 3.994375] mmcblk0boot1: mmc0:0001 SEM04G partition 2 2.00 MiB [ 4.003090] mmcblk0: p1 [ 4.012627] palmas 0-0048: Muxing GPIO 2, PWM 0, LED 0 [ 4.077575] palmas-rtc 48070000.i2c:palmas@48:rtc: rtc core: registered 48070000.i2c:palmas as rtc0 [ 4.099108] random: fast init done [ 4.102804] SMPS6: supplied by vsys_cobra [ 4.107716] smps6: Bringing 1350000uV into 1200000-1200000uV [ 4.116936] SMPS7: supplied by vsys_cobra [ 4.123053] vdds_1v8_main: supplied by smps7 [ 4.130062] SMPS8: supplied by vsys_cobra [ 4.137526] SMPS9: supplied by vsys_cobra [ 4.142423] smps9: Bringing 0uV into 2100000-2100000uV [ 4.153954] LDO1: supplied by vsys_cobra [ 4.158738] ldo1: Bringing 0uV into 1800000-1800000uV [ 4.166431] LDO2: supplied by vsys_cobra [ 4.171209] ldo2: Bringing 0uV into 2800000-2800000uV [ 4.178872] LDO3: supplied by vdds_1v8_main [ 4.186406] LDO4: supplied by vdds_1v8_main [ 4.191482] ldo4: Bringing 0uV into 1800000-1800000uV [ 4.199136] LDO5: supplied by vsys_cobra [ 4.206305] LDO6: supplied by vdds_1v8_main [ 4.215249] LDO7: supplied by vsys_cobra [ 4.220055] ldo7: Bringing 0uV into 2000000-2000000uV [ 4.227712] LDO8: supplied by vsys_cobra [ 4.234925] LDO9: supplied by vmmcsd_fixed [ 4.243125] LDOLN: supplied by vsys_cobra [ 4.250407] LDOUSB: supplied by vsys_cobra [ 4.268370] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz [ 4.302781] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz [ 4.390048] omap_hsmmc 480ad000.mmc: allocated mmc-pwrseq [ 4.549530] driver_register 'gpio-keys' [ 4.554765] palmas-rtc 48070000.i2c:palmas@48:rtc: setting system clock to 2016-08-26 11:38:13 UTC (1472211493) [ 4.583988] vmmcsdio_fixed: disabling [ 4.588708] ldo3: disabling [ 4.592634] ldo8: disabling [ 4.596339] ALSA device list: [ 4.599483] No soundcards found. [ 4.606024] EXT4-fs (mmcblk0p1): couldn't mount as ext3 due to feature incompatibilities [ 4.615206] EXT4-fs (mmcblk0p1): couldn't mount as ext2 due to feature incompatibilities [ 4.670630] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) [ 4.679176] VFS: Mounted root (ext4 filesystem) on device 179:1. [ 4.686972] devtmpfs: mounted [ 4.691694] Freeing unused kernel memory: 1024K (c0800000 - c0900000) [ 5.229465] NET: Registered protocol family 10 [ 5.313344] systemd[1]: systemd 230 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN) [ 5.333637] systemd[1]: Detected architecture arm. [ 5.370621] systemd[1]: Set hostname to <omap5>. [ 5.765945] systemd[1]: Listening on fsck to fsckd communication Socket. [ 5.809241] systemd[1]: Created slice System Slice. [ 5.840563] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 5.869561] systemd[1]: Reached target Remote File Systems (Pre). [ 5.899572] systemd[1]: Reached target Remote File Systems. [ 5.929657] systemd[1]: Listening on udev Kernel Socket. [ 5.960193] systemd[1]: Created slice User and Session Slice. [ 6.431712] EXT4-fs (mmcblk0p1): re-mounted. Opts: (null) [ 7.322197] systemd-journald[868]: Received request to flush runtime journal from PID 1 [ 8.553625] driver_register 'omapdss' [ 8.571005] driver_register 'omapdss_dss' [ 8.576143] driver_register 'omapdss_dispc' [ 8.587049] driver_register 'omapdss_dsi' [ 8.625566] driver_register 'omapdss_dpi' [ 8.630096] driver_register 'omap-mcbsp' [ 8.631831] driver_register 'omap-mcpdm' [ 8.653128] driver_register 'omapdss_sdi' [ 8.657529] driver_register 'omapdss_venc' [ 8.663141] driver_register 'omapdss_hdmi' [ 8.678252] driver_register 'omapdss_hdmi5' [ 8.701233] 58000000.dss supply vdda_video not found, using dummy regulator [ 8.708966] OMAP DSS rev 6.1 [ 8.777531] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops [omapdss]) [ 8.793245] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops [omapdss]) [ 8.814237] driver_register 'tpd12s015' [ 8.842350] driver_register 'connector-hdmi' [ 8.842806] OF: ERROR: Bad of_node_put() on /encoder/ports/port@1/endpoint [ 8.842812] CPU: 1 PID: 1494 Comm: systemd-udevd Not tainted 4.8.0-rc1-letux-custom #17 [ 8.842815] Hardware name: Generic OMAP5 (Flattened Device Tree) [ 8.842831] [<c010b519>] (unwind_backtrace) from [<c010900b>] (show_stack+0xb/0xc) [ 8.842841] [<c010900b>] (show_stack) from [<c02bb281>] (dump_stack+0x6d/0x98) [ 8.842849] [<c02bb281>] (dump_stack) from [<c02bc91b>] (kobject_put+0x93/0x140) [ 8.842935] [<c02bc91b>] (kobject_put) from [<bf889433>] (omapdss_of_find_source_for_first_ep+0x2e/0x58 [omapdss]) [ 8.843014] [<bf889433>] (omapdss_of_find_source_for_first_ep [omapdss]) from [<bf94f233>] (hdmic_probe+0x56/0x170 [connector_hdmi]) [ 8.843030] [<bf94f233>] (hdmic_probe [connector_hdmi]) from [<c03216cd>] (platform_drv_probe+0x33/0x62) [ 8.843040] [<c03216cd>] (platform_drv_probe) from [<c03201db>] (driver_probe_device+0x11f/0x284) [ 8.843049] [<c03201db>] (driver_probe_device) from [<c032038d>] (__driver_attach+0x4d/0x98) [ 8.843057] [<c032038d>] (__driver_attach) from [<c031f085>] (bus_for_each_dev+0x3d/0x46) [ 8.843064] [<c031f085>] (bus_for_each_dev) from [<c031facb>] (bus_add_driver+0xe3/0x170) [ 8.843073] [<c031facb>] (bus_add_driver) from [<c0320d79>] (driver_register+0x59/0x88) [ 8.843083] [<c0320d79>] (driver_register) from [<bf95200b>] (hdmi_connector_driver_init+0xa/0x13 [connector_hdmi]) [ 8.843095] [<bf95200b>] (hdmi_connector_driver_init [connector_hdmi]) from [<c010178d>] (do_one_initcall+0xc5/0xf0) [ 8.843108] [<c010178d>] (do_one_initcall) from [<c01b329b>] (do_init_module+0x3b/0x318) [ 8.843118] [<c01b329b>] (do_init_module) from [<c017f33d>] (load_module+0x13f3/0x1722) [ 8.843126] [<c017f33d>] (load_module) from [<c017f7b1>] (SyS_finit_module+0x51/0x74) [ 8.843135] [<c017f7b1>] (SyS_finit_module) from [<c0105bc1>] (ret_fast_syscall+0x1/0x18) [ 8.843225] connector-hdmi connector: failed to find video source [ 9.160866] driver_register 'omap-dwc3' [ 9.170858] ------------[ cut here ]------------ [ 9.170868] WARNING: CPU: 1 PID: 22 at ./include/linux/kref.h:46 kobject_get+0x57/0x6c [ 9.170889] Modules linked in: dwc3_omap(+) connector_hdmi encoder_tpd12s015(+) snd_soc_omap_mcpdm snd_soc_omap_mcbsp snd_soc_omap snd_pcm_dmaengine omapdss ipv6 autofs4 [ 9.170895] CPU: 1 PID: 22 Comm: kworker/u4:1 Not tainted 4.8.0-rc1-letux-custom #17 [ 9.170897] Hardware name: Generic OMAP5 (Flattened Device Tree) [ 9.170908] Workqueue: deferwq deferred_probe_work_func [ 9.170920] [<c010b519>] (unwind_backtrace) from [<c010900b>] (show_stack+0xb/0xc) [ 9.170929] [<c010900b>] (show_stack) from [<c02bb281>] (dump_stack+0x6d/0x98) [ 9.170939] [<c02bb281>] (dump_stack) from [<c011cf83>] (__warn+0x8f/0xac) [ 9.170947] [<c011cf83>] (__warn) from [<c011d003>] (warn_slowpath_null+0x11/0x16) [ 9.170954] [<c011d003>] (warn_slowpath_null) from [<c02bcaff>] (kobject_get+0x57/0x6c) [ 9.170962] [<c02bcaff>] (kobject_get) from [<c03d5c79>] (of_node_get+0xd/0x10) [ 9.170970] [<c03d5c79>] (of_node_get) from [<c03d48c3>] (of_find_node_by_phandle+0x1b/0x40) [ 9.170976] [<c03d48c3>] (of_find_node_by_phandle) from [<c03d4b59>] (of_phandle_iterator_next+0x33/0xb2) [ 9.170983] [<c03d4b59>] (of_phandle_iterator_next) from [<c03d4c67>] (__of_parse_phandle_with_args+0x1f/0x64) [ 9.170989] [<c03d4c67>] (__of_parse_phandle_with_args) from [<c03d4ccb>] (of_parse_phandle+0x1f/0x26) [ 9.171073] [<c03d4ccb>] (of_parse_phandle) from [<bf889417>] (omapdss_of_find_source_for_first_ep+0x12/0x58 [omapdss]) [ 9.171179] [<bf889417>] (omapdss_of_find_source_for_first_ep [omapdss]) from [<bf94f233>] (hdmic_probe+0x56/0x170 [connector_hdmi]) [ 9.171189] [<bf94f233>] (hdmic_probe [connector_hdmi]) from [<c03216cd>] (platform_drv_probe+0x33/0x62) [ 9.171195] [<c03216cd>] (platform_drv_probe) from [<c03201db>] (driver_probe_device+0x11f/0x284) [ 9.171203] [<c03201db>] (driver_probe_device) from [<c031f0dd>] (bus_for_each_drv+0x41/0x4a) [ 9.171210] [<c031f0dd>] (bus_for_each_drv) from [<c0320033>] (__device_attach+0x5b/0xac) [ 9.171217] [<c0320033>] (__device_attach) from [<c031f8fb>] (bus_probe_device+0x17/0x4e) [ 9.171224] [<c031f8fb>] (bus_probe_device) from [<c031fc79>] (deferred_probe_work_func+0x55/0x7c) [ 9.171235] [<c031fc79>] (deferred_probe_work_func) from [<c012f785>] (process_one_work+0x1e3/0x4f6) [ 9.171243] [<c012f785>] (process_one_work) from [<c013055f>] (worker_thread+0x1bb/0x290) [ 9.171250] [<c013055f>] (worker_thread) from [<c0133b85>] (kthread+0x89/0x98) [ 9.171258] [<c0133b85>] (kthread) from [<c0105c55>] (ret_from_fork+0x11/0x1c) [ 9.171262] ---[ end trace f3cc7c8ad7a30835 ]--- [ 9.171267] OF: ERROR: Bad of_node_put() on /encoder/ports/port@1/endpoint [ 9.171271] CPU: 1 PID: 22 Comm: kworker/u4:1 Tainted: G W 4.8.0-rc1-letux-custom #17 [ 9.171273] Hardware name: Generic OMAP5 (Flattened Device Tree) [ 9.171280] Workqueue: deferwq deferred_probe_work_func [ 9.171286] [<c010b519>] (unwind_backtrace) from [<c010900b>] (show_stack+0xb/0xc) [ 9.171293] [<c010900b>] (show_stack) from [<c02bb281>] (dump_stack+0x6d/0x98) [ 9.171299] [<c02bb281>] (dump_stack) from [<c02bc91b>] (kobject_put+0x93/0x140) [ 9.171306] [<c02bc91b>] (kobject_put) from [<c03d3e61>] (of_get_next_parent+0x1d/0x30) [ 9.171378] [<c03d3e61>] (of_get_next_parent) from [<bf88942b>] (omapdss_of_find_source_for_first_ep+0x26/0x58 [omapdss]) [ 9.171451] [<bf88942b>] (omapdss_of_find_source_for_first_ep [omapdss]) from [<bf94f233>] (hdmic_probe+0x56/0x170 [connector_hdmi]) [ 9.171460] [<bf94f233>] (hdmic_probe [connector_hdmi]) from [<c03216cd>] (platform_drv_probe+0x33/0x62) [ 9.171468] [<c03216cd>] (platform_drv_probe) from [<c03201db>] (driver_probe_device+0x11f/0x284) [ 9.171475] [<c03201db>] (driver_probe_device) from [<c031f0dd>] (bus_for_each_drv+0x41/0x4a) [ 9.171481] [<c031f0dd>] (bus_for_each_drv) from [<c0320033>] (__device_attach+0x5b/0xac) [ 9.171488] [<c0320033>] (__device_attach) from [<c031f8fb>] (bus_probe_device+0x17/0x4e) [ 9.171495] [<c031f8fb>] (bus_probe_device) from [<c031fc79>] (deferred_probe_work_func+0x55/0x7c) [ 9.171502] [<c031fc79>] (deferred_probe_work_func) from [<c012f785>] (process_one_work+0x1e3/0x4f6) [ 9.171509] [<c012f785>] (process_one_work) from [<c013055f>] (worker_thread+0x1bb/0x290) [ 9.171515] [<c013055f>] (worker_thread) from [<c0133b85>] (kthread+0x89/0x98) [ 9.171522] [<c0133b85>] (kthread) from [<c0105c55>] (ret_from_fork+0x11/0x1c) [ 9.171538] connector-hdmi connector: failed to find video source [ 9.215855] driver_register 'twl6040-gpo' [ 9.217758] connector-hdmi connector: failed to find video source [ 9.259614] driver_register 'palmas-gpadc' [ 9.273395] driver_register 'palmas_pwrbutton' [ 9.276802] connector-hdmi connector: failed to find video source [ 9.277133] palmas_pwrbutton 48070000.i2c:palmas@48:palmas_power_button: h/w controlled shutdown duration=12 seconds [ 9.289255] input: palmas_pwron as /devices/platform/44000000.ocp/48070000.i2c/i2c-0/0-0048/48070000.i2c:palmas@48:palmas_power_button/input/input0 [ 9.294533] connector-hdmi connector: failed to find video source [ 9.674760] ehci-omap: OMAP-EHCI Host Controller driver [ 9.674763] driver_register 'ehci-omap' [ 9.704848] devm_usb_get_phy_by_phandle(..., phys, 0) [ 9.704853] devm_usb_get_phy_by_phandle(..., phys, 1) [ 9.704913] devm_usb_get_phy_by_node(ee4f4010 4a064c00.ehci, eeff9bb0 hsusb2_phy, (null)) [ 9.704957] hsusb2_phy : hsusb2_phy [ 9.704960] phy = ee3d0490 [ 9.704976] devm_usb_get_phy_by_phandle(..., phys, 2) [ 9.705002] devm_usb_get_phy_by_node(ee4f4010 4a064c00.ehci, eeff9e20 hsusb3_phy, (null)) [ 9.705007] hsusb3_phy : hsusb2_phy [ 9.705009] hsusb3_phy : hsusb3_phy [ 9.705011] phy = ee3d03d0 [ 9.705031] ehci-omap 4a064c00.ehci: EHCI Host Controller [ 9.718707] ehci-omap 4a064c00.ehci: new USB bus registered, assigned bus number 1 [ 9.721304] ehci-omap 4a064c00.ehci: irq 404, io mem 0x4a064c00 [ 9.761338] ehci-omap 4a064c00.ehci: USB 2.0 started, EHCI 1.00 [ 9.768283] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 9.768288] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 9.768291] usb usb1: Product: EHCI Host Controller [ 9.768295] usb usb1: Manufacturer: Linux 4.8.0-rc1-letux-custom ehci_hcd [ 9.768298] usb usb1: SerialNumber: 4a064c00.ehci [ 9.772257] hub 1-0:1.0: USB hub found [ 9.772604] hub 1-0:1.0: 3 ports detected [ 9.776106] connector-hdmi connector: failed to find video source [ 9.780977] connector-hdmi connector: failed to find video source [ 9.827880] connector-hdmi connector: failed to find video source [ 9.866590] driver_register 'leds-gpio' [ 9.870649] connector-hdmi connector: failed to find video source [ 9.913420] driver_register 'twl6040-codec' [ 9.914674] connector-hdmi connector: failed to find video source [ 9.918401] [drm] Initialized drm 1.1.0 20060810 [ 9.919697] driver_register 'omap-abe-twl6040' [ 9.921704] omap-abe-twl6040 sound: ASoC: CPU DAI (null) not registered [ 9.921712] omap-abe-twl6040 sound: snd_soc_register_card() failed: -517 [ 10.012556] driver_register 'dmm' [ 10.027764] dmm 4e000000.dmm: initialized all PAT entries [ 10.028082] driver_register 'omapdrm' [ 10.028738] connector-hdmi connector: failed to find video source [ 10.029157] omap-abe-twl6040 sound: ASoC: CPU DAI (null) not registered [ 10.029167] omap-abe-twl6040 sound: snd_soc_register_card() failed: -517 [ 10.144029] usb 1-3: new high-speed USB device number 2 using ehci-omap [ 10.350455] usb 1-3: New USB device found, idVendor=0424, idProduct=9730 [ 10.350461] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 10.359052] connector-hdmi connector: failed to find video source [ 10.359618] omap-abe-twl6040 sound: ASoC: CPU DAI (null) not registered [ 10.359627] omap-abe-twl6040 sound: snd_soc_register_card() failed: -517 [ 10.692093] driver_register 'omap-hdmi-audio' [ 10.698617] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok [ 10.699919] usb 1-2: new high-speed USB device number 3 using ehci-omap [ 10.771093] driver_register 'dwc3' [ 10.771618] devm_usb_get_phy_by_phandle(..., usb-phy, 0) [ 10.771622] devm_usb_get_phy_by_phandle(..., usb-phy, 1) [ 10.795459] connector-hdmi connector: failed to find video source [ 10.795905] omap-abe-twl6040 sound: ASoC: CPU DAI (null) not registered [ 10.795914] omap-abe-twl6040 sound: snd_soc_register_card() failed: -517 [ 10.859577] connector-hdmi connector: failed to find video source [ 10.859940] omap-abe-twl6040 sound: ASoC: CPU DAI (null) not registered [ 10.859948] omap-abe-twl6040 sound: snd_soc_register_card() failed: -517 [ 10.909795] usb 1-2: New USB device found, idVendor=0424, idProduct=3503 [ 10.909801] usb 1-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 10.917948] hub 1-2:1.0: USB hub found [ 10.918279] hub 1-2:1.0: 3 ports detected [ 10.948720] connector-hdmi connector: failed to find video source [ 10.953544] omap-abe-twl6040 sound: ASoC: CPU DAI (null) not registered [ 10.953552] omap-abe-twl6040 sound: snd_soc_register_card() failed: -517 [ 11.218971] OF: ERROR: Bad of_node_put() on /ocp/dss@58000000/encoder@58060000/port/endpoint [ 11.231704] CPU: 1 PID: 1495 Comm: systemd-udevd Tainted: G W 4.8.0-rc1-letux-custom #17 [ 11.241458] Hardware name: Generic OMAP5 (Flattened Device Tree) [ 11.247730] [<c010b519>] (unwind_backtrace) from [<c010900b>] (show_stack+0xb/0xc) [ 11.255627] [<c010900b>] (show_stack) from [<c02bb281>] (dump_stack+0x6d/0x98) [ 11.263155] [<c02bb281>] (dump_stack) from [<c02bc91b>] (kobject_put+0x93/0x140) [ 11.270942] [<c02bc91b>] (kobject_put) from [<bf889433>] (omapdss_of_find_source_for_first_ep+0x2e/0x58 [omapdss]) [ 11.281812] [<bf889433>] (omapdss_of_find_source_for_first_ep [omapdss]) from [<bf94b1ad>] (tpd_probe+0x2a/0xe2 [encoder_tpd12s015]) [ 11.294240] [<bf94b1ad>] (tpd_probe [encoder_tpd12s015]) from [<c03216cd>] (platform_drv_probe+0x33/0x62) [ 11.304221] [<c03216cd>] (platform_drv_probe) from [<c03201db>] (driver_probe_device+0x11f/0x284) [ 11.313471] [<c03201db>] (driver_probe_device) from [<c032038d>] (__driver_attach+0x4d/0x98) [ 11.322274] [<c032038d>] (__driver_attach) from [<c031f085>] (bus_for_each_dev+0x3d/0x46) [ 11.330804] [<c031f085>] (bus_for_each_dev) from [<c031facb>] (bus_add_driver+0xe3/0x170) [ 11.339327] [<c031facb>] (bus_add_driver) from [<c0320d79>] (driver_register+0x59/0x88) [ 11.347676] [<c0320d79>] (driver_register) from [<bf94d00b>] (tpd_driver_init+0xa/0x13 [encoder_tpd12s015]) [ 11.357843] [<bf94d00b>] (tpd_driver_init [encoder_tpd12s015]) from [<c010178d>] (do_one_initcall+0xc5/0xf0) [ 11.368100] [<c010178d>] (do_one_initcall) from [<c01b329b>] (do_init_module+0x3b/0x318) [ 11.376527] [<c01b329b>] (do_init_module) from [<c017f33d>] (load_module+0x13f3/0x1722) [ 11.384881] [<c017f33d>] (load_module) from [<c017f7b1>] (SyS_finit_module+0x51/0x74) [ 11.393041] [<c017f7b1>] (SyS_finit_module) from [<c0105bc1>] (ret_fast_syscall+0x1/0x18) [ 11.407004] omap-abe-twl6040 sound: ASoC: CPU DAI (null) not registered [ 11.415667] omap-abe-twl6040 sound: snd_soc_register_card() failed: -517 [ 11.452571] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 11.462763] [drm] No driver support for vblank timestamp query. [ 11.513189] driver_register 'smsc95xx' [ 11.517693] smsc95xx v1.0.4 [ 11.648124] smsc95xx 1-3:1.0 eth0: register 'smsc95xx' at usb-4a064c00.ehci-3, smsc95xx USB 2.0 Ethernet, f2:a1:f5:b1:7e:86 [ 11.663361] usbcore: registered new interface driver smsc95xx [ 11.811784] [drm] Enabling DMM ywrap scrolling [ 11.835425] Console: switching to colour frame buffer device 240x67 [ 11.842644] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 11.868132] omapdrm omapdrm.0: fb0: omapdrm frame buffer device [ 11.899514] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0 [ 11.900034] omap-abe-twl6040 sound: ASoC: CPU DAI (null) not registered [ 11.900042] omap-abe-twl6040 sound: snd_soc_register_card() failed: -517 [ 12.956577] random: crng init done [ 13.294129] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 13.302147] smsc95xx 1-3:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xDDE1
Here's the death when using letux_defconfig unmodified:
[ 10.067610] driver_register 'omapdss_hdmi5' [ 10.100444] 58000000.dss supply vdda_video not found, using dummy regulator [ 10.117007] OMAP DSS rev 6.1 [ 10.128299] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops [omapdss]) [ 10.150690] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops [omapdss]) [ 10.211205] driver_register 'connector-hdmi' [ 10.236602] OF: ERROR: Bad of_node_put() on /encoder/ports/port@1/endpoint [ 10.259687] CPU: 0 PID: 1527 Comm: systemd-udevd Not tainted 4.8.0-rc1-letux-custom #16 [ 10.268050] Hardware name: Generic OMAP5 (Flattened Device Tree) [ 10.274343] [<c010edf0>] (unwind_backtrace) from [<c010b418>] (show_stack+0x10/0x14) [ 10.282426] [<c010b418>] (show_stack) from [<c03ed820>] (dump_stack+0x90/0xc4) [ 10.289979] [<c03ed820>] (dump_stack) from [<c03ef8cc>] (kobject_put+0xb0/0xd8) [ 10.297680] [<c03ef8cc>] (kobject_put) from [<bf0ca59c>] (omapdss_of_find_source_for_first_ep+0x44/0x7c [omapdss]) [ 10.308547] [<bf0ca59c>] (omapdss_of_find_source_for_first_ep [omapdss]) from [<bf153250>] (hdmic_probe+0x68/0x1e4 [connector_hdmi]) [ 10.320993] [<bf153250>] (hdmic_probe [connector_hdmi]) from [<c0483650>] (platform_drv_probe+0x50/0x9c) [ 10.330894] [<c0483650>] (platform_drv_probe) from [<c048182c>] (driver_probe_device+0x1d0/0x298) [ 10.340159] [<c048182c>] (driver_probe_device) from [<c0481978>] (__driver_attach+0x84/0xb0) [ 10.348969] [<c0481978>] (__driver_attach) from [<c047ffd4>] (bus_for_each_dev+0x7c/0x8c) [ 10.357516] [<c047ffd4>] (bus_for_each_dev) from [<c0480ef4>] (bus_add_driver+0x170/0x1e0) [ 10.366156] [<c0480ef4>] (bus_add_driver) from [<c04828b4>] (driver_register+0xb0/0xf4) [ 10.374509] [<c04828b4>] (driver_register) from [<c01019a4>] (do_one_initcall+0x12c/0x154) [ 10.383134] [<c01019a4>] (do_one_initcall) from [<c0201d1c>] (do_init_module+0x58/0x39c) [ 10.391578] [<c0201d1c>] (do_init_module) from [<c01bdce4>] (load_module+0x189c/0x1ef0) [ 10.399932] [<c01bdce4>] (load_module) from [<c01be504>] (SyS_finit_module+0x88/0x90) [ 10.408105] [<c01be504>] (SyS_finit_module) from [<c0106e20>] (ret_fast_syscall+0x0/0x1c) [ 10.421264] driver_register 'tpd12s015' [ 10.451409] connector-hdmi connector: failed to find video source [ 10.466009] OF: ERROR: Bad of_node_put() on /ocp/dss@58000000/encoder@58060000/port/endpoint [ 10.475583] CPU: 0 PID: 1534 Comm: systemd-udevd Not tainted 4.8.0-rc1-letux-custom #16 [ 10.483941] Hardware name: Generic OMAP5 (Flattened Device Tree) [ 10.490216] [<c010edf0>] (unwind_backtrace) from [<c010b418>] (show_stack+0x10/0x14) [ 10.498312] [<c010b418>] (show_stack) from [<c03ed820>] (dump_stack+0x90/0xc4) [ 10.505854] [<c03ed820>] (dump_stack) from [<c03ef8cc>] (kobject_put+0xb0/0xd8) [ 10.513562] [<c03ef8cc>] (kobject_put) from [<bf0ca59c>] (omapdss_of_find_source_for_first_ep+0x44/0x7c [omapdss]) [ 10.524451] [<bf0ca59c>] (omapdss_of_find_source_for_first_ep [omapdss]) from [<bf157268>] (tpd_probe+0x40/0x134 [encoder_tpd12s015]) [ 10.536998] [<bf157268>] (tpd_probe [encoder_tpd12s015]) from [<c0483650>] (platform_drv_probe+0x50/0x9c) [ 10.546987] [<c0483650>] (platform_drv_probe) from [<c048182c>] (driver_probe_device+0x1d0/0x298) [ 10.556247] [<c048182c>] (driver_probe_device) from [<c0481978>] (__driver_attach+0x84/0xb0) [ 10.565068] [<c0481978>] (__driver_attach) from [<c047ffd4>] (bus_for_each_dev+0x7c/0x8c) [ 10.573613] [<c047ffd4>] (bus_for_each_dev) from [<c0480ef4>] (bus_add_driver+0x170/0x1e0) [ 10.582244] [<c0480ef4>] (bus_add_driver) from [<c04828b4>] (driver_register+0xb0/0xf4) [ 10.590597] [<c04828b4>] (driver_register) from [<c01019a4>] (do_one_initcall+0x12c/0x154) [ 10.599232] [<c01019a4>] (do_one_initcall) from [<c0201d1c>] (do_init_module+0x58/0x39c) [ 10.607686] [<c0201d1c>] (do_init_module) from [<c01bdce4>] (load_module+0x189c/0x1ef0) [ 10.616044] [<c01bdce4>] (load_module) from [<c01be504>] (SyS_finit_module+0x88/0x90) [ 10.624208] [<c01be504>] (SyS_finit_module) from [<c0106e20>] (ret_fast_syscall+0x0/0x1c) [ 10.649520] driver_register 'twl6040-gpo' [ 10.660523] ------------[ cut here ]------------ [ 10.665353] WARNING: CPU: 1 PID: 34 at ./include/linux/kref.h:46 kobject_get+0x80/0x9c [ 10.673607] Modules linked in: gpio_twl6040 encoder_tpd12s015(+) connector_hdmi omapdss snd_soc_omap_mcpdm snd_soc_omap_mcbsp snd_soc_omap snd_pcm_dmaengine ipv6 autofs4 [ 10.689459] CPU: 1 PID: 34 Comm: kworker/u4:2 Not tainted 4.8.0-rc1-letux-custom #16 [ 10.697534] Hardware name: Generic OMAP5 (Flattened Device Tree) [ 10.703798] Workqueue: deferwq deferred_probe_work_func [ 10.709259] [<c010edf0>] (unwind_backtrace) from [<c010b418>] (show_stack+0x10/0x14) [ 10.717342] [<c010b418>] (show_stack) from [<c03ed820>] (dump_stack+0x90/0xc4) [ 10.724880] [<c03ed820>] (dump_stack) from [<c012f2fc>] (__warn+0xdc/0xfc) [ 10.732055] [<c012f2fc>] (__warn) from [<c012f3c0>] (warn_slowpath_null+0x1c/0x24) [ 10.739954] [<c012f3c0>] (warn_slowpath_null) from [<c03efacc>] (kobject_get+0x80/0x9c) [ 10.748307] [<c03efacc>] (kobject_get) from [<c05b2b4c>] (of_node_get+0x14/0x1c) [ 10.756026] [<c05b2b4c>] (of_node_get) from [<c05b0f04>] (of_find_node_by_phandle+0x30/0x64) [ 10.764839] [<c05b0f04>] (of_find_node_by_phandle) from [<c05b1330>] (of_phandle_iterator_next+0x60/0x13c) [ 10.774908] [<c05b1330>] (of_phandle_iterator_next) from [<c05b1500>] (__of_parse_phandle_with_args+0x34/0xbc) [ 10.785343] [<c05b1500>] (__of_parse_phandle_with_args) from [<c05b15b4>] (of_parse_phandle+0x2c/0x40) [ 10.795115] [<c05b15b4>] (of_parse_phandle) from [<bf0ca574>] (omapdss_of_find_source_for_first_ep+0x1c/0x7c [omapdss]) [ 10.806448] [<bf0ca574>] (omapdss_of_find_source_for_first_ep [omapdss]) from [<bf153250>] (hdmic_probe+0x68/0x1e4 [connector_hdmi]) [ 10.818881] [<bf153250>] (hdmic_probe [connector_hdmi]) from [<c0483650>] (platform_drv_probe+0x50/0x9c) [ 10.828774] [<c0483650>] (platform_drv_probe) from [<c048182c>] (driver_probe_device+0x1d0/0x298) [ 10.838033] [<c048182c>] (driver_probe_device) from [<c048007c>] (bus_for_each_drv+0x84/0x8c) [ 10.846935] [<c048007c>] (bus_for_each_drv) from [<c04815d0>] (__device_attach+0x9c/0x104) [ 10.855560] [<c04815d0>] (__device_attach) from [<c0480c3c>] (bus_probe_device+0x28/0x84) [ 10.864092] [<c0480c3c>] (bus_probe_device) from [<c04810b0>] (deferred_probe_work_func+0x70/0x8c) [ 10.873448] [<c04810b0>] (deferred_probe_work_func) from [<c014ac0c>] (process_one_work+0x39c/0x764) [ 10.882979] [<c014ac0c>] (process_one_work) from [<c014bf84>] (worker_thread+0x28c/0x3cc) [ 10.891507] [<c014bf84>] (worker_thread) from [<c0150d94>] (kthread+0xd8/0xe8) [ 10.899045] [<c0150d94>] (kthread) from [<c0106eb0>] (ret_from_fork+0x14/0x24) [ 10.906576] ---[ end trace 9ddd2f80186606ae ]--- [ 10.924295] driver_register 'omap-dwc3' [ 10.950889] OF: ERROR: Bad of_node_put() on /encoder/ports/port@1/endpoint [ 10.961391] CPU: 0 PID: 34 Comm: kworker/u4:2 Tainted: G W 4.8.0-rc1-letux-custom #16 [ 10.970734] Hardware name: Generic OMAP5 (Flattened Device Tree) [ 10.977013] Workqueue: deferwq deferred_probe_work_func [ 10.982473] [<c010edf0>] (unwind_backtrace) from [<c010b418>] (show_stack+0x10/0x14) [ 10.990558] [<c010b418>] (show_stack) from [<c03ed820>] (dump_stack+0x90/0xc4) [ 10.998094] [<c03ed820>] (dump_stack) from [<c03ef8cc>] (kobject_put+0xb0/0xd8) [ 11.005725] [<c03ef8cc>] (kobject_put) from [<c05afe04>] (of_get_next_parent+0x2c/0x48) [ 11.014137] [<c05afe04>] (of_get_next_parent) from [<bf0ca590>] (omapdss_of_find_source_for_first_ep+0x38/0x7c [omapdss]) [ 11.025618] [<bf0ca590>] (omapdss_of_find_source_for_first_ep [omapdss]) from [<bf153250>] (hdmic_probe+0x68/0x1e4 [connector_hdmi]) [ 11.038052] [<bf153250>] (hdmic_probe [connector_hdmi]) from [<c0483650>] (platform_drv_probe+0x50/0x9c) [ 11.047944] [<c0483650>] (platform_drv_probe) from [<c048182c>] (driver_probe_device+0x1d0/0x298) [ 11.057203] [<c048182c>] (driver_probe_device) from [<c048007c>] (bus_for_each_drv+0x84/0x8c) [ 11.066099] [<c048007c>] (bus_for_each_drv) from [<c04815d0>] (__device_attach+0x9c/0x104) [ 11.074718] [<c04815d0>] (__device_attach) from [<c0480c3c>] (bus_probe_device+0x28/0x84) [ 11.083249] [<c0480c3c>] (bus_probe_device) from [<c04810b0>] (deferred_probe_work_func+0x70/0x8c) [ 11.092600] [<c04810b0>] (deferred_probe_work_func) from [<c014ac0c>] (process_one_work+0x39c/0x764) [ 11.102128] [<c014ac0c>] (process_one_work) from [<c014bf84>] (worker_thread+0x28c/0x3cc) [ 11.110659] [<c014bf84>] (worker_thread) from [<c0150d94>] (kthread+0xd8/0xe8) [ 11.118199] [<c0150d94>] (kthread) from [<c0106eb0>] (ret_from_fork+0x14/0x24) [ 11.144787] Unable to handle kernel paging request at virtual address 38343a61 [ 11.152362] pgd = c0004000 [ 11.155229] [38343a61] *pgd=00000000 [ 11.158958] Internal error: Oops: 5 [#1] PREEMPT SMP ARM [ 11.164498] Modules linked in: dwc3_omap gpio_twl6040 encoder_tpd12s015 connector_hdmi omapdss snd_soc_omap_mcpdm snd_soc_omap_mcbsp snd_soc_omap snd_pcm_dmaengine ipv6 autofs4 [ 11.180989] CPU: 0 PID: 74 Comm: kworker/0:1 Tainted: G W 4.8.0-rc1-letux-custom #16 [ 11.190251] Hardware name: Generic OMAP5 (Flattened Device Tree) [ 11.196520] Workqueue: events free_work [ 11.200526] task: ed9d82c0 task.stack: edacc000 [ 11.205253] PC is at find_vmap_area+0x24/0x64 [ 11.209796] LR is at find_vmap_area+0x10/0x64 [ 11.214339] pc : [<c023c394>] lr : [<c023c380>] psr: 20080113 [ 11.214339] sp : edacde80 ip : 7803328f fp : 00000001 [ 11.226314] r10: eefb1800 r9 : edacded0 r8 : c0b9c5ff [ 11.231764] r7 : c0b9d1a0 r6 : 00000001 r5 : eefaa0b0 r4 : bf162000 [ 11.238572] r3 : 00000001 r2 : 00000000 r1 : 02a502a4 r0 : 38343a6d [ 11.245375] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 11.252812] Control: 10c5387d Table: ac94806a DAC: 00000051 [ 11.258800] Process kworker/0:1 (pid: 74, stack limit = 0xedacc218) [ 11.265334] Stack: (0xedacde80 to 0xedace000) [ 11.269878] de80: bf162000 c023e5ac bf162000 eefaa0b0 00000001 c023e69c 00000000 eefaa0b0 [ 11.278412] dea0: eefab880 c023e708 eda43c80 c014ac0c 00000001 00000000 c014aa18 c06d6d04 [ 11.286942] dec0: eefabe80 00000000 00000000 eefab880 c135b2b0 c0cf3ccc 00000000 c08a318e [ 11.295474] dee0: 00000008 eda43c80 eefab880 eefab880 edacc000 eefab8b4 c0b02100 eda43c98 [ 11.304012] df00: 00000008 c014bf84 ed9d82c0 eda3bf00 00000000 eda43c80 c014bcf8 00000000 [ 11.312548] df20: 00000000 00000000 00000000 c0150d94 c06dbe28 00000000 c015c27c eda43c80 [ 11.321097] df40: 00000000 00000000 dead4ead ffffffff ffffffff c0ba175c 00000000 00000000 [ 11.329635] df60: c089178d edacdf64 edacdf64 00000000 00000000 dead4ead ffffffff ffffffff [ 11.338173] df80: c0ba175c 00000000 00000000 c089178d edacdf90 edacdf90 eda3bf00 eda3bf00 [ 11.346710] dfa0: c0150cbc 00000000 00000000 c0106eb0 00000000 00000000 00000000 00000000 [ 11.355244] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 11.363782] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000 [ 11.372321] [<c023c394>] (find_vmap_area) from [<c023e5ac>] (remove_vm_area+0x8/0x5c) [ 11.380506] [<c023e5ac>] (remove_vm_area) from [<c023e69c>] (__vunmap+0x9c/0xc8) [ 11.388227] [<c023e69c>] (__vunmap) from [<c023e708>] (free_work+0x40/0x50) [ 11.395500] [<c023e708>] (free_work) from [<c014ac0c>] (process_one_work+0x39c/0x764) [ 11.403675] [<c014ac0c>] (process_one_work) from [<c014bf84>] (worker_thread+0x28c/0x3cc) [ 11.412218] [<c014bf84>] (worker_thread) from [<c0150d94>] (kthread+0xd8/0xe8) [ 11.419760] [<c0150d94>] (kthread) from [<c0106eb0>] (ret_from_fork+0x14/0x24) [ 11.427301] Code: e5930000 e3500000 01a04000 0a000007 (e510300c) [ 11.433726] ---[ end trace 9ddd2f80186606af ]---
On Fri, Aug 26, 2016 at 01:50:00PM +0200, Matthijs van Duin wrote:
OK, I've done at least a tiny step of bisecting: I've tested unmodified letux-4.8-rc1 with unmodified letux_defconfig. I still get consistent tracebacks.
To allow better debugging and have less log noise I reconfigured the kernel to strip some stuff irrelevant to omap5 and enable e.g. DEBUG_BUGVERBOSE. Curiously, although I still get a traceback, it now doesn't panic but continues to boot with apparently working HDMI output.
Sound is still broken however (aplay -l doesn't even show the twl6040, only hdmi audio as card0).
Kernel log attached below.
Thanks for sharing this log. Sending a patch for this error in few minutes.
On 17/08/16 15:09, Matthijs van Duin wrote:
and fix individual clients rather than handling this in kernel. It doesn't help that omap_bo_new(), unlike the dumb buffer equivalent, simply doesn't give the kernel enough information to force allocation into tiled memory.
Because omap_bo_new() doesn't contain the dimensions of the buffer? Yeah, I think generally the OMAP API in libdrm is bad. I've been wondering if it'd be possible to just write a new one.
I'm not sure if this goes more onto pure hacking side, but... What if omap_bo_new/omap_bo_new_tiled/dumb alloc didn't actually allocate much at all. They would just create a DRM "placeholder" object so to say. Then, when the DRM FB is created, and the BOs are passed along, would the BOs be allocated. At that point we have all the info (I think).
Oh, but that doesn't work as you must be able to mmap the BOs etc. even before there's an FB...
Tomi