WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Gentoo+Xen4.0: Error: coercing to Unicode: need string

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Gentoo+Xen4.0: Error: coercing to Unicode: need string or buffer, NoneType found. - SOLVED
From: Daniel Bojczuk <danielbojczuk@xxxxxxxxx>
Date: Fri, 2 Jul 2010 16:56:10 -0300
Delivery-date: Fri, 02 Jul 2010 12:58:02 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type:content-transfer-encoding; bh=ySJAVVq0QRQIReBbJdlTZoeUBeO9Ny42lEHzrjw0+Nc=; b=WZfpx7ESFt/iWlhO2T37U8UNNs8tGpoHc/HhZ9/8txcw/SRj6iJDKCsF5kE20wUhi5 zqfbWV5qGJ1wib45RY8ku00/0hkjzhZ9NBCyx23sn7rG0HjRXnOhTKzXlhmRvDgbEg2o 2SCQ/J4JshXMWDXLM0z+kLWVyTnr4tX6tGofc=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; b=sJIw1rF0JUDlh0PqVdCs8o3tM+t3ZHJ0owYb8PwhDuAzAqu7mHPG7R802nXG4gGjdJ CErFT0UNCqsucLNOnyneIsh4BwBHjLVLEtMLs7OoAywR8L81DCDuCRhYubIm8+Y0kAj/ Ot5hblh5Xkjq3uqkSLQaEn9QUN6vjoANxYVtE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thanks a lot....recompiling xen-tools wih ioemu flagsolved my problem.

Daniel Bojczuk




