Re: Fwd: kobject_add failed with -EEXIST

From: Jiri Slaby
Date: Fri Nov 24 2006 - 19:41:04 EST


Greg KH wrote:
> On Mon, Nov 20, 2006 at 06:31:58PM +0100, Jiri Slaby wrote:
>> Greg KH wrote:
>> > On Mon, Nov 20, 2006 at 06:14:56PM +0100, Jiri Slaby wrote:
>> >> 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?
>>
>> No, there is no such dir (it disappears).
>>
>> > Also, which kernel version are you using here?
>>
>> 2.6.19-rc6, 2.6.19-rc5-mm2
>
> I can't duplicate this here at all with your example code. Check
> userspace to see if HAL or your udev scripts are doing something
> "odd"...
>
> What distro is this, and what version of HAL and udev are you using?

2 x FC6 (2.6.19-rc6, 2.6.19-rc5-mm2) and some unstable debian (2.6.19-rc5).
$ rpm -q udev hal
udev-103-2
hal-0.5.8.1-4.fc6

$ dpkg-query -W udev hal
udev 0.100-2.1
hal 0.5.8.1-1

Not even init=/bin/bash helps (userspace doesn't seem to be involved).
Do you need some other info?
I don't know, if you got my previous e-mail, could you confirm this one?

thanks,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
-
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/