[Bug 241728] linuxkpi: panics after loading radeonkms kernel module (data storage interrupt trap)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Nov 5 14:05:14 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241728
--- Comment #4 from Hans Petter Selasky <hselasky at FreeBSD.org> ---
The piece of code you reference, line 118 in
sys/compat/linuxkpi/common/src/linux_idr.c, should not be run during kldload.
It is part of a SYSUNINIT():
SYSUNINIT(idr_preload_uninit, SI_SUB_LOCK, SI_ORDER_FIRST, idr_preload_uninit,
N
In this function, try to add a printf:
static void
idr_preload_init(void *arg)
{
int cpu;
CPU_FOREACH(cpu) {
struct linux_idr_cache *lic =
DPCPU_ID_PTR(cpu, linux_idr_cache);
printf("CPU=%d LIC=%p\n", cpu, lic);
spin_lock_init(&lic->lock);
}
}
SYSINIT(idr_preload_init, SI_SUB_CPU, SI_ORDER_ANY, idr_preload_init, NULL);
--HPS
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list