On Sun, Jun 27, 2010 at 10:55 AM, Mohamed Yacoubi <myacoubi@xxxxxxxxxxx> wrote:
> Hi,
> Can you recompile xen-tools with USE = "ioemu" ?
> That should solve the problem.
> Best regards,
> Le 22 juin 2010 à 22:01, Daniel Bojczuk a écrit :
>
> I stiil did not solve te problem.
>
> The configuration file:
> kernel="hvmloader"
> builder='hvm'
> memory=512
> name="Windows2008R2"
> vif=['type=ioemu,bridge=xenbr0']
> disk=['file:/vm/Windows2008R2,hda,w','phy:/dev/cdrom,hdc:cdrom,r']
> on_poweroff='destroy'
> on_reboot='restart'
> on_crash='restart'
> device_model='stubdom-dm'
> boot="dca"
> sdl=0
> opengl=1
> vnc=1
> vncpasswd='12345'
> stdvga=0
>
> Any ideas?
>
> Thanks a lot!
>
> Daniel Bojczuk
>
> On Mon, Jun 21, 2010 at 3:20 PM, Daniel Bojczuk <danielbojczuk@xxxxxxxxx>
> wrote:
>
> Hi,
>
> I changed the windows2008r2.hvm to:
>
> kernel = "hvmloader"
>
> builder='hvm'
>
> memory = 512
>
> name = "Windows2008R2"
>
> vcpus=1
>
> acpi=0
>
> apic=0
>
> disk = [ 'file:/vm/Windows2008R2,hda,w', 'file:/vm/windows.iso,cdrom,r' ]
>
> device_model = 'qemu-dm'
>
> sdl=0
>
> opengl=0
>
> vnc=0
>
> #vncpasswd='12345'
>
> stdvga=0
>
> serial='pty'
>
> tsc_mode=0
>
>
> But I've got the same error.
>
> Any ideas?
>
> Thanks,
>
> Daniel Bojczuk
>
>
>
> On Mon, Jun 21, 2010 at 12:22 PM, Arpan Jindal <jindalarpan@xxxxxxxxx>
> wrote:
>
> Hello
>
> i think there is issue with the like as is extra , in  front of hdc.
>
> disk = [ 'file:/vm/Windows2008R2,hda,w', ',hdc:cdrom,r' ]
>
> Thanks
>
> On Mon, Jun 21, 2010 at 8:43 PM, Daniel Bojczuk <danielbojczuk@xxxxxxxxx>
>
> wrote:
>
> Hi,
>
> I'm trying to use a Gentoo whit Xem 4.0, but I try: xm create
>
> windows2008r2.hvm I get the error: Error: coercing to Unicode: need
>
> string or buffer, NoneType found.
>
> Does anybody knows how to solve that?
>
>
> windows2008r2.hvm:
>
> kernel = "hvmloader"
>
> builder='hvm'
>
> memory = 512
>
> name = "Windows2008R2"
>
> vcpus=2
>
> acpi=1
>
> apic=1
>
> disk = [ 'file:/vm/Windows2008R2,hda,w', ',hdc:cdrom,r' ]
>
> device_model = 'qemu-dm'
>
> sdl=0
>
> opengl=1
>
> vnc=1heheh flw
>
> vncpasswd='12345'
>
> stdvga=0
>
> serial='pty'
>
> tsc_mode=0
>
>
> xend.log:
>
> [2010-06-21 12:06:19 5946] INFO (SrvDaemon:332) Xend Daemon started
>
> [2010-06-21 12:06:19 5946] INFO (SrvDaemon:336) Xend changeset:
>
> unavailable.
>
> [2010-06-21 12:06:19 5946] DEBUG (XendDomainInfo:149)
>
> XendDomainInfo.recreate({'max_vcpu_id': 1, 'cpu_time': 52975184172L,
>
> 'ssidref': 0, 'hvm': 0, 'shutdown_reason': 0, 'dying': 0,
>
> 'online_vcpus': 2, 'domid': 0, 'paused': 0, 'crashed': 0, 'running':
>
> 1, 'maxmem_kb': 17179869180L, 'shutdown': 0, 'mem_kb': 260864L,
>
> 'handle': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 'blocked':
>
> 0, 'name': 'Domain-0'})
>
> [2010-06-21 12:06:19 5946] INFO (XendDomainInfo:167) Recreating domain
>
> 0, UUID 00000000-0000-0000-0000-000000000000. at /local/domain/0
>
> [2010-06-21 12:06:20 5946] DEBUG (XendDomain:464) Adding Domain: 0
>
> [2010-06-21 12:06:20 5946] DEBUG (XendDomainInfo:1891)
>
> XendDomainInfo.handleShutdownWatch
>
> [2010-06-21 12:06:20 5946] DEBUG (XendDomain:398) number of vcpus to use
>
> is 0
>
> [2010-06-21 12:06:20 5946] WARNING (XendAPI:705) API call:
>
> VBD.set_device not found
>
> [2010-06-21 12:06:20 5946] WARNING (XendAPI:705) API call:
>
> VBD.set_type not found
>
> [2010-06-21 12:06:20 5946] WARNING (XendAPI:705) API call:
>
> session.get_all_records not found
>
> [2010-06-21 12:06:20 5946] WARNING (XendAPI:705) API call:
>
> event.get_record not found
>
> [2010-06-21 12:06:20 5946] WARNING (XendAPI:705) API call:
>
> event.get_all not found
>
> [2010-06-21 12:06:20 5946] WARNING (XendAPI:705) API call:
>
> VIF.set_device not found
>
> [2010-06-21 12:06:20 5946] WARNING (XendAPI:705) API call: VIF.set_MAC not
>
> found
>
> [2010-06-21 12:06:20 5946] WARNING (XendAPI:705) API call: VIF.set_MTU not
>
> found
>
> [2010-06-21 12:06:20 5946] WARNING (XendAPI:705) API call:
>
> debug.get_all not found
>
> [2010-06-21 12:06:20 5946] INFO (XMLRPCServer:156) Opening Unix domain
>
> socket XML-RPC server on /var/run/xend/xen-api.sock; authentication
>
> has been disabled for this server.
>
> [2010-06-21 12:06:20 5946] INFO (XMLRPCServer:156) Opening Unix domain
>
> socket XML-RPC server on /var/run/xend/xmlrpc.sock.
>
> [2010-06-21 12:06:47 5946] ERROR (xmlrpclib2:178) Internal error
>
> handling xend.domain.create
>
> Traceback (most recent call last):
>
>  File "/usr/lib64/python2.6/site-packages/xen/util/xmlrpclib2.py",
>
> line 131, in _marshaled_dispatch
>
>    response = self._dispatch(method, params)
>
>  File "/usr/lib64/python2.6/SimpleXMLRPCServer.py", line 418, in _dispatch
>
>    return func(*params)
>
>  File
>
> "/usr/lib64/python2.6/site-packages/xen/xend/server/XMLRPCServer.py",
>
> line 79, in domain_create
>
>    info = XendDomain.instance().domain_create(config)
>
>  File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomain.py",
>
> line 982, in domain_create
>
>    dominfo = XendDomainInfo.create(config)
>
>  File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py",
>
> line 95, in create
>
>    domconfig = XendConfig.XendConfig(sxp_obj = config)
>
>  File "/usr/lib64/python2.6/site-packages/xen/xend/XendConfig.py",
>
> line 355, in __init__
>
>    self.validate()
>
>  File "/usr/lib64/python2.6/site-packages/xen/xend/XendConfig.py",
>
> line 544, in validate
>
>    self._platform_sanity_check()
>
>  File "/usr/lib64/python2.6/site-packages/xen/xend/XendConfig.py",
>
> line 488, in _platform_sanity_check
>
>    if not os.path.exists(self['platform']['device_model']):
>
>  File "/usr/lib64/python2.6/genericpath.py", line 18, in exists
>
>    st = os.stat(path)
>
> TypeError: coercing to Unicode: need string or buffer, NoneType found
>
>
>
> Thanks in advance
>
>
> Daniel Bojczuk
>
> _______________________________________________
>
> Xen-users mailing list
>
> Xen-users@xxxxxxxxxxxxxxxxxxx
>
> http://lists.xensource.com/xen-users
>
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
>
> --
> Euro Web SARL - http://www.euro-web.fr
>  Location de serveurs dédiés infogérés
>  Infogérance et consulting
>  Hébergement mutualisé sur mesure
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-users] Gentoo+Xen4.0: Error: coercing to Unicode: need string or buffer, NoneType found. - SOLVED, Daniel Bojczuk <=