Nick Couchman
2008-Jun-17 01:23 UTC
Re: [Xen-users] unable to access Linux HVM via xm console - Couldnot read tty from store: No such file or directory
HVM = fully virtualized. The question is, why are you using fully virtualized domUs? Why not paravirtualized (PV)?>>> On 2008/06/16 at 16:07, Rudi Ahlers <Rudi@SoftDux.com> wrote:Itamar - IspBrasil wrote:> why you''re using hvm ? its slow > > > > Rudi Ahlers wrote: >> Hi all >> >> I''m running CentOS 5.1 x64 + Xen 3.0 & I have setup a CentOS 5.1 x64 >> domU as a HMV. For the setup I used VNC, but I would prefer to be >> able to access it via "xm console cPanel" via SSH directly. >> >> Here''s the output cPanel HVM: >> >> [root@pc-00059 ~]# more /etc/xen/cPanel >> name = "cPanel" >> uuid = "ff940501-507d-04ca-e590-831e79ba0397" >> maxmem = 6144 >> memory = 6144 >> vcpus = 2 >> builder = "hvm" >> kernel = "/usr/lib/xen/boot/hvmloader" >> boot = "c" >> pae = 1 >> acpi = 0 >> apic = 0 >> on_poweroff = "destroy" >> on_reboot = "restart" >> on_crash = "restart" >> device_model = "/usr/lib64/xen/bin/qemu-dm" >> sdl = 0 >> vnc = 0 >> vncunused = 2 >> #disk = [ >> "phy:/dev/data/cPanel,hda,w","file:/data/storage/CentOS-5.1-x86_64-bin-1of7.iso,ioemu:hdc:cdrom,r" >> ] >> disk = [ "phy:/dev/data/cPanel,hda,w" ] >> vif = [ "mac=00:16:3e:4e:9b:48,bridge=xenbr0,type=ioemu" ] >> serial = "pty" >> usb = 1 >> usbdevice = ''tablet'' >> >> >> When I try and connect to it via console, I get the following: >> [root@pc-00059 ~]# xm console cPanel >> xenconsole: Could not read tty from store: No such file or directory >> [root@pc-00059 ~]# >> >> >> >> Reading through all the email archives, I found a few similar >> problems, but the suggested fixes doesn''t help. Does anyone know how >> to get xm console to work for HVM type domU''s ? >> >> > > >mmm, now that I think of it. I setup fully virtualized hosts, not HVM - my bad..... -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2008-Jun-17 04:20 UTC
Re: [Xen-users] unable to access Linux HVM via xm console - Couldnot read tty from store: No such file or directory
Nick Couchman wrote:> HVM = fully virtualized. The question is, why are you using fully > virtualized domUs? Why not paravirtualized (PV)? > > >>> On 2008/06/16 at 16:07, Rudi Ahlers <Rudi@SoftDux.com> wrote: > Itamar - IspBrasil wrote: > > why you''re using hvm ? its slow > > > > > > > > Rudi Ahlers wrote: > >> Hi all > >> > >> I''m running CentOS 5.1 x64 + Xen 3.0 & I have setup a CentOS 5.1 x64 > >> domU as a HMV. For the setup I used VNC, but I would prefer to be > >> able to access it via "xm console cPanel" via SSH directly. > >> > >> Here''s the output cPanel HVM: > >> > >> [root@pc-00059 ~]# more /etc/xen/cPanel > >> name = "cPanel" > >> uuid = "ff940501-507d-04ca-e590-831e79ba0397" > >> maxmem = 6144 > >> memory = 6144 > >> vcpus = 2 > >> builder = "hvm" > >> kernel = "/usr/lib/xen/boot/hvmloader" > >> boot = "c" > >> pae = 1 > >> acpi = 0 > >> apic = 0 > >> on_poweroff = "destroy" > >> on_reboot = "restart" > >> on_crash = "restart" > >> device_model = "/usr/lib64/xen/bin/qemu-dm" > >> sdl = 0 > >> vnc = 0 > >> vncunused = 2 > >> #disk = [ > >> > "phy:/dev/data/cPanel,hda,w","file:/data/storage/CentOS-5.1-x86_64-bin-1of7.iso,ioemu:hdc:cdrom,r" > > >> ] > >> disk = [ "phy:/dev/data/cPanel,hda,w" ] > >> vif = [ "mac=00:16:3e:4e:9b:48,bridge=xenbr0,type=ioemu" ] > >> serial = "pty" > >> usb = 1 > >> usbdevice = ''tablet'' > >> > >> > >> When I try and connect to it via console, I get the following: > >> [root@pc-00059 ~]# xm console cPanel > >> xenconsole: Could not read tty from store: No such file or directory > >> [root@pc-00059 ~]# > >> > >> > >> > >> Reading through all the email archives, I found a few similar > >> problems, but the suggested fixes doesn''t help. Does anyone know how > >> to get xm console to work for HVM type domU''s ? > >> > >> > > > > > > > mmm, now that I think of it. I setup fully virtualized hosts, not HVM - > my bad..... > > -- >ok, so I had the right words :) as far as I understand, HVM is the only way to get Windows, or rather unmodified OS'', installed onto Linux, right? Or is there another way? I setup Windows like this, and simply copied the Windows HMV (/etc/xen/windows2003) to a new one for Linux (/etc/xen/cPanel) and installed Linux onto it. Should I rather have used a non-virtualized (is this referred to as paravirtualized ?) installation? But would I then be able to install say Ubuntu onto CentOS as a PV? Doesn''t Ubuntu use a different kernel than the Red Hat family (Red Hat, Fedora Core, CentOS)? -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2008-Jun-17 12:08 UTC
Re: [Xen-users] unable to access Linux HVM via xm console - Couldnotread tty from store: No such file or directory
Yes, HVM - a hardware virtual machine - is the way to run unmodified guest O/Ss on Xen. If your O/S has a modified kernel available, though, you should use that. CentOS 5.1 definitely has a PV (modified) kernel available, so is there some reason you want to run your CentOS 5.1 domU in an HVM (unmodified), or maybe you should switch over to the modified kernel for that domU?>>> On 2008/06/16 at 22:20, Rudi Ahlers <Rudi@SoftDux.com> wrote:Nick Couchman wrote:> HVM = fully virtualized. The question is, why are you using fully > virtualized domUs? Why not paravirtualized (PV)? > > >>> On 2008/06/16 at 16:07, Rudi Ahlers <Rudi@SoftDux.com> wrote: > Itamar - IspBrasil wrote: > > why you''re using hvm ? its slow > > > > > > > > Rudi Ahlers wrote: > >> Hi all > >> > >> I''m running CentOS 5.1 x64 + Xen 3.0 & I have setup a CentOS 5.1 x64 > >> domU as a HMV. For the setup I used VNC, but I would prefer to be > >> able to access it via "xm console cPanel" via SSH directly. > >> > >> Here''s the output cPanel HVM: > >> > >> [root@pc-00059 ~]# more /etc/xen/cPanel > >> name = "cPanel" > >> uuid = "ff940501-507d-04ca-e590-831e79ba0397" > >> maxmem = 6144 > >> memory = 6144 > >> vcpus = 2 > >> builder = "hvm" > >> kernel = "/usr/lib/xen/boot/hvmloader" > >> boot = "c" > >> pae = 1 > >> acpi = 0 > >> apic = 0 > >> on_poweroff = "destroy" > >> on_reboot = "restart" > >> on_crash = "restart" > >> device_model = "/usr/lib64/xen/bin/qemu-dm" > >> sdl = 0 > >> vnc = 0 > >> vncunused = 2 > >> #disk = [ > >> > "phy:/dev/data/cPanel,hda,w","file:/data/storage/CentOS-5.1-x86_64-bin-1of7.iso,ioemu:hdc:cdrom,r" > > >> ] > >> disk = [ "phy:/dev/data/cPanel,hda,w" ] > >> vif = [ "mac=00:16:3e:4e:9b:48,bridge=xenbr0,type=ioemu" ] > >> serial = "pty" > >> usb = 1 > >> usbdevice = ''tablet'' > >> > >> > >> When I try and connect to it via console, I get the following: > >> [root@pc-00059 ~]# xm console cPanel > >> xenconsole: Could not read tty from store: No such file or directory > >> [root@pc-00059 ~]# > >> > >> > >> > >> Reading through all the email archives, I found a few similar > >> problems, but the suggested fixes doesn''t help. Does anyone know how > >> to get xm console to work for HVM type domU''s ? > >> > >> > > > > > > > mmm, now that I think of it. I setup fully virtualized hosts, not HVM - > my bad..... > > -- >ok, so I had the right words :) as far as I understand, HVM is the only way to get Windows, or rather unmodified OS'', installed onto Linux, right? Or is there another way? I setup Windows like this, and simply copied the Windows HMV (/etc/xen/windows2003) to a new one for Linux (/etc/xen/cPanel) and installed Linux onto it. Should I rather have used a non-virtualized (is this referred to as paravirtualized ?) installation? But would I then be able to install say Ubuntu onto CentOS as a PV? Doesn''t Ubuntu use a different kernel than the Red Hat family (Red Hat, Fedora Core, CentOS)? -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rudi Ahlers
2008-Jun-17 15:39 UTC
Re: [Xen-users] unable to access Linux HVM via xm console - Couldnotread tty from store: No such file or directory
Nick Couchman wrote:> Yes, HVM - a hardware virtual machine - is the way to run unmodified > guest O/Ss on Xen. If your O/S has a modified kernel available, > though, you should use that. CentOS 5.1 definitely has a PV > (modified) kernel available, so is there some reason you want to run > your CentOS 5.1 domU in an HVM (unmodified), or maybe you should > switch over to the modified kernel for that domU? > > >>> On 2008/06/16 at 22:20, Rudi Ahlers <Rudi@SoftDux.com> wrote: > Nick Couchman wrote: > > HVM = fully virtualized. The question is, why are you using fully > > virtualized domUs? Why not paravirtualized (PV)? > > > > >>> On 2008/06/16 at 16:07, Rudi Ahlers <Rudi@SoftDux.com> wrote: > > Itamar - IspBrasil wrote: > > > why you''re using hvm ? its slow > > > > > > > > > > > > Rudi Ahlers wrote: > > >> Hi all > > >> > > >> I''m running CentOS 5.1 x64 + Xen 3.0 & I have setup a CentOS 5.1 x64 > > >> domU as a HMV. For the setup I used VNC, but I would prefer to be > > >> able to access it via "xm console cPanel" via SSH directly. > > >> > > >> Here''s the output cPanel HVM: > > >> > > >> [root@pc-00059 ~]# more /etc/xen/cPanel > > >> name = "cPanel" > > >> uuid = "ff940501-507d-04ca-e590-831e79ba0397" > > >> maxmem = 6144 > > >> memory = 6144 > > >> vcpus = 2 > > >> builder = "hvm" > > >> kernel = "/usr/lib/xen/boot/hvmloader" > > >> boot = "c" > > >> pae = 1 > > >> acpi = 0 > > >> apic = 0 > > >> on_poweroff = "destroy" > > >> on_reboot = "restart" > > >> on_crash = "restart" > > >> device_model = "/usr/lib64/xen/bin/qemu-dm" > > >> sdl = 0 > > >> vnc = 0 > > >> vncunused = 2 > > >> #disk = [ > > >> > > > "phy:/dev/data/cPanel,hda,w","file:/data/storage/CentOS-5.1-x86_64-bin-1of7.iso,ioemu:hdc:cdrom,r" > > > > > >> ] > > >> disk = [ "phy:/dev/data/cPanel,hda,w" ] > > >> vif = [ "mac=00:16:3e:4e:9b:48,bridge=xenbr0,type=ioemu" ] > > >> serial = "pty" > > >> usb = 1 > > >> usbdevice = ''tablet'' > > >> > > >> > > >> When I try and connect to it via console, I get the following: > > >> [root@pc-00059 ~]# xm console cPanel > > >> xenconsole: Could not read tty from store: No such file or directory > > >> [root@pc-00059 ~]# > > >> > > >> > > >> > > >> Reading through all the email archives, I found a few similar > > >> problems, but the suggested fixes doesn''t help. Does anyone know how > > >> to get xm console to work for HVM type domU''s ? > > >> > > >> > > > > > > > > > > > mmm, now that I think of it. I setup fully virtualized hosts, not HVM - > > my bad..... > > > > -- > > > > ok, so I had the right words :) > > as far as I understand, HVM is the only way to get Windows, or rather > unmodified OS'', installed onto Linux, right? Or is there another way? I > setup Windows like this, and simply copied the Windows HMV > (/etc/xen/windows2003) to a new one for Linux (/etc/xen/cPanel) and > installed Linux onto it. > > Should I rather have used a non-virtualized (is this referred to as > paravirtualized ?) installation? But would I then be able to install say > Ubuntu onto CentOS as a PV? Doesn''t Ubuntu use a different kernel than > the Red Hat family (Red Hat, Fedora Core, CentOS)? > > -- >No, no reason why I want to run CentOS unmodified. It was just easy to setup :) I copied the one HVM config file to a new one and it was up. So I guess I''ll setup a new paravirtualized centos then :) -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Nick Couchman
2008-Jun-17 18:00 UTC
Re: [Xen-users] unable to access Linux HVM via xm console - Couldnotreadtty from store: No such file or directory
I highly recommend the Xen graphical management tools - Google virt-manager and virtinstall - these tools help out a lot in trying to get domUs installed and are able for a lot of them to choose PV or HVM depending on whether a modified kernel is available or not. -Nick>>> On Tue, Jun 17, 2008 at 9:39 AM, Rudi Ahlers <Rudi@SoftDux.com> wrote:Nick Couchman wrote:> Yes, HVM - a hardware virtual machine - is the way to run unmodified > guest O/Ss on Xen. If your O/S has a modified kernel available, > though, you should use that. CentOS 5.1 definitely has a PV > (modified) kernel available, so is there some reason you want to run > your CentOS 5.1 domU in an HVM (unmodified), or maybe you should > switch over to the modified kernel for that domU? > > >>> On 2008/06/16 at 22:20, Rudi Ahlers <Rudi@SoftDux.com> wrote: > Nick Couchman wrote: > > HVM = fully virtualized. The question is, why are you using fully > > virtualized domUs? Why not paravirtualized (PV)? > > > > >>> On 2008/06/16 at 16:07, Rudi Ahlers <Rudi@SoftDux.com> wrote: > > Itamar - IspBrasil wrote: > > > why you''re using hvm ? its slow > > > > > > > > > > > > Rudi Ahlers wrote: > > >> Hi all > > >> > > >> I''m running CentOS 5.1 x64 + Xen 3.0 & I have setup a CentOS 5.1 x64 > > >> domU as a HMV. For the setup I used VNC, but I would prefer to be > > >> able to access it via "xm console cPanel" via SSH directly. > > >> > > >> Here''s the output cPanel HVM: > > >> > > >> [root@pc-00059 ~]# more /etc/xen/cPanel > > >> name = "cPanel" > > >> uuid = "ff940501-507d-04ca-e590-831e79ba0397" > > >> maxmem = 6144 > > >> memory = 6144 > > >> vcpus = 2 > > >> builder = "hvm" > > >> kernel = "/usr/lib/xen/boot/hvmloader" > > >> boot = "c" > > >> pae = 1 > > >> acpi = 0 > > >> apic = 0 > > >> on_poweroff = "destroy" > > >> on_reboot = "restart" > > >> on_crash = "restart" > > >> device_model = "/usr/lib64/xen/bin/qemu-dm" > > >> sdl = 0 > > >> vnc = 0 > > >> vncunused = 2 > > >> #disk = [ > > >> > > > "phy:/dev/data/cPanel,hda,w","file:/data/storage/CentOS-5.1-x86_64-bin-1of7.iso,ioemu:hdc:cdrom,r" > > > > > >> ] > > >> disk = [ "phy:/dev/data/cPanel,hda,w" ] > > >> vif = [ "mac=00:16:3e:4e:9b:48,bridge=xenbr0,type=ioemu" ] > > >> serial = "pty" > > >> usb = 1 > > >> usbdevice = ''tablet'' > > >> > > >> > > >> When I try and connect to it via console, I get the following: > > >> [root@pc-00059 ~]# xm console cPanel > > >> xenconsole: Could not read tty from store: No such file or directory > > >> [root@pc-00059 ~]# > > >> > > >> > > >> > > >> Reading through all the email archives, I found a few similar > > >> problems, but the suggested fixes doesn''t help. Does anyone know how > > >> to get xm console to work for HVM type domU''s ? > > >> > > >> > > > > > > > > > > > mmm, now that I think of it. I setup fully virtualized hosts, not HVM - > > my bad..... > > > > -- > > > > ok, so I had the right words :) > > as far as I understand, HVM is the only way to get Windows, or rather > unmodified OS'', installed onto Linux, right? Or is there another way? I > setup Windows like this, and simply copied the Windows HMV > (/etc/xen/windows2003) to a new one for Linux (/etc/xen/cPanel) and > installed Linux onto it. > > Should I rather have used a non-virtualized (is this referred to as > paravirtualized ?) installation? But would I then be able to install say > Ubuntu onto CentOS as a PV? Doesn''t Ubuntu use a different kernel than > the Red Hat family (Red Hat, Fedora Core, CentOS)? > > -- >No, no reason why I want to run CentOS unmodified. It was just easy to setup :) I copied the one HVM config file to a new one and it was up. So I guess I''ll setup a new paravirtualized centos then :) -- Kind Regards Rudi Ahlers CEO, SoftDux Web: http://www.SoftDux.com Check out my technical blog, http://blog.softdux.com for Linux or other technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff This e-mail may contain confidential and privileged material for the sole use of the intended recipient. If this email is not intended for you, or you are not responsible for the delivery of this message to the intended recipient, please note that this message may contain SEAKR Engineering (SEAKR) Privileged/Proprietary Information. In such a case, you are strictly prohibited from downloading, photocopying, distributing or otherwise using this message, its contents or attachments in any way. If you have received this message in error, please notify us immediately by replying to this e-mail and delete the message from your mailbox. Information contained in this message that does not relate to the business of SEAKR is neither endorsed by nor attributable to SEAKR. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Reasonably Related Threads
- unable to access Linux HVM via xm console - Could not read tty from store: No such file or directory
- [CORRECTED] Postfix SMTP authentication on remote relay serve
- how to downgrade from CentOS 5.2 to CentOS 5.1?
- looking for a decent free / Open Source flash media server
- which programming language for server-side admin tasks