NetBSD Problem Report #46836

From agrier@theano.pythagoras.poofy.goof.com  Sat Aug 25 07:26:56 2012
Return-Path: <agrier@theano.pythagoras.poofy.goof.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 3158163B85F
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 25 Aug 2012 07:26:56 +0000 (UTC)
Message-Id: <20120825072654.A71314A63B@theano.pythagoras.poofy.goof.com>
Date: Sat, 25 Aug 2012 00:26:54 -0700 (PDT)
From: agrier@poofygoof.com
Reply-To: agrier@poofygoof.com
To: gnats-bugs@gnats.NetBSD.org
Subject: cannot change memory in domU via balloon
X-Send-Pr-Version: 3.95

>Number:         46836
>Category:       port-xen
>Synopsis:       cannot change memory in domU via balloon
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-xen-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 25 07:30:10 +0000 2012
>Closed-Date:    Fri Jul 17 11:05:40 +0000 2020
>Last-Modified:  Fri Jul 17 11:05:40 +0000 2020
>Originator:     agrier@poofygoof.com
>Release:        NetBSD 6.0_BETA2
>Organization:
  Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com
>Environment:
System: NetBSD theano.pythagoras.poofy.goof.com 6.0_BETA2 NetBSD 6.0_BETA2 (XEN3PAE_DOMU) #1: Fri Jun 1 00:11:53 PDT 2012 agrier@pythagoras.poofy.goof.com:/disk/teraraid/obj/i386/disk/teraraid/NetBSD/6/src/sys/arch/i386/compile/XEN3PAE_DOMU i386
Architecture: i386
Machine: i386

dom0 is running NetBSD 6.0_BETA2 on amd64 built from similarly-dated
sources.
>Description:
the xen balloon driver in domU does not appear to be able to request a
change in memory.

this works in linux with a stock fedora 17 kernel 3.5.2, IE 'echo
$NEWMEMSIZE > /sys/devices/system/xen_memory/xen_memory0/target' within
a linux domU will change the amount of memory the domU is using.
>How-To-Repeat:
# sysctl -w machdep.xen.balloon.target=1048576  
machdep.xen.balloon.target: 2621440 -> 1048576
# dmesg | tail -1
balloon0: error 13, couldn't write xenbus target node
>Fix:


>Release-Note:

>Audit-Trail:
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: port-xen-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
        netbsd-bugs@NetBSD.org
Subject: Re: port-xen/46836: cannot change memory in domU via balloon
Date: Sat, 25 Aug 2012 12:47:35 +0200

 On Sat, Aug 25, 2012 at 07:30:10AM +0000, agrier@poofygoof.com wrote:
 > >Description:
 > the xen balloon driver in domU does not appear to be able to request a
 > change in memory.
 > 
 > this works in linux with a stock fedora 17 kernel 3.5.2, IE 'echo
 > $NEWMEMSIZE > /sys/devices/system/xen_memory/xen_memory0/target' within
 > a linux domU will change the amount of memory the domU is using.
 > >How-To-Repeat:
 > # sysctl -w machdep.xen.balloon.target=1048576  
 > machdep.xen.balloon.target: 2621440 -> 1048576
 > # dmesg | tail -1
 > balloon0: error 13, couldn't write xenbus target node

 Looks like Xen is rejecting the change. Does your fedora 17 run on the
 same dom0 ?

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: "Aaron J. Grier" <agrier@poofygoof.com>
To: gnats-bugs@netbsd.org
Cc: port-xen-maintainer@netbsd.org
Subject: Re: port-xen/46836: cannot change memory in domU via balloon
Date: Sat, 25 Aug 2012 17:47:13 -0700

 the same dom0 (running NetBSD 6.0_BETA2) was used for testing balloon
 target change requests from both Fedora 17 and NetBSD 6.0_BETA2.  

 -- 
   Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 28 Sep 2016 10:29:28 +0000
State-Changed-Why:
is this problem still current?


From: "Aaron J. Grier" <agrier@poofygoof.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-xen/46836
Date: Sun, 16 Oct 2016 21:29:05 -0700

 still a problem with:

 NetBSD arignote.poofy.goof.com 7.0_STABLE NetBSD 7.0_STABLE (XEN3_DOMU) #2: Wed May 25 11:49:09 PDT 2016 agrier@memphis.poofy.goof.com:/var/obj/7.0_STABLE/amd64/.amd_mnt/pythagoras.admin/host/NetBSD/7/src/sys/arch/amd64/compile/XEN3_DOMU amd64

 -- 
   Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 17 Oct 2016 06:24:26 +0000
State-Changed-Why:
boo. :(
hopefully someone who knows about xen can figure it out this time...


State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 28 Feb 2018 18:43:16 +0000
State-Changed-Why:
does this work in -current, with cherry's recent uvm hotplug work?


State-Changed-From-To: feedback->closed
State-Changed-By: jdolecek@NetBSD.org
State-Changed-When: Fri, 17 Jul 2020 11:05:40 +0000
State-Changed-Why:
Feedback timeout. Thanks for report.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.