2006-05-18 07:10:00

by Duncan Sands

[permalink] [raw]
Subject: kobject_add failed for vcs1 with -EEXIST, don't try to register things with the same name in the same directory.

Got this when shutting down with 2.6.17-rc4-git2:

kobject_add failed for vcs1 with -EEXIST, don't try to register things with the same name in the same directory.
<c01b071c> kobject_add+0x11d/0x13a <c01f252a> class_device_add+0x8c/0x269
<c01f278b> class_device_create+0x74/0x94 <c01e4060> vcs_make_devfs+0x22/0x4d
<c01e7776> con_open+0x6f/0x7c <c01df238> tty_open+0x175/0x29f
<c0144069> chrdev_open+0xe7/0xfd <c0143f82> chrdev_open+0x0/0xfd
<c013d0d5> __dentry_open+0xb6/0x185 <c013d208> nameidata_to_filp+0x19/0x28
<c013d242> do_filp_open+0x2b/0x31 <c013d319> do_sys_open+0x3c/0xae
<c013d3b8> sys_open+0x16/0x18 <c01023cf> sysenter_past_esp+0x54/0x75

Any idea what it's about?

Thanks,

Duncan.


2006-05-18 17:21:23

by Greg KH

[permalink] [raw]
Subject: Re: kobject_add failed for vcs1 with -EEXIST, don't try to register things with the same name in the same directory.

On Thu, May 18, 2006 at 09:09:55AM +0200, Duncan Sands wrote:
> Got this when shutting down with 2.6.17-rc4-git2:
>
> kobject_add failed for vcs1 with -EEXIST, don't try to register things with the same name in the same directory.
> <c01b071c> kobject_add+0x11d/0x13a <c01f252a> class_device_add+0x8c/0x269
> <c01f278b> class_device_create+0x74/0x94 <c01e4060> vcs_make_devfs+0x22/0x4d
> <c01e7776> con_open+0x6f/0x7c <c01df238> tty_open+0x175/0x29f
> <c0144069> chrdev_open+0xe7/0xfd <c0143f82> chrdev_open+0x0/0xfd
> <c013d0d5> __dentry_open+0xb6/0x185 <c013d208> nameidata_to_filp+0x19/0x28
> <c013d242> do_filp_open+0x2b/0x31 <c013d319> do_sys_open+0x3c/0xae
> <c013d3b8> sys_open+0x16/0x18 <c01023cf> sysenter_past_esp+0x54/0x75
>
> Any idea what it's about?

A bug in the console layer? Why would we be re-registering a new
console on shutdown time? Some init-level change issue?

thanks,

greg k-h