From mboxrd@z Thu Jan 1 00:00:00 1970 From: "viets@work.de" Subject: Re: Xen Ballon Bug in 2.6.27-git11 Date: Fri, 25 Jul 2008 11:44:59 +0200 Message-ID: <4889A09B.4050307@work.de> References: <48886E71.6040306@work.de> <488895BF.4000203@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <488895BF.4000203@goop.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hello, with your patch I didn't get any error, but if I start a machine with 128 MB RAM and increase it per xm mem-set up to 256MB, neither top or cat /proc/meminfo shows the new memory... With 2.6.18 this was no problem, is the balloon driver working correctly? PS: I'm using a 64bit kernel under xen 3.2 My config was attached on the first post... Thanks and greetings Torben Viets Jeremy Fitzhardinge wrote: > 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 > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > -- Torben Viets w Viets@work.de n@work Internet Informationssysteme GmbH o http://support.work.de Wandalenweg 5 r Tel.: +49 40 23 88 09 - 0 D-20097 Hamburg k Fax: +49 40 23 88 09 -29 HR B 61 668 - Amtsgericht Hamburg Gf Jan Diegelmann