NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: kern/56245: NetBSD 9.2 amd64 with AMD FirePro W4100 throws constant kernel errors of 'Can't enable IRQ/MSI because no handler is installed'

this is strange.

> Jun  4 18:33:45 vorlon /netbsd: [   8.6896180] radeon0: info: radeon: MSI limited to 32-bit
> Jun  4 18:33:45 vorlon /netbsd: [   8.6896180] radeon0: interrupting at ioapic0 pin 16 (radeon0)
> Jun  4 18:33:45 vorlon /netbsd: [   8.6896180] kern info: [drm] radeon: irq initialized.

so, MSI is not enabled, otherwise this message wuld appear:

   dev_info(rdev->dev, "radeon: using MSI.\n");

> Jun  4 18:33:45 vorlon /netbsd: [   9.8597595] warning: /usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_si.c:6101: Can't enable IRQ/MSI because no handler is installed

so, this seems impossible.  that message happens if
rdev->irq.installed is not set in si_irq_set().

si_startup() checks if it's not enabled, and then
calls radeon_irq_kms_init() to set it, which sets
installed = true, so the call a few lines later to
si_irq_set() should have it set, instead of the
error message it displays and doesn't setup.

i don't see a path that doesn't do this, but i guess
there's something i'm missing.

> spamming syslog messages.
> [ 428896.996373] kern error: [drm:(/usr/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_si_dpm.c:6697)si_dpm_set_power_state] *ERROR* si_enable_smc_cac fail ed

this happens on r600 as well, i never got around to look at why.


Home | Main Index | Thread Index | Old Index