[lkml]   [2006]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: kobject_add failed with -EEXIST
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):
> cls_init FIRST TIME
> device class 'cls_class': registering
> DEV: registering device: ID = 'cls_device'
> PM: Adding info for No Bus:cls_device
> DEV: Unregistering device. ID = 'cls_device'
> PM: Removing info for No Bus:cls_device
> device_create_release called for cls_device
> device class 'cls_class': unregistering
> class 'cls_class': release.
> class_create_release called for cls_class
> cls_exit

What does sysfs look like at this point in time? Does
/sys/class/cls_class exist?

Also, which kernel version are you using here?


greg k-h
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-11-20 18:31    [W:0.079 / U:1.460 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site