From: Greg KH <gregkh@suse.de>
To: Jiri Slaby <jirislaby@gmail.com>
Cc: Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: kobject_add failed with -EEXIST
Date: Mon, 20 Nov 2006 09:27:33 -0800 [thread overview]
Message-ID: <20061120172733.GA26713@suse.de> (raw)
In-Reply-To: <4561E290.7060100@gmail.com>
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?
thanks,
greg k-h
next prev parent reply other threads:[~2006-11-20 17:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 17:14 kobject_add failed with -EEXIST Jiri Slaby
2006-11-20 17:27 ` Greg KH [this message]
2006-11-20 17:31 ` Jiri Slaby
2006-11-20 17:52 ` Greg KH
2006-11-21 10:49 ` Jiri Slaby
[not found] ` <4af2d03a0611241620h657de9b8jfb9310e19f68f426@mail.gmail.com>
2006-11-25 0:30 ` Fwd: " Jiri Slaby
2006-11-20 17:31 ` Greg KH
2006-11-20 17:42 ` Oliver Neukum
2006-11-20 17:47 ` Jiri Slaby
2006-11-20 18:15 ` Jiri Slaby
2006-11-20 18:23 ` Akinobu Mita
2006-11-20 18:56 ` Jiri Slaby
2006-11-20 19:53 ` [PATCH] driver core: delete virtual directory on class_unregister() Akinobu Mita
2006-11-20 20:34 ` Greg KH
2006-11-21 9:58 ` Akinobu Mita
2006-11-21 15:09 ` Cornelia Huck
2006-11-25 8:58 ` kobject_add failed with -EEXIST markus reichelt
-- strict thread matches above, loose matches on Subject: below --
2006-11-17 15:40 Jiri Slaby
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061120172733.GA26713@suse.de \
--to=gregkh@suse.de \
--cc=jirislaby@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.