Re: Bug report: probe of AMDI0040:00 failed with error -16

From: Adrian Hunter
Date: Tue Mar 19 2024 - 12:26:59 EST


On 19/03/24 16:43, Francisco Ayala Le Brun wrote:
> Hello,
>
> I would like to report a bug.
>
> Issue description:
> After updating a GHF51 SBC to a newer kernel version, the system was

What was the older / working kernel version? Are you able
to git bisect?

> no longer able to boot. Running the "lsblk" command in the recovery
> console showed no mmc storage detected.
>
> System Information:
> OS: Fedora 40 x86_64
> Kernel: 6.8.0-0.rc6.49.fc40.x86_64
>
> Relevant Logs:

Really no error / fail messages before the stack dump?

> [ 10.920756] Call Trace:
> [ 10.920763] <TASK>
> [ 10.920771] dump_stack_lvl+0x4d/0x70
> [ 10.920786] __setup_irq+0x530/0x6c0
> [ 10.920801] request_threaded_irq+0xe5/0x180
> [ 10.920813] ? __pfx_sdhci_thread_irq+0x10/0x10 [sdhci]
> [ 10.920843] __sdhci_add_host+0x108/0x360 [sdhci]
> [ 10.920871] sdhci_acpi_probe+0x3a8/0x500 [sdhci_acpi]
> [ 10.920894] platform_probe+0x44/0xa0
> [ 10.920908] really_probe+0x19e/0x3e0
> [ 10.930244] __driver_probe_device+0x78/0x160
> [ 10.930264] driver_probe_device+0x1f/0xa0
> [ 10.930273] __driver_attach_async_helper+0x5e/0xe0
> [ 10.930284] async_run_entry_fn+0x34/0x130
> [ 10.930296] process_one_work+0x170/0x330
> [ 10.930309] worker_thread+0x273/0x3c0
> [ 10.934639] ? __pfx_worker_thread+0x10/0x10
> [ 10.934654] kthread+0xe8/0x120
> [ 10.934663] ? __pfx_kthread+0x10/0x10
> [ 10.934671] ret_from_fork+0x34/0x50
> [ 10.934681] ? __pfx_kthread+0x10/0x10
> [ 10.934688] ret_from_fork_asm+0x1b/0x30
> [ 10.934708] </TASK>
> [ 10.940978] mmc0: Failed to request IRQ 7: -16
> [ 10.943885] sdhci-acpi: probe of AMDI0040:00 failed with error -16

16 is EBUSY which seems to be used by __setup_irq() for
irq mismatch