Hello, I''m trying to install an OpenBSD 4.0 guest through hardware virtualization on a 3.0.3 Linux x86_64 host. I tried to install the i386 and x86_64 versions of OpenBSD. x86_64 hangs immediately after loading the kernel image. i386 boots fine, but dies after partitioning disks saying wd0a device is "not configured". Also output to the console seems to have some major issues. Google does not seem to have many answers. Anyone having success with this? thanks Luca _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 12/15/06, Luca Corti <luca@leenoox.net> wrote:> I''m trying to install an OpenBSD 4.0 guest through hardware > virtualization on a 3.0.3 Linux x86_64 host. > I tried to install the i386 and x86_64 versions of OpenBSD.Doesn''t work yet, as for all *BSDs. See threads about BSD in the list archive... As far as I understood a private message from Mats Petersson, it might probably get better _after_ (not with!) Xen 3.0.4 Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Fri, 2006-12-15 at 22:12 +0100, Henning Sprang wrote:> Doesn''t work yet, as for all *BSDs. See threads about BSD in the list archive...I thought HVM virtual machines didn''t require the guest OS to be modified... am I wrong? Also it seems someone got this to work: http://lists.xensource.com/archives/html/xen-devel/2006-08/msg00436.html http://www.linode.com/xen/irc/logs/xen.log-2006-05-12 Maybe I should try with 3.9?> As far as I understood a private message from Mats Petersson, it might > probably get better _after_ (not with!) Xen 3.0.4Are you talking about the OpenBSD Xen DomU porting efforts or about HVM? thanks _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 12/16/06, Luca Corti <luca@leenoox.net> wrote:> I thought HVM virtual machines didn''t require the guest OS to be > modified... am I wrong?There''s some low-level hardware programming stuff that makes this being not true.> Also it seems someone got this to work: > > http://lists.xensource.com/archives/html/xen-devel/2006-08/msg00436.htmlHmm, to me this message seems to mean it does not work.> > http://www.linode.com/xen/irc/logs/xen.log-2006-05-12 > > Maybe I should try with 3.9?As far as I know, and some other people said on this list, it does not currently work. I wasted a lot of time trying - I even came until starting a real install with openbsd , but it always started to randomly create errors and do strange things. If you wanna try further, go ahead - I''d be happy to hear is there is some way, but as far as I understood mats, it will defintely not work until after 3.0.4. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, 2006-12-16 at 02:35 +0100, Henning Sprang wrote:> If you wanna try further, go ahead - I''d be happy to hear is there is > some way, but as far as I understood mats, it will defintely not work > until after 3.0.4.I tried 3.9 but it seems to have the same problems, so I''m going to giveup on this one. What about the domU port? Is it useable? Have you tried it? Is there any noticeable performance diference between domUs and HVMs? ciao Luca _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 12/16/06, Luca Corti <luca@leenoox.net> wrote:> [...] > What about the domU port? Is it useable? Have you tried it?I didn''t play with OpenBSD paravirtualized (BTW: it''s paravirtulized vs. hvm/hardware-supported virtualization, both are domUs) The NetBSD Port to paravirtualized Xen DomU seems tu run fine - O.K. I did only install it, and had no time to explore it much yet.> Is there any > noticeable performance diference between domUs and HVMs?There are quite some factors involved, and I think it cannot be said in general if hvm is faster than paravirtualized. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, 2006-12-16 at 18:23 +0100, Henning Sprang wrote:> I didn''t play with OpenBSD paravirtualized (BTW: it''s paravirtulized > vs. hvm/hardware-supported virtualization, both are domUs) > The NetBSD Port to paravirtualized Xen DomU seems tu run fine - O.K. I > did only install it, and had no time to explore it much yet.I''ve played with OpenBSD HVM a bit and I just managed to install and boot it correctly. Terminal emulation can be set to vt100 to obtain a barely useable terminal (enouhg to accomplish install). You can then enable serial console post install and access the vm via the xm command. The failure on hard disk configuration is solved by deleting and recreating label ''a'' in disklabel. Basic networking via the ne2k_pci device seems to be working. I''m going to do some more testing. Did you get this far? Do you know of any specific issue I can try to reproduce? ciao Luca _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 12/19/06, Luca Corti <luca@leenoox.net> wrote:> [...] > I''m going to do some more testing. Did you get this far? Do you know of > any specific issue I can try to reproduce?Sounds really good. If you are sying you get a running system that doesn''t immediately crash and seem to be halfway stable, your the farest one I heard of. I am not sure anymore. I think openbsd was the bsd with which I came most far, maybe even until finishing an install., but either it didn''t boot then, or randomly crashed immediately when booted. Maybe it also just randomly crashed already at install time, really not sure. It was all unreproducible and random. 3.0.4 is tagged release in mercurial, maybe it brings something new in this area. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Wed, 2006-12-20 at 16:28 +0100, Henning Sprang wrote:> Sounds really good. If you are sying you get a running system that > doesn''t immediately crash and seem to be halfway stable, your the > farest one I heard of.Well, I can''t see any particular problem. I''ve checked out 4.0-stable from CVS, I''ve rebuilt the kernel and I''m rebuilding the whole system from source right now. ciao Lcua _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 12/20/06, Luca Corti <luca@leenoox.net> wrote:> Well, I can''t see any particular problem. I''ve checked out 4.0-stable > from CVS, I''ve rebuilt the kernel and I''m rebuilding the whole system > from source right now. >Hmm, I just tried it, and didn''t come through the install, mostly because the screen output in the qemu sdl window wasn''t usable. I could see that there is an install session running, but the screen was mostly full of crap. The same as I wrote a long time ago when trying this the first time. Anything special you did to get it going? Did you use sdl or vnc for the gui? Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, 2006-12-23 at 01:10 +0100, Henning Sprang wrote:> Anything special you did to get it going? Did you use sdl or vnc for the gui?VNC, refer to my previous message for other needed tricks to get it working. ciao Luca _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Quoting Luca Corti <luca@leenoox.net>:> I''ve played with OpenBSD HVM a bit and I just managed to install and > boot it correctly. > > Terminal emulation can be set to vt100 to obtain a barely useable > terminal (enouhg to accomplish install). You can then enable serial > console post install and access the vm via the xm command. The failure > on hard disk configuration is solved by deleting and recreating label > ''a'' in disklabel. Basic networking via the ne2k_pci device seems to be > working. > > I''m going to do some more testing. Did you get this far? Do you know of > any specific issue I can try to reproduce? >Hi Luca, I got as far through the install process as setting up the NIC, at which point it seemed that no packets were being received by the OpenBSD DomU because it couldn''t get an IP address via DHCP. Did you set up a NIC in OpenBSD during the installation or afterward? Could you post your xen config file for the VM so that I can compare it to mine please? Also, could you tell us the hardware and the distribution that your Dom0 is running on? Thanks in advance, Steve. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Thu, 2006-12-28 at 18:44 +0000, lists@higgers.me.uk wrote:> Hi Luca,Hi Steve,> I got as far through the install process as setting up the NIC, at which point > it seemed that no packets were being received by the OpenBSD DomU because it > couldn''t get an IP address via DHCP. Did you set up a NIC in OpenBSD during > the installation or afterward?I think I installed from CD, but I did setup the NIC successfully during the installation process IIRC.> Could you post your xen config file for the VM so that I can compare it > to mine > please?Sure, just let me get back to the office and power on my test machine ;D I turned the beast off the last work day, and I''m off until January the 8th. I''ll post the configuration as soon as I get back to work. Anyway it is a quite plain HVM config. I specified hvmloader, 1 vcpu, no pae/apic/acpi, a disk image generated with dd as physical IDE disk ( I think I had problems with SCSI detection), for the NIC I used ioemu and specified ne2k_pci as NIC model (detected as ne3 in OpenBSD) as IIRC. I installed the i386 OpenBSD 4.0 port from CD (tried amd64 without success), checked out the full -stable source via CVS and rebuilt kernel/userspace. No particular issue encountered, apart from a strange detection problem with the NIC which at same point was recognized as re (4) instead of ne (4). But I think this was caused by me tampering with the configuration file of the HVM guest.> Also, could you tell us the hardware and the distribution that your > Dom0 is running on?Debian Etch 2.6.18 / Xen 3.0.3 on HP DL360 G5 ( Xeon Dual Core 2.0Ghz / 6GB RAM ). HTH, Luca _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 12/23/06, Luca Corti <luca@leenoox.net> wrote:> On Sat, 2006-12-23 at 01:10 +0100, Henning Sprang wrote: > > Anything special you did to get it going? Did you use sdl or vnc for the gui? > > VNC, refer to my previous message for other needed tricks to get it > working.I tried that, but when using SDL or VNC the screen is too unreadable to get an installation as I want it. When trying to install via serial console with nographic=1 I get no output anywhere. The usage of nographics and where I get my console than is not documented very well and I got no console output that way. Hening _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, 2006-12-31 at 00:13 +0100, Henning Sprang wrote:> I tried that, but when using SDL or VNC the screen is too unreadable > to get an installation as I want it. When trying to install via serial > console with nographic=1 I get no output anywhere.Well, don''t know what you exactely mean by ''too unreadable''. I managed to install by setting the terminal emulation to VT100 when asked.> The usage of nographics and where I get my console than is not > documented very well and I got no console output that way.I didn''t use that during the install. I just enabled the serialconsole on com0 at the end of the install and then used it to access the VM on boot with ''xm console''. As said I can''t post my configuration file right now, but will do as soon as I get back to the office. ciao Luca _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 12/31/06, Luca Corti <luca@leenoox.net> wrote:> On Sun, 2006-12-31 at 00:13 +0100, Henning Sprang wrote: > > I tried that, but when using SDL or VNC the screen is too unreadable > > to get an installation as I want it. When trying to install via serial > > console with nographic=1 I get no output anywhere. > > Well, don''t know what you exactely mean by ''too unreadable''.Not easy to explain. The text lines are completely scrambled. I can see questions about installation stuff at the last line at the bottom, but It''s hard to tell which text above belongs to this question. I attach a screenshot here that explains it much better. It might be possible to get a default install done done way by just hitting return again and again, and having a openbsd installation procedure running on real hardware next to you, so you know what you have to enter, but things like a custom configuration is not possible like this. It''s basically the same as I always had. With freebsd it''s even worse, and netbsd doesn''t even come that far, stopping somewhere in the middle of kernel boot messages, without an error.>I managed > to install by setting the terminal emulation to VT100 when asked.Here it doesn''t get any better when chosing vt100.> I didn''t use that during the install. I just enabled the serialconsole > on com0 at the end of the install and then used it to access the VM on > boot with ''xm console''. As said I can''t post my configuration file right > now, but will do as soon as I get back to the office.I think the only thing that might help would be getting the install cd giving me output on the serial console, but I didn''t get that done yet (if possible at all). Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sun, 2006-12-31 at 17:36 +0100, Henning Sprang wrote:> Here it doesn''t get any better when chosing vt100.I see, strange. When I use vt100 output in VNC is almost exactely what you get on a real KVM. Have not tried with {Net|Free}BSD though.> I think the only thing that might help would be getting the install cd > giving me output on the serial console, but I didn''t get that done yet > (if possible at all).Maybe you could try this http://www.weirdnet.nl/openbsd/serial/ and then try ''xm console''. Btw, when using xm console in the installed system I don''t need to set any particular emulation, output is correct, so this should solve it. HTH Luca _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users