From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: Xen Ballon Bug in 2.6.27-git11 Date: Thu, 24 Jul 2008 07:46:23 -0700 Message-ID: <488895BF.4000203@goop.org> References: <48886E71.6040306@work.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <48886E71.6040306@work.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "viets@work.de" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org viets@work.de wrote: > Hello, > > I'm unsure where I sent a bug report for linux kernel 2.6.27-git11. > > If I'm use the attached config, I get the kernel panic shown in the > attached dmesg. > > Hope this can be fixed. > > xen_balloon: Initialising balloon driver. > sysfs: duplicate filename 'memory' can not be created > ------------[ cut here ]------------ > WARNING: at fs/sysfs/dir.c:465 sysfs_add_one+0x53/0x60() > Pid: 1, comm: swapper Not tainted 2.6.26-git11 #2 > > Call Trace: > [] warn_on_slowpath+0x5f/0x90 > [] printk+0x4e/0x60 > [] kmem_cache_alloc+0x64/0xc0 > [] sysfs_ilookup_test+0x0/0x10 > [] sysfs_find_dirent+0x29/0x40 > [] __sysfs_add_one+0x24/0xa0 > [] sysfs_add_one+0x53/0x60 > [] create_dir+0x60/0xb0 > [] balloon_init+0x0/0x1e0 > [] sysfs_create_dir+0x31/0x50 > [] kobject_add_internal+0xe3/0x1c0 > [] balloon_init+0x0/0x1e0 > [] kset_register+0x2c/0x50 > [] balloon_init+0xb0/0x1e0 > [] genhd_device_init+0x0/0x60 > [] kernel_init+0x128/0x310 > [] xen_load_sp0+0x90/0xc0 > [] xen_mc_flush+0xc5/0x190 > [] finish_task_switch+0x43/0xc0 > [] child_rip+0xa/0x11 > [] retint_restore_args+0x5/0x20 > [] dummycon_dummy+0x0/0x10 > [] dummycon_dummy+0x0/0x10 > [] child_rip+0x0/0x11 > > ---[ end trace 4eaa2a86a8e2da22 ]--- > kobject_add_internal failed for memory with -EEXIST, don't try to register things with the same name in the same directory. > Pid: 1, comm: swapper Tainted: G W 2.6.26-git11 #2 > > Call Trace: > [] kobject_add_internal+0x173/0x1c0 > [] balloon_init+0x0/0x1e0 > [] kset_register+0x2c/0x50 > [] balloon_init+0xb0/0x1e0 > [] genhd_device_init+0x0/0x60 > [] kernel_init+0x128/0x310 > [] xen_load_sp0+0x90/0xc0 > [] xen_mc_flush+0xc5/0x190 > [] finish_task_switch+0x43/0xc0 > [] child_rip+0xa/0x11 > [] retint_restore_args+0x5/0x20 > [] dummycon_dummy+0x0/0x10 > [] dummycon_dummy+0x0/0x10 > [] child_rip+0x0/0x11 > Thanks for the report. I was looking at the balloon driver just yesterday and fixed this particular error up. I'll post a balloon driver update shortly. Thanks, J