[Letux-kernel] Strange problem with non-LPAE letux-4.20-rc kernels on 4GB Pyra only

H. Nikolaus Schaller hns at goldelico.com
Sat Dec 8 19:54:34 CET 2018


Hi,

> Am 07.12.2018 um 20:29 schrieb H. Nikolaus Schaller <hns at goldelico.com>:
>> 
>> Well, it is not a problem of this single unit but the production run of the v5.3 prototype
>> version of the LC15 board...
>> 
>> I have removed the CPU board and looked on the PCB. The 100k pullup is simply not installed.
>> And it is marked as "DNP" (do not place) in the parts list for unknown/undocumented reasons.
>> 
>> Why does it work with 4.19. And why didn't it come up with earlier tests of 4.20-rc1?
>> 
>> Well, if there is no pull-up and the input is switched to PIN_INPUT it is "floating".
>> And then it might have been pulled up in u-boot and the kernel reprograms the pinmux
>> to "floating" just for this board. Then it depends on leakage currents how fast the
>> line is discharged to a level that is treated as a "0" meaning that a card is inserted...
>> 
>> So it is not really predictable.
>> 
>> More difficult to decide is what we should do to fix it. Changing the DT entry is wrong,
>> because the mass production devices will have the missing external pullup installed and
>> then we have two in parallel.
>> 
>> Adding the resisors is something I can do for this board for testing, but not for the
>> other 20 spread all over the world... But if I add it for my testing board, I can't
>> reproduce the issue any more.
>> 
>> Well, we could switch off the CD by setting it to "broken-cd" or try to understand what
>> has changed between 4.19 and 4.20.
>> 
>> Or we can simply overwrite the omap5-letux-cortex15-v5.3.dtb to omap5-letux-cortex15-v5.2.dtb
>> on these prototype boards...
> 
> I did this (correct command is: cp omap5-letux-cortex15-v5.2+pyra-v5.2.dtb omap5-letux-cortex15-v5.3+pyra-v5.2.dtb).
> But the SD card is still not found. But I got strange warnings:
> 
> 
> [    3.153646] ------------[ cut here ]------------
> [    3.158524] WARNING: CPU: 1 PID: 977 at drivers/irqchip/irq-gic.c:1016 gic_irq_domain_translate+0xb4/0xcc
> [    3.168566] Modules linked in:
> [    3.171784] CPU: 1 PID: 977 Comm: kworker/1:2 Not tainted 4.20.0-rc5-letux+ #2977
> [    3.179624] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [    3.185925] Workqueue: events deferred_probe_work_func
> [    3.191333] [<c0110b80>] (unwind_backtrace) from [<c010c174>] (show_stack+0x10/0x14)
> [    3.199459] [<c010c174>] (show_stack) from [<c07aec54>] (dump_stack+0x7c/0x9c)
> [    3.207031] [<c07aec54>] (dump_stack) from [<c01324ac>] (__warn+0xd8/0x108)
> [    3.214329] [<c01324ac>] (__warn) from [<c01325ec>] (warn_slowpath_null+0x38/0x44)
> [    3.222266] [<c01325ec>] (warn_slowpath_null) from [<c0455024>] (gic_irq_domain_translate+0xb4/0xcc)
> [    3.231846] [<c0455024>] (gic_irq_domain_translate) from [<c0455334>] (gic_irq_domain_alloc+0x38/0x94)
> [    3.241595] [<c0455334>] (gic_irq_domain_alloc) from [<c01237b8>] (wakeupgen_domain_alloc+0xb8/0xe4)
> [    3.251176] [<c01237b8>] (wakeupgen_domain_alloc) from [<c0182fd8>] (__irq_domain_alloc_irqs+0x148/0x200)
> [    3.261210] [<c0182fd8>] (__irq_domain_alloc_irqs) from [<c01834d4>] (irq_create_fwspec_mapping+0x284/0x350)
> [    3.271510] [<c01834d4>] (irq_create_fwspec_mapping) from [<c01835fc>] (irq_create_of_mapping+0x5c/0x7c)
> [    3.281450] [<c01835fc>] (irq_create_of_mapping) from [<c0683cec>] (of_irq_get+0x68/0xc0)
> [    3.290026] [<c0683cec>] (of_irq_get) from [<c061d808>] (i2c_device_probe+0xa4/0x244)
> [    3.298226] [<c061d808>] (i2c_device_probe) from [<c05106c0>] (really_probe+0x188/0x35c)
> [    3.306700] [<c05106c0>] (really_probe) from [<c0510ae8>] (driver_probe_device+0x110/0x158)
> [    3.315447] [<c0510ae8>] (driver_probe_device) from [<c050ecd0>] (bus_for_each_drv+0x90/0xb8)
> [    3.324390] [<c050ecd0>] (bus_for_each_drv) from [<c0510928>] (__device_attach+0x94/0x120)
> [    3.333042] [<c0510928>] (__device_attach) from [<c050fa10>] (bus_probe_device+0x28/0x80)
> [    3.341621] [<c050fa10>] (bus_probe_device) from [<c050dbe8>] (device_add+0x300/0x578)
> [    3.349916] [<c050dbe8>] (device_add) from [<c061dcb0>] (i2c_new_device+0x244/0x2b4)
> [    3.358027] [<c061dcb0>] (i2c_new_device) from [<c06217d0>] (of_i2c_register_device+0x40/0x80)
> [    3.367059] [<c06217d0>] (of_i2c_register_device) from [<c0621ad8>] (of_i2c_register_devices+0x70/0xbc)
> [    3.376898] [<c0621ad8>] (of_i2c_register_devices) from [<c061e798>] (i2c_register_adapter+0x298/0x3b0)
> [    3.386746] [<c061e798>] (i2c_register_adapter) from [<c0624d78>] (omap_i2c_probe+0x590/0x6a4)
> [    3.395778] [<c0624d78>] (omap_i2c_probe) from [<c0512568>] (platform_drv_probe+0x48/0x98)
> [    3.404432] [<c0512568>] (platform_drv_probe) from [<c05106c0>] (really_probe+0x188/0x35c)
> [    3.413093] [<c05106c0>] (really_probe) from [<c0510ae8>] (driver_probe_device+0x110/0x158)
> [    3.421850] [<c0510ae8>] (driver_probe_device) from [<c050ecd0>] (bus_for_each_drv+0x90/0xb8)
> [    3.430785] [<c050ecd0>] (bus_for_each_drv) from [<c0510928>] (__device_attach+0x94/0x120)
> [    3.439441] [<c0510928>] (__device_attach) from [<c050fa10>] (bus_probe_device+0x28/0x80)
> [    3.448023] [<c050fa10>] (bus_probe_device) from [<c050fe8c>] (deferred_probe_work_func+0x58/0x7c)
> [    3.457410] [<c050fe8c>] (deferred_probe_work_func) from [<c014b7c8>] (process_one_work+0x258/0x474)
> [    3.466987] [<c014b7c8>] (process_one_work) from [<c014ba0c>] (process_scheduled_works+0x28/0x30)
> [    3.476290] [<c014ba0c>] (process_scheduled_works) from [<c014bfc8>] (worker_thread+0x2e0/0x3d8)
> [    3.485512] [<c014bfc8>] (worker_thread) from [<c0150220>] (kthread+0x134/0x150)
> [    3.493261] [<c0150220>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
> [    3.500829] Exception stack(0xede81fb0 to 0xede81ff8)
> [    3.506121] 1fa0:                                     00000000 00000000 00000000 00000000
> [    3.514694] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [    3.523278] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [    3.530247] ---[ end trace d99abdd5d55a2223 ]---
> [    3.535125] palmas 0-0048: Irq flag is 0x00000000
> [    3.540220] really_probe: driver dummy for 0-0049 bus i2c
> [    3.546047] really_probe: driver dummy for 0-0049 bus i2c ok (1)
> [    3.552526] really_probe: driver dummy for 0-004a bus i2c
> [    3.558279] really_probe: driver dummy for 0-004a bus i2c ok (1)
> [    3.595715] palmas 0-0048: Muxing GPIO 3, PWM 0, LED 0
> [    3.601406] really_probe: driver palmas-gpio for 48070000.i2c:palmas at 48:gpio bus platform
> [    3.610470] really_probe: driver palmas-gpio for 48070000.i2c:palmas at 48:gpio bus platform ok (1)
> [    3.620091] really_probe: driver palmas-usb for 48070000.i2c:palmas at 48:palmas_usb bus platform
> [    3.632431] really_probe: driver palmas-usb for 48070000.i2c:palmas at 48:palmas_usb bus platform ok (1)
> [    3.642441] really_probe: driver palmas-clk for 48070000.i2c:palmas at 48:palmas_clk32k at 1 bus platform
> [    3.652476] really_probe: driver palmas-clk for 48070000.i2c:palmas at 48:palmas_clk32k at 1 bus platform ok (1)
> [    3.663054] really_probe: driver palmas-rtc for 48070000.i2c:palmas at 48:rtc bus platform
> [    3.675238] palmas-rtc 48070000.i2c:palmas at 48:rtc: rtc core: registered 48070000.i2c:palmas at 48:rtc as rtc0
> [    3.686761] really_probe: driver palmas-rtc for 48070000.i2c:palmas at 48:rtc bus platform ok (1)
> [    3.696581] really_probe: driver palmas-pmic for 48070000.i2c:palmas at 48:palmas_pmic bus platform
> [    3.707667] SMPS123: supplied by regulator-dummy
> [    3.710702] random: fast init done
> [    3.718052] SMPS45: supplied by regulator-dummy
> [    3.724798] SMPS6: supplied by vsys_cobra
> [    3.730512] SMPS7: supplied by vsys_cobra
> [    3.736233] SMPS8: supplied by vsys_cobra
> [    3.742156] SMPS9: supplied by vsys_cobra
> [    3.746692] smps9: Bringing 0uV into 2100000-2100000uV
> [    3.753570] SMPS10_OUT2: supplied by regulator-dummy
> [    3.760082] SMPS10_OUT1: supplied by regulator-dummy
> [    3.766420] LDO1: supplied by vsys_cobra
> [    3.770861] ldo1: Bringing 0uV into 1800000-1800000uV
> [    3.777437] LDO2: supplied by vsys_cobra
> [    3.784529] ldo4: Bringing 0uV into 1800000-1800000uV
> [    3.791125] LDO5: supplied by vsys_cobra
> [    3.799979] LDO7: supplied by vsys_cobra
> [    3.804570] ldo7: Bringing 0uV into 2000000-2000000uV
> [    3.811194] LDO8: supplied by vsys_cobra
> [    3.817032] LDO9: supplied by vmmcsd_fixed
> [    3.823635] LDOLN: supplied by vsys_cobra
> [    3.829562] LDOUSB: supplied by vsys_cobra
> [    3.837722] really_probe: driver palmas-pmic for 48070000.i2c:palmas at 48:palmas_pmic bus platform ok (1)
> [    3.848176] really_probe: driver palmas for 0-0048 bus i2c ok (1)
> [    3.854756] really_probe: driver twl6040 for 0-004b bus i2c
> [    3.860688] ------------[ cut here ]------------
> [    3.865561] WARNING: CPU: 1 PID: 977 at drivers/irqchip/irq-gic.c:1016 gic_irq_domain_translate+0xb4/0xcc
> [    3.875612] Modules linked in:
> [    3.878820] CPU: 1 PID: 977 Comm: kworker/1:2 Tainted: G        W         4.20.0-rc5-letux+ #2977
> [    3.888156] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [    3.894450] Workqueue: events deferred_probe_work_func
> [    3.899845] [<c0110b80>] (unwind_backtrace) from [<c010c174>] (show_stack+0x10/0x14)
> [    3.907966] [<c010c174>] (show_stack) from [<c07aec54>] (dump_stack+0x7c/0x9c)
> [    3.915546] [<c07aec54>] (dump_stack) from [<c01324ac>] (__warn+0xd8/0x108)
> [    3.922844] [<c01324ac>] (__warn) from [<c01325ec>] (warn_slowpath_null+0x38/0x44)
> [    3.930776] [<c01325ec>] (warn_slowpath_null) from [<c0455024>] (gic_irq_domain_translate+0xb4/0xcc)
> [    3.940354] [<c0455024>] (gic_irq_domain_translate) from [<c0455334>] (gic_irq_domain_alloc+0x38/0x94)
> [    3.950109] [<c0455334>] (gic_irq_domain_alloc) from [<c01237b8>] (wakeupgen_domain_alloc+0xb8/0xe4)
> [    3.959687] [<c01237b8>] (wakeupgen_domain_alloc) from [<c0182fd8>] (__irq_domain_alloc_irqs+0x148/0x200)
> [    3.969715] [<c0182fd8>] (__irq_domain_alloc_irqs) from [<c01834d4>] (irq_create_fwspec_mapping+0x284/0x350)
> [    3.980021] [<c01834d4>] (irq_create_fwspec_mapping) from [<c01835fc>] (irq_create_of_mapping+0x5c/0x7c)
> [    3.989953] [<c01835fc>] (irq_create_of_mapping) from [<c0683cec>] (of_irq_get+0x68/0xc0)
> [    3.998525] [<c0683cec>] (of_irq_get) from [<c061d808>] (i2c_device_probe+0xa4/0x244)
> [    4.006737] [<c061d808>] (i2c_device_probe) from [<c05106c0>] (really_probe+0x188/0x35c)
> [    4.015223] [<c05106c0>] (really_probe) from [<c0510ae8>] (driver_probe_device+0x110/0x158)
> [    4.023977] [<c0510ae8>] (driver_probe_device) from [<c050ecd0>] (bus_for_each_drv+0x90/0xb8)
> [    4.032906] [<c050ecd0>] (bus_for_each_drv) from [<c0510928>] (__device_attach+0x94/0x120)
> [    4.041572] [<c0510928>] (__device_attach) from [<c050fa10>] (bus_probe_device+0x28/0x80)
> [    4.050146] [<c050fa10>] (bus_probe_device) from [<c050dbe8>] (device_add+0x300/0x578)
> [    4.058436] [<c050dbe8>] (device_add) from [<c061dcb0>] (i2c_new_device+0x244/0x2b4)
> [    4.066559] [<c061dcb0>] (i2c_new_device) from [<c06217d0>] (of_i2c_register_device+0x40/0x80)
> [    4.075581] [<c06217d0>] (of_i2c_register_device) from [<c0621ad8>] (of_i2c_register_devices+0x70/0xbc)
> [    4.085433] [<c0621ad8>] (of_i2c_register_devices) from [<c061e798>] (i2c_register_adapter+0x298/0x3b0)
> [    4.095295] [<c061e798>] (i2c_register_adapter) from [<c0624d78>] (omap_i2c_probe+0x590/0x6a4)
> [    4.104319] [<c0624d78>] (omap_i2c_probe) from [<c0512568>] (platform_drv_probe+0x48/0x98)
> [    4.112978] [<c0512568>] (platform_drv_probe) from [<c05106c0>] (really_probe+0x188/0x35c)
> [    4.121640] [<c05106c0>] (really_probe) from [<c0510ae8>] (driver_probe_device+0x110/0x158)
> [    4.130394] [<c0510ae8>] (driver_probe_device) from [<c050ecd0>] (bus_for_each_drv+0x90/0xb8)
> [    4.139329] [<c050ecd0>] (bus_for_each_drv) from [<c0510928>] (__device_attach+0x94/0x120)
> [    4.147990] [<c0510928>] (__device_attach) from [<c050fa10>] (bus_probe_device+0x28/0x80)
> [    4.156568] [<c050fa10>] (bus_probe_device) from [<c050fe8c>] (deferred_probe_work_func+0x58/0x7c)
> [    4.165968] [<c050fe8c>] (deferred_probe_work_func) from [<c014b7c8>] (process_one_work+0x258/0x474)
> [    4.175552] [<c014b7c8>] (process_one_work) from [<c014ba0c>] (process_scheduled_works+0x28/0x30)
> [    4.184854] [<c014ba0c>] (process_scheduled_works) from [<c014bfc8>] (worker_thread+0x2e0/0x3d8)
> [    4.194061] [<c014bfc8>] (worker_thread) from [<c0150220>] (kthread+0x134/0x150)
> [    4.201815] [<c0150220>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
> [    4.209379] Exception stack(0xede81fb0 to 0xede81ff8)
> [    4.214673] 1fa0:                                     00000000 00000000 00000000 00000000
> [    4.223247] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [    4.231827] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [    4.238790] ---[ end trace d99abdd5d55a2224 ]---
> [    4.244126] twl6040 0-004b: Linked as a consumer to regulator.12
> [    4.250483] twl6040 0-004b: Linked as a consumer to regulator.14
> [    4.259114] really_probe: driver twl6040-pdmclk for twl6040-pdmclk bus platform
> [    4.266992] really_probe: driver twl6040-pdmclk for twl6040-pdmclk bus platform ok (1)
> [    4.275458] really_probe: driver twl6040 for 0-004b bus i2c ok (1)
> [    4.282306] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
> [    4.288236] really_probe: driver omap_i2c for 48070000.i2c bus platform ok (1)
> [    4.295952] really_probe: driver omap_i2c for 48072000.i2c bus platform
> [    4.304524] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
> [    4.310441] really_probe: driver omap_i2c for 48072000.i2c bus platform ok (1)
> [    4.318161] really_probe: driver omap_i2c for 48060000.i2c bus platform
> [    4.326702] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
> [    4.332642] really_probe: driver omap_i2c for 48060000.i2c bus platform ok (1)
> [    4.340282] really_probe: driver omap_i2c for 4807a000.i2c bus platform
> [    4.348529] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
> [    4.354509] really_probe: driver omap_i2c for 4807a000.i2c bus platform ok (1)
> [    4.362178] really_probe: driver omap_i2c for 4807c000.i2c bus platform
> [    4.369951] really_probe: driver pca953x for 4-0022 bus i2c
> [    4.375965] vdds_1v8_main: supplied by smps7
> [    4.380780] pca953x 4-0022: Linked as a consumer to regulator.3
> [    4.418494] really_probe: driver pca953x for 4-0022 bus i2c ok (1)
> [    4.425547] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
> [    4.431480] really_probe: driver omap_i2c for 4807c000.i2c bus platform ok (1)
> [    4.439136] really_probe: driver cpufreq-dt for cpufreq-dt bus platform
> [    4.446520] cpu cpu0: Linked as a consumer to regulator.9
> [    4.452250] cpu cpu0: Dropping the link to regulator.9
> [    4.458267] cpu cpu0: Linked as a consumer to regulator.9
> [    4.465161] really_probe: driver cpufreq-dt for cpufreq-dt bus platform ok (1)
> [    4.472943] really_probe: driver pwrseq_simple for sdhci0_pwrseq bus platform
> [    4.480538] really_probe: driver pwrseq_simple for sdhci0_pwrseq bus platform ok (1)
> [    4.488919] really_probe: driver omap_hsmmc for 4809c000.mmc bus platform
> [    4.496184] omap_gpio 48053000.gpio: Could not set line 4 debounce to 200000 microseconds (-22)
> [    4.505342] omap_hsmmc 4809c000.mmc: Got CD GPIO
> [    4.510197] omap_hsmmc 4809c000.mmc: Got WP GPIO
> [    4.515278] omap_hsmmc 4809c000.mmc: Linked as a consumer to regulator.25
> [    4.522527] omap_hsmmc 4809c000.mmc: Linked as a consumer to regulator.5
> [    4.561429] really_probe: driver omap_hsmmc for 4809c000.mmc bus platform ok (1)
> [    4.570045] really_probe: driver omap_hsmmc for 480ad000.mmc bus platform
> [    4.577968] omap_hsmmc 480ad000.mmc: allocated mmc-pwrseq
> [    4.584261] omap_hsmmc 480ad000.mmc: Linked as a consumer to regulator.8
> [    4.707542] really_probe: driver omap_hsmmc for 480ad000.mmc bus platform ok (1)
> [    4.715773] really_probe: driver omap_hsmmc for 480d1000.mmc bus platform
> [    4.723240] omap_gpio 48057000.gpio: Could not set line 13 debounce to 200000 microseconds (-22)
> [    4.732548] omap_hsmmc 480d1000.mmc: Got CD GPIO
> [    4.737481] omap_hsmmc 480d1000.mmc: Got WP GPIO
> [    4.742758] omap_hsmmc 480d1000.mmc: Linked as a consumer to regulator.18
> [    4.755985] omap_hsmmc 480ad000.mmc: card claims to support voltages below defined range
> [    4.781030] really_probe: driver omap_hsmmc for 480d1000.mmc bus platform ok (1)
> [    4.788866] really_probe: driver reg-fixed-voltage for tps2505_reg bus platform
> [    4.797571] mmc4: new high speed SDIO card at address 0001
> [    4.803697] really_probe: driver mmcblk for mmc4:0001 bus mmc
> [    4.809887] really_probe: driver mmcblk for mmc4:0001 bus mmc failed (0)
> [    4.891683] ldo3: supplied by vdds_1v8_main
> [    4.896627] ldo4: supplied by vdds_1v8_main
> [    4.901768] ldo6: supplied by vdds_1v8_main
> [    4.906634] really_probe: driver reg-fixed-voltage for tps2505_reg bus platform ok (1)
> [    4.915106] really_probe: driver reg-fixed-voltage for host1_vbus_power_reg bus platform
> [    5.012057] really_probe: driver reg-fixed-voltage for host1_vbus_power_reg bus platform ok (1)
> [    5.021416] really_probe: driver reg-fixed-voltage for host2_vbus_power_reg bus platform
> [    5.122933] really_probe: driver reg-fixed-voltage for host2_vbus_power_reg bus platform ok (1)
> [    5.132772] really_probe: driver reg-fixed-voltage for modem_power_reg bus platform
> [    5.145050] really_probe: driver reg-fixed-voltage for modem_power_reg bus platform ok (1)
> [    5.153848] really_probe: driver reg-fixed-voltage for otg_path bus platform
> [    5.163154] really_probe: driver reg-fixed-voltage for otg_path bus platform ok (1)
> [    5.171571] really_probe: driver gpio-keys for user-button bus platform
> [    5.178735] input: user-button as /devices/platform/user-button/input/input0
> [    5.186418] really_probe: driver gpio-keys for user-button bus platform ok (1)
> [    5.194092] really_probe: driver gpio-keys for pyra-game-buttons bus platform
> [    5.203070] input: pyra-game-buttons as /devices/platform/pyra-game-buttons/input/input1
> [    5.211786] really_probe: driver gpio-keys for pyra-game-buttons bus platform ok (1)
> [    5.219903] really_probe: driver gpio-keys for pyra-lid-wakeup bus platform
> [    5.227584] input: pyra-lid-wakeup as /devices/platform/pyra-lid-wakeup/input/input2
> [    5.235937] really_probe: driver gpio-keys for pyra-lid-wakeup bus platform ok (1)
> [    5.244735] palmas-rtc 48070000.i2c:palmas at 48:rtc: setting system clock to 2000-01-01 00:15:41 UTC (946685741)
> [    5.255285] sr_init: No PMIC hook to init smartreflex
> [    5.261459] vmmcsdio_fixed: disabling
> [    5.265851] ldo3: disabling
> [    5.269421] ldo8: disabling
> [    5.272775] modem_vbus_power: disabling
> [    5.276791] otg_path: disabling
> [    5.280091] ALSA device list:
> [    5.283263]   No soundcards found.
> [    5.287272] Waiting for root device PARTUUID=c8a507cd-02...
> [   41.626468] mmc5: new high speed SDHC card at address b368
> [   41.632911] really_probe: driver mmcblk for mmc5:b368 bus mmc
> [   41.640403] mmcblk5: mmc5:b368 USD   7.46 GiB (ro)
> [   41.658912]  mmcblk5: p1 p2
> [   41.663456] really_probe: driver mmcblk for mmc5:b368 bus mmc ok (1)
> [   41.681529] VFS: Cannot open root device "PARTUUID=c8a507cd-02" or unknown-block(179,2): error -30
> 
> ^^^ here it is looking for PARTUUID=c8a507cd-02
> 
> [   41.692154] Please append a correct "root=" boot option; here are the available partitions:
> [   41.701219] 0100           16384 ram0 
> [   41.701223]  (driver?)
> [   41.707814] 0101           16384 ram1 
> [   41.707818]  (driver?)
> [   41.714513] 0102           16384 ram2 
> [   41.714517]  (driver?)
> [   41.721089] 0103           16384 ram3 
> [   41.721092]  (driver?)
> [   41.727866] 0104           16384 ram4 
> [   41.727867]  (driver?)
> [   41.734365] 0105           16384 ram5 
> [   41.734367]  (driver?)
> [   41.740786] 0106           16384 ram6 
> [   41.740788]  (driver?)
> [   41.747278] 0107           16384 ram7 
> [   41.747280]  (driver?)
> [   41.753755] 0108           16384 ram8 
> [   41.753757]  (driver?)
> [   41.760188] 0109           16384 ram9 
> [   41.760190]  (driver?)
> [   41.766661] 010a           16384 ram10 
> [   41.766663]  (driver?)
> [   41.773347] 010b           16384 ram11 
> [   41.773349]  (driver?)
> [   41.779887] 010c           16384 ram12 
> [   41.779891]  (driver?)
> [   41.786416] 010d           16384 ram13 
> [   41.786418]  (driver?)
> [   41.792961] 010e           16384 ram14 
> [   41.792963]  (driver?)
> [   41.799472] 010f           16384 ram15 
> [   41.799476]  (driver?)
> [   41.806042] b300         7822336 mmcblk5 
> [   41.806077]  driver: mmcblk
> [   41.813273]   b301          391113 mmcblk5p1 c8a507cd-01
> [   41.813276] 
> [   41.820429]   b302         7431158 mmcblk5p2 c8a507cd-02
> 
> ^^^ here it says it does know it
> 
> [   41.820433] 
> [   41.827596] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
> [   41.836447] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W         4.20.0-rc5-letux+ #2977
> [   41.845380] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [   41.851693] [<c0110b80>] (unwind_backtrace) from [<c010c174>] (show_stack+0x10/0x14)
> [   41.859817] [<c010c174>] (show_stack) from [<c07aec54>] (dump_stack+0x7c/0x9c)
> [   41.867398] [<c07aec54>] (dump_stack) from [<c01326ec>] (panic+0xf4/0x28c)
> [   41.874616] [<c01326ec>] (panic) from [<c0a014f8>] (mount_block_root+0x250/0x2dc)
> [   41.882466] [<c0a014f8>] (mount_block_root) from [<c0a018a0>] (prepare_namespace+0x158/0x1b8)
> [   41.891406] [<c0a018a0>] (prepare_namespace) from [<c0a010d4>] (kernel_init_freeable+0x2a0/0x36c)
> [   41.900713] [<c0a010d4>] (kernel_init_freeable) from [<c07c43e0>] (kernel_init+0x8/0x110)
> [   41.909287] [<c07c43e0>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
> [   41.917213] Exception stack(0xed8d9fb0 to 0xed8d9ff8)
> [   41.922506] 9fa0:                                     00000000 00000000 00000000 00000000
> [   41.931073] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [   41.939637] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [   41.946618] CPU1: stopping
> [   41.949450] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G        W         4.20.0-rc5-letux+ #2977
> [   41.958370] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [   41.964664] [<c0110b80>] (unwind_backtrace) from [<c010c174>] (show_stack+0x10/0x14)
> [   41.972794] [<c010c174>] (show_stack) from [<c07aec54>] (dump_stack+0x7c/0x9c)
> [   41.980370] [<c07aec54>] (dump_stack) from [<c010ef4c>] (handle_IPI+0x194/0x3d8)
> [   41.988137] [<c010ef4c>] (handle_IPI) from [<c04550c0>] (gic_handle_irq+0x84/0x90)
> [   41.996078] [<c04550c0>] (gic_handle_irq) from [<c0101a0c>] (__irq_svc+0x6c/0xa8)
> [   42.003923] Exception stack(0xed8f9f28 to 0xed8f9f70)
> [   42.009220] 9f20:                   00000000 c0b0ad2c 00000001 00000050 eefde638 00000001
> [   42.017791] 9f40: 00000001 c0b9d2b8 c0b0acdc 00000001 00000001 00000001 00000000 ed8f9f78
> [   42.026362] 9f60: c0646bf0 c0646bfc 60000113 ffffffff
> [   42.031661] [<c0101a0c>] (__irq_svc) from [<c0646bfc>] (cpuidle_enter_state+0x298/0x458)
> [   42.040138] [<c0646bfc>] (cpuidle_enter_state) from [<c015e2cc>] (do_idle+0x1cc/0x260)
> [   42.048448] [<c015e2cc>] (do_idle) from [<c015e5f0>] (cpu_startup_entry+0x18/0x1c)
> [   42.056401] [<c015e5f0>] (cpu_startup_entry) from [<801025ac>] (0x801025ac)
> [   42.063708] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2) ]---
> [   42.073991] ------------[ cut here ]------------
> [   42.078838] WARNING: CPU: 0 PID: 5 at kernel/workqueue.c:857 wq_worker_waking_up+0x50/0x7c
> [   42.087507] Modules linked in:
> [   42.090709] CPU: 0 PID: 5 Comm: kworker/0:0 Tainted: G        W         4.20.0-rc5-letux+ #2977
> [   42.099815] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [   42.106106] Workqueue: events dbs_work_handler
> [   42.110769] [<c0110b80>] (unwind_backtrace) from [<c010c174>] (show_stack+0x10/0x14)
> [   42.118894] [<c010c174>] (show_stack) from [<c07aec54>] (dump_stack+0x7c/0x9c)
> [   42.126461] [<c07aec54>] (dump_stack) from [<c01324ac>] (__warn+0xd8/0x108)
> [   42.133760] [<c01324ac>] (__warn) from [<c01325ec>] (warn_slowpath_null+0x38/0x44)
> [   42.141698] [<c01325ec>] (warn_slowpath_null) from [<c014c110>] (wq_worker_waking_up+0x50/0x7c)
> [   42.150818] [<c014c110>] (wq_worker_waking_up) from [<c01584b8>] (ttwu_do_activate+0x60/0x7c)
> [   42.159770] [<c01584b8>] (ttwu_do_activate) from [<c01598a8>] (try_to_wake_up+0x32c/0x3b4)
> [   42.168443] [<c01598a8>] (try_to_wake_up) from [<c0159984>] (wake_up_q+0x38/0x78)
> [   42.176295] [<c0159984>] (wake_up_q) from [<c07c6474>] (__mutex_unlock_slowpath+0xb8/0x120)
> [   42.185060] [<c07c6474>] (__mutex_unlock_slowpath) from [<c052a5e8>] (regmap_update_bits_base+0x64/0x70)
> [   42.195019] [<c052a5e8>] (regmap_update_bits_base) from [<c04ce820>] (regulator_set_voltage_sel_regmap+0x40/0x7c)
> [   42.205791] [<c04ce820>] (regulator_set_voltage_sel_regmap) from [<c04cac30>] (_regulator_do_set_voltage+0x264/0x4e8)
> [   42.216912] [<c04cac30>] (_regulator_do_set_voltage) from [<c04cb16c>] (regulator_set_voltage_unlocked+0x1e0/0x30c)
> [   42.227868] [<c04cb16c>] (regulator_set_voltage_unlocked) from [<c04cb2c4>] (regulator_set_voltage+0x2c/0x40)
> [   42.238266] [<c04cb2c4>] (regulator_set_voltage) from [<c063c7e0>] (_set_opp_voltage+0x38/0x90)
> [   42.247392] [<c063c7e0>] (_set_opp_voltage) from [<c063d558>] (dev_pm_opp_set_rate+0x3a8/0x46c)
> [   42.256521] [<c063d558>] (dev_pm_opp_set_rate) from [<c0645900>] (set_target+0x2c/0x4c)
> [   42.264924] [<c0645900>] (set_target) from [<c06416a4>] (__cpufreq_driver_target+0x3ac/0x454)
> [   42.273866] [<c06416a4>] (__cpufreq_driver_target) from [<c0644340>] (od_dbs_update+0x12c/0x15c)
> [   42.283087] [<c0644340>] (od_dbs_update) from [<c0644da0>] (dbs_work_handler+0x2c/0x54)
> [   42.291480] [<c0644da0>] (dbs_work_handler) from [<c014b7c8>] (process_one_work+0x258/0x474)
> [   42.300335] [<c014b7c8>] (process_one_work) from [<c014bfa0>] (worker_thread+0x2b8/0x3d8)
> [   42.308907] [<c014bfa0>] (worker_thread) from [<c0150220>] (kthread+0x134/0x150)
> [   42.316669] [<c0150220>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
> [   42.324242] Exception stack(0xed8e3fb0 to 0xed8e3ff8)
> [   42.329525] 3fa0:                                     00000000 00000000 00000000 00000000
> [   42.338073] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [   42.346635] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [   42.353551] ---[ end trace d99abdd5d55a2225 ]---
> [   42.358456] ------------[ cut here ]------------
> [   42.363295] WARNING: CPU: 0 PID: 977 at kernel/workqueue.c:892 wq_worker_sleeping+0x58/0xcc
> [   42.372050] Modules linked in:
> [   42.375242] CPU: 0 PID: 977 Comm: kworker/1:2 Tainted: G        W         4.20.0-rc5-letux+ #2977
> [   42.384539] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [   42.390849] Workqueue: events_freezable mmc_rescan
> [   42.395873] [<c0110b80>] (unwind_backtrace) from [<c010c174>] (show_stack+0x10/0x14)
> [   42.404005] [<c010c174>] (show_stack) from [<c07aec54>] (dump_stack+0x7c/0x9c)
> [   42.411573] [<c07aec54>] (dump_stack) from [<c01324ac>] (__warn+0xd8/0x108)
> [   42.418877] [<c01324ac>] (__warn) from [<c01325ec>] (warn_slowpath_null+0x38/0x44)
> [   42.426815] [<c01325ec>] (warn_slowpath_null) from [<c014c194>] (wq_worker_sleeping+0x58/0xcc)
> [   42.435852] [<c014c194>] (wq_worker_sleeping) from [<c07c5294>] (__schedule+0x3fc/0x6e0)
> [   42.444336] [<c07c5294>] (__schedule) from [<c07c5628>] (schedule+0xb0/0xcc)
> [   42.451726] [<c07c5628>] (schedule) from [<c07c8dd4>] (schedule_timeout+0x364/0x3f8)
> [   42.459858] [<c07c8dd4>] (schedule_timeout) from [<c07c6144>] (wait_for_common+0x140/0x178)
> [   42.468627] [<c07c6144>] (wait_for_common) from [<c06252b4>] (omap_i2c_xfer+0x348/0x478)
> [   42.477114] [<c06252b4>] (omap_i2c_xfer) from [<c061f2d8>] (__i2c_transfer+0x27c/0x598)
> [   42.485512] [<c061f2d8>] (__i2c_transfer) from [<c061f678>] (i2c_transfer+0x84/0xb4)
> [   42.493633] [<c061f678>] (i2c_transfer) from [<c052e1a8>] (regmap_i2c_read+0x54/0x88)
> [   42.501840] [<c052e1a8>] (regmap_i2c_read) from [<c0529f18>] (_regmap_raw_read+0x164/0x2b0)
> [   42.510597] [<c0529f18>] (_regmap_raw_read) from [<c052a09c>] (_regmap_bus_read+0x38/0x64)
> [   42.519271] [<c052a09c>] (_regmap_bus_read) from [<c0528bf0>] (_regmap_read+0x78/0x17c)
> [   42.527663] [<c0528bf0>] (_regmap_read) from [<c0528d30>] (regmap_read+0x3c/0x5c)
> [   42.535525] [<c0528d30>] (regmap_read) from [<c04d149c>] (palmas_is_enabled_ldo+0x48/0x70)
> [   42.544191] [<c04d149c>] (palmas_is_enabled_ldo) from [<c04caaa8>] (_regulator_do_set_voltage+0xdc/0x4e8)
> [   42.554222] [<c04caaa8>] (_regulator_do_set_voltage) from [<c04cb16c>] (regulator_set_voltage_unlocked+0x1e0/0x30c)
> [   42.565167] [<c04cb16c>] (regulator_set_voltage_unlocked) from [<c04cb2c4>] (regulator_set_voltage+0x2c/0x40)
> [   42.575570] [<c04cb2c4>] (regulator_set_voltage) from [<c064b294>] (mmc_regulator_set_ocr+0x40/0xc4)
> [   42.585151] [<c064b294>] (mmc_regulator_set_ocr) from [<c066962c>] (omap_hsmmc_set_power+0x90/0x14c)
> [   42.594730] [<c066962c>] (omap_hsmmc_set_power) from [<c0669738>] (omap_hsmmc_set_ios+0x50/0x1dc)
> [   42.604032] [<c0669738>] (omap_hsmmc_set_ios) from [<c064c81c>] (mmc_power_up+0x50/0xec)
> [   42.612520] [<c064c81c>] (mmc_power_up) from [<c064d258>] (mmc_rescan+0x2d0/0x348)
> [   42.620459] [<c064d258>] (mmc_rescan) from [<c014b7c8>] (process_one_work+0x258/0x474)
> [   42.628761] [<c014b7c8>] (process_one_work) from [<c014bfa0>] (worker_thread+0x2b8/0x3d8)
> [   42.637334] [<c014bfa0>] (worker_thread) from [<c0150220>] (kthread+0x134/0x150)
> [   42.645090] [<c0150220>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
> [   42.652667] Exception stack(0xede81fb0 to 0xede81ff8)
> [   42.657969] 1fa0:                                     00000000 00000000 00000000 00000000
> [   42.666540] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [   42.675111] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [   42.682052] ---[ end trace d99abdd5d55a2226 ]---
> [   45.011060] mmc5: card b368 removed
> [   55.540959] ------------[ cut here ]------------
> [   55.545803] WARNING: CPU: 0 PID: 10 at kernel/irq_work.c:68 irq_work_queue_on+0x58/0xf0
> [   55.554183] Modules linked in:
> [   55.557379] CPU: 0 PID: 10 Comm: rcu_preempt Tainted: G        W         4.20.0-rc5-letux+ #2977
> [   55.566578] Hardware name: Generic OMAP5 (Flattened Device Tree)
> [   55.572868] [<c0110b80>] (unwind_backtrace) from [<c010c174>] (show_stack+0x10/0x14)
> [   55.580982] [<c010c174>] (show_stack) from [<c07aec54>] (dump_stack+0x7c/0x9c)
> [   55.588545] [<c07aec54>] (dump_stack) from [<c01324ac>] (__warn+0xd8/0x108)
> [   55.595834] [<c01324ac>] (__warn) from [<c01325ec>] (warn_slowpath_null+0x38/0x44)
> [   55.603759] [<c01325ec>] (warn_slowpath_null) from [<c01ee410>] (irq_work_queue_on+0x58/0xf0)
> [   55.612692] [<c01ee410>] (irq_work_queue_on) from [<c018b46c>] (rcu_implicit_dynticks_qs+0x250/0x28c)
> [   55.622348] [<c018b46c>] (rcu_implicit_dynticks_qs) from [<c01881bc>] (force_qs_rnp+0xc8/0x138)
> [   55.631460] [<c01881bc>] (force_qs_rnp) from [<c0189364>] (rcu_gp_kthread+0x5f0/0x948)
> [   55.639748] [<c0189364>] (rcu_gp_kthread) from [<c0150220>] (kthread+0x134/0x150)
> [   55.647585] [<c0150220>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
> [   55.655147] Exception stack(0xed8f3fb0 to 0xed8f3ff8)
> [   55.660435] 3fa0:                                     00000000 00000000 00000000 00000000
> [   55.668998] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
> [   55.677561] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
> [   55.684487] ---[ end trace d99abdd5d55a2227 ]---
> 
> So let's wait what 4.20-rc6 is saying on Monday.

Well, after seeing this panic log, I did leave the Pyra on power - because I forgot -
until I started to smell something "hot". Then I immediately turned off, and did measure
the temperature using the infrared camera. It said ~90°C of the whole OMAP5 board...

So I think both cores were trapped in some spinlock and running at max speed (and power)
while smart reflex etc. were not throttling or something else. Because i2c communication
was locked.

Fortunately, the board still boots - although I have the impression that it now has memory
problems. Some virtual paging errors and some hangs where the frame buffer gets is disturbed.
Maybe the 90°C have overheated the DRAMs?

Maybe, we should somehow activate the bq24297 watchdog which is currently disabled by
u-boot and not reenabled by the kernel driver. Well, u-boot should reenable it before
starting Linux so that it also covers non-starting kernels.

Anyways, I have just tested the 4.19.8 upgrade and it boots from the SD card.

And I measured the voltage level at the CD gpio. It is permanently 0V. Because the SD
card is already inserted right from the beginning and not removed.

So, well, all theories created so far are wrong. Since the SD card is inserted right from
the beginning, the input voltage is 0V. The gpio does read a constand "0". And it does
not matter how good or bad or missing the pull-up is!

This all means that the effect that the PARTUUID is not found is either defective memory
(so that the kernel does not read it back correctly) or a bug introduced in 4.20-rc1.
Since I can boot with 4.19.8 like 4.19.4.

I also tried booting from teh µSD slot and then insert an SD card in the "broken" SD
slot - and 4.19.8 finds card insertion and removal. So either the voltage swing is
good enough or it is completely ignored in 4.19 kernels...

So we do not urgently need a hardware fix for the missing external pull-up resistors.
Since the most common situation is to boot from the left SD slot where the problematic
gpio always reads "0".

BR,
Nikolaus



More information about the Letux-kernel mailing list