lkml.org 
[lkml]   [2006]   [Jun]   [25]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Badness in remove_proc_entry in wlan driver unregistration.
FromArjan van de Ven <>
DateSun, 25 Jun 2006 12:42:27 +0200
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-25 10:45    [from the cache]
©2003-2008