Re: Badness in remove_proc_entry in wlan driver unregistration.

From: Arjan van de Ven
Date: Sun Jun 25 2006 - 06:41:17 EST


On Sun, 2006-06-25 at 14:47 +0530, Ram wrote:
> Hi,
> when i try to unload a wlan driver i get the message:
>
> Badness in remove_proc_entry at fs/proc/generic.c:705
>
>
> This comes from the statment in the driver:
> wlan_proc_remove("wlan");
>
>
> How does one solve the problem.
>
>
> This wlan driver was in 2.4. i ported it to 2.6. Is there any
> difference as far as wlan/networking unregistering is concerned for a
> wlan driver.


the driver is probably trying to remove a non-empty directory from proc,
which causes data corruption (both in 2.4 and 2.6)... 2.6 warns about it
though, 2.4 probably doesn't.

can you give a pointer to the driver source so that we can help fix it?

-
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/