Re: Equivalent of 'insmod -m' on 2.6?
From: Rusty Russell (rusty_at_rustcorp.com.au)
To: Ravi Krishnamurthy <firstname.lastname@example.org> Date: Thu, 11 Sep 2003 07:03:27 +1000
In message <email@example.com> you write:
> I am trying to debug a module on 2.6.0-test3 with
> module-init-tools-0.9.12. But I am not able to get
> the load map of the module being loaded. 'insmod'
> in module-init-tools does not support the '-m' option.
CONFIG_KALLSYMS is probably what you want here, along with
/proc/kallsyms. You can, also generate the equivalent of insmod -m
from the output of /proc/modules and the symbol table in the module.
BTW, I'd generally recommend modprobe over insmod: as you will have
noticed, the new insmod is designed to be a really low-level tool.
Hope this helps,
-- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/