Subject: LKM panic
To: NetBSD/alpha Discussion List <port-alpha@netbsd.org>
From: Jan Nagy <jan.nagy@volny.cz>
List: port-alpha
Date: 04/27/2005 09:38:44
I'm trying to make a loadable kernel module which uses
the function "prom_enter" as defined in arch/alpha/alpha/prom.c .
When this function is called, "panic: prom_enter" arises.
This error could occur only if _PMAP_MAY_USE_PROM_CONSOLE
is defined but as referred in /arch/alpha/alpha/pmap.h,
that macro could be defined only if _LKM doesn't exist.
The modul is naturally compiled with -D_LKM.
Any idea where the bug could be?
Regards,
Jan