hi, i''ve successfully compiled xen-unstable for a dedicated box, and am writing this from a harddrive based dom0. right now this is a single processor duron 700 wuth 768mb ram, and a 160gig ide drive. my intended use is a non-mission-critical production use, if the machine crashes and all data is lost, well so be it. i aim to run 5 xenolinux installations running a customized debian variant, each dedicated to different services. basically i''ve invited some friends to toy with their own virtual server and do whatever they want. i''ve just started setting up this testbed, and encountered some problems. i have found procedures to reproduce them, but i haven''t tried tracing them to the source level. hopefully you are able to reproduce them by my descriptions. one compiletime fix was neccessary on my machine/installation: in ide-cd.h: ''__u8 short'' -> ''__u8'' some of the problems i remember encountering: in dom0: creating a new domain, destroying it, and creating a new domain reboots my machine. same happens if dom1 is unable to boot, and the domains gets destroyed this way. the default .config works fine, but as soon as i enable CONFIG_EXPERIMENTAL and CONFIG_FS_DEVFS(sp?), dom0 isn''t able to boot anymore (immediate reboot). i''ll try examining this one in a ring 1 domain, as soon as i have my first virtual harddrive install boot. various things that work: booting dom0, network. starting dom1, same image (kernel loads, haven''t configured partitions yet) X in dom0 (nvidia geforce2 with nv driver) 3c59x nic driver xen_read_console things that don''t work: mouse (logitech ps/2 optical wheelmouse) neither in X nor gpm questions: how do i assign a partition as root partition to the new domain? i suspect vbds are what i want. are they documented anywhere? any discussions about a 2.6 port yet? are you aiming for inclusion in 2.7? i know that the multiboot approach is more flexible, but would it be possible to implement xen''s functionality into a linux kernel? could this possibly increase dom0*''s performance and range of available drivers? please write a short note if you''re working on fixing bugs i''ve mentioned, so i don''t waste my time debugging things you certainly know more about. also, thanks for xen! regards, paul ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> in ide-cd.h: > ''__u8 short'' -> ''__u8''I''ll take a look and check in a fix.> some of the problems i remember encountering: > in dom0: creating a new domain, destroying it, and creating a new domain > reboots my machine. same happens if dom1 is unable to boot, and the > domains gets destroyed this way.Rather worrying. I''m pretty sure this hasn''t been happening for me (at least until quite recently). I''ll give it a go myself and see what happens --- if I can''t reproduce it then I''ll need to know more about your setup (eg. kernel configurations and command lines). Also what''s the most recent Changeset in your build tree (bk sccslog).> things that don''t work: > mouse (logitech ps/2 optical wheelmouse) neither in X nor gpmI''ve definitely had one of those mice working when plugged into the PS/2 port (*not* the USB port!).> questions: > how do i assign a partition as root partition to the new domain? > i suspect vbds are what i want. are they documented anywhere?See some recent threads on xen-devel. I''ve just checked in some fixes to vbd support to teh xeno-unstable.bk repository.> any discussions about a 2.6 port yet? > are you aiming for inclusion in 2.7?I''ll look at 2.6 when it''s more stable. I think that''s a few months away at least. Inclusion in a later Linux development cycle would be great if we build up a good-sized user community; we''ll have to see how it goes.> please write a short note if you''re working on fixing bugs i''ve > mentioned, so i don''t waste my time debugging things you certainly know > more about.No, these bugs are all news to me :-( :-( -- Keir ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> > some of the problems i remember encountering: > in dom0: creating a new domain, destroying it, and creating a new domain > reboots my machine. same happens if dom1 is unable to boot, and the > domains gets destroyed this way.This isn''t good. I haven''t seen Xen crash due to another domain failing in a very long time. It''s possible that this bug has been introduced recently -- I''ll try and reproduce.> the default .config works fine, but as soon as i enable > CONFIG_EXPERIMENTAL and CONFIG_FS_DEVFS(sp?), dom0 isn''t able to boot > anymore (immediate reboot). i''ll try examining this one in a ring 1 domain, > as soon as i have my first virtual harddrive install boot.Odd. I''ve never used devfs, but I''d have thought it would have worked. Its configuration will probably need teaching about virtual block devices.> things that don''t work: > mouse (logitech ps/2 optical wheelmouse) neither in X nor gpmPS2 mice seem to work for us. Can you say a bit more about the setup.> questions: > how do i assign a partition as root partition to the new domain? > i suspect vbds are what i want. are they documented anywhere?You can either give the new domain a real, physical partition as its root, or give it a virtual disk. If the former, you''ll need to grant the domain access e.g. to give domain 1 r/w access to /dev/hda4 : xenctl physical grant -phda4 -w -n1 You''ll need to set "root=/dev/hda4" on the command line for the new domain. Alternatively, create and populate a virtual disk, and then use ''xenctl vbd create'' to attach it to another domain. [see the other thread on xen-devel for more info]> any discussions about a 2.6 port yet? are you aiming for > inclusion in 2.7?We''ll probably do a 2.6 port once its stable. Inclusion it 2.7 would be great, but we''ll need to demonstrate a vibrant user community. That''s where you come in ;-)> i know that the multiboot approach is more flexible, but would it be > possible to implement xen''s functionality into a linux kernel? could > this possibly increase dom0*''s performance and range of available > drivers?Trying to implement Xen within Linux is actually likely to slow things down. In the long term, we see Xen''s future more as a ''next generation BIOS''. We want to create a standard OS-independent environment for running device drivers in a protected ring-1 environment. In the shorter term, we may add support to allow drivers for ''low performance'' devices like USB, PCMCIA etc to run in domain0, and be virtualized via domain0. This should give us the same hardware support as Linux, until we convince the world that Xen should be shipped on every machine ;-) Cheers, Ian ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> in dom0: creating a new domain, destroying it, and creating a new domain > reboots my machine. same happens if dom1 is unable to boot, and the > domains gets destroyed this way.This is now fixed in the xeno-unstable.bk repository. A stupid bug :-)> the default .config works fine, but as soon as i enable > CONFIG_EXPERIMENTAL and CONFIG_FS_DEVFS(sp?), dom0 isn''t able to boot > anymore (immediate reboot). i''ll try examining this one in a ring 1 domain, > as soon as i have my first virtual harddrive install boot.It would be useful to get some more information about this. I don''t know much about devfs (I''ve always been happer without it) -- quite possibly there''s some bit of required functionality which our virtual device drivers in xenolinux don''t provide.> things that don''t work: > mouse (logitech ps/2 optical wheelmouse) neither in X nor gpm...and I''m very interested to find out more about this problem. It really ought to work. Cheers, Keir ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel