Yeonki Choi
2013-Jun-25 12:04 UTC
PVHVM error and introducing an post about how to install 4.3
Hi, all of the xen users. I have question about PVHVM.How can I install or compile PVHVM driver? I tested PVHVM of my centos machine, but I got an error like below: $ vi /virtual_machines/cent64/cent64.cfg ### Mandatory Configuration ###name = "cent64"builder = "hvm"memory = 512vcpus = 1vif = ['', 'bridge=xenbr0']disk = ['/virtual_machines/cent64/cent64.qcow2,qcow2,sda,w','/isos/CentOS-6.4-x86_64-bin-DVD1.iso,raw,sdb,devtype=cdrom']boot="cd" # Set to 1, when pvhvm driverxen_platform_pci=1 $ sudo xl create ./cent64.cfg -cParsing config from ./cent64.cfgWARNING: ignoring "kernel" directive for HVM guest. Use "firmware_override" instead if you really want a non-default firmwarexc: info: VIRTUAL MEMORY ARRANGEMENT: Loader: 0000000000100000->000000000019e808 Modules: 0000000000000000->0000000000000000 TOTAL: 0000000000000000->000000001f800000 ENTRY ADDRESS: 0000000000100000xc: info: PHYSICAL MEMORY ALLOCATION: 4KB PAGES: 0x0000000000000200 2MB PAGES: 0x00000000000000fb 1GB PAGES: 0x0000000000000000Daemon running with PID 15965xenconsole: Could not read tty from store: No such file or directorylibxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console child [0] exited with error status 2 $vi /var/log/xen/qemu-dm-cent64.logxc: error: linux_gnttab_set_max_grants: ioctl SET_MAX_GRANTS failed (22 = Invalid argument): Internal errorxen be: qdisk-51712: xc_gnttab_set_max_grants failed: Invalid argumentxc: error: linux_gnttab_set_max_grants: ioctl SET_MAX_GRANTS failed (22 = Invalid argument): Internal errorxen be: qdisk-51728: xc_gnttab_set_max_grants failed: Invalid argument~ AND, I have one more thing to talk. I'd like to contribute my latest post (http://hyper-choi.blogspot.kr/2013/06/xen-43-rc1-installation.html) in Xen wiki. I wrote it about how to install xen 4.3 (rc1) based on Ubuntu 12.04Could you link my blog or let me know the way of contributing ? Thanks in advance. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Ian Campbell
2013-Jun-25 13:55 UTC
Re: PVHVM error and introducing an post about how to install 4.3
On Tue, 2013-06-25 at 21:04 +0900, Yeonki Choi wrote:> Hi, all of the xen users. > > > I have question about PVHVM. > How can I install or compile PVHVM driver? > > > I tested PVHVM of my centos machine, but I got an error like below: > > > $ vi /virtual_machines/cent64/cent64.cfg > ### Mandatory Configuration ### > name = "cent64" > builder = "hvm" > memory = 512 > vcpus = 1 > vif = ['''', ''bridge=xenbr0''] > disk > [''/virtual_machines/cent64/cent64.qcow2,qcow2,sda,w'',''/isos/CentOS-6.4-x86_64-bin-DVD1.iso,raw,sdb,devtype=cdrom''] > boot="cd" > > > # Set to 1, when pvhvm driver > xen_platform_pci=1 > > > > > $ sudo xl create ./cent64.cfg -c > Parsing config from ./cent64.cfg > WARNING: ignoring "kernel" directive for HVM guest. Use > "firmware_override" instead if you really want a non-default firmware > xc: info: VIRTUAL MEMORY ARRANGEMENT: > Loader: 0000000000100000->000000000019e808 > Modules: 0000000000000000->0000000000000000 > TOTAL: 0000000000000000->000000001f800000 > ENTRY ADDRESS: 0000000000100000 > xc: info: PHYSICAL MEMORY ALLOCATION: > 4KB PAGES: 0x0000000000000200 > 2MB PAGES: 0x00000000000000fb > 1GB PAGES: 0x0000000000000000 > Daemon running with PID 15965 > xenconsole: Could not read tty from store: No such file or directory > libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console > child [0] exited with error status 2I don''t think this issue has anything to do with PVHVM. The "-c" option here asks to connect to the domains serial console, which you haven''t configured, so it fails. Either omit the "-c" and use SDL or VNC to get to the VGA console or add serial = ''pty'' to your guest configuration, which should make "-c" work as expected. Unless the CentOS installer launches on the serial console you are probably better off going the VGA route.> $vi /var/log/xen/qemu-dm-cent64.log > xc: error: linux_gnttab_set_max_grants: ioctl SET_MAX_GRANTS failed (22 = Invalid argument): Internal errorThese are harmless (if annoying...)> AND, I have one more thing to talk. > I''d like to contribute my latest post > (http://hyper-choi.blogspot.kr/2013/06/xen-43-rc1-installation.html) in Xen wiki. > I wrote it about how to install xen 4.3 (rc1) based on Ubuntu 12.04 > Could you link my blog or let me know the way of contributing ?Anyone can edit the wiki, simply sign up for the wiki by clicking on the link in the banner at wiki.xen.org and then fill in http://xenproject.org/component/content/article/100-misc/145-request-to-be-made-a-wiki-editor.html (which is needed because of an ongoing spam attack). I would encourage you where possible to try and improve existing documentation rather than adding another walk through. Ian.