Hello, I installed NetBSD 3.0_Beta and the xen 2.0 package. Domain0 runs without any problems. But when I try to create a domain1, I always get "Could not open channel to DOM0". This domain seems to start, it is shown in "xm list", but I cannot manage it. I searched for this error message in google, but only found a page from japan ... which I could not understand .... Any ideas? Rigas ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Tue, Jul 05, 2005 at 07:43:35AM +0200, Rigas Wendel wrote:> Hello, > > I installed NetBSD 3.0_Beta and the xen 2.0 package. > Domain0 runs without any problems. > > But when I try to create a domain1, I always get > "Could not open channel to DOM0".You must show us your domU configuration. You also have to start the xend, with "xend start" - did you do that? Mfg, Sascha Retzki _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ok, here is the file: kernel="/home/install/netbsd-INSTALL_XENU" memory=32 name"nbsddom1" nic=1 vif=[''mac=aa:00:00:50:01:f0,bridge=bridge0''] disk=[''phy:/dev/cd0a,cd0a,r''] root="/dev/wd0d" At the moment the only disk I configured here ist the CDROM. For a boot test this should be enough, I suppose. Rigas Rigas Wendel <beerman_wendel@yahoo.de> schrieb: Hello, I installed NetBSD 3.0_Beta and the xen 2.0 package. Domain0 runs without any problems. But when I try to create a domain1, I always get "Could not open channel to DOM0". This domain seems to start, it is shown in "xm list", but I cannot manage it. I searched for this error message in google, but only found a page from japan ... which I could not understand .... Any ideas? Rigas ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users --------------------------------- Gesendet von Yahoo! Mail - Jetzt mit 1GB kostenlosem Speicher _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, On Wednesday 06 July 2005 08:11, Rigas Wendel wrote:> At the moment the only disk I configured here ist the CDROM. For a boot > test this should be enough, I suppose.A CD isn''t directly bootable, it requires (depending on its type) some tricks by the bios to boot (like loading a floppy image from CD and creating a virtual fdd for it) Try to extract the boot image from the CD, and pass the CD drive and the boot image to xen. Maybe you also need to extract an initrd or something from there and pass that, too, but I don''t know enough about netbsd to give any hint there. The easier way will probably be to install NetBSD without xen, and use that root partition to boot the netbsd-xenu kernel. Greetings /Ernst _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Sascha Retzki
2005-Jul-06 08:21 UTC
Installation procedure (was: Re: [Xen-users] Could not open channel to DOM0)
On Wed, Jul 06, 2005 at 09:22:49AM +0200, Ernst Bachmann wrote:> Hi, > On Wednesday 06 July 2005 08:11, Rigas Wendel wrote: > > > At the moment the only disk I configured here ist the CDROM. For a boot > > test this should be enough, I suppose. > > A CD isn''t directly bootable, it requires (depending on its type) some tricks > by the bios to boot (like loading a floppy image from CD and creating a > virtual fdd for it) >Let us elaborate that in a greater detail, because many people probably want to install into some file or alike, or otherwisely want to just boot some install-medium and install from there: If you set a phy:, the raw block device (NetBSD <-> Linux: /dev/rwd0d <-> /dev/hda (assuming the first disc is on Primary master) isn''t simply booted, right? So you need, despite a xenU "install" kernel, a lot more than just specifying a phy: with your CD-ROM drive? I still want to install OSes that I want to use in Xen from Xen ;-) So what/how is a phy: actually booted? It is not at all booted, right? It is just that the kernel= sees that device and is told to boot that. As most install-media on CD use El Torito, which in turn is a 2.88 MB floppy emulation (?), how could this ever work? My answer is: Not at all, the Installmedia must be completly redesigned for a xen-installation. Right up to this? So the way to go(tm) Would be not to use a "ramdisk" or alike with all userland tools, but all binaries (/bin, /sbin, etc) have to be on the root of the CD. (Plan9 does that and it works this way). As the userland does not have to be recompiled for Xen, this would obviously also work for native installations. So we just have to convince the Xen-loving OSes to do it this way and it would work? Or any other thoughts?> Try to extract the boot image from the CD, and pass the CD drive and the boot > image to xen. Maybe you also need to extract an initrd or something fromIs it a NetBSD-CD? A comparable system is used, but I don''t know how you can "extract" it, actually. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thanks for your replies; With the netbsd-INSTALL_XENU Kernel you can actually boot and then start installing (the kernel contains a ramdisk with sysinst). You can use sysinst to install from the mounted CDROM. I did it once on linux and it did work. (After the installation you have to switch to a different kernel.) But now I am trying it on NetBSD 3.0 Beta. According to the NetBSD / Xen Howto it should work. I think that my problem has nothing to do with the way I mount the CDROM and / or the disk file. (I would like to run my domain in a single file; so the domain would be easy to copy and performance does not matter in my case. If anyone knows how to make such a file in NetBSD, please tell me ...) The message "could not open channel to DOM0" sounds more like a networking or permission problem to me. Is there a way to raise the log level? Any other ideas? Rigas ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users