Try to identify which subsystem is having iounmap() problems. Signed-off-by: Andrew Morton --- 25-akpm/arch/i386/mm/ioremap.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) diff -puN arch/i386/mm/ioremap.c~iounmap-debugging arch/i386/mm/ioremap.c --- 25/arch/i386/mm/ioremap.c~iounmap-debugging 2005-01-25 10:26:29.448809152 -0800 +++ 25-akpm/arch/i386/mm/ioremap.c 2005-01-25 10:27:07.054092280 -0800 @@ -233,7 +233,8 @@ void iounmap(volatile void __iomem *addr return; p = remove_vm_area((void *) (PAGE_MASK & (unsigned long __force) addr)); if (!p) { - printk("__iounmap: bad address %p\n", addr); + printk("iounmap: bad address %p\n", addr); + dump_stack(); return; } _