[2.6.14.5] iounmap: bad address

From: Emmanuel Fleury
Date: Thu Dec 29 2005 - 06:03:05 EST


Hi,

I am running a 2.6.14.5 on a Transmeta Crusoe laptop (Vaio PCG-C1MZ) and
I'm having some troubles with the iounmap function. Each time I'm
shutting down the machine or even just stopping the gdm daemon, I got
the following error log:

iounmap: bad address d7233000
[iounmap+197/208] iounmap+0xc5/0xd0
[page_remove_rmap+59/96] page_remove_rmap+0x3b/0x60
[radeon_do_cleanup_cp+856/1056] radeon_do_cleanup_cp+0x358/0x420
[radeon_do_release+165/288] radeon_do_release+0xa5/0x120
[drm_takedown+43/960] drm_takedown+0x2b/0x3c0
[drm_release+1010/1232] drm_release+0x3f2/0x4d0
[__handle_mm_fault+447/464] __handle_mm_fault+0x1bf/0x1d0
[__fput+176/400] __fput+0xb0/0x190
[filp_close+82/144] filp_close+0x52/0x90
[sys_close+124/128] sys_close+0x7c/0x80
[syscall_call+7/11] syscall_call+0x7/0xb

I guess the problem is located in arch/i386/mm/ioremap.c where:

write_lock(&vmlist_lock);
p = __remove_vm_area((void *)(PAGE_MASK & (unsigned long __force)addr));
if (!p) {
printk(KERN_WARNING "iounmap: bad address %p\n", addr);
dump_stack();
goto out_unlock;
}

So, it seems that remove_vm_area is returning NULL, and I don't know
why... :-/

Can somebody help me out ?

Regards
--
Emmanuel Fleury

The highest goal of computer science is to automate that
which can be automated.
-- D. L. VerLee
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/