Re: kobject_add failed with -EEXIST

From: Greg KH
Date: Mon Nov 20 2006 - 12:31:35 EST


On Mon, Nov 20, 2006 at 06:14:56PM +0100, Jiri Slaby wrote:
> Hi!
>
> Does anybody have some clue, what's wrong with the attached module?
> Kernel complains when the module is insmoded second time (DRIVER_DEBUG
> enabled):

I just tried this with 2.6.19-rc6 and it worked just fine, no problems.
Perhaps you have some userspace program keeping the
/sys/class/cls_class/cls_device/ files open?

thanks,

greg k-h
-
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/