OpenVZ Forum


Home » Mailing lists » Users » problems wit 2.6.24 from git
problems wit 2.6.24 from git [message #27085] Fri, 08 February 2008 14:33 Go to next message
Dietmar Maurer is currently offline  Dietmar Maurer
Messages: 52
Registered: March 2007
Member
I just downloaded the latest version from jit with:

git clone git://git.openvz.org/pub/linux-2.6.24-openvz
linux-2.6.24-openvz.org

(hope that is correct)

configuration, compilation worked without problem (compiling for amd64).

but when i try to start a VE I get the following error:

any idea whats wrong?


> vzctl start 101

sysfs: duplicate filename '0' can not be created
WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
Pid: 3251, comm: vzctl Tainted:  GF       2.6.24 #1

Call Trace:
 [<ffffffff802ea26c>] sysfs_add_one+0x54/0xbd
 [<ffffffff802ea7a7>] create_dir+0x4f/0x87
 [<ffffffff802ea961>] sysfs_create_dir+0x47/0x5c
 [<ffffffff8032474d>] kobject_get+0x12/0x17
 [<ffffffff80324c7a>] kobject_add+0xf3/0x1a6
 [<ffffffff80240c47>] user_kobject_create+0x77/0xa7
 [<ffffffff80241090>] alloc_uid+0xe1/0x185
 [<ffffffff802411b7>] copy_user_ns+0x71/0xde
 [<ffffffff8024ecf7>] create_new_namespaces+0x103/0x1da
 [<ffffffff8024efc1>] copy_namespaces+0x31/0x90
 [<ffffffff883ea39d>] :vzmon:real_env_create+0x43c/0xd3e
 [<ffffffff883eaf22>] :vzmon:vzcalls_ioctl+0x283/0x498
 [<ffffffff883e413d>] :vzdev:vzctl_ioctl+0x34/0x50
 [<ffffffff802b0295>] do_ioctl+0x21/0x6b
 [<ffffffff802b052c>] vfs_ioctl+0x24d/0x266
 [<ffffffff802b0581>] sys_ioctl+0x3c/0x5f
 [<ffffffff8020bf4e>] system_call+0x7e/0x83

kobject_add failed for 0 with -EEXIST, don't try to register things with
the same name in the same directory.
Pid: 3251, comm: vzctl Tainted:  GF       2.6.24 #1

Call Trace:
 [<ffffffff80324cf9>] kobject_add+0x172/0x1a6
 [<ffffffff80240c47>] user_kobject_create+0x77/0xa7
 [<ffffffff80241090>] alloc_uid+0xe1/0x185
 [<ffffffff802411b7>] copy_user_ns+0x71/0xde
 [<ffffffff8024ecf7>] create_new_namespaces+0x103/0x1da
 [<ffffffff8024efc1>] copy_namespaces+0x31/0x90
 [<ffffffff883ea39d>] :vzmon:real_env_create+0x43c/0xd3e
 [<ffffffff883eaf22>] :vzmon:vzcalls_ioctl+0x283/0x498
 [<ffffffff883e413d>] :vzdev:vzctl_ioctl+0x34/0x50
 [<ffffffff802b0295>] do_ioctl+0x21/0x6b
 [<ffffffff802b052c>] vfs_ioctl+0x24d/0x266
 [<ffffffff802b0581>] sys_ioctl+0x3c/0x5f
 [<ffffffff8020bf4e>] system_call+0x7e/0x83

CT: 101: stopped
CT: 101: failed to start with err=-12
Re: problems wit 2.6.24 from git [message #27100 is a reply to message #27085] Sat, 09 February 2008 09:29 Go to previous messageGo to next message
Josip Rodin is currently offline  Josip Rodin
Messages: 14
Registered: November 2007
Junior Member
On Fri, Feb 08, 2008 at 03:33:18PM +0100, Dietmar Maurer wrote:
> I just downloaded the latest version from jit with:
> 
> git clone git://git.openvz.org/pub/linux-2.6.24-openvz
> linux-2.6.24-openvz.org
> 
> (hope that is correct)
> 
> configuration, compilation worked without problem (compiling for amd64).
> 
> but when i try to start a VE I get the following error:
> 
> sysfs: duplicate filename '0' can not be created
> WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
> Pid: 3251, comm: vzctl Tainted:  GF       2.6.24 #1
> kobject_add failed for 0 with -EEXIST, don't try to register things with
> the same name in the same directory.
> Pid: 3251, comm: vzctl Tainted:  GF       2.6.24 #1
> CT: 101: stopped
> CT: 101: failed to start with err=-12

I've seen the same yesterday:

Feb  8 14:02:22 zut kernel: Symbol sys_open is marked as UNUSED, however this module is using it.
Feb  8 14:02:22 zut kernel: This symbol will go away in the future.
Feb  8 14:02:22 zut kernel: Please evalute if this is the right api to use, and if it really is, submit a report the linux kernel mailinglist together with submitting your code for inclusion.
Feb  8 14:02:22 zut kernel: Symbol sys_open is marked as UNUSED, however this module is using it.
Feb  8 14:02:22 zut kernel: This symbol will go away in the future.
Feb  8 14:02:22 zut kernel: Please evalute if this is the right api to use, and if it really is, submit a report the linux kernel mailinglist together with submitting your code for inclusion.
Feb  8 14:02:22 zut kernel: sysfs: duplicate filename '0' can not be created
Feb  8 14:02:22 zut kernel: WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
Feb  8 14:02:22 zut kernel: Pid: 3069, comm: vzctl Not tainted 2.6.24 #1
Feb  8 14:02:22 zut kernel: 
Feb  8 14:02:22 zut kernel: Call Trace:
Feb  8 14:02:22 zut kernel:  [<ffffffff802e73ef>] sysfs_add_one+0xaf/0xf0
Feb  8 14:02:22 zut kernel:  [<ffffffff802e79b0>] create_dir+0x60/0xc0
Feb  8 14:02:22 zut kernel:  [<ffffffff802e7bca>] sysfs_create_dir+0x2a/0x60
Feb  8 14:02:22 zut kernel:  [<ffffffff80334632>] kobject_get+0x12/0x20
Feb  8 14:02:22 zut kernel:  [<ffffffff80334c65>] kobject_add+0xb5/0x200
Feb  8 14:02:22 zut kernel:  [<ffffffff80246245>] user_kobject_create+0x85/0xd0
Feb  8 14:02:22 zut kernel:  [<ffffffff80246772>] alloc_uid+0x102/0x190
Feb  8 14:02:22 zut kernel:  [<ffffffff80246895>] copy_user_ns+0x75/0xf0
Feb  8 14:02:22 zut kernel:  [<ffffffff802564b5>] create_new_namespaces+0x145/0x240
Feb  8 14:02:22 zut kernel:  [<ffffffff802567ef>] copy_namespaces+0x4f/0x80
Feb  8 14:02:22 zut kernel:  [<ffffffff881d294d>] :vzmon:real_env_create+0x50d/0xd80
Feb  8 14:02:22 zut kernel:  [<ffffffff881d3693>] :vzmon:vzcalls_ioctl+0x4d3/0x500
Feb  8 14:02:22 zut kernel:  [<ffffffff881cd1a2>] :vzdev:vzctl_ioctl+0x42/0x80
Feb  8 14:02:22 zut kernel:  [<ffffffff802a590f>] do_ioctl+0x2f/0xa0
Feb  8 14:02:22 zut kernel:  [<ffffffff802a59f4>] vfs_ioctl+0x74/0x2d0
Feb  8 14:02:22 zut kernel:  [<ffffffff802a5c99>] sys_ioctl+0x49/0x80
Feb  8 14:02:22 zut kernel:  [<ffffffff8020bd9e>] system_call+0x7e/0x83
Feb  8 14:02:22 zut kernel: 
Feb  8 14:02:22 zut kernel: kobject_add failed for 0 with -EEXIST, don't try to register things with the same name in the same directory.
Feb  8 14:02:22 zut kernel: Pid: 3069, comm: vzctl Not tainted 2.6.24 #1
Feb  8 14:02:22 zut kernel: 
Feb  8 14:02:22 zut kernel: Call Trace:
Feb  8 14:02:22 zut kernel:  [<ffffffff80334cf9>] kobject_add+0x149/0x200
Feb  8 14:02:22 zut kernel:  [<ffffffff80246245>] user_kobject_create+0x85/0xd0
Feb  8 14:02:22 zut kernel:  [<ffffffff80246772>] alloc_uid+0x102/0x190
Feb  8 14:02:22 zut kernel:  [<ffffffff80246895>] copy_user_ns+0x75/0xf0
Feb  8 14:02:22 zut kernel:  [<ffffffff802564b5>] create_new_namespaces+0x145/0x240
Feb  8 14:02:22 zut kernel:  [<ffffffff802567ef>] copy_namespaces+0x4f/0x80
Feb  8 14:02:22 zut kernel:  [<ffffffff881d294d>] :vzmon:real_env_create+0x50d/0xd80
Feb  8 14:02:22 zut kernel:  [<ffffffff881d3693>] :vzmon:vzcalls_ioctl+0x4d3/0x500
Feb  8 14:02:22 zut kernel:  [<ffffffff881cd1a2>] :vzdev:vzctl_ioctl+0x42/0x80
Feb  8 14:02:22 zut kernel:  [<ffffffff802a590f>] do_ioctl+0x2f/0xa0
Feb  8 14:02:22 zut kernel:  [<ffffffff802a59f4>] vfs_ioctl+0x74/0x2d0
Feb  8 14:02:22 zut kernel:  [<ffffffff802a5c99>] sys_ioctl+0x49/0x80
Feb  8 14:02:22 zut kernel:  [<ffffffff8020bd9e>] system_call+0x7e/0x83
Feb  8 14:02:22 zut kernel: 
Feb  8 14:02:22 zut kernel: CT: 50126: stopped
Feb  8 14:02:22 zut kernel: CT: 50126: failed to start with err=-12

I've reverted to .22 since, but will be happy to try again...

-- 
     2. That which causes joy or happiness.
RE: problems wit 2.6.24 from git [message #27142 is a reply to message #27085] Mon, 11 February 2008 04:53 Go to previous message
drescherjm is currently offline  drescherjm
Messages: 27
Registered: February 2008
Junior Member
I had the same problem but I see there is a bug report for that:

http://bugzilla.openvz.org/show_bug.cgi?id=802

I did have the fair scheduler on and after disabling this:

# zgrep CONFIG_FAIR /proc/config.gz
# CONFIG_FAIR_GROUP_SCHED is not set


it works.

# uname  -a
Linux jmd1 2.6.24-openvz #1 SMP PREEMPT Sun Feb 10 23:42:00 EST 2008
x86_64 Dual Core AMD Opteron(tm) Processor 285 AuthenticAMD GNU/Linux


# vzlist
      VEID      NPROC STATUS  IP_ADDR         HOSTNAME
       101          3 running 192.168.1.250   vs_pdc


John
Previous Topic: kernel exploit in the wild
Next Topic: openvz git repo http broken for 2.6.24 - info/refs missing
Goto Forum:
  


Current Time: Tue Mar 19 03:20:54 GMT 2024

Total time taken to generate the page: 0.02359 seconds