Open Jookia opened 4 years ago
Currently in the 4.19-wip3 debian kernel the it6251 is built as a module and can't display what happens in the initramfs. Putting the module in the initramfs should solve this in theory but it instead causes an oops
Oops#1 Part1 <4>[ 18.654058] CPU: 1 PID: 277 Comm: systemd-udevd Not tainted 4.19.0-8-novena #1 Debian 4.19.98-1.novena.wip3 <4>[ 18.663816] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree) <4>[ 18.668345] fsl-ssi-dai 2028000.ssi: No cache defaults, reading back from HW <4>[ 18.670462] PC is at drm_panel_attach+0x14/0x34 [drm] <4>[ 18.682508] LR is at it6251_attach+0x7c/0xd0 [it6251] <4>[ 18.687573] pc : [<bf46c460>] lr : [<bf4f660c>] psr: a0010013 <4>[ 18.693849] sp : c315fa90 ip : c315faa0 fp : c315fa9c <4>[ 18.699082] r10: 00000000 r9 : ede1eb58 r8 : 00000000 <4>[ 18.704318] r7 : 00000000 r6 : 00000000 r5 : c4260440 r4 : c4260778 <4>[ 18.710853] r3 : c4260440 r2 : 0000002c r1 : c4260440 r0 : fffffdfb <4>[ 18.717390] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none <4>[ 18.724534] Control: 10c5387d Table: 1317404a DAC: 00000051 <0>[ 18.730293] Process systemd-udevd (pid: 277, stack limit = 0x7d33075b) <0>[ 18.736830] Stack: (0xc315fa90 to 0xc3160000) <0>[ 18.741196] fa80: c315fabc c315faa0 bf4f660c bf46c458 <0>[ 18.749388] faa0: c4260778 00000000 c4773388 00000000 c315fadc c315fac0 bf45a3b4 bf4f659c <0>[ 18.757579] fac0: c4773040 c4773048 c4773388 c1205dcc c315fb5c c315fae0 bf6540d4 bf45a348 <0>[ 18.765784] fae0: 00000000 c03d1c1c 006000c0 c4773040 c1ff0b44 bf655480 c4773040 ed32f810 <0>[ 18.773984] fb00: ede1e960 ede1eafc bf65563c ed57f000 00000000 c1ff0b44 00000018 5f336964 <0>[ 18.782199] fb20: 006c6573 a0010013 ed32f810 1e5d52a2 c315fb5c 00000004 00000000 c4559180 <0>[ 18.790417] fb40: 00000014 c4122d80 006000c0 ed57f000 c315fba4 c315fb60 c08308e4 bf653ca4 <0>[ 18.798617] fb60: 1e5d52a2 00000000 00000000 c1306a98 c0dfba5c c0dfba74 c315fba4 ed57f000 <0>[ 18.806807] fb80: bf608054 ed337410 00000000 00000008 ede2048c bf6034e0 c315fbc4 c315fba8 <0>[ 18.814998] fba0: bf6031e4 c08307c4 c4526cc0 c4559180 ed714ecc ed6fd1c0 c315fc0c c315fbc8 <0>[ 18.823188] fbc0: c0830e60 bf603154 00000000 c4122d80 c0dfbae4 c12d2668 c0dfbac8 c4122d80 <0>[ 18.831380] fbe0: c12d2668 c4559180 c4122d80 00000000 c12d267c 00000000 bf656068 0000003e <0>[ 18.839571] fc00: c315fc2c c315fc10 c0830fd0 c0830c74 ed32f810 00000000 bf656068 00000000 <0>[ 18.847761] fc20: c315fc3c c315fc30 bf654320 c0830f1c c315fc5c c315fc40 c083a8b8 bf654308 <0>[ 18.855977] fc40: c135e32c ed32f810 c135e330 00000000 c315fc94 c315fc60 c083804c c083a86c <0>[ 18.864220] fc60: 00000000 c0838538 c315fc94 ed32f810 bf656068 bf656068 c0838538 c315ff38 <0>[ 18.872432] fc80: c4122740 c1205dcc c315fccc c315fc98 c08384e0 c0837e0c c0b05af0 c03d1c1c <6>[ 18.874209] caam 2100000.caam: Entropy delay = 3200 <0>[ 18.880623] fca0: ed32f844 ed32f844 ed32f810 ed32f844 bf656068 c0838538 c315ff38 c4122740 <0>[ 18.880631] fcc0: c315fcec c315fcd0 c0838650 c0838378 ed28ecb4 c1205dcc bf656068 c0838538 <0>[ 18.880637] fce0: c315fd1c c315fcf0 c0835a50 c0838544 ed12df6c ed12df58 ed28ecb4 1e5d52a2 <0>[ 18.880645] fd00: bf656068 c12d2af8 c46f4580 00000000 c315fd2c c315fd20 c0837858 c08359d8 <0>[ 18.880652] fd20: c315fd54 c315fd30 c0837104 c0837838 bf65574c c315fd40 bf656068 bf659000 <0>[ 18.880660] fd40: c1205dcc 00000000 c315fd6c c315fd58 c08393a4 c0836fa0 bf6561c0 bf659000 <0>[ 18.880667] fd60: c315fd7c c315fd70 c083a80c c083932c c315fd8c c315fd80 bf659028 c083a7c8 <0>[ 18.880673] fd80: c315fe04 c315fd90 c030357c bf65900c ed7d0840 c0b05af0 00000000 00000002 <0>[ 18.880680] fda0: c315fdc4 c315fdb0 c0b05af0 c03d1c1c 006000c0 c05187b0 c315fe04 c315fdc8 <0>[ 18.880686] fdc0: c05187b0 c0526310 00000001 c0500a98 0000000c c03fc4dc ed7d0300 1e5d52a2 <0>[ 18.880693] fde0: 00000002 bf6561c0 00000002 c4122280 bf6561c0 c315ff38 c315fe2c c315fe08 <0>[ 18.880699] fe00: c03fc518 c0303538 c315fe2c c315fe18 00000002 00000002 c4122700 bf6561c0 <0>[ 18.880709] fe20: c315ff14 c315fe30 c03fed00 c03fc4b0 bf6561cc 00007fff bf6561c0 c03fb9fc <6>[ 18.903228] imx_thermal tempmon: Extended Commercial CPU temperature grade - max:105C critical:100C passive:95C <0>[ 18.910159] fe40: c05324b4 c1205dcc c0d82140 c0d82154 c0d82134 c0e39e1c c0c083b8 bf6562f0 <0>[ 18.910167] fe60: 00000000 bf6563bc c3013aa8 c03fac50 bf656208 c03f9328 c1205dcc c0e551d4 <0>[ 18.910174] fe80: c315ff30 00005a34 c315fee4 c315fe98 00000000 00000000 00000000 00000000 <0>[ 18.910180] fea0: 00000000 00000000 6e72656b 00006c65 00000000 00000000 00000000 00000000 <0>[ 18.910186] fec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 <0>[ 18.910192] fee0: 00000000 1e5d52a2 7fffffff c1205dcc 00000000 00000010 b6e4c59c c0301204 <0>[ 18.910199] ff00: c315e000 0000017b c315ffa4 c315ff18 c03ff2c0 c03fc7c0 7fffffff 00000000 <0>[ 18.910205] ff20: 00000003 c315ff24 c315ff24 f1cf2000 00005a34 00000000 f1cf3974 f1cf4ec0 <0>[ 18.910212] ff40: f1cf2000 00005a34 f1cf737c f1cf71d4 f1cf5e10 00004000 00004190 bf6560d0 <0>[ 18.910222] ff60: 00000007 00000000 0000260c 00000028 00000029 0000001f 00000018 00000014 <3>[ 18.940500] fsl-asoc-card sound: ASoC: CODEC DAI es8328-hifi-analog not registered <0>[ 18.942973] ff80: 00000000 1e5d52a2 b6e4ce88 00000000 aeb6d500 0000017b 00000000 c315ffa8 <0>[ 18.942980] ffa0: c03011e4 c03ff20c b6e4ce88 00000000 00000010 b6e4c59c 00000000 b6e4d0b0 <0>[ 18.942987] ffc0: b6e4ce88 00000000 aeb6d500 0000017b 00eff390 004fb870 00000000 00ef6900 <0>[ 18.942994] ffe0: bede8158 bede8148 b6e461cd b6ef6d92 400f0030 00000010 00000000 00000000 <4>[ 18.943123] [<bf46c460>] (drm_panel_attach [drm]) from [<bf4f660c>] (it6251_attach+0x7c/0xd0 [it6251]) <6>[ 18.946468] caam 2100000.caam: Instantiated RNG4 SH0 <6>[ 19.007237] caam 2100000.caam: Instantiated RNG4 SH1 <4>[ 19.010599] [<bf4f660c>] (it6251_attach [it6251]) from [<bf45a3b4>] (drm_bridge_attach+0x78/0xb4 [drm]) <6>[ 19.018706] caam 2100000.caam: device ID = 0x0a16010000000000 (Era 4) <4>[ 19.027041] [<bf45a3b4>] (drm_bridge_attach [drm]) from [<bf6540d4>] (imx_ldb_bind+0x43c/0x664 [imx_ldb]) <4>[ 19.027149] [<bf6540d4>] (imx_ldb_bind [imx_ldb]) from [<c08308e4>] (component_bind_all+0x12c/0x298) <6>[ 19.035313] caam 2100000.caam: job rings = 2, qi = 0 <4>[ 19.043501] [<c08308e4>] (component_bind_all) from [<bf6031e4>] (imx_drm_bind+0x9c/0x140 [imxdrm]) <4>[ 19.043553] [<bf6031e4>] (imx_drm_bind [imxdrm]) from [<c0830e60>] (try_to_bring_up_master+0x1f8/0x2a8) <3>[ 19.052862] fsl-asoc-card sound: ASoC: CODEC DAI es8328-hifi-analog not registered <4>[ 19.059949] [<c0830e60>] (try_to_bring_up_master) from [<c0830fd0>] (component_add+0xc0/0x198) <4>[ 19.059984] [<c0830fd0>] (component_add) from [<bf654320>] (imx_ldb_probe+0x24/0x28 [imx_ldb]) <4>[ 19.060013] [<bf654320>] (imx_ldb_probe [imx_ldb]) from [<c083a8b8>] (platform_drv_probe+0x58/0xa8) <4>[ 19.060030] [<c083a8b8>] (platform_drv_probe) from [<c083804c>] (really_probe+0x24c/0x3d8) <6>[ 19.164451] es8328 2-0011: Linked as a consumer to regulator.3 <4>[ 19.169809] [<c083804c>] (really_probe) from [<c08384e0>] (driver_probe_device+0x174/0x1cc) <4>[ 19.169822] [<c08384e0>] (driver_probe_device) from [<c0838650>] (__driver_attach+0x118/0x140) <4>[ 19.169832] [<c0838650>] (__driver_attach) from [<c0835a50>] (bus_for_each_dev+0x84/0xc4) <4>[ 19.169844] [<c0835a50>] (bus_for_each_dev) from [<c0837858>] (driver_attach+0x2c/0x30) <6>[ 19.245747] fsl-asoc-card sound: Linked as a consumer to regulator.3 <4>[ 19.250419] [<c0837858>] (driver_attach) from [<c0837104>] (bus_add_driver+0x170/0x260) <4>[ 19.250432] [<c0837104>] (bus_add_driver) from [<c08393a4>] (driver_register+0x84/0x118) <4>[ 19.250445] [<c08393a4>] (driver_register) from [<c083a80c>] (__platform_driver_register+0x50/0x58) <4>[ 19.285196] stmpe-ts stmpe-ts: DMA mask not set <4>[ 19.290110] [<c083a80c>] (__platform_driver_register) from [<bf659028>] (imx_ldb_driver_init+0x28/0x1000 [imx_ldb]) <4>[ 19.290161] [<bf659028>] (imx_ldb_driver_init [imx_ldb]) from [<c030357c>] (do_one_initcall+0x50/0x21c) <6>[ 19.299672] mma8452 0-001c: registering fsl,mma8452 accelerometer; ID 0x2a <4>[ 19.306319] [<c030357c>] (do_one_initcall) from [<c03fc518>] (do_init_module+0x74/0x244) <4>[ 19.306334] [<c03fc518>] (do_init_module) from [<c03fed00>] (load_module.constprop.14+0x254c/0x2860) <4>[ 19.306346] [<c03fed00>] (load_module.constprop.14) from [<c03ff2c0>] (sys_finit_module+0xc0/0x110) <4>[ 19.306356] [<c03ff2c0>] (sys_finit_module) from [<c03011e4>] (__sys_trace_return+0x0/0x1c) <4>[ 19.306361] Exception stack(0xc315ffa8 to 0xc315fff0) <4>[ 19.306371] ffa0: b6e4ce88 00000000 00000010 b6e4c59c 00000000 b6e4d0b0 <4>[ 19.306378] ffc0: b6e4ce88 00000000 aeb6d500 0000017b 00eff390 004fb870 00000000 00ef6900 <4>[ 19.306383] ffe0: bede8158 bede8148 b6e461cd b6ef6d92 <0>[ 19.306393] Code: e92dd800 e24cb004 e52de004 e8bd4000 (e5903004) <4>[ 19.306452] ---[ end trace 589087a9d8a0c889 ]---
Currently in the 4.19-wip3 debian kernel the it6251 is built as a module and can't display what happens in the initramfs. Putting the module in the initramfs should solve this in theory but it instead causes an oops