Mt7621_spi_probe crash (HLK7621a)

Device crashing at boot (but keep working). openwrt 22.03.6,

[    0.972885] ------------[ cut here ]------------
[    0.982144] WARNING: CPU: 2 PID: 1 at drivers/mtd/spi-nor/core.c:3009 spi_nor_init+0x1b8/0x1c0
[    0.999291] enabling reset hack; may not recover from unexpected reboots
[    1.012625] Modules linked in:
[    1.018716] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.10.201 #0
[    1.030830] Stack : 809f0000 81578c00 80c50538 80083ab4 80880000 8076d88c 00000000 00000000
[    1.047466]         814419c4 809d0000 8073c1fc 814383d0 80804e47 00000001 81441968 c02c1d6e
[    1.064103]         00000000 00000000 8073c1fc 81441808 ffffefff 00000000 ffffffea 00000000
[    1.080741]         81441814 00000062 8080a858 ffffffff 00000000 00000001 00000000 80740000
[    1.097378]         00000009 80a00000 80c50538 81578c00 00000018 803f7054 00000008 809d0008
[    1.114015]         ...
[    1.118876] Call Trace:
[    1.123747] [<800080f0>] show_stack+0x30/0x100
[    1.132587] [<8037434c>] dump_stack+0x9c/0xcc
[    1.141265] [<800301c0>] __warn+0xb0/0x11c
[    1.149410] [<800302b8>] warn_slowpath_fmt+0x8c/0xac
[    1.159283] [<8044f0c4>] spi_nor_init+0x1b8/0x1c0
[    1.168638] [<8044f7f0>] spi_nor_scan+0x6e0/0xb18
[    1.177991] [<8044fcbc>] spi_nor_probe+0x94/0x314
[    1.187345] [<80407834>] really_probe+0x108/0x4d8
[    1.196698] [<80405310>] bus_for_each_drv+0x70/0xb0
[    1.206396] [<80407d18>] __device_attach+0x114/0x1cc
[    1.216269] [<804067a4>] bus_probe_device+0xa0/0xbc
[    1.225987] [<80402214>] device_add+0x390/0x7a8
[    1.234998] [<8046d330>] spi_add_device+0xc0/0x1c8
[    1.244523] [<8046ddb0>] spi_register_controller+0x83c/0xb7c
[    1.255782] [<804703ec>] mt7621_spi_probe+0x168/0x230
[    1.265835] [<80409e50>] platform_drv_probe+0x40/0x94
[    1.275882] [<80407834>] really_probe+0x108/0x4d8
[    1.285234] [<8040843c>] device_driver_attach+0xe4/0xec
[    1.295624] [<804084c0>] __driver_attach+0x7c/0x158
[    1.305321] [<80405264>] bus_for_each_dev+0x68/0xa4
[    1.315021] [<80406a78>] bus_add_driver+0x150/0x238
[    1.324719] [<80408e2c>] driver_register+0x98/0x154
[    1.334418] [<80001644>] do_one_initcall+0x50/0x1b4
[    1.344128] [<8088d024>] kernel_init_freeable+0x27c/0x314
[    1.354886] [<80691308>] kernel_init+0x10/0x100
[    1.363894] [<80002ff8>] ret_from_kernel_thread+0x14/0x1c
[    1.374628] 
[    1.377772] ---[ end trace ada06b41d2c10048 ]---

Full log: https://paste.debian.net/1316595/

The same as here?

1 Like

I guess it is.

Then here is nothing to worry about. Device seems working fine (failed to work with openwrt-23 but that is another issue). For few month I only once had it failed to boot. But re-flashing seems fixed the issue.

Thanks. I haven't found this topic my self.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.