From berrange at redhat.com Fri Dec 1 12:08:54 2006 From: berrange at redhat.com (Daniel P. Berrange) Date: Fri, 1 Dec 2006 12:08:54 +0000 Subject: [Fedora-xen] What's the Pre-requisites for virt-manager In-Reply-To: <456D4845.7050207@sun.com> References: <20061106044542.GA28547@redhat.com> <456434FB.6050005@sun.com> <20061122121852.GE13945@redhat.com> <45658BF0.60505@sun.com> <20061123145152.GA30705@redhat.com> <45665E5D.3050405@sun.com> <20061124040514.GB1197@redhat.com> <4566E568.40609@sun.com> <20061124154010.GA29762@redhat.com> <456D4845.7050207@sun.com> Message-ID: <20061201120854.GA9108@redhat.com> On Wed, Nov 29, 2006 at 04:43:49PM +0800, Henry Zhang wrote: > Dan, > >Yes, it should be pretty straightforward for you to remove the DBus bits > >completely - just remove the src/virtManager/remote.py file, and any > >referneces > >to DBus in srv/virt-manager.py.in > > > I checked the codes in create.py, seems if we delete DBus/HAL, we will > can't list cdrom volumes when user > selects "New Virtual Machine...". I think it's a big issue if not > support CD install for guest Domain, Ahh yes, sorry I completely forgot that we use DBus to talk to HAL to get a list of CDROM devices available on the host system. This allows you to easy install an HVM fullyvirt guest using media inserted into you host, rather than forcing you to copy the media into an ISO file first. > And seems there is an applet named gnome-nv-applet, but I didn't find > any infor from our virt-manager website, > should we list it in this webpage? and seems this applet is also using > DBus to access virt-manager, so if I delete > DBus/HAL, seems this applet can't work eigher. The applet used to use DBus, but now uses command line args to launch virt-manager. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From felix.schwarz at web.de Fri Dec 1 19:01:37 2006 From: felix.schwarz at web.de (Felix Schwarz) Date: Fri, 01 Dec 2006 20:01:37 +0100 Subject: [Fedora-xen] virt-manager (with dbus) hangs Message-ID: <45707C11.9060203@web.de> Hi, I'm running Xen on a Fedora Core 6 x86_64 machine (AMD X2). After installing the latest updates today, virt-manager does not start anymore when run as root. Xen still works, I can start/stop guests with the xm command. example: [root at ws2 fs]# virt-manager ... hang However, if I start it like this, everything works: [root at ws2 fs]# virt-manager --no-dbus I don't have clue where to look for the error. Are there any diagnostic tools for dbus? fs From berrange at redhat.com Fri Dec 1 20:57:56 2006 From: berrange at redhat.com (Daniel P. Berrange) Date: Fri, 1 Dec 2006 20:57:56 +0000 Subject: [Fedora-xen] virt-manager (with dbus) hangs In-Reply-To: <45707C11.9060203@web.de> References: <45707C11.9060203@web.de> Message-ID: <20061201205756.GA16457@redhat.com> On Fri, Dec 01, 2006 at 08:01:37PM +0100, Felix Schwarz wrote: > Hi, > > I'm running Xen on a Fedora Core 6 x86_64 machine (AMD X2). After > installing the latest updates today, virt-manager does not start anymore > when run as root. Xen still works, I can start/stop guests with the xm > command. > > example: > [root at ws2 fs]# virt-manager > ... hang > > However, if I start it like this, everything works: > [root at ws2 fs]# virt-manager --no-dbus > > I don't have clue where to look for the error. Are there any diagnostic > tools for dbus? Hmm, that's odd - there was a DBus update pushed to Fedora this morning which could what what's tripping things up. I'll see if I can reproduce it Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From felix.schwarz at web.de Fri Dec 1 21:05:46 2006 From: felix.schwarz at web.de (Felix Schwarz) Date: Fri, 01 Dec 2006 22:05:46 +0100 Subject: [Fedora-xen] Re: virt-manager (with dbus) hangs In-Reply-To: References: Message-ID: <4570992A.40602@web.de> Lin Lancaster schrieb: > Check some of the earlier posts. There is a problem with the /etc/hosts > file not having the definition of the machine name for 127.0.0.1 > stopping the virt-manager from opening after installing the updates. Do you mean the thread with the subject "error when trying to connect with virt-manager"? The solution seems to be the same as in https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=216975. Unfortunately, this does not resolve my issues. [root at ws2 fs]# cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. ::1 ws2.schwarz.lokal localhost localhost.localdomain 127.0.0.1 ws2.schwarz.lokal localhost localhost.localdomain I suspect, it has something to do with GCONF/D-Bus: [root at ws2 fs]# virt-manager & [1] 14202 [root at ws2 fs]# ps u USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND (..) root 13675 0.0 0.0 65264 1612 pts/5 S 21:32 0:00 bash root 14202 19.0 0.6 316252 22648 pts/5 S 22:02 0:00 python /usr/share/virt-manager/virt-manager.py root 14204 10.5 0.1 87936 4972 pts/5 S 22:02 0:00 /usr/libexec/gconfd-2 8 root 14205 0.0 0.0 64684 952 pts/5 R+ 22:02 0:00 ps u [root at ws2 fs]# So gconf is started but after that, it waits for something. Can the D-bus be blocked by some faulty application? fs From berrange at redhat.com Fri Dec 1 21:18:26 2006 From: berrange at redhat.com (Daniel P. Berrange) Date: Fri, 1 Dec 2006 21:18:26 +0000 Subject: [Fedora-xen] Re: virt-manager (with dbus) hangs In-Reply-To: <4570992A.40602@web.de> References: <4570992A.40602@web.de> Message-ID: <20061201211826.GA21714@redhat.com> On Fri, Dec 01, 2006 at 10:05:46PM +0100, Felix Schwarz wrote: > Lin Lancaster schrieb: > >Check some of the earlier posts. There is a problem with the /etc/hosts > >file not having the definition of the machine name for 127.0.0.1 > >stopping the virt-manager from opening after installing the updates. > > Do you mean the thread with the subject "error when trying to connect with > virt-manager"? > The solution seems to be the same as in > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=216975. I will be pushing an update to fix this bug very shortly. I discovered the flaw in some code which did hostname lookups without dealing with possible errors which can be thrown. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From info at vsic.net Fri Dec 1 22:33:04 2006 From: info at vsic.net (Frank Morane) Date: Fri, 01 Dec 2006 16:33:04 -0600 Subject: [Fedora-xen] Cannot load domU Message-ID: <4570ADA0.404@vsic.net> Hi All, Has anyone succesfully been able to run a CentOS 4.4 (or 4.3) in FC6 ? It runs fine in old FC5 (July 2006) but I cannot somehow get it to access the root file system, see the details: [root at louisxi xen]# xm create -c spooner Using config file "spooner". Started domain spooner Linux version 2.6.18-1.2849.fc6xen (brewbuilder at hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Fri Nov 10 13:56:52 EST 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000010200000 (usable) 0MB HIGHMEM available. 258MB LOWMEM available. Using x86 segment limits to approximate NX protection ACPI in unprivileged domain disabled Built 1 zonelists. Total pages: 66048 Kernel command line: root=/dev/sda1 ro Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 CPU 0 irqstacks, hard=c078a000 soft=c076a000 PID hash table entries: 2048 (order: 11, 8192 bytes) Xen reported: 1799.794 MHz processor. Console: colour dummy device 80x25 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Software IO TLB disabled vmalloc area: d1000000-f4ffe000, maxmem 2d7fe000 Memory: 243456k/264192k available (2098k kernel code, 12248k reserved, 838k data, 180k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 4504.56 BogoMIPS (lpj=9009138) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 512 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed Brought up 1 CPUs checking if image is initramfs... it is Freeing initrd memory: 4751k freed Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: setting up Xen PCI frontend stub ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xen_mem: Initialising balloon driver. usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: System does not support PCI PCI: System does not support PCI NetLabel: Initializing NetLabel: domain hash size = 128 NetLabel: protocols = UNLABELED CIPSOv4 NetLabel: unlabeled traffic allowed by default NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 6, 327680 bytes) TCP bind hash table entries: 8192 (order: 5, 163840 bytes) TCP: Hash tables configured (established 16384 bind 8192) TCP reno registered IA-32 Microcode Update Driver: v1.14-xen audit: initializing netlink socket (disabled) audit(1165011880.065:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key CA06D81CB13FD94 - User ID: Red Hat, Inc. (Kernel Module GPG key) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 rtc: IRQ 8 is not free. Non-volatile memory driver v1.2 Linux agpgart interface v0.101 (c) Dave Jones RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize Xen virtual console successfully installed as xvc0 Linux version 2.6.18-1.2849.fc6xen (brewbuilder at hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Fri Nov 10 13:56:52 EST 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000010200000 (usable) 0MB HIGHMEM available. 258MB LOWMEM available. Using x86 segment limits to approximate NX protection ACPI in unprivileged domain disabled Built 1 zonelists. Total pages: 66048 Kernel command line: root=/dev/sda1 ro Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 CPU 0 irqstacks, hard=c078a000 soft=c076a000 PID hash table entries: 2048 (order: 11, 8192 bytes) Xen reported: 1799.794 MHz processor. Console: colour dummy device 80x25 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Software IO TLB disabled vmalloc area: d1000000-f4ffe000, maxmem 2d7fe000 Memory: 243456k/264192k available (2098k kernel code, 12248k reserved, 838k data, 180k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 4504.56 BogoMIPS (lpj=9009138) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 512 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed Brought up 1 CPUs checking if image is initramfs... it is Freeing initrd memory: 4751k freed Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: setting up Xen PCI frontend stub ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xen_mem: Initialising balloon driver. usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: System does not support PCI PCI: System does not support PCI NetLabel: Initializing NetLabel: domain hash size = 128 NetLabel: protocols = UNLABELED CIPSOv4 NetLabel: unlabeled traffic allowed by default NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 6, 327680 bytes) TCP bind hash table entries: 8192 (order: 5, 163840 bytes) TCP: Hash tables configured (established 16384 bind 8192) TCP reno registered IA-32 Microcode Update Driver: v1.14-xen audit: initializing netlink socket (disabled) audit(1165011880.065:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key CA06D81CB13FD94 - User ID: Red Hat, Inc. (Kernel Module GPG key) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 rtc: IRQ 8 is not free. Non-volatile memory driver v1.2 Linux agpgart interface v0.101 (c) Dave Jones RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize Xen virtual console successfully installed as xvc0 Event-channel device installed. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx ide-floppy driver 0.99.newide usbcore: registered new driver libusual usbcore: registered new driver hiddev usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. mice: PS/2 mouse device common for all mice md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 TCP bic registered Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode XENBUS: Device with no driver: device/vbd/2049 XENBUS: Device with no driver: device/vbd/2052 XENBUS: Device with no driver: device/vbd/2050 XENBUS: Device with no driver: device/vbd/2051 XENBUS: Device with no driver: device/vif/0 Freeing unused kernel memory: 180k freed Write protecting the kernel read-only data: 357k Red Hat nash version 5.1.19 starting Mounting proc filesystem Mounting sysfs filesystem Creating /dev Creating initial device nodes Setting up hotplug. Creating block device nodes. Loading uhci-hcd.ko module USB Universal Host Controller Interface driver v3.0 Loading ohci-hcd.ko module Loading ehci-hcd.ko module Loading jbd.ko module Loading ext3.ko module Loading dm-mod.ko module device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel at redhat.com Loading dm-mirror.ko module Loading dm-zero.ko module Loading dm-snapshot.ko module Making device-mapper control node Scanning logical volumes Reading all physical volumes. This may take a while... No volume groups found Activating logical volumes I have a feeling that it cannot somehow read the root filesystem but what can I do to achiven that? If I have to re create an initrd, can you please provide the steps ? Thank you for your advise. -- Frank Morane (Free Thinker) From Rob at REMCC.org Fri Dec 1 22:19:14 2006 From: Rob at REMCC.org (Robert Thiem) Date: Sat, 2 Dec 2006 08:19:14 +1000 (EST) Subject: [Fedora-xen] Mouse out of sync on guest machines In-Reply-To: <20061201170008.E8F817394D@hormel.redhat.com> References: <20061201170008.E8F817394D@hormel.redhat.com> Message-ID: <37714.192.168.1.13.1165011554.squirrel@beatrix> > 1. Mouse out of sync on guest machines (Filipe Miranda) > Anyway, everything worked just fine, but I noticed the the my mouse > pointer > is totally out of sync in either text mode or graphic mode. > Is anyone having the same issue? Or is it a bug? or a misconfiguration? I was pretty traumatised by this when I first ran the FC6 guest install. It works like this: - X drivers on the guest are expecting regular mouse movement signals (eg "The mouse is moving left, fast") - VNC provides absolute mouse coordinates (X,Y) - XenFB tries to translate the two, but can't sync the pointers well because it gets no signals back from the guest about the absolute position and pointer accelleration. After installation the mouse pointers can be aligned pretty well by setting the mouse accelleration on the guest so that they move at the same rate. You then need to chase the pointer into a corner to align them. This way the guest accelleration matches the arbitrary value XenFB is using. During installation I've found it's best to turn the mouse accelleration right down on the *host*. I found that this would let me move the *host* mouse pointer to the middle of the VNC window to give me fairly free movement on the guest pointer. Unfortunately this is going to persist until some method is put in so that either the guest X server can accept absolute coordinates (a virtual absolute position pointer device it understands) or there's some for the host to find out where the guest pointer is. I believe that work is being done on this now, but we'll have to be patient with it. SDL probably has the same issue, but I think it can "grab" (hold) the mouse pointer so that it doesn't run out of the window in the same way it does with VNC. It does this with fully virtualised machines from what I've seen. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=201220 Robert From davidsen at tmr.com Fri Dec 1 22:36:15 2006 From: davidsen at tmr.com (Bill Davidsen) Date: Fri, 01 Dec 2006 17:36:15 -0500 Subject: [Fedora-xen] What should the context of /var/lib/xen/images be? Message-ID: <4570AE5F.1030601@tmr.com> I'm trying to use hvm and having issues... I'm checking permissions now. What is the proper context (ls -Z) for the /var/lib/xen/images directory? On my last install I put it on another partition, in hopes of trying images I create with i386 on the x86_64 environment later. But the directory is just a plain directory, I suspect the context was set on the directory in the root filesystem before I did the mount. That system is shut down now as my test room is on a small UPS and we are having a thunderstorm. And should it matter if the files in the directory are of the proper type? -- Bill Davidsen Obscure bug of 2004: BASH BUFFER OVERFLOW - if bash is being run by a normal user and is setuid root, with the "vi" line edit mode selected, and the character set is "big5," an off-by-one errors occurs during wildcard (glob) expansion. From ed.jimison at intel.com Fri Dec 1 23:08:20 2006 From: ed.jimison at intel.com (Jimison, Ed) Date: Fri, 1 Dec 2006 15:08:20 -0800 Subject: [Fedora-xen] W2K CD installation error on guest Message-ID: <395DB1DBC1F0E4499EA739E0919759D3CFDD90@fmsmsx412.amr.corp.intel.com> I've been trying to install W2K on Fedora Core 6. I found a previous post that recommended using "Standard PC" and this helped me get past the original problem with a hung black screen. The next problem I'm running into is that once the Windows installer boots and begins the "Installing Windows" step, I immediately get this error window: Setup was unable to access files need to continue. This could be caused by an error on the CD Media or the CD is no longer present in the drive. Any advice? Thanks, Ed Jimison -------------- next part -------------- An HTML attachment was scrubbed... URL: From Hua.Zhang at Sun.COM Sat Dec 2 07:48:46 2006 From: Hua.Zhang at Sun.COM (Henry Zhang) Date: Sat, 02 Dec 2006 15:48:46 +0800 Subject: [Fedora-xen] What's the Pre-requisites for virt-manager In-Reply-To: <20061201120854.GA9108@redhat.com> References: <20061106044542.GA28547@redhat.com> <456434FB.6050005@sun.com> <20061122121852.GE13945@redhat.com> <45658BF0.60505@sun.com> <20061123145152.GA30705@redhat.com> <45665E5D.3050405@sun.com> <20061124040514.GB1197@redhat.com> <4566E568.40609@sun.com> <20061124154010.GA29762@redhat.com> <456D4845.7050207@sun.com> <20061201120854.GA9108@redhat.com> Message-ID: <45712FDE.60500@sun.com> Hi Dan, Daniel P. Berrange ??: > On Wed, Nov 29, 2006 at 04:43:49PM +0800, Henry Zhang wrote: > >> Dan, >> >>> Yes, it should be pretty straightforward for you to remove the DBus bits >>> completely - just remove the src/virtManager/remote.py file, and any >>> referneces >>> to DBus in srv/virt-manager.py.in >>> >>> >> I checked the codes in create.py, seems if we delete DBus/HAL, we will >> can't list cdrom volumes when user >> selects "New Virtual Machine...". I think it's a big issue if not >> support CD install for guest Domain, >> > > Ahh yes, sorry I completely forgot that we use DBus to talk to HAL to > get a list of CDROM devices available on the host system. This allows > you to easy install an HVM fullyvirt guest using media inserted into > you host, rather than forcing you to copy the media into an ISO file > first. > Yes, I think CD install is really very important feature, so do you have plan to add some codes, so that virt-manager can work correctly for getting CDROM devices when without DBUS/HAL? > >> And seems there is an applet named gnome-nv-applet, but I didn't find >> any infor from our virt-manager website, >> should we list it in this webpage? and seems this applet is also using >> DBus to access virt-manager, so if I delete >> DBus/HAL, seems this applet can't work eigher. >> > > The applet used to use DBus, but now uses command line args to launch > virt-manager. > > Regards, > Dan. > From ninyissac at gmail.com Sat Dec 2 10:22:29 2006 From: ninyissac at gmail.com (ninny issac) Date: Sat, 2 Dec 2006 15:52:29 +0530 Subject: [Fedora-xen] FC3 in FC6-Xen Message-ID: Hi All, I have a Xen-3 running on FedoraCore 6. Also i had installed FC6 as guest OS using virt-install. Could you please help me in installing FedoraCore3 as the guest OS. -- thanks niny... -------------- next part -------------- An HTML attachment was scrubbed... URL: From acathrow at redhat.com Sat Dec 2 14:05:18 2006 From: acathrow at redhat.com (Andrew Cathrow) Date: Sat, 02 Dec 2006 09:05:18 -0500 Subject: [Fedora-xen] W2K CD installation error on guest In-Reply-To: <395DB1DBC1F0E4499EA739E0919759D3CFDD90@fmsmsx412.amr.corp.intel.com> References: <395DB1DBC1F0E4499EA739E0919759D3CFDD90@fmsmsx412.amr.corp.intel.com> Message-ID: <1165068318.9653.3.camel@aic-laptop-5.cathrow.org> Check the virtual machine settings and see if the CD is still configured. For example if you're w2k iso is in /opt/disks then make sure you have something like the following disk = [ 'file:/ .. your harddisk image ....', 'file:/opt/disks/w2k.iso,hdc:cdrom,r', ] On Fri, 2006-12-01 at 15:08 -0800, Jimison, Ed wrote: > I?ve been trying to install W2K on Fedora Core 6. I found a previous > post that recommended using ?Standard PC? and this helped me get past > the original problem with a hung black screen. The next problem I?m > running into is that once the Windows installer boots and begins the > ?Installing Windows? step, I immediately get this error window: > > > > Setup was unable to access files need to continue. This could be > caused by an error on the CD Media or the CD is no longer present in > the drive. > > > > Any advice? > > Thanks, > > Ed Jimison > > > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From berrange at redhat.com Sat Dec 2 15:36:42 2006 From: berrange at redhat.com (Daniel P. Berrange) Date: Sat, 2 Dec 2006 15:36:42 +0000 Subject: [Fedora-xen] What's the Pre-requisites for virt-manager In-Reply-To: <45712FDE.60500@sun.com> References: <20061122121852.GE13945@redhat.com> <45658BF0.60505@sun.com> <20061123145152.GA30705@redhat.com> <45665E5D.3050405@sun.com> <20061124040514.GB1197@redhat.com> <4566E568.40609@sun.com> <20061124154010.GA29762@redhat.com> <456D4845.7050207@sun.com> <20061201120854.GA9108@redhat.com> <45712FDE.60500@sun.com> Message-ID: <20061202153642.GA5231@redhat.com> On Sat, Dec 02, 2006 at 03:48:46PM +0800, Henry Zhang wrote: > Hi Dan, > > Daniel P. Berrange ??????: > >On Wed, Nov 29, 2006 at 04:43:49PM +0800, Henry Zhang wrote: > > > >>Dan, > >> > >>>Yes, it should be pretty straightforward for you to remove the DBus bits > >>>completely - just remove the src/virtManager/remote.py file, and any > >>>referneces > >>>to DBus in srv/virt-manager.py.in > >>> > >>> > >>I checked the codes in create.py, seems if we delete DBus/HAL, we will > >>can't list cdrom volumes when user > >>selects "New Virtual Machine...". I think it's a big issue if not > >>support CD install for guest Domain, > >> > > > >Ahh yes, sorry I completely forgot that we use DBus to talk to HAL to > >get a list of CDROM devices available on the host system. This allows > >you to easy install an HVM fullyvirt guest using media inserted into > >you host, rather than forcing you to copy the media into an ISO file > >first. > > > Yes, I think CD install is really very important feature, so do you have > plan to add some codes, > so that virt-manager can work correctly for getting CDROM devices when > without DBUS/HAL? No, if anything I think we'll increase the use of DBus. It is really now a core part of the open source desktop API set, being used by both GNOME and KDE alike, and for core system services like HAL, Bluetooth, etc. Rgards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From felix.schwarz at web.de Sat Dec 2 15:57:51 2006 From: felix.schwarz at web.de (Felix Schwarz) Date: Sat, 02 Dec 2006 16:57:51 +0100 Subject: [Fedora-xen] Re: virt-manager (with dbus) hangs In-Reply-To: <20061201211826.GA21714@redhat.com> References: <4570992A.40602@web.de> <20061201211826.GA21714@redhat.com> Message-ID: <4571A27F.9060301@web.de> Daniel P. Berrange schrieb: > I will be pushing an update to fix this bug very shortly. I discovered > the flaw in some code which did hostname lookups without dealing with > possible errors which can be thrown. My problems still exist with dbus 1.0.1-2.fc6. However, I hope it is solved by https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=216674. fs From lee.hornby at btinternet.com Sat Dec 2 16:37:05 2006 From: lee.hornby at btinternet.com (Lee Hornby) Date: Sat, 02 Dec 2006 16:37:05 +0000 Subject: [Fedora-xen] Suse10.1 under FC6 Message-ID: <1165077425.23364.15.camel@new-host.home> Hello Has anybody managed to get suse10.1 to run as an pae FC6 guest. Any pointers/help greatly appreciated. I get the following after xm create Using config file "suse-install". Error: (22, 'Invalid argument') Config in question ramdisk = "/root/xenprep/suse/usr/sbin/suse-xen-ramdisk" kernel = "/root/xenprep/suse/boot/vmlinuz-2.6.16.21-0.25-xen" name = "ramdisk" memory= 512 XM log [2006-12-02 16:32:56 xend.XendDomainInfo 2947] DEBUG (XendDomainInfo:1253) XendDomainInfo.construct: None [2006-12-02 16:32:56 xend.XendDomainInfo 2947] DEBUG (XendDomainInfo:1285) XendDomainInfo.initDomain: 40 1.0 [2006-12-02 16:32:56 xend 2947] INFO (image:214) configuring linux guest [2006-12-02 16:32:56 xend 2947] DEBUG (balloon:127) Balloon: 1048960 KiB free; need 524288; done. [2006-12-02 16:32:56 xend 2947] INFO (image:138) buildDomain os=linux dom=40 vcpus=1 [2006-12-02 16:32:56 xend 2947] DEBUG (image:193) dom = 40 [2006-12-02 16:32:56 xend 2947] DEBUG (image:194) image = /root/xenprep/suse/boot/vmlinuz-2.6.16.21-0.25-xen [2006-12-02 16:32:56 xend 2947] DEBUG (image:195) store_evtchn = 1 [2006-12-02 16:32:56 xend 2947] DEBUG (image:196) console_evtchn = 2 [2006-12-02 16:32:56 xend 2947] DEBUG (image:197) cmdline = root=/dev/ram0 [2006-12-02 16:32:56 xend 2947] DEBUG (image:198) ramdisk = /root/xenprep/suse/usr/sbin/suse-xen-ramdisk [2006-12-02 16:32:56 xend 2947] DEBUG (image:199) vcpus = 1 [2006-12-02 16:32:56 xend 2947] DEBUG (image:200) features = [2006-12-02 16:32:56 xend.XendDomainInfo 2947] ERROR (XendDomainInfo:202) Domain construction failed Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 195, in create vm.initDomain() File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1363, in initDomain raise VmError(str(exn)) VmError: (22, \047Invalid argument\047) [2006-12-02 16:32:56 xend.XendDomainInfo 2947] DEBUG (XendDomainInfo:1449) XendDomainInfo.destroy: domid=40 [2006-12-02 16:32:56 xend.XendDomainInfo 2947] DEBUG (XendDomainInfo:1457) XendDomainInfo.destroyDomain(40) Regards Lee From berrange at redhat.com Sat Dec 2 19:12:16 2006 From: berrange at redhat.com (Daniel P. Berrange) Date: Sat, 2 Dec 2006 19:12:16 +0000 Subject: [Fedora-xen] Suse10.1 under FC6 In-Reply-To: <1165077425.23364.15.camel@new-host.home> References: <1165077425.23364.15.camel@new-host.home> Message-ID: <20061202191215.GA13709@redhat.com> On Sat, Dec 02, 2006 at 04:37:05PM +0000, Lee Hornby wrote: > Hello > > Has anybody managed to get suse10.1 to run as an pae FC6 guest. > > Any pointers/help greatly appreciated. > > I get the following after xm create > > Using config file "suse-install". > Error: (22, 'Invalid argument') Are you sure you got the PAE version of the SUSE Xen kernel ? The 'Invalid Argument' error message usually means you either have the non-PAE version, or the wrong architecture (eg x86_64 on i686). Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From acathrow at redhat.com Sat Dec 2 21:36:11 2006 From: acathrow at redhat.com (Andrew Cathrow) Date: Sat, 02 Dec 2006 16:36:11 -0500 Subject: [Fedora-xen] Suse10.1 under FC6 In-Reply-To: <1165077425.23364.15.camel@new-host.home> References: <1165077425.23364.15.camel@new-host.home> Message-ID: <1165095372.5486.3.camel@amd.cathrow.org> I've not got openSUSE installed - but I downloaded the kernel-xen and kernel-xenpae RPM's to check the file names. What I saw was that the pae kernels were in the kernel-xenpae rpm and had a pae suffix. vmlinuz-2.6.16.13-4-xenpae The invalid argument error (helpful eh?) typically means pae /non-pae mismatch. Aic On Sat, 2006-12-02 at 16:37 +0000, Lee Hornby wrote: > Hello > > Has anybody managed to get suse10.1 to run as an pae FC6 guest. > > Any pointers/help greatly appreciated. > > I get the following after xm create > > Using config file "suse-install". > Error: (22, 'Invalid argument') > > Config in question > > ramdisk = "/root/xenprep/suse/usr/sbin/suse-xen-ramdisk" > kernel = "/root/xenprep/suse/boot/vmlinuz-2.6.16.21-0.25-xen" > name = "ramdisk" > memory= 512 > > > XM log > > [2006-12-02 16:32:56 xend.XendDomainInfo 2947] DEBUG > (XendDomainInfo:1253) XendDomainInfo.construct: None > [2006-12-02 16:32:56 xend.XendDomainInfo 2947] DEBUG > (XendDomainInfo:1285) XendDomainInfo.initDomain: 40 1.0 > [2006-12-02 16:32:56 xend 2947] INFO (image:214) configuring linux guest > [2006-12-02 16:32:56 xend 2947] DEBUG (balloon:127) Balloon: 1048960 KiB > free; need 524288; done. > [2006-12-02 16:32:56 xend 2947] INFO (image:138) buildDomain os=linux > dom=40 vcpus=1 > [2006-12-02 16:32:56 xend 2947] DEBUG (image:193) dom = 40 > [2006-12-02 16:32:56 xend 2947] DEBUG (image:194) image > = /root/xenprep/suse/boot/vmlinuz-2.6.16.21-0.25-xen > [2006-12-02 16:32:56 xend 2947] DEBUG (image:195) store_evtchn = 1 > [2006-12-02 16:32:56 xend 2947] DEBUG (image:196) console_evtchn = 2 > [2006-12-02 16:32:56 xend 2947] DEBUG (image:197) cmdline = > root=/dev/ram0 > [2006-12-02 16:32:56 xend 2947] DEBUG (image:198) ramdisk > = /root/xenprep/suse/usr/sbin/suse-xen-ramdisk > [2006-12-02 16:32:56 xend 2947] DEBUG (image:199) vcpus = 1 > [2006-12-02 16:32:56 xend 2947] DEBUG (image:200) features = > [2006-12-02 16:32:56 xend.XendDomainInfo 2947] ERROR > (XendDomainInfo:202) Domain construction failed > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 195, in create > vm.initDomain() > File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py", > line 1363, in initDomain > raise VmError(str(exn)) > VmError: (22, \047Invalid argument\047) > [2006-12-02 16:32:56 xend.XendDomainInfo 2947] DEBUG > (XendDomainInfo:1449) XendDomainInfo.destroy: domid=40 > [2006-12-02 16:32:56 xend.XendDomainInfo 2947] DEBUG > (XendDomainInfo:1457) XendDomainInfo.destroyDomain(40) > > > Regards > Lee > > > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at xelerance.com Sat Dec 2 22:29:57 2006 From: paul at xelerance.com (Paul Wouters) Date: Sat, 2 Dec 2006 23:29:57 +0100 (CET) Subject: [Fedora-xen] Suse10.1 under FC6 In-Reply-To: <1165095372.5486.3.camel@amd.cathrow.org> References: <1165077425.23364.15.camel@new-host.home> <1165095372.5486.3.camel@amd.cathrow.org> Message-ID: On Sat, 2 Dec 2006, Andrew Cathrow wrote: > I've not got openSUSE installed - but I downloaded the kernel-xen and > kernel-xenpae RPM's to check the file names. > What I saw was that the pae kernels were in the kernel-xenpae rpm and > had a pae suffix. > > vmlinuz-2.6.16.13-4-xenpae > > The invalid argument error (helpful eh?) typically means pae /non-pae > mismatch. Perhaps it is an ABI change? Eg xen 3.0.3 vs 3.0.2? Can't you boot the redhat xen kernel on the suse OS. There can't be much serious differences. The only catch here is that you will need to hack the redhat initrd image if you install it on the dom0, or grab an initrd from a guest installed redhat machine. Paul From acathrow at redhat.com Sat Dec 2 22:46:10 2006 From: acathrow at redhat.com (Andrew Cathrow) Date: Sat, 02 Dec 2006 17:46:10 -0500 Subject: [Fedora-xen] Suse10.1 under FC6 In-Reply-To: References: <1165077425.23364.15.camel@new-host.home> <1165095372.5486.3.camel@amd.cathrow.org> Message-ID: <1165099570.6811.2.camel@amd.cathrow.org> If we're talking about a para-virtualised machine rather than hardware virtualisation then you have to watch out for PAE and also 32/64 bit. The FC6 xen kernel is PAE, which means that the guest kernel must also be pae, you can't mix them. You'd see the same thing if you tried to run the FC5 domU kernel on FC6 Also you can't run a 64bit kernel on a 32bit host. Given the file names I saw I'd suspect that the issue is that you've picked SUSE's non-pae kernel. Aic On Sat, 2006-12-02 at 23:29 +0100, Paul Wouters wrote: > On Sat, 2 Dec 2006, Andrew Cathrow wrote: > > > I've not got openSUSE installed - but I downloaded the kernel-xen and > > kernel-xenpae RPM's to check the file names. > > What I saw was that the pae kernels were in the kernel-xenpae rpm and > > had a pae suffix. > > > > vmlinuz-2.6.16.13-4-xenpae > > > > The invalid argument error (helpful eh?) typically means pae /non-pae > > mismatch. > > Perhaps it is an ABI change? Eg xen 3.0.3 vs 3.0.2? > > Can't you boot the redhat xen kernel on the suse OS. There can't be much > serious differences. The only catch here is that you will need to hack > the redhat initrd image if you install it on the dom0, or grab an initrd > from a guest installed redhat machine. > > Paul -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidsen at tmr.com Sat Dec 2 23:32:06 2006 From: davidsen at tmr.com (Bill Davidsen) Date: Sat, 02 Dec 2006 18:32:06 -0500 Subject: [Fedora-xen] Upgrade warnings FC6 x86_64 (with xen) Message-ID: <45720CF6.1080207@tmr.com> I just did an install of FC6+xen, and I'm not sure if xen is involved in the problem or not. After I did the initial install and rebooted, I checked the list of updates yum check-update | tee update.list and found updates for the kernel, yum, and virt-manager. Doing the updates cautiously (I have been seeing upgrade problems), I got: Is this ok [y/N]: y Downloading Packages: (1/1): virt-manager-0.2.6 100% |=========================| 452 kB 00:02 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Failed to load file "/etc/gconf/gconf.xml.defaults/%gconf-tree-nl.xml": Error on line 7519 char 29: Invalid UTF-8 encoded text Failed to load file "/etc/gconf/gconf.xml.defaults/%gconf-tree-hu.xml": Line 1557 character 50: No text is allowed inside element Failed to load file "/etc/gconf/gconf.xml.defaults/%gconf-tree-ja.xml": Error on line 6767 char 77: Invalid UTF-8 encoded text Failed to load file "/etc/gconf/gconf.xml.defaults/%gconf-tree-gu.xml": Error on line 4460 char 80: Invalid UTF-8 encoded text Failed to load file "/etc/gconf/gconf.xml.defaults/%gconf-tree-ru.xml": Error on line 4134 char 51: Invalid UTF-8 encoded text Failed to load file "/etc/gconf/gconf.xml.defaults/%gconf-tree-es.xml": Error on line 8160 char 5: Invalid UTF-8 encoded text Updating : virt-manager ######################### [1/2] Cleanup : virt-manager ######################### [2/2] Updated: virt-manager.x86_64 0:0.2.6-1.fc6 Complete! Is this meaningless, or a hint that something else is wrong? -- bill davidsen CTO TMR Associates, Inc Unsigned numbers may not be negative. However, unsigned numbers may be less than zero for sufficiently large values of zero. From jtower at gmail.com Sun Dec 3 00:58:18 2006 From: jtower at gmail.com (Jason Tower) Date: Sat, 2 Dec 2006 19:58:18 -0500 Subject: [Fedora-xen] PAE kernels not working but non-PAE does Message-ID: i have several dell poweredge 2650s with 4gb ram (these are 32 bit xeon cpus) running fc5 w/ the 2.6.17-1.2174_FC5xen0 kernel, the domUs are ubuntu dapper images booting the 2.6.17-1.2174_FC5xenU kernel. everything works beautifully, very stable. i was hoping to squeeze some more domUs on these systems by adding additonal ram and using the PAE kernels. unfortunately booting 2.6.17-1.2174_FC5xen in the dom0 breaks networking (the bridges are no longer created) and the domU won't boot at all (kernel panic, can't find /dev/sda). i've also tried the latest fc5 kernel and the stock fc6 kernel and get the same result. i've copied lib/modules/2.6.17-1.2174_FC5xen to the domU's root filesystem and am using the matching initrd but no joy. is it possible to make this arrangement work? From lee.hornby at btinternet.com Sun Dec 3 09:56:35 2006 From: lee.hornby at btinternet.com (Lee Hornby) Date: Sun, 03 Dec 2006 09:56:35 +0000 Subject: [Fedora-xen] Suse10.1 under FC6 In-Reply-To: <1165099570.6811.2.camel@amd.cathrow.org> References: <1165077425.23364.15.camel@new-host.home> <1165095372.5486.3.camel@amd.cathrow.org> <1165099570.6811.2.camel@amd.cathrow.org> Message-ID: <1165139795.3843.18.camel@new-host.home> Thanks All It was indeed the wrong kernel! vmlinuz-2.6.16.21-0.25-xenpae worked (well started anyway). Suspect I have more fun to come yet. Although I did google the kernel RPM I was using and one the RMPfinders had notes saying it was ok for both VT and pae. Regards Lee On Sat, 2006-12-02 at 17:46 -0500, Andrew Cathrow wrote: > If we're talking about a para-virtualised machine rather than hardware > virtualisation then you have to watch out for PAE and also 32/64 bit. > > The FC6 xen kernel is PAE, which means that the guest kernel must also > be pae, you can't mix them. You'd see the same thing if you tried to > run the FC5 domU kernel on FC6 > Also you can't run a 64bit kernel on a 32bit host. > > Given the file names I saw I'd suspect that the issue is that you've > picked SUSE's non-pae kernel. > > Aic > > > On Sat, 2006-12-02 at 23:29 +0100, Paul Wouters wrote: > > On Sat, 2 Dec 2006, Andrew Cathrow wrote: > > > > > I've not got openSUSE installed - but I downloaded the kernel-xen and > > > kernel-xenpae RPM's to check the file names. > > > What I saw was that the pae kernels were in the kernel-xenpae rpm and > > > had a pae suffix. > > > > > > vmlinuz-2.6.16.13-4-xenpae > > > > > > The invalid argument error (helpful eh?) typically means pae /non-pae > > > mismatch. > > > > Perhaps it is an ABI change? Eg xen 3.0.3 vs 3.0.2? > > > > Can't you boot the redhat xen kernel on the suse OS. There can't be much > > serious differences. The only catch here is that you will need to hack > > the redhat initrd image if you install it on the dom0, or grab an initrd > > from a guest installed redhat machine. > > > > Paul > -- > > Andrew Cathrow > Red Hat, Inc. > > (678) 733 0452 - Mobile > (404) 437 6178 - Home Office > > acathrow at redhat.com From thomas.trepper at microbyte.at Sun Dec 3 18:59:33 2006 From: thomas.trepper at microbyte.at (Thomas Trepper) Date: Sun, 03 Dec 2006 19:59:33 +0100 Subject: [Fedora-xen] Question to virt-install and fully virt. guests (virt cd-rom) Message-ID: <45731E95.7070907@microbyte.at> Hi all, i have a problem with 'virt-install' as follows: -------------------------- [root at gandalf ~]# uname -a: Linux gandalf 2.6.18-1.2849.fc6xen #1 SMP Fri Nov 10 12:57:36 EST 2006 x86_64 x86_64 x86_64 GNU/Linux [root at gandalf ~]# grep vmx /proc/cpuinfo flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm [root at gandalf ~]# cat /sys/hypervisor/properties/capabilities xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 -------------------------- Question: If i am going to execute 'virt-install' and if i answer yes to the question, if i would like to create a fully virtualized guest, i have to enter some questions later a virtual cd-rom, but i do not know, what i have to enter here? I tried the iso, mounted iso as ftp or nfs, everything no luck. Does anybody know, what i am doing wrong? Thank you very much and kind regards, Thomas From Hua.Zhang at Sun.COM Mon Dec 4 06:40:13 2006 From: Hua.Zhang at Sun.COM (Henry Zhang) Date: Mon, 04 Dec 2006 14:40:13 +0800 Subject: [Fedora-xen] What's the Pre-requisites for virt-manager In-Reply-To: <20061202153642.GA5231@redhat.com> References: <20061122121852.GE13945@redhat.com> <45658BF0.60505@sun.com> <20061123145152.GA30705@redhat.com> <45665E5D.3050405@sun.com> <20061124040514.GB1197@redhat.com> <4566E568.40609@sun.com> <20061124154010.GA29762@redhat.com> <456D4845.7050207@sun.com> <20061201120854.GA9108@redhat.com> <45712FDE.60500@sun.com> <20061202153642.GA5231@redhat.com> Message-ID: <4573C2CD.8090902@sun.com> Thanks, Dan, So I will try to add some codes for this issue... Regards, Henry Daniel P. Berrange ??: > On Sat, Dec 02, 2006 at 03:48:46PM +0800, Henry Zhang wrote: > >> Hi Dan, >> >> Daniel P. Berrange ??????: >> >>> On Wed, Nov 29, 2006 at 04:43:49PM +0800, Henry Zhang wrote: >>> >>> >>>> Dan, >>>> >>>> >>>>> Yes, it should be pretty straightforward for you to remove the DBus bits >>>>> completely - just remove the src/virtManager/remote.py file, and any >>>>> referneces >>>>> to DBus in srv/virt-manager.py.in >>>>> >>>>> >>>>> >>>> I checked the codes in create.py, seems if we delete DBus/HAL, we will >>>> can't list cdrom volumes when user >>>> selects "New Virtual Machine...". I think it's a big issue if not >>>> support CD install for guest Domain, >>>> >>>> >>> Ahh yes, sorry I completely forgot that we use DBus to talk to HAL to >>> get a list of CDROM devices available on the host system. This allows >>> you to easy install an HVM fullyvirt guest using media inserted into >>> you host, rather than forcing you to copy the media into an ISO file >>> first. >>> >>> >> Yes, I think CD install is really very important feature, so do you have >> plan to add some codes, >> so that virt-manager can work correctly for getting CDROM devices when >> without DBUS/HAL? >> > > No, if anything I think we'll increase the use of DBus. It is really now > a core part of the open source desktop API set, being used by both GNOME > and KDE alike, and for core system services like HAL, Bluetooth, etc. > > Rgards, > Dan. > From thomas.trepper at microbyte.at Mon Dec 4 14:59:53 2006 From: thomas.trepper at microbyte.at (Thomas Trepper) Date: Mon, 04 Dec 2006 15:59:53 +0100 Subject: [Fedora-xen] Question to virt-install and fully virt. guests (virtual-cd-rom) Message-ID: <457437E9.8030109@microbyte.at> Hi all, has nobody an idea? This point and my question is completely missing in the wiki (http://fedoraproject.org/wiki/FedoraXenQuickstartFC6) and also google is empty for that... :-( Any hint would be kindly appreciated :-) Thank you very much and best regards, Thomas -------- Original-Nachricht -------- Betreff: [Fedora-xen] Question to virt-install and fully virt. guests (virt cd-rom) Datum: Sun, 03 Dec 2006 19:59:33 +0100 Von: Thomas Trepper An: fedora-xen at redhat.com Hi all, i have a problem with 'virt-install' as follows: -------------------------- [root at gandalf ~]# uname -a: Linux gandalf 2.6.18-1.2849.fc6xen #1 SMP Fri Nov 10 12:57:36 EST 2006 x86_64 x86_64 x86_64 GNU/Linux [root at gandalf ~]# grep vmx /proc/cpuinfo flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm [root at gandalf ~]# cat /sys/hypervisor/properties/capabilities xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 -------------------------- Question: If i am going to execute 'virt-install' and if i answer yes to the question, if i would like to create a fully virtualized guest, i have to enter some questions later a virtual cd-rom, but i do not know, what i have to enter here? I tried the iso, mounted iso as ftp or nfs, everything no luck. Does anybody know, what i am doing wrong? Thank you very much and kind regards, Thomas -- Fedora-xen mailing list Fedora-xen at redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen [root at gandalf ~]# xm dmesg __ __ _____ ___ _____ ____ __ __ \ \/ /___ _ __ |___ / / _ \ |___ / _ __ ___| ___| / _| ___ / /_ \ // _ \ '_ \ |_ \| | | | |_ \ __| '__/ __|___ \ | |_ / __| '_ \ / \ __/ | | | ___) | |_| | ___) |__| | | (__ ___) || _| (__| (_) | /_/\_\___|_| |_| |____(_)___(_)____/ |_| \___|____(_)_| \___|\___/ http://www.cl.cam.ac.uk/netos/xen University of Cambridge Computer Laboratory Xen version 3.0.3-rc5-1.2849.fc6 (brewbuilder at build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) Fri Nov 10 12:30:42 EST 2006 Latest ChangeSet: unavailable (XEN) Command line: /boot/xen.gz-2.6.18-1.2849.fc6 (XEN) Physical RAM map: (XEN) 0000000000000000 - 000000000009fc00 (usable) (XEN) 000000000009fc00 - 00000000000a0000 (reserved) (XEN) 00000000000e5000 - 0000000000100000 (reserved) (XEN) 0000000000100000 - 000000007ff80000 (usable) (XEN) 000000007ff80000 - 000000007ff8e000 (ACPI data) (XEN) 000000007ff8e000 - 000000007ffe0000 (ACPI NVS) (XEN) 000000007ffe0000 - 0000000080000000 (reserved) (XEN) 00000000ffb00000 - 0000000100000000 (reserved) (XEN) System RAM: 2047MB (2096252kB) (XEN) Xen heap: 14MB (14388kB) (XEN) found SMP MP-table at 000ff780 (XEN) DMI 2.3 present. (XEN) Using APIC driver default (XEN) ACPI: RSDP (v000 ACPIAM ) @ 0x00000000000fa400 (XEN) ACPI: RSDT (v001 A M I OEMRSDT 0x07000620 MSFT 0x00000097) @ 0x000000007ff80000 (XEN) ACPI: FADT (v001 A M I OEMFACP 0x07000620 MSFT 0x00000097) @ 0x000000007ff80200 (XEN) ACPI: MADT (v001 A M I OEMAPIC 0x07000620 MSFT 0x00000097) @ 0x000000007ff80390 (XEN) ACPI: OEMB (v001 A M I AMI_OEM 0x07000620 MSFT 0x00000097) @ 0x000000007ff8e040 (XEN) ACPI: MCFG (v001 A M I OEMMCFG 0x07000620 MSFT 0x00000097) @ 0x000000007ff898a0 (XEN) ACPI: DSDT (v001 A0520 A0520000 0x00000000 INTL 0x02002026) @ 0x0000000000000000 (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) (XEN) Processor #0 6:15 APIC version 20 (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x01] enabled) (XEN) Processor #1 6:15 APIC version 20 (XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x82] disabled) (XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x83] disabled) (XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23 (XEN) ACPI: IOAPIC (id[0x03] address[0xfec10000] gsi_base[24]) (XEN) IOAPIC[1]: apic_id 3, version 32, address 0xfec10000, GSI 24-47 (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) (XEN) ACPI: IRQ0 used by override. (XEN) ACPI: IRQ2 used by override. (XEN) ACPI: IRQ9 used by override. (XEN) Enabling APIC mode: Flat. Using 2 I/O APICs (XEN) Using ACPI (MADT) for SMP configuration information (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Initializing CPU#0 (XEN) Detected 2404.184 MHz processor. (XEN) CPU: L1 I cache: 32K, L1 D cache: 32K (XEN) CPU: Physical Processor ID: 0 (XEN) CPU: Processor Core ID: 0 (XEN) VMXON is done (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#0. (XEN) CPU0: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping 06 (XEN) Booting processor 1/1 eip 90000 (XEN) Initializing CPU#1 (XEN) CPU: L1 I cache: 32K, L1 D cache: 32K (XEN) CPU: Physical Processor ID: 0 (XEN) CPU: Processor Core ID: 1 (XEN) VMXON is done (XEN) Intel machine check architecture supported. (XEN) Intel machine check reporting enabled on CPU#1. (XEN) CPU1: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz stepping 06 (XEN) Total of 2 processors activated. (XEN) ENABLING IO-APIC IRQs (XEN) -> Using new ACK method (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=-1 pin2=-1 (XEN) checking TSC synchronization across 2 CPUs: passed. (XEN) Platform timer is 1.193MHz PIT (XEN) Brought up 2 CPUs (XEN) Machine check exception polling timer started. (XEN) *** LOADING DOMAIN 0 *** (XEN) Domain 0 kernel supports features = { 0000001f }. (XEN) Domain 0 kernel requires features = { 00000000 }. (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 000000007e000000->000000007f000000 (477699 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: ffffffff80200000->ffffffff806b8264 (XEN) Init. ramdisk: ffffffff806b9000->ffffffff80a98000 (XEN) Phys-Mach map: ffffffff80a98000->ffffffff80e45018 (XEN) Start info: ffffffff80e46000->ffffffff80e4649c (XEN) Page tables: ffffffff80e47000->ffffffff80e52000 (XEN) Boot stack: ffffffff80e52000->ffffffff80e53000 (XEN) TOTAL: ffffffff80000000->ffffffff81000000 (XEN) ENTRY ADDRESS: ffffffff80200000 (XEN) Dom0 has maximum 2 VCPUs (XEN) Initrd len 0x3df000, start at 0xffffffff806b9000 (XEN) Scrubbing Free RAM: .....................done. (XEN) Xen trace buffers: disabled (XEN) Xen is relinquishing VGA console. (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen). (XEN) (file=hvm.c, line=195) Allocated port 3 for hvm. (XEN) vmx_do_launch(): GUEST_CR3<=00fd97a0, HOST_CR3<=7ec67000 (XEN) (file=hvm.c, line=195) Allocated port 3 for hvm. (XEN) vmx_do_launch(): GUEST_CR3<=00fd97a0, HOST_CR3<=7ea9f000 -------------- next part -------------- An HTML attachment was scrubbed... URL: From berrange at redhat.com Mon Dec 4 15:00:40 2006 From: berrange at redhat.com (Daniel P. Berrange) Date: Mon, 4 Dec 2006 15:00:40 +0000 Subject: [Fedora-xen] Question to virt-install and fully virt. guests (virt cd-rom) In-Reply-To: <45731E95.7070907@microbyte.at> References: <45731E95.7070907@microbyte.at> Message-ID: <20061204150040.GD897@redhat.com> On Sun, Dec 03, 2006 at 07:59:33PM +0100, Thomas Trepper wrote: > Hi all, > > i have a problem with 'virt-install' as follows: > > -------------------------- > [root at gandalf ~]# uname -a: Linux gandalf 2.6.18-1.2849.fc6xen #1 SMP > Fri Nov 10 12:57:36 EST 2006 x86_64 x86_64 x86_64 GNU/Linux > > > > [root at gandalf ~]# grep vmx /proc/cpuinfo > flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 > clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni > monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm > flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 > clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall lm constant_tsc pni > monitor ds_cpl vmx est tm2 cx16 xtpr lahf_lm > > > > [root at gandalf ~]# cat /sys/hypervisor/properties/capabilities > xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 > -------------------------- > > > Question: If i am going to execute 'virt-install' and if i answer yes to > the question, if i would like to create a fully virtualized guest, i > have to enter some questions later a virtual cd-rom, but i do not know, > what i have to enter here? I tried the iso, mounted iso as ftp or nfs, > everything no luck. You need to either enter the path to the ISO image on the local filesystem, eg /some/directory/myos.iso, or the path to the CDROM device /dev/cdrom. Do not try to mount the ISO image - that won't work - it needs the RAW iso image, rather than the directory tree. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From felix.schwarz at web.de Mon Dec 4 15:01:04 2006 From: felix.schwarz at web.de (Felix Schwarz) Date: Mon, 04 Dec 2006 16:01:04 +0100 Subject: [Fedora-xen] Re: Question to virt-install and fully virt. guests (virtual-cd-rom) In-Reply-To: <457437E9.8030109@microbyte.at> References: <457437E9.8030109@microbyte.at> Message-ID: <45743830.5030405@web.de> Thomas Trepper schrieb: > has nobody an idea? This point and my question is completely missing in > the wiki (http://fedoraproject.org/wiki/FedoraXenQuickstartFC6) and also > google is empty for that... :-( > Any hint would be kindly appreciated :-) To be fair, I did not understand the original question. You don't know what you should enter in order to add a cdrom with a hvm guest? This a snippet from my config file: ----------------------------------------- disk = [ 'file:/home/fs/vms/fc6_x32_build,hda,w', 'file:/home/fs/knoppix.iso,hdc:cdrom,r', ] boot="c" ----------------------------------------- fs From felix.schwarz at web.de Mon Dec 4 15:11:52 2006 From: felix.schwarz at web.de (Felix Schwarz) Date: Mon, 04 Dec 2006 16:11:52 +0100 Subject: [Fedora-xen] Re: Question to virt-install and fully virt. guests (virtual-cd-rom) In-Reply-To: <45743A2A.7070602@microbyte.at> References: <457437E9.8030109@microbyte.at> <45743830.5030405@web.de> <45743A2A.7070602@microbyte.at> Message-ID: <45743AB8.30207@web.de> Thomas Trepper schrieb: > [root at gandalf ~]# xenguest-install > Would you like a fully virtualized guest (yes or no)? This will allow > you to run unmodified operating systems. yes > What is the name of your virtual machine? FC6-Muli > How much RAM should be allocated (in megabytes)? 256 > What would you like to use as the disk (path)? > /raid/xen-images/fc6-muli.img > How large would you like the disk to be (in gigabytes)? 10 > Would you like to enable graphics support? (yes or no) no > What would you like to use for the virtual CD image? > /share/FC-6-x86_64-DVD.iso > > Starting install... > libvir: Xen Daemon error : GET operation failed: No such domain FC6-Muli > Domain installation does not appear to have been > successful. If it was, you can restart your domain > by running 'xm create -c FC6-Muli'; otherwise, please > restart your installation. > > What am i doing wrong? Is there a config file named "FC6-Muli" in /etc/xen? Does raid/xen-images/fc6-muli.img exist afterwards? Is SElinux enabled? SElinux caused some problems here due to wrong labeling of certain directories (fast way: disable SElinux, correct one: relabel your files/file a bug report). fs From thomas.trepper at microbyte.at Mon Dec 4 15:32:26 2006 From: thomas.trepper at microbyte.at (Thomas Trepper) Date: Mon, 04 Dec 2006 16:32:26 +0100 Subject: [Fedora-xen] Re: Question to virt-install and fully virt. guests (virtual-cd-rom) In-Reply-To: <45743AB8.30207@web.de> References: <457437E9.8030109@microbyte.at> <45743830.5030405@web.de> <45743A2A.7070602@microbyte.at> <45743AB8.30207@web.de> Message-ID: <45743F8A.40703@microbyte.at> Hi Felix, yes, there is a file: # Automatically generated xen config file name = "FC6-Muli" builder = "hvm" memory = "256" disk = [ 'file:/raid/xen-images/fc6-muli.img,hda,w', ] vif = [ 'type=ioemu, mac=00:16:3e:6a:fd:c3, bridge=xenbr0', ] uuid = "dc0a4e2f-cf5c-7927-ff5c-24a3597d53bc" device_model = "/usr/lib64/xen/bin/qemu-dm" kernel = "/usr/lib/xen/boot/hvmloader" nographic=1 apic=1 acpi=1 pae=1 vcpus=1 serial = "pty" # enable serial console on_reboot = 'restart' on_crash = 'restart' SELinux is already disabled, therefore this cannot be the reason. And the image does also exist: [root at gandalf ~]# ls -l /raid/xen-images/ insgesamt 16 -rwxr-xr-x 1 root root 10737418241 4. Dez 15:48 fc6-muli.img But the installation does not begin. But only in fully-virtualized, as para-virtualized the question with the cd-rom is missing, but therefore a questions comes with he installation-source... Any ideas? Felix Schwarz schrieb: > > Thomas Trepper schrieb: >> [root at gandalf ~]# xenguest-install >> Would you like a fully virtualized guest (yes or no)? This will >> allow you to run unmodified operating systems. yes >> What is the name of your virtual machine? FC6-Muli >> How much RAM should be allocated (in megabytes)? 256 >> What would you like to use as the disk (path)? >> /raid/xen-images/fc6-muli.img >> How large would you like the disk to be (in gigabytes)? 10 >> Would you like to enable graphics support? (yes or no) no >> What would you like to use for the virtual CD image? >> /share/FC-6-x86_64-DVD.iso >> >> Starting install... >> libvir: Xen Daemon error : GET operation failed: No such domain FC6-Muli >> Domain installation does not appear to have been >> successful. If it was, you can restart your domain >> by running 'xm create -c FC6-Muli'; otherwise, please >> restart your installation. >> >> What am i doing wrong? > > Is there a config file named "FC6-Muli" in /etc/xen? Does > raid/xen-images/fc6-muli.img exist afterwards? Is SElinux enabled? > SElinux caused some problems here due to wrong labeling of certain > directories (fast way: disable SElinux, correct one: relabel your > files/file a bug report). > > fs From garysiao at gmail.com Mon Dec 4 17:34:34 2006 From: garysiao at gmail.com (Gary Siao) Date: Mon, 4 Dec 2006 12:34:34 -0500 Subject: [Fedora-xen] resize domU Message-ID: Hi gurus I have setup XEN using FC6 and used raw disk as disk storage for DomU instead of using disk image. I have already resize the LV on Dom0 which DomU uses and restarted DomU but still DomU sees the old size.. I would like to ask help on the procedure on resizing DomU Thanks much -------------- next part -------------- An HTML attachment was scrubbed... URL: From ed.jimison at intel.com Mon Dec 4 18:12:15 2006 From: ed.jimison at intel.com (Jimison, Ed) Date: Mon, 4 Dec 2006 10:12:15 -0800 Subject: [Fedora-xen] W2K CD installation error on guest Message-ID: <395DB1DBC1F0E4499EA739E0919759D3CFE3D7@fmsmsx412.amr.corp.intel.com> Thanks, Andrew. I've been going this direction with no success. Here's what I've done so far: 1. Copy CD ISO to Fedora system dd if=/dev/cdrom of=/home/w2k3.iso bs=1024 seek=4096k count=1 2. Edit config file /etc/xen/w2k3virt1 disk = [ 'file:/xen/w2k3virt1,hda,w', 'file:/home/w2k3.iso,hdc:cdrom,r', ] 3. xm create -c w2k3virt1 Error: Disk image does not exist: /home/w2k3.iso ________________________________ From: Andrew Cathrow [mailto:acathrow at redhat.com] Sent: Saturday, December 02, 2006 6:05 AM To: Jimison, Ed Cc: fedora-xen at redhat.com Subject: Re: [Fedora-xen] W2K CD installation error on guest Check the virtual machine settings and see if the CD is still configured. For example if you're w2k iso is in /opt/disks then make sure you have something like the following disk = [ 'file:/ .. your harddisk image ....', 'file:/opt/disks/w2k.iso,hdc:cdrom,r', ] On Fri, 2006-12-01 at 15:08 -0800, Jimison, Ed wrote: I've been trying to install W2K on Fedora Core 6. I found a previous post that recommended using "Standard PC" and this helped me get past the original problem with a hung black screen. The next problem I'm running into is that once the Windows installer boots and begins the "Installing Windows" step, I immediately get this error window: Setup was unable to access files need to continue. This could be caused by an error on the CD Media or the CD is no longer present in the drive. Any advice? Thanks, Ed Jimison -- Fedora-xen mailing list Fedora-xen at redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From acathrow at redhat.com Mon Dec 4 18:32:40 2006 From: acathrow at redhat.com (Andrew Cathrow) Date: Mon, 04 Dec 2006 13:32:40 -0500 Subject: [Fedora-xen] W2K CD installation error on guest In-Reply-To: <395DB1DBC1F0E4499EA739E0919759D3CFE3D7@fmsmsx412.amr.corp.intel.com> References: <395DB1DBC1F0E4499EA739E0919759D3CFE3D7@fmsmsx412.amr.corp.intel.com> Message-ID: <1165257160.14111.1.camel@amd.cathrow.org> The dd command is the issue,it's not going to produce a valid image. Youlre seeking 4096k and reading one block. Just do dd if=/dev/cdrom of=myimage.iso On Mon, 2006-12-04 at 10:12 -0800, Jimison, Ed wrote: > Thanks, Andrew. I?ve been going this direction with no success. Here?s > what I?ve done so far: > > > > 1. Copy CD ISO to Fedora system > > dd if=/dev/cdrom of=/home/w2k3.iso bs=1024 seek=4096k count=1 > > > > 1. Edit config file /etc/xen/w2k3virt1 > > disk = [ ?file:/xen/w2k3virt1,hda,w?, > ?file:/home/w2k3.iso,hdc:cdrom,r?, ] > > 1. xm create ?c w2k3virt1 > > Error: Disk image does not exist: /home/w2k3.iso > > > > > > ______________________________________________________________________ > > From: Andrew Cathrow [mailto:acathrow at redhat.com] > Sent: Saturday, December 02, 2006 6:05 AM > To: Jimison, Ed > Cc: fedora-xen at redhat.com > Subject: Re: [Fedora-xen] W2K CD installation error on guest > > > > > > Check the virtual machine settings and see if the CD is still > configured. > For example if you're w2k iso is in /opt/disks then make sure you have > something like the following > > > disk = [ 'file:/ .. your harddisk image ....', > 'file:/opt/disks/w2k.iso,hdc:cdrom,r', ] > > > On Fri, 2006-12-01 at 15:08 -0800, Jimison, Ed wrote: > > I?ve been trying to install W2K on Fedora Core 6. I found a previous > post that recommended using ?Standard PC? and this helped me get past > the original problem with a hung black screen. The next problem I?m > running into is that once the Windows installer boots and begins the > ?Installing Windows? step, I immediately get this error window: > > > > Setup was unable to access files need to continue. This could be > caused by an error on the CD Media or the CD is no longer present in > the drive. > > > > Any advice? > > Thanks, > > Ed Jimison > > > > > > > > -- > > Fedora-xen mailing list > > Fedora-xen at redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-xen > > > -- > > Andrew Cathrow > Red Hat, Inc. > > (678) 733 0452 - Mobile > (404) 437 6178 - Home Office > > acathrow at redhat.com > > > > > -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ed.jimison at intel.com Mon Dec 4 18:48:45 2006 From: ed.jimison at intel.com (Jimison, Ed) Date: Mon, 4 Dec 2006 10:48:45 -0800 Subject: [Fedora-xen] W2K CD installation error on guest Message-ID: <395DB1DBC1F0E4499EA739E0919759D3D4FD21@fmsmsx412.amr.corp.intel.com> Unfortunately it's the same error as below. The file is definitely there. Error: Disk image does not exist: /home/w2k3.iso ________________________________ From: Andrew Cathrow [mailto:acathrow at redhat.com] Sent: Monday, December 04, 2006 10:33 AM To: Jimison, Ed Cc: fedora-xen at redhat.com Subject: RE: [Fedora-xen] W2K CD installation error on guest The dd command is the issue,it's not going to produce a valid image. Youlre seeking 4096k and reading one block. Just do dd if=/dev/cdrom of=myimage.iso On Mon, 2006-12-04 at 10:12 -0800, Jimison, Ed wrote: Thanks, Andrew. I've been going this direction with no success. Here's what I've done so far: 1. Copy CD ISO to Fedora system dd if=/dev/cdrom of=/home/w2k3.iso bs=1024 seek=4096k count=1 1. Edit config file /etc/xen/w2k3virt1 disk = [ 'file:/xen/w2k3virt1,hda,w', 'file:/home/w2k3.iso,hdc:cdrom,r', ] 1. xm create -c w2k3virt1 Error: Disk image does not exist: /home/w2k3.iso ________________________________ From: Andrew Cathrow [mailto:acathrow at redhat.com] Sent: Saturday, December 02, 2006 6:05 AM To: Jimison, Ed Cc: fedora-xen at redhat.com Subject: Re: [Fedora-xen] W2K CD installation error on guest Check the virtual machine settings and see if the CD is still configured. For example if you're w2k iso is in /opt/disks then make sure you have something like the following disk = [ 'file:/ .. your harddisk image ....', 'file:/opt/disks/w2k.iso,hdc:cdrom,r', ] On Fri, 2006-12-01 at 15:08 -0800, Jimison, Ed wrote: I've been trying to install W2K on Fedora Core 6. I found a previous post that recommended using "Standard PC" and this helped me get past the original problem with a hung black screen. The next problem I'm running into is that once the Windows installer boots and begins the "Installing Windows" step, I immediately get this error window: Setup was unable to access files need to continue. This could be caused by an error on the CD Media or the CD is no longer present in the drive. Any advice? Thanks, Ed Jimison -- Fedora-xen mailing list Fedora-xen at redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From acathrow at redhat.com Mon Dec 4 18:56:55 2006 From: acathrow at redhat.com (Andrew Cathrow) Date: Mon, 04 Dec 2006 13:56:55 -0500 Subject: [Fedora-xen] W2K CD installation error on guest In-Reply-To: <395DB1DBC1F0E4499EA739E0919759D3D4FD21@fmsmsx412.amr.corp.intel.com> References: <395DB1DBC1F0E4499EA739E0919759D3D4FD21@fmsmsx412.amr.corp.intel.com> Message-ID: <1165258615.14111.12.camel@amd.cathrow.org> Lets test the image first. So if you do the following dd if=/dev/cdrom of=/tmp/myimage.iso then you should me able to mount it mount -o loop /tmp/myimage.iso /mnt If you do this can you see the directory structure in /mnt On Mon, 2006-12-04 at 10:48 -0800, Jimison, Ed wrote: > Unfortunately it?s the same error as below. The file is definitely > there. > > Error: Disk image does not exist: /home/w2k3.iso > > > > > > > > ______________________________________________________________________ > > From: Andrew Cathrow [mailto:acathrow at redhat.com] > Sent: Monday, December 04, 2006 10:33 AM > To: Jimison, Ed > Cc: fedora-xen at redhat.com > Subject: RE: [Fedora-xen] W2K CD installation error on guest > > > > > > The dd command is the issue,it's not going to produce a valid image. > Youlre seeking 4096k and reading one block. > Just do dd if=/dev/cdrom of=myimage.iso > > > On Mon, 2006-12-04 at 10:12 -0800, Jimison, Ed wrote: > > Thanks, Andrew. I?ve been going this direction with no success. Here?s > what I?ve done so far: > > > > 1. Copy CD ISO to Fedora system > > > dd if=/dev/cdrom of=/home/w2k3.iso bs=1024 seek=4096k count=1 > > > > 1. Edit config file /etc/xen/w2k3virt1 > > > disk = [ ?file:/xen/w2k3virt1,hda,w?, > ?file:/home/w2k3.iso,hdc:cdrom,r?, ] > > 1. xm create ?c w2k3virt1 > > > Error: Disk image does not exist: /home/w2k3.iso > > > > > > > > ____________________________________________________________________ > > > > From: Andrew Cathrow [mailto:acathrow at redhat.com] > > Sent: Saturday, December 02, 2006 6:05 AM > > To: Jimison, Ed > > Cc: fedora-xen at redhat.com > > Subject: Re: [Fedora-xen] W2K CD installation error on guest > > > > > > > > > > > > Check the virtual machine settings and see if the CD is still > > configured. > > For example if you're w2k iso is in /opt/disks then make sure you > > have something like the following > > > > > > disk = [ 'file:/ .. your harddisk image ....', > > 'file:/opt/disks/w2k.iso,hdc:cdrom,r', ] > > > > > > On Fri, 2006-12-01 at 15:08 -0800, Jimison, Ed wrote: > > > > I?ve been trying to install W2K on Fedora Core 6. I found a previous > > post that recommended using ?Standard PC? and this helped me get > > past the original problem with a hung black screen. The next problem > > I?m running into is that once the Windows installer boots and begins > > the ?Installing Windows? step, I immediately get this error window: > > > > > > > > Setup was unable to access files need to continue. This could be > > caused by an error on the CD Media or the CD is no longer present in > > the drive. > > > > > > > > Any advice? > > > > Thanks, > > > > Ed Jimison > > > > > > > > > > > > > > > > > > > > -- > > Fedora-xen mailing list > > Fedora-xen at redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-xen > > > > > > > > -- > > > > Andrew Cathrow > > Red Hat, Inc. > > > > (678) 733 0452 - Mobile > > (404) 437 6178 - Home Office > > > > acathrow at redhat.com > > > > > > > > > > > > > > > > > -- > > Andrew Cathrow > Red Hat, Inc. > > (678) 733 0452 - Mobile > (404) 437 6178 - Home Office > > acathrow at redhat.com > > > > -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From clalance at redhat.com Mon Dec 4 19:03:14 2006 From: clalance at redhat.com (Chris Lalancette) Date: Mon, 04 Dec 2006 14:03:14 -0500 Subject: [Fedora-xen] W2K CD installation error on guest In-Reply-To: <395DB1DBC1F0E4499EA739E0919759D3D4FD21@fmsmsx412.amr.corp.intel.com> References: <395DB1DBC1F0E4499EA739E0919759D3D4FD21@fmsmsx412.amr.corp.intel.com> Message-ID: <457470F2.30205@redhat.com> Jimison, Ed wrote: > Unfortunately it?s the same error as below. The file is definitely there. > > Error: Disk image does not exist: /home/w2k3.iso > > > > ------------------------------------------------------------------------ > > *From:* Andrew Cathrow [mailto:acathrow at redhat.com] > *Sent:* Monday, December 04, 2006 10:33 AM > *To:* Jimison, Ed > *Cc:* fedora-xen at redhat.com > *Subject:* RE: [Fedora-xen] W2K CD installation error on guest > > > > The dd command is the issue,it's not going to produce a valid image. > Youlre seeking 4096k and reading one block. > Just do dd if=/dev/cdrom of=myimage.iso > > > On Mon, 2006-12-04 at 10:12 -0800, Jimison, Ed wrote: > > Thanks, Andrew. I?ve been going this direction with no success. Here?s > what I?ve done so far: > > > > 1. Copy CD ISO to Fedora system > > > dd if=/dev/cdrom of=/home/w2k3.iso bs=1024 seek=4096k count=1 > > > > 1. Edit config file /etc/xen/w2k3virt1 > > > disk = [ ?file:/xen/w2k3virt1,hda,w?, > ?file:/home/w2k3.iso,hdc:cdrom,r?, ] > > 1. xm create ?c w2k3virt1 > > > Error: Disk image does not exist: /home/w2k3.iso > Besides the problem with the dd (which it seems like you remedied now), this smells like an SELinux issue. Do you have SELinux enabled (i.e. run "getenforce")? Are there any messages in /var/log/audit/audit.log or /var/log/messages saying that the read was denied? If SELinux is indeed enabled, as a test try disabling it by running "setenforce 0", and then starting the install again. Chris Lalancette From thiago.morais at caprioli.com.br Mon Dec 4 19:15:26 2006 From: thiago.morais at caprioli.com.br (Thiago Morais) Date: Mon, 4 Dec 2006 17:15:26 -0200 Subject: [Fedora-xen] ENC: Error Xen Message-ID: <010201c717d8$9490a270$0b1e10ac@caprioli.com.br> Hello All. Now, I got this error: Linux version 2.6.18-1.2849.fc6xen (brewbuilder at hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Fri Nov 10 13:56:52 EST 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000004800000 (usable) 0MB HIGHMEM available. 72MB LOWMEM available. NX (Execute Disable) protection: active ACPI in unprivileged domain disabled Built 1 zonelists. Total pages: 18432 Kernel command line: root=/dev/sda1 ro 4 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 CPU 0 irqstacks, hard=c078a000 soft=c076a000 PID hash table entries: 512 (order: 9, 2048 bytes) Xen reported: 2793.002 MHz processor. Console: colour dummy device 80x25 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Software IO TLB disabled vmalloc area: c5000000-f4ffe000, maxmem 2d7fe000 Memory: 56976k/73728k available (2098k kernel code, 8492k reserved, 838k data, 180k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 7230.37 BogoMIPS (lpj=14460752) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 512 CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 256K Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed Brought up 1 CPUs checking if image is initramfs... it is Freeing initrd memory: 3371k freed Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: setting up Xen PCI frontend stub ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xen_mem: Initialising balloon driver. usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: System does not support PCI PCI: System does not support PCI NetLabel: Initializing NetLabel: domain hash size = 128 NetLabel: protocols = UNLABELED CIPSOv4 NetLabel: unlabeled traffic allowed by default NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 4, 81920 bytes) TCP bind hash table entries: 2048 (order: 3, 40960 bytes) TCP: Hash tables configured (established 4096 bind 2048) TCP reno registered IA-32 Microcode Update Driver: v1.14-xen audit: initializing netlink socket (disabled) audit(1165248656.687:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key CA06D81CB13FD94 - User ID: Red Hat, Inc. (Kernel Module GPG key) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 rtc: IRQ 8 is not free. Non-volatile memory driver v1.2 Linux agpgart interface v0.101 (c) Dave Jones RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize Xen virtual console successfully installed as xvc0 Linux version 2.6.18-1.2849.fc6xen (brewbuilder at hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Fri Nov 10 13:56:52 EST 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000004800000 (usable) 0MB HIGHMEM available. 72MB LOWMEM available. NX (Execute Disable) protection: active ACPI in unprivileged domain disabled Built 1 zonelists. Total pages: 18432 Kernel command line: root=/dev/sda1 ro 4 Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 CPU 0 irqstacks, hard=c078a000 soft=c076a000 PID hash table entries: 512 (order: 9, 2048 bytes) Xen reported: 2793.002 MHz processor. Console: colour dummy device 80x25 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Software IO TLB disabled vmalloc area: c5000000-f4ffe000, maxmem 2d7fe000 Memory: 56976k/73728k available (2098k kernel code, 8492k reserved, 838k data, 180k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 7230.37 BogoMIPS (lpj=14460752) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 512 CPU: Trace cache: 12K uops, L1 D cache: 16K CPU: L2 cache: 256K Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed Brought up 1 CPUs checking if image is initramfs... it is Freeing initrd memory: 3371k freed Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: setting up Xen PCI frontend stub ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xen_mem: Initialising balloon driver. usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: System does not support PCI PCI: System does not support PCI NetLabel: Initializing NetLabel: domain hash size = 128 NetLabel: protocols = UNLABELED CIPSOv4 NetLabel: unlabeled traffic allowed by default NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 4, 81920 bytes) TCP bind hash table entries: 2048 (order: 3, 40960 bytes) TCP: Hash tables configured (established 4096 bind 2048) TCP reno registered IA-32 Microcode Update Driver: v1.14-xen audit: initializing netlink socket (disabled) audit(1165248656.687:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key CA06D81CB13FD94 - User ID: Red Hat, Inc. (Kernel Module GPG key) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 rtc: IRQ 8 is not free. Non-volatile memory driver v1.2 Linux agpgart interface v0.101 (c) Dave Jones RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize Xen virtual console successfully installed as xvc0 Event-channel device installed. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx ide-floppy driver 0.99.newide usbcore: registered new driver libusual usbcore: registered new driver hiddev usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. mice: PS/2 mouse device common for all mice md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 TCP bic registered Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode XENBUS: Device with no driver: device/vbd/2049 XENBUS: Device with no driver: device/vbd/2050 XENBUS: Device with no driver: device/vif/0 XENBUS: Device with no driver: device/vif/1 Freeing unused kernel memory: 180k freed Write protecting the kernel read-only data: 357k Red Hat nash version 5.1.19 starting Mounting proc filesystem Mounting sysfs filesystem Creating /dev Creating initial device nodes Setting up hotplug. Creating block device nodes. Loading uhci-hcd.ko module USB Universal Host Controller Interface driver v3.0 Loading ohci-hcd.ko module Loading ehci-hcd.ko module Loading jbd.ko module Loading ext3.ko module Loading scsi_mod.ko module SCSI subsystem initialized Loading sd_mod.ko module Loading scsi_transport_spi.ko module Loading mptbase.ko module Fusion MPT base driver 3.04.01 Copyright (c) 1999-2005 LSI Logic Corporation Loading mptscsih.ko module Loading mptspi.ko module Fusion MPT SPI Host driver 3.04.01 Creating root device. Mounting root filesystem. mount: could not find filesystem '/dev/root' Setting up other filesystems. Setting up new root fs setuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init! [root at matsya auto]# less text.txt [root at matsya auto]# less text.txt ^MXENBUS: Device with no driver: device/vif/0 ^MXENBUS: Device with no driver: device/vif/1 ^MFreeing unused kernel memory: 180k freed ^MWrite protecting the kernel read-only data: 357k ^MRed Hat nash version 5.1.19 starting Mounting proc filesystem Mounting sysfs filesystem Creating /dev Creating initial device nodes Setting up hotplug. Creating block device nodes. Loading uhci-hcd.ko module USB Universal Host Controller Interface driver v3.0 ^MLoading ohci-hcd.ko module Loading ehci-hcd.ko module Loading jbd.ko module Loading ext3.ko module Loading scsi_mod.ko module SCSI subsystem initialized ^MLoading sd_mod.ko module Loading scsi_transport_spi.ko module Loading mptbase.ko module Fusion MPT base driver 3.04.01 ^MCopyright (c) 1999-2005 LSI Logic Corporation ^MLoading mptscsih.ko module Loading mptspi.ko module Fusion MPT SPI Host driver 3.04.01 ^MCreating root device. Mounting root filesystem. mount: could not find filesystem '/dev/root' Setting up other filesystems. Setting up new root fs setuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init! My configuration file is: kernel = "/boot/vmlinuz-2.6.18-1.2849.fc6xen" ramdisk = "/boot/initrd-2.6.18-1.2849.fc6xen.img" memory = 64 name = "vm1" disk = [ 'phy:/dev/volgrp/vmdisk1,sda1,w','phy:/dev/volgrp/swdisk1,sda2,w' ] root = "/dev/sda1 ro" extra = "4" Anybody has any ideia? Thanks Thiago _____ De: Thiago Morais [mailto:thiago.morais at caprioli.com.br] Enviada em: quinta-feira, 30 de novembro de 2006 13:07 Para: 'fedora-xen at redhat.com' Assunto: Error Xen Hello, I'm trying start one guest OS, Fedora 5, on Xen 3 in Fedora Core 6, but during the booting process I get this error: VFS: Cannot open root device "sda1" or unknown-block(0,0) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) My configuration file: kernel = "/boot/vmlinuz-2.6.18-1.2849.fc6xen" memory = 64 name = "vm1" disk = [ 'phy:/dev/volgrp/vmdisk1,sda1,w','phy:/dev/volgrp/swdisk1,sda2,w' ] root = "/dev/sda1 ro" extra = "4" What can I do? Thanks! Thiago -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at xelerance.com Mon Dec 4 19:39:15 2006 From: paul at xelerance.com (Paul Wouters) Date: Mon, 4 Dec 2006 20:39:15 +0100 (CET) Subject: [Fedora-xen] ENC: Error Xen In-Reply-To: <010201c717d8$9490a270$0b1e10ac@caprioli.com.br> References: <010201c717d8$9490a270$0b1e10ac@caprioli.com.br> Message-ID: On Mon, 4 Dec 2006, Thiago Morais wrote: > Hello All. > > Now, I got this error: > > Linux version 2.6.18-1.2849.fc6xen (brewbuilder at hs20-bc2-4.build.redhat.com) This is booting a xenU right? not the dom0? > Red Hat nash version 5.1.19 starting > Mounting proc filesystem > Mounting sysfs filesystem > Creating /dev > Creating initial device nodes > Setting up hotplug. > Creating block device nodes. > Loading uhci-hcd.ko module > USB Universal Host Controller Interface driver v3.0 > Loading ohci-hcd.ko module > Loading ehci-hcd.ko module > Loading jbd.ko module > Loading ext3.ko module > Loading scsi_mod.ko module > SCSI subsystem initialized > Loading sd_mod.ko module > Loading scsi_transport_spi.ko module > Loading mptbase.ko module > Fusion MPT base driver 3.04.01 > Copyright (c) 1999-2005 LSI Logic Corporation > Loading mptscsih.ko module > Loading mptspi.ko module > Fusion MPT SPI Host driver 3.04.01 > Creating root device. > Mounting root filesystem. > mount: could not find filesystem '/dev/root' Your xenu kernel did not load the xenblk or xennet modules via initrd. This is probably because you are booting a rootfs and not a disk image, and you are using the initrd from the kernel-xen image installed on the host (dom0), which got a re-tailored initrd image to suit its own requirements, which exclude those xen virtual drivers (since its dom0 not xenu). Easiest fix is to unpack the initrd, add the two xen modules from /lib/modules/ add the insmod call in the "init" script of the initrd, and repack the initrd image. The real fix is for redhat to always include xennet and xenblk drivers in the initrd for any kernel-xen initrd, even if it seems that the initrd is installed on the dom0. Really, the space saved in the kernel or in the initrd is not worth having to re-image the initrd for every new kernel-xen you people package up. The package kernel-xen is meant for dom and xenu, so please add the xennet and xenblk drivers in the initrd. Paul From ed.jimison at intel.com Mon Dec 4 22:06:46 2006 From: ed.jimison at intel.com (Jimison, Ed) Date: Mon, 4 Dec 2006 14:06:46 -0800 Subject: [Fedora-xen] W2K CD installation error on guest Message-ID: <395DB1DBC1F0E4499EA739E0919759D3D50069@fmsmsx412.amr.corp.intel.com> Bingo! SELinux was set to Enforcing. That resolved the issue. Now the next roadblock is that the guest mouse appears hung when I get to the point in the install where I need to click Next on the "Regional and Language Options" dialog box. Have you ever seen this one? -----Original Message----- From: Chris Lalancette [mailto:clalance at redhat.com] Sent: Monday, December 04, 2006 11:03 AM To: Jimison, Ed Cc: Andrew Cathrow; fedora-xen at redhat.com Subject: Re: [Fedora-xen] W2K CD installation error on guest Jimison, Ed wrote: > Unfortunately it's the same error as below. The file is definitely there. > > Error: Disk image does not exist: /home/w2k3.iso > > > > ------------------------------------------------------------------------ > > *From:* Andrew Cathrow [mailto:acathrow at redhat.com] > *Sent:* Monday, December 04, 2006 10:33 AM > *To:* Jimison, Ed > *Cc:* fedora-xen at redhat.com > *Subject:* RE: [Fedora-xen] W2K CD installation error on guest > > > > The dd command is the issue,it's not going to produce a valid image. > Youlre seeking 4096k and reading one block. > Just do dd if=/dev/cdrom of=myimage.iso > > > On Mon, 2006-12-04 at 10:12 -0800, Jimison, Ed wrote: > > Thanks, Andrew. I've been going this direction with no success. Here's > what I've done so far: > > > > 1. Copy CD ISO to Fedora system > > > dd if=/dev/cdrom of=/home/w2k3.iso bs=1024 seek=4096k count=1 > > > > 1. Edit config file /etc/xen/w2k3virt1 > > > disk = [ 'file:/xen/w2k3virt1,hda,w', > 'file:/home/w2k3.iso,hdc:cdrom,r', ] > > 1. xm create -c w2k3virt1 > > > Error: Disk image does not exist: /home/w2k3.iso > Besides the problem with the dd (which it seems like you remedied now), this smells like an SELinux issue. Do you have SELinux enabled (i.e. run "getenforce")? Are there any messages in /var/log/audit/audit.log or /var/log/messages saying that the read was denied? If SELinux is indeed enabled, as a test try disabling it by running "setenforce 0", and then starting the install again. Chris Lalancette From ed.jimison at intel.com Mon Dec 4 22:29:13 2006 From: ed.jimison at intel.com (Jimison, Ed) Date: Mon, 4 Dec 2006 14:29:13 -0800 Subject: [Fedora-xen] W2K CD installation error on guest Message-ID: <395DB1DBC1F0E4499EA739E0919759D3D500D3@fmsmsx412.amr.corp.intel.com> Yes I can see the directory contents. I was able to get past this CDROM problem by disabling SELinux. [root at localhost ~]# ls -l /edj total 1542 -r-xr-xr-x 1 root root 110 Mar 22 2006 autorun.inf dr-xr-xr-x 1 root root 422 Mar 22 2006 docs dr-xr-xr-x 1 root root 257826 Mar 22 2006 i386 dr-xr-xr-x 1 root root 184 Mar 22 2006 printers -r-xr-xr-x 1 root root 9985 Mar 22 2006 readme.htm -r-xr-xr-x 1 root root 1306624 Mar 22 2006 setup.exe dr-xr-xr-x 1 root root 142 Mar 22 2006 support -r-xr-xr-x 1 root root 10 Mar 22 2006 win51 -r-xr-xr-x 1 root root 10 Mar 22 2006 win51ia -r-xr-xr-x 1 root root 10 Mar 22 2006 win51ia.sp1 [root at localhost ~]# ________________________________ From: Andrew Cathrow [mailto:acathrow at redhat.com] Sent: Monday, December 04, 2006 10:57 AM To: Jimison, Ed Cc: fedora-xen at redhat.com Subject: RE: [Fedora-xen] W2K CD installation error on guest Lets test the image first. So if you do the following dd if=/dev/cdrom of=/tmp/myimage.iso then you should me able to mount it mount -o loop /tmp/myimage.iso /mnt If you do this can you see the directory structure in /mnt On Mon, 2006-12-04 at 10:48 -0800, Jimison, Ed wrote: Unfortunately it's the same error as below. The file is definitely there. Error: Disk image does not exist: /home/w2k3.iso ________________________________ From: Andrew Cathrow [mailto:acathrow at redhat.com] Sent: Monday, December 04, 2006 10:33 AM To: Jimison, Ed Cc: fedora-xen at redhat.com Subject: RE: [Fedora-xen] W2K CD installation error on guest The dd command is the issue,it's not going to produce a valid image. Youlre seeking 4096k and reading one block. Just do dd if=/dev/cdrom of=myimage.iso On Mon, 2006-12-04 at 10:12 -0800, Jimison, Ed wrote: Thanks, Andrew. I've been going this direction with no success. Here's what I've done so far: 1. Copy CD ISO to Fedora system dd if=/dev/cdrom of=/home/w2k3.iso bs=1024 seek=4096k count=1 1. Edit config file /etc/xen/w2k3virt1 disk = [ 'file:/xen/w2k3virt1,hda,w', 'file:/home/w2k3.iso,hdc:cdrom,r', ] 1. xm create -c w2k3virt1 Error: Disk image does not exist: /home/w2k3.iso ________________________________ From: Andrew Cathrow [mailto:acathrow at redhat.com] Sent: Saturday, December 02, 2006 6:05 AM To: Jimison, Ed Cc: fedora-xen at redhat.com Subject: Re: [Fedora-xen] W2K CD installation error on guest Check the virtual machine settings and see if the CD is still configured. For example if you're w2k iso is in /opt/disks then make sure you have something like the following disk = [ 'file:/ .. your harddisk image ....', 'file:/opt/disks/w2k.iso,hdc:cdrom,r', ] On Fri, 2006-12-01 at 15:08 -0800, Jimison, Ed wrote: I've been trying to install W2K on Fedora Core 6. I found a previous post that recommended using "Standard PC" and this helped me get past the original problem with a hung black screen. The next problem I'm running into is that once the Windows installer boots and begins the "Installing Windows" step, I immediately get this error window: Setup was unable to access files need to continue. This could be caused by an error on the CD Media or the CD is no longer present in the drive. Any advice? Thanks, Ed Jimison -- Fedora-xen mailing list Fedora-xen at redhat.com https://www.redhat.com/mailman/listinfo/fedora-xen -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -- Andrew Cathrow Red Hat, Inc. (678) 733 0452 - Mobile (404) 437 6178 - Home Office acathrow at redhat.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From garysiao at gmail.com Mon Dec 4 17:27:23 2006 From: garysiao at gmail.com (Gary Siao) Date: Mon, 4 Dec 2006 12:27:23 -0500 Subject: [Fedora-xen] resize domU Message-ID: Hi gurus I have setup XEN using FC6 and used raw disk as disk storage for DomU instead of using disk image. I have already resize the LV on Dom0 which DomU uses and restarted DomU but still DomU sees the old size.. I would like to ask help on the procedure on resizing DomU Thanks much -------------- next part -------------- An HTML attachment was scrubbed... URL: From stan at freedomics.com Tue Dec 5 17:59:27 2006 From: stan at freedomics.com (Stan Larson) Date: Tue, 05 Dec 2006 12:59:27 -0500 Subject: [Fedora-xen] Re: Fedora-xen Digest, Vol 13, Issue 10 In-Reply-To: <20061205170009.CE7E8738D0@hormel.redhat.com> References: <20061205170009.CE7E8738D0@hormel.redhat.com> Message-ID: <4575B37F.2010904@freedomics.com> I'm not a Xen guru (or any other guru for that matter) and I haven't used FC6. However, I have documented detailed procedures for expanding a DomU on FC5 at the following HowTo on XenSource. In a nutshell, I added a partition to the DomU using fdisk within the guest environment and then used LVM to expand the existing logical partition that contained the root filesystem. http://wiki.xensource.com/xenwiki/FC5Zimbra Skip down to the section labeled "Expand A Guest Domain's Disk Space And Filesystem". Stan Larson I/S Manager Freedom Sales & Marketing P: (727) 835-1150 F: (727) 835-1151 stan at freedomics.com www.freedomics.com fedora-xen-request at redhat.com wrote: > Send Fedora-xen mailing list submissions to > fedora-xen at redhat.com > > To subscribe or unsubscribe via the World Wide Web, visit > https://www.redhat.com/mailman/listinfo/fedora-xen > or, via email, send a message with subject or body 'help' to > fedora-xen-request at redhat.com > > You can reach the person managing the list at > fedora-xen-owner at redhat.com > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Fedora-xen digest..." > > > Today's Topics: > > 1. resize domU (Gary Siao) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 4 Dec 2006 12:27:23 -0500 > From: "Gary Siao" > Subject: [Fedora-xen] resize domU > To: fedora-xen at redhat.com > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > Hi gurus > > I have setup XEN using FC6 and used raw disk as disk storage for DomU > instead of using disk image. > > I have already resize the LV on Dom0 which DomU uses and restarted DomU but > still DomU sees the old size.. > > I would like to ask help on the procedure on resizing DomU > > Thanks much > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: https://www.redhat.com/archives/fedora-xen/attachments/20061204/a3deaeef/attachment.html > > ------------------------------ > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > > > End of Fedora-xen Digest, Vol 13, Issue 10 > ****************************************** > From davidsen at tmr.com Tue Dec 5 19:45:08 2006 From: davidsen at tmr.com (Bill Davidsen) Date: Tue, 05 Dec 2006 14:45:08 -0500 Subject: [Fedora-xen] resize domU In-Reply-To: References: Message-ID: <4575CC44.8090106@tmr.com> Gary Siao wrote: > Hi gurus > > I have setup XEN using FC6 and used raw disk as disk storage for DomU > instead of using disk image. > > I have already resize the LV on Dom0 which DomU uses and restarted > DomU but still DomU sees the old size.. > > I would like to ask help on the procedure on resizing DomU xm mem-set? See man page. -- bill davidsen CTO TMR Associates, Inc Doing interesting things with small computers since 1979 From lee.hornby at btinternet.com Tue Dec 5 19:44:20 2006 From: lee.hornby at btinternet.com (Lee Hornby) Date: Tue, 05 Dec 2006 19:44:20 +0000 Subject: [Fedora-xen] X resolution Message-ID: <1165347860.10336.27.camel@new-host-2.home> Hello All Working fc6 xen Dom0. Is it possible to get fc6 client working with X on more than 800*600 resolution? Googling hasn't turned up much. regards Lee From berrange at redhat.com Tue Dec 5 19:46:42 2006 From: berrange at redhat.com (Daniel P. Berrange) Date: Tue, 5 Dec 2006 19:46:42 +0000 Subject: [Fedora-xen] X resolution In-Reply-To: <1165347860.10336.27.camel@new-host-2.home> References: <1165347860.10336.27.camel@new-host-2.home> Message-ID: <20061205194642.GG21067@redhat.com> On Tue, Dec 05, 2006 at 07:44:20PM +0000, Lee Hornby wrote: > Hello All > > Working fc6 xen Dom0. > > Is it possible to get fc6 client working with X on more than 800*600 > resolution? No. The guest framebuffer is hardcoded at 800x600 32bpp. Future work in the guest framebuffer kernel bits will enable alternate resolutions, but there's no ETA on that. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From ian.patton at gmail.com Tue Dec 5 19:53:46 2006 From: ian.patton at gmail.com (Ian Patton) Date: Tue, 5 Dec 2006 14:53:46 -0500 Subject: [Fedora-xen] X resolution In-Reply-To: <1165347860.10336.27.camel@new-host-2.home> References: <1165347860.10336.27.camel@new-host-2.home> Message-ID: <1579d8590612051153l7de7ceefp1a9915f9b72b556f@mail.gmail.com> I'm on 1024 x 768 at 24 bit and it seems it can go up to 1280 x 1024 at 16 bit color Ian Patton On 12/5/06, Lee Hornby wrote: > > Hello All > > Working fc6 xen Dom0. > > Is it possible to get fc6 client working with X on more than 800*600 > resolution? > > Googling hasn't turned up much. > > regards > Lee > > > > > > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > -- Ian Patton -------------- next part -------------- An HTML attachment was scrubbed... URL: From alex-saf at archit.vrn.ru Wed Dec 6 13:01:08 2006 From: alex-saf at archit.vrn.ru (Safonov Alexey) Date: Wed, 6 Dec 2006 16:01:08 +0300 Subject: [Fedora-xen] Problem with install guest FC6 (i386) on platform FC6 (x86_64) Message-ID: Dear colleagues! My server is an opteron 280 (x86_64) running with 4GB memory. Install distributive Fedora Core 6 (x86_64) with support of system virtualized XEN. #uname -a Linux srv-bd3.mup-uga.vrn.ru 2.6.18-1.2849.fc6xen #1 SMP Fri Nov 10 12:57:36 EST 2006 x86_64 x86_64 x86_64 GNU/Linux I would like to establish guest OS i386. Too FC6. At installation the mistake stands out: [2006-12-03 19:54:39 xend 4116] INFO (image:214) configuring linux guest [2006-12-03 19:54:39 xend 4116] INFO (image:232) setting use_graphics [2006-12-03 19:54:39 xend 4116] DEBUG (balloon:127) Balloon: 524316 KiB free; need 512000; done. [2006-12-03 19:54:39 xend 4116] INFO (image:138) buildDomain os=linux dom=8 vcpus=2 [2006-12-03 19:54:39 xend 4116] DEBUG (image:193) dom = 8 [2006-12-03 19:54:39 xend 4116] DEBUG (image:194) image = /var/lib/xen/vmlinuz.Y4RxAr [2006-12-03 19:54:39 xend 4116] DEBUG (image:195) store_evtchn = 1 [2006-12-03 19:54:39 xend 4116] DEBUG (image:196) console_evtchn = 2 [2006-12-03 19:54:39 xend 4116] DEBUG (image:197) cmdline = method=http://192.168.0.252/install/fc6/i386 [2006-12-03 19:54:39 xend 4116] DEBUG (image:198) ramdisk = /var/lib/xen/initrd.img.pXzZUK [2006-12-03 19:54:39 xend 4116] DEBUG (image:199) vcpus = 2 [2006-12-03 19:54:39 xend 4116] DEBUG (image:200) features = [2006-12-03 19:54:39 xend.XendDomainInfo 4116] ERROR (XendDomainInfo:202) Domain construction failed Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 195, in create vm.initDomain() File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1363, in initDomain raise VmError(str(exn)) VmError: (22, 'Invalid argument') If to install guest OS FC6 (x86_64) install and run is normal. Whether there is an opportunity to install as guest FC6 (i386) on FC6 (x86_64)? From info at vsic.net Wed Dec 6 16:25:34 2006 From: info at vsic.net (Frank Morane) Date: Wed, 06 Dec 2006 10:25:34 -0600 Subject: [Fedora-xen] Old RPM packages, where? Message-ID: <4576EEFE.5030905@vsic.net> Hi All, Do you know where I can get the old FC5 RPM of Xen as the new ones are badly broken for my setup, I need 2.6.16-1.2133_FC5xenU and 2.6.16-1.2133_FC5xen0 as well as the related packages? I mean, there must be an archive somewhere. Regards, -- Frank Morane (Free Thinker) http://www.adventuresinlegalland.com http://www.lysanderspooner.org http://thoreau.eserver.org From tomhorsley at adelphia.net Thu Dec 7 00:26:45 2006 From: tomhorsley at adelphia.net (Tom Horsley) Date: Wed, 6 Dec 2006 19:26:45 -0500 Subject: [Fedora-xen] From multi-boot to multi-guest? Message-ID: <20061206192645.027a8327@zooty> Xen is mostly of interest to me so I can do development and testing on multiple operating systems without rebooting. I already have several /boot and root partitions for several OS setup on my machine. I can also boot the Fedora Core 6 xen kernel as dom0, but my experiments with the redhat virt-manager tool seem to indicate the only way it can create new guests is if I want to install more copies of fedora. What I'd really like to do is just turn the various /boot and root partitions I currently have into guests under Xen. Are there any instructions a person starting with absolutely no knowledge of Xen can follow to do this? Things I can guess: I'll have to change my fstab file in each OS to not mount other partitions owned by other OSes. I'll have to give them all unique host names and IP addresses. Things I have no idea how to imagine: How do I setup the network for each guest? Is creating the guest just a matter of building a proper config file to point to my existing boot and root partitions and pass to xm? If so, what the devil goes in the config file (which file names are specified relative to the filesystems mounted on dom0 and which ones are relative to the domU mountpoints)? Or do I need to copy some info out of the existing partitions so it lives somewhere on dom0? How do I make sure the kernels in the existing boot partitions will support paravirtualization? (I have no fancy new Pacifica or Vanderpool instructions on my machine). What have I missed that will drop me into virtualization hell when I try this stuff? :-). Thanks for any pointers to get me started! (Speaking of getting started - are there any web pages on Xen that are somewhere in between the Sunday Supplement and the Phd level - everything I find seems to have hype with no content or content that only makes sense if I was in at the beginning of the long conversation I missed :-). From pasik at iki.fi Thu Dec 7 08:31:51 2006 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Thu, 7 Dec 2006 10:31:51 +0200 Subject: [Fedora-xen] From multi-boot to multi-guest? In-Reply-To: <20061206192645.027a8327@zooty> References: <20061206192645.027a8327@zooty> Message-ID: <20061207083151.GS7490@edu.joroinen.fi> On Wed, Dec 06, 2006 at 07:26:45PM -0500, Tom Horsley wrote: > Xen is mostly of interest to me so I can do development and testing > on multiple operating systems without rebooting. I already have > several /boot and root partitions for several OS setup on my machine. > I can also boot the Fedora Core 6 xen kernel as dom0, but my experiments > with the redhat virt-manager tool seem to indicate the only way it can > create new guests is if I want to install more copies of fedora. > > What I'd really like to do is just turn the various /boot and root > partitions I currently have into guests under Xen. Are there any > instructions a person starting with absolutely no knowledge of Xen > can follow to do this? > I haven't used virt-manager (yet) so I don't know if it supports editing the config file.. or using custom partitions/volumes/files directly. You need to edit the xen virtual machine (domU) config file, and specify your selected partitions for the domU. That way domU will only see the partitions you specified. Specify different partitions for each domU. -- Pasi > Things I can guess: > > I'll have to change my fstab file in each OS to not mount other > partitions owned by other OSes. > > I'll have to give them all unique host names and IP addresses. > > Things I have no idea how to imagine: > > How do I setup the network for each guest? > > Is creating the guest just a matter of building a proper config file > to point to my existing boot and root partitions and pass to xm? > If so, what the devil goes in the config file (which > file names are specified relative to the filesystems mounted on > dom0 and which ones are relative to the domU mountpoints)? Or > do I need to copy some info out of the existing partitions so > it lives somewhere on dom0? > > How do I make sure the kernels in the existing boot partitions will > support paravirtualization? (I have no fancy new Pacifica or > Vanderpool instructions on my machine). > > What have I missed that will drop me into virtualization hell > when I try this stuff? :-). > > Thanks for any pointers to get me started! (Speaking of getting > started - are there any web pages on Xen that are somewhere > in between the Sunday Supplement and the Phd level - everything > I find seems to have hype with no content or content that only > makes sense if I was in at the beginning of the long conversation > I missed :-). > From guiber at free.fr Thu Dec 7 08:03:19 2006 From: guiber at free.fr (Guiber) Date: Thu, 7 Dec 2006 17:03:19 +0900 Subject: [Fedora-xen] Windows XP guest reboot quickly and get killed, ideas? Message-ID: <20061207170319.2a035732.guiber@free.fr> Hello, I am trying to set up a fully virtualized windows xp. I have many problems. Here is my configuration (Dell XPS M1210): vmx, pae, 2*2GHz, RAM 512Mo, fedora core 6, xen 3.03 Disk sda, Cdrom hdc broadcom B44, intel ipw3945 Fedora is in Domain-0 and I would like to add guest windows xp. First of all I have no internet access when booting the xen kernel. The problem may come from fedora, I found a patched kernel : http://people.redhat.com/sct/packages/kernel/kernel-xen-2.6.18-1.2857.4.2.fc6.0.2.sct/kernel-xen-2.6.18-1.2857.4.2.fc6.0.2.sct.i686.rpm which solve the errors I could find in fedora dmesg but I still don't have internet access. ifconfig shows errors in eth0 and there are lots of interfaces I don't know about. See 2006_12_07_errors_no_eth0_kernel_sctxen Then here is how I have proceeded for my installation: - Create a partition for windows in my LVM group: principal/winxp (1,5 Go) - Launch virt-manager and configure a new virtual guest: winxp, fully virtualized, from cdrom, install to /dev/principal/winxp, use 100 Mo for the new guest On validation a window open and the installation begins. It is all marvellous until the (normal) reboot of the guest; then I have been unable to create the guest again "xm create winxp". Fedora as only sda and hdc, whereas windows as hda as first drive. I don'y know if it is a problem, I have the line : DEBUG (blkif:24) exception looking up device number for hda: [Errno 2] No such file or directory: \047/dev/hda\047 Else, the guest reboot quickly (1,5s) so xend stop it after a while. I tried to change from hda to sda in the configuration file; to install to a file; to install from an iso... When changing hda to sda vnc come up and I can see a bosch error. See 2006_12_07_errors_xm_dmesg_second_attempt_sda and from "[2006-12-07 12:34:45" in the xend_logs When installing the guest in a file I can reboot and get vnc but the screen is all black and the guest is automatically "paused" with 0% CPU and 26% (around 30Mo) memory. See 2006_12_07_errors_xm_dmesg_from_scratch_reboot and from [2006-12-07 13:42:02 in the xend_logs When installing from an iso: impossible, virt-manager (libvirt?) can't see my iso (which I checked with a mount -o ro,loop). As this problem can come from a selinux policy I did: "semanage fcontext -l | grep xen_image_t" and put the iso in /xen but it solved nothing. Thank you very much for your help, (I am not a member of the list, keep me on the CC please) Guillaume nota bene, some errors I could get from places to places and that might be enough to understand where the problem come from: DEBUG (blkif:24) exception looking up device number for hda: [Errno 2] No such file or directory: \047/dev/hda \047 (XEN) (GUEST: 13) int13_harddisk: function 42. LBA out of range (XEN) (GUEST: 13) int13_harddisk: function 08, unmapped device for ELDL=81 (XEN) (GUEST: 12) *** int 15h function AX=E980, BX=00F2 not yet supported! (XEN) (GUEST: 12) unsupported PCI BIOS function 0x0E (XEN) (GUEST: 12) int13_harddisk: function 15, unmapped device for ELDL=81 // Fedora dmesg PCI: BIOS Bug: MCFG area at f0000000 is not E820-reserved audit(1165470833.831:44): avc: denied { read write } for pid=6706 comm="ifconfig" name="principal-winxp" dev=tmpfs ino=1066 scontext=system_u:system_r:i fconfig_t:s0 tcontext=system_u:object_r:fixed_disk_device_t:s0 tclass=blk_file -------------- next part -------------- A non-text attachment was scrubbed... Name: 2006_12_07_errors_install_from_scratch_dmesg Type: application/octet-stream Size: 16385 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 2006_12_07_errors_no_eth0_kernel_sctxen Type: application/octet-stream Size: 2030 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 2006_12_07_errors_xm_dmesg_first_attempt Type: application/octet-stream Size: 16385 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 2006_12_07_errors_xm_dmesg_first_attempt_winxp.cfg Type: application/octet-stream Size: 456 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 2006_12_07_errors_xm_dmesg_from_scratch_reboot Type: application/octet-stream Size: 16385 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 2006_12_07_errors_xm_dmesg_second_attempt_sda Type: application/octet-stream Size: 16385 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xend_logs Type: application/octet-stream Size: 202722 bytes Desc: not available URL: From ed.jimison at intel.com Thu Dec 7 18:25:06 2006 From: ed.jimison at intel.com (Jimison, Ed) Date: Thu, 7 Dec 2006 10:25:06 -0800 Subject: [Fedora-xen] Problem installing full virtualized Vista guest Message-ID: <395DB1DBC1F0E4499EA739E0919759D3DBC990@fmsmsx412.amr.corp.intel.com> Now that I finally got W2K installed as a guest, I'm moving on to Vista. The initial setup and config worked and the Vista install booted from CDROM and transferred files to the harddrive. After reboot there is just a blank black screen, which is very similar to the W2K install. With W2K I worked around it by hitting F5 and selecting Standard PC. With Vista there is no such option. I transferred the ISO to disk and added it to my config file. When I create the guest and it tries to boot I get this error: Boot from Hard Disk 0 failed FATAL: not a bootable disk My config file: # Automatically generated xen config file name = "vistavirt1" builder = "hvm" memory = "500" disk = [ 'file:/xen/vistavirt1,hda,w', 'file:/home/evjimiso/vista.iso,hdc:c,r'] vif = [ 'type=ioemu, mac=00:16:3e:3f:17:66, bridge=xenbr0', ] uuid = "2dc04ca6-4de7-0b22-8cc4-4bdb0ff273d9" device_model = "/usr/lib/xen/bin/qemu-dm" kernel = "/usr/lib/xen/boot/hvmloader" vnc=1 vncunused=1 apic=1 acpi=1 pae=1 vcpus=1 serial = "pty" # enable serial console on_reboot = 'restart' on_crash = 'restart' -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul at xelerance.com Thu Dec 7 20:17:57 2006 From: paul at xelerance.com (Paul Wouters) Date: Thu, 7 Dec 2006 21:17:57 +0100 (CET) Subject: [Fedora-xen] older rhel/centos/FC guests on fc6 host and non working console solved Message-ID: I spend some time figuring out why my old centos/rhel/fc images I converted for xen didnt have a proper serial console. It turns out they have either a missing or older version of /dev/xvc0. The fix is to make sure the new device eixsts. either in the initrd and/or some other place. Since these older versions of the OS are likely booting with a newer kernel (from your FC6 host), you have a non working udev, so you need to make sure the device exists manually: mknod /dev/xvc0 c 250 187 Be aware that there are many wrong/old google hits on the majore/minors of this. I hope this helps others not waste as much time as me :) Paul From lee.hornby at btinternet.com Fri Dec 8 01:26:57 2006 From: lee.hornby at btinternet.com (Lee Hornby) Date: Fri, 08 Dec 2006 01:26:57 +0000 Subject: [Fedora-xen] Keyboard in fc6 guest Message-ID: <1165541217.9398.10.camel@new-host-2.home> Hello all Fc6 guest under fc6. UK Keyboard. All keys map fine in Dom0 but in DomU some keys don't work or are wrong and can't get the | pipe key which is somewhat annoying. Have check keyboard in gnome is set to UK and Language is UK. If run with a console and sdl get the following when pressing the keys in question. keyboard.c: can't emulate rawmode for keycode 0 Am I missing something obvious? Regards Lee From tomhorsley at adelphia.net Fri Dec 8 02:16:30 2006 From: tomhorsley at adelphia.net (Tom Horsley) Date: Thu, 7 Dec 2006 21:16:30 -0500 Subject: [Fedora-xen] 32 bit domU, 64 bit dom0? Message-ID: <20061207211630.5b2d1ac3@zooty> I tried to follow the instructions in the FC6 Xen fedoraproject wiki page and tried installing 32 bit FC6 guest while booted in x86_64 dom0, the virt-manager tells me invalid argument and the xend-debug.log file says ERROR: Kernel not a Xen-compatible Elf image. Does this mean it is, in fact, impossible to run a 32bit guest (x86 architecture) on a 64 bit x86_64 host? Or does it just mean virt-manager isn't prepared to try doing an install from a 32 bit fedora install tree? Installing an x86_64 guest seems to be working fine, by the way. (I can't ever seem to find a plain statement about 32 versus 64 bit compatibility under Xen, though I have seen plain statements that I can't run a 64 bit guest under and 32 bit host, which sort of implies by omission that maybe I can run a 32 bit guest under a 64 bit host as long as we are talking x86 architecture in general). From clalance at redhat.com Fri Dec 8 03:19:29 2006 From: clalance at redhat.com (Chris Lalancette) Date: Thu, 07 Dec 2006 22:19:29 -0500 Subject: [Fedora-xen] 32 bit domU, 64 bit dom0? In-Reply-To: <20061207211630.5b2d1ac3@zooty> References: <20061207211630.5b2d1ac3@zooty> Message-ID: <4578D9C1.3060107@redhat.com> Tom Horsley wrote: > I tried to follow the instructions in the FC6 Xen fedoraproject wiki > page and tried installing 32 bit FC6 guest while booted in x86_64 dom0, > the virt-manager tells me invalid argument and the xend-debug.log > file says ERROR: Kernel not a Xen-compatible Elf image. > > Does this mean it is, in fact, impossible to run a 32bit guest > (x86 architecture) on a 64 bit x86_64 host? > > Or does it just mean virt-manager isn't prepared to try doing an > install from a 32 bit fedora install tree? > > Installing an x86_64 guest seems to be working fine, by the way. > > (I can't ever seem to find a plain statement about 32 versus 64 > bit compatibility under Xen, though I have seen plain statements > that I can't run a 64 bit guest under and 32 bit host, which > sort of implies by omission that maybe I can run a 32 bit guest > under a 64 bit host as long as we are talking x86 architecture > in general). > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen No, this isn't a limitation of virt-manager; it's a limitation of Xen. The problem with a clear statement is that things are always moving :). As far as I know, it currently stands like this (where domU is paravirtualized domains and HVM is fully-virtualized domains): Hypervisor dom0 domU HVM ------------------------------------------------------------- 32-bit 32-bit 32-bit 32-bit 32-bit PAE 32-bit PAE 32-bit PAE 32-bit PAE 64-bit 64-bit 64-bit 32- or 64-bit There is ongoing work upstream to allow 32-bit domU's to run on 64-bit hypervisors, but that doesn't work right now. Chris Lalancette From tomhorsley at adelphia.net Fri Dec 8 03:33:28 2006 From: tomhorsley at adelphia.net (Tom Horsley) Date: Thu, 7 Dec 2006 22:33:28 -0500 Subject: [Fedora-xen] 32 bit domU, 64 bit dom0? In-Reply-To: <4578D9C1.3060107@redhat.com> References: <20061207211630.5b2d1ac3@zooty> <4578D9C1.3060107@redhat.com> Message-ID: <20061207223328.56ec2e3b@zooty> On Thu, 07 Dec 2006 22:19:29 -0500 Chris Lalancette wrote: > There is ongoing work upstream to allow 32-bit domU's to run on 64-bit hypervisors, but that doesn't work right now. Thanks. So if my hardware was newer (or I wait long enough :-), I could get a 32 bit OS to run fully virtualized. I'll see what happens when we try it at work on a box that does have the hardware support. From jerutley at gmail.com Fri Dec 8 06:32:30 2006 From: jerutley at gmail.com (Jeremy Utley) Date: Thu, 7 Dec 2006 22:32:30 -0800 Subject: [Fedora-xen] 32 bit domU, 64 bit dom0? In-Reply-To: <20061207223328.56ec2e3b@zooty> References: <20061207211630.5b2d1ac3@zooty> <4578D9C1.3060107@redhat.com> <20061207223328.56ec2e3b@zooty> Message-ID: On 12/7/06, Tom Horsley wrote: > On Thu, 07 Dec 2006 22:19:29 -0500 > Chris Lalancette wrote: > > > There is ongoing work upstream to allow 32-bit domU's to run on 64-bit hypervisors, but that doesn't work right now. > > Thanks. So if my hardware was newer (or I wait long enough :-), > I could get a 32 bit OS to run fully virtualized. I'll see what > happens when we try it at work on a box that does have the > hardware support. Forgive me for jumping in here, but, in theory, it *should* be possible to utilize a 64-bit domU kernel with a 32-bit userland, assuming of course that the domU kernel has 32-bit compatibility turned on. In practice, getting the 32-bit userland set up might be somewhat tricky, but this shouldn't be impossible. Am I missing something? Jeremy From armbru at redhat.com Fri Dec 8 10:47:27 2006 From: armbru at redhat.com (Markus Armbruster) Date: Fri, 08 Dec 2006 11:47:27 +0100 Subject: [Fedora-xen] older rhel/centos/FC guests on fc6 host and non working console solved In-Reply-To: (Paul Wouters's message of "Thu, 7 Dec 2006 21:17:57 +0100 (CET)") References: Message-ID: <87u006is00.fsf@pike.pond.sub.org> Paul Wouters writes: > I spend some time figuring out why my old centos/rhel/fc images I converted > for xen didnt have a proper serial console. It turns out they have either > a missing or older version of /dev/xvc0. > > The fix is to make sure the new device eixsts. either in the initrd and/or > some other place. Since these older versions of the OS are likely booting > with a newer kernel (from your FC6 host), you have a non working udev, so > you need to make sure the device exists manually: > > mknod /dev/xvc0 c 250 187 This major number is in the range for local/experimental use. LANANA recently approved 204 191 for xvc, and upstream switched to it. Watch out for this when you update your kernel in the future. [...] From clalance at redhat.com Fri Dec 8 12:52:36 2006 From: clalance at redhat.com (Chris Lalancette) Date: Fri, 08 Dec 2006 07:52:36 -0500 Subject: [Fedora-xen] 32 bit domU, 64 bit dom0? In-Reply-To: References: <20061207211630.5b2d1ac3@zooty> <4578D9C1.3060107@redhat.com> <20061207223328.56ec2e3b@zooty> Message-ID: <45796014.6080104@redhat.com> Jeremy Utley wrote: > On 12/7/06, Tom Horsley wrote: >> On Thu, 07 Dec 2006 22:19:29 -0500 >> Chris Lalancette wrote: >> >>> There is ongoing work upstream to allow 32-bit domU's to run on 64-bit hypervisors, but that doesn't work right now. >> Thanks. So if my hardware was newer (or I wait long enough :-), >> I could get a 32 bit OS to run fully virtualized. I'll see what >> happens when we try it at work on a box that does have the >> hardware support. > > Forgive me for jumping in here, but, in theory, it *should* be > possible to utilize a 64-bit domU kernel with a 32-bit userland, > assuming of course that the domU kernel has 32-bit compatibility > turned on. In practice, getting the 32-bit userland set up might be > somewhat tricky, but this shouldn't be impossible. > > Am I missing something? > > Jeremy > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen Yes, you are right, of course. I was mainly talking about running a 32-bit domU *kernel* on a 64-bit hypervisor/dom0. Chris Lalancette From armbru at redhat.com Fri Dec 8 17:25:04 2006 From: armbru at redhat.com (Markus Armbruster) Date: Fri, 08 Dec 2006 18:25:04 +0100 Subject: [Fedora-xen] Keyboard in fc6 guest In-Reply-To: <1165541217.9398.10.camel@new-host-2.home> (Lee Hornby's message of "Fri, 08 Dec 2006 01:26:57 +0000") References: <1165541217.9398.10.camel@new-host-2.home> Message-ID: <87bqmei9lb.fsf@pike.pond.sub.org> Lee Hornby writes: > Hello all > > Fc6 guest under fc6. > > UK Keyboard. > > All keys map fine in Dom0 but in DomU some keys don't work or are wrong > and can't get the | pipe key which is somewhat annoying. > > Have check keyboard in gnome is set to UK and Language is UK. This is the graphical console with vnc, I presume. > If run with a console and sdl get the following when pressing the keys > in question. > > keyboard.c: can't emulate rawmode for keycode 0 > > Am I missing something obvious? No. The paravirtual framebuffer in FC-6 assumes you're using the US keymap. This restriction should be lifted, but it needs time. From garysiao at gmail.com Fri Dec 8 19:29:38 2006 From: garysiao at gmail.com (Gary Siao) Date: Fri, 8 Dec 2006 14:29:38 -0500 Subject: [Fedora-xen] allow non-root user to stop/start xen host Message-ID: hi gurus i am a newbie to XEN and would like to know if there's a way to allow non-root user to use the XM command to stop and start XEN VM hosts. thanks ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From berrange at redhat.com Fri Dec 8 19:52:51 2006 From: berrange at redhat.com (Daniel P. Berrange) Date: Fri, 8 Dec 2006 19:52:51 +0000 Subject: [Fedora-xen] allow non-root user to stop/start xen host In-Reply-To: References: Message-ID: <20061208195251.GD4742@redhat.com> On Fri, Dec 08, 2006 at 02:29:38PM -0500, Gary Siao wrote: > hi gurus > > i am a newbie to XEN and would like to know if there's a way to allow > non-root user to use the XM command to stop and start XEN VM hosts. No standard tools allow this[1]. Letting non-root users stop/start guests is a potential security hole, because the back-end drivers for the guest access many privileged files / system resources in Dom0. Regards, Dan. [1] Well technically you can enable HTTP access in XenD, but this is akin to running a telnet / ssh server with no root password - incredibly foolish if you care about integrity of your machine. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From adrian at creative.net.au Sat Dec 9 00:26:12 2006 From: adrian at creative.net.au (Adrian Chadd) Date: Sat, 9 Dec 2006 08:26:12 +0800 Subject: [Fedora-xen] allow non-root user to stop/start xen host In-Reply-To: <20061208195251.GD4742@redhat.com> References: <20061208195251.GD4742@redhat.com> Message-ID: <20061209002612.GI26743@skywalker.creative.net.au> On Fri, Dec 08, 2006, Daniel P. Berrange wrote: > On Fri, Dec 08, 2006 at 02:29:38PM -0500, Gary Siao wrote: > > hi gurus > > > > i am a newbie to XEN and would like to know if there's a way to allow > > non-root user to use the XM command to stop and start XEN VM hosts. > > No standard tools allow this[1]. Letting non-root users stop/start guests is > a potential security hole, because the back-end drivers for the guest access > many privileged files / system resources in Dom0. You could also use sudo. xm is just 'another command' (with, as Daniel said, all the potential security issues.) Adrian From porjo38 at hotmail.com Sat Dec 9 21:34:40 2006 From: porjo38 at hotmail.com (. .) Date: Sun, 10 Dec 2006 07:34:40 +1000 Subject: [Fedora-xen] Problems with guest Dom's on Fedora 6 Message-ID: Hi, I'm new to Xen. I've been trying unsucessfully to setup an x86_64 guest on my x86_64 Dom0 (both running Fedora Core 6). The dom0 system is a fresh install of FC6 with latest updates applied. What I have been able to do is run the 'virt-install' utility to create the guest environment, however when the FC6 install finishes on the guest, it says 'rebooting' and then dies i.e. I can't see the guest listed when I do an 'xm list'. What I've then done is 'xm create -c /etc/xen/fc6_64' (the name of the config created above) which takes my to the pygrub boot screen, then attempts to boot, however I only get as far as 'creating root device' and it stops. Now, when I do an 'xm list' I can see the guest listed but it is in the 'blocked' state. The xend.log file doesn't appear to show any errors, just a whole lot of DEBUG - the last message is 'INFO (XendDomain:370) Domain fc6_64 (1) unpaused' Now if I try to reboot the guest i.e 'xm reboot fc6_64' things go horribly wrong. The guest console says 'restarting' then drops back to Dom0 command line. When I do 'xm list' I get the error 'Error: Device 51712 not connected' instead of the usual list and xend.log shows the following: [2006-12-10 07:24:42 xend.XendDomainInfo 2488] DEBUG (XendDomainInfo:933) XendDomainInfo.handleShutdownWatch [2006-12-10 07:24:42 xend.XendDomainInfo 2488] DEBUG (XendDomainInfo:933) XendDomainInfo.handleShutdownWatch [2006-12-10 07:24:44 xend.XendDomainInfo 2488] INFO (XendDomainInfo:892) Domain has shutdown: name=fc6_64 id=1 reason=reboot. [2006-12-10 07:24:44 xend.XendDomainInfo 2488] DEBUG (XendDomainInfo:1457) XendDomainInfo.destroyDomain(1) [2006-12-10 07:24:44 xend.XendDomainInfo 2488] DEBUG (XendDomainInfo:190) XendDomainInfo.create(['domain', ['domid', 1], ...... [2006-12-10 07:24:44 xend.XendDomainInfo 2488] DEBUG (XendDomainInfo:296) parseConfig: config is ['domain', ['domid', 1], ........... [2006-12-10 07:24:44 xend.XendDomainInfo 2488] DEBUG (XendDomainInfo:395) parseConfig: result is {'shadow_memory': 0,.............. [2006-12-10 07:24:44 xend.XendDomainInfo 2488] DEBUG (XendDomainInfo:1253) XendDomainInfo.construct: None [2006-12-10 07:24:44 xend.XendDomainInfo 2488] DEBUG (XendDomainInfo:1285) XendDomainInfo.initDomain: 2 1.0 [2006-12-10 07:24:44 xend 2488] INFO (image:214) configuring linux guest [2006-12-10 07:24:44 xend 2488] DEBUG (balloon:133) Balloon: 4608 KiB free; 258464 to scrub; need 262144; retries: 20. [2006-12-10 07:24:44 xend 2488] DEBUG (balloon:141) Balloon: waiting on scrubbing [2006-12-10 07:24:45 xend 2488] DEBUG (balloon:127) Balloon: 263072 KiB free; need 262144; done. [2006-12-10 07:24:45 xend 2488] INFO (image:138) buildDomain os=linux dom=2 vcpus=1 [2006-12-10 07:24:45 xend 2488] DEBUG (image:193) dom = 2 [2006-12-10 07:24:45 xend 2488] DEBUG (image:194) image = /var/lib/xen/vmlinuz.ZheCMH [2006-12-10 07:24:45 xend 2488] DEBUG (image:195) store_evtchn = 1 [2006-12-10 07:24:45 xend 2488] DEBUG (image:196) console_evtchn = 2 [2006-12-10 07:24:45 xend 2488] DEBUG (image:197) cmdline = ro root=/dev/VolGroup00/LogVol00 console=xvc0 [2006-12-10 07:24:45 xend 2488] DEBUG (image:198) ramdisk = /var/lib/xen/initrd.LC7J9l [2006-12-10 07:24:45 xend 2488] DEBUG (image:199) vcpus = 1 [2006-12-10 07:24:45 xend 2488] DEBUG (image:200) features = [2006-12-10 07:24:45 xend 2488] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:55:69:53', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/2/0'} to /local/domain/2/device/vif/0. [2006-12-10 07:24:45 xend 2488] DEBUG (DevController:112) DevController: writing {'bridge': 'xenbr0', 'domain': 'fc6_64', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/2/device/vif/0', 'mac': '00:16:3e:55:69:53', 'online': '1', 'frontend-id': '2'} to /local/domain/0/backend/vif/2/0. [2006-12-10 07:24:45 xend 2488] DEBUG (blkif:24) exception looking up device number for xvda: [Errno 2] No such file or directory: '/dev/xvda' [2006-12-10 07:24:45 xend 2488] DEBUG (DevController:110) DevController: writing {'backend-id': '0', 'virtual-device': '51712', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/tap/2/51712'} to /local/domain/2/device/vbd/51712. [2006-12-10 07:24:45 xend 2488] DEBUG (DevController:112) DevController: writing {'domain': 'fc6_64', 'frontend': '/local/domain/2/device/vbd/51712', 'dev': 'xvda', 'state': '1', 'params': 'aio:/data/fc6_64.img', 'mode': 'w', 'online': '1', 'frontend-id': '2', 'type': 'tap'} to /local/domain/0/backend/tap/2/51712. [2006-12-10 07:24:45 xend.XendDomainInfo 2488] DEBUG (XendDomainInfo:712) Storing VM details: {'shadow_memory': '0', 'uuid': ............ [2006-12-10 07:24:45 xend.XendDomainInfo 2488] DEBUG (XendDomainInfo:747) Storing domain details: {'console/ring-ref': '230727', .......... [2006-12-10 07:24:45 xend.XendDomainInfo 2488] DEBUG (XendDomainInfo:933) XendDomainInfo.handleShutdownWatch [2006-12-10 07:24:59 xend.XendDomainInfo 2488] WARNING (XendDomainInfo:875) Domain has crashed: name=fc6_64 id=2. [2006-12-10 07:24:59 xend.XendDomainInfo 2488] ERROR (XendDomainInfo:1661) VM fc6_64 restarting too fast (15.225058 seconds since the last restart). Refusing to restart to avoid loops. [2006-12-10 07:24:59 xend.XendDomainInfo 2488] DEBUG (XendDomainInfo:1449) XendDomainInfo.destroy: domid=2 [2006-12-10 07:24:59 xend.XendDomainInfo 2488] DEBUG (XendDomainInfo:1457) XendDomainInfo.destroyDomain(2) _________________________________________________________________ Advertisement: Fresh jobs daily. Stop waiting for the newspaper. Search now! www.seek.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Eseek%2Ecom%2Eau&_t=757263760&_r=Hotmail_EndText_Dec06&_m=EXT From tomhorsley at adelphia.net Sat Dec 9 22:34:24 2006 From: tomhorsley at adelphia.net (Tom Horsley) Date: Sat, 9 Dec 2006 17:34:24 -0500 Subject: [Fedora-xen] Problems with guest Dom's on Fedora 6 In-Reply-To: References: Message-ID: <20061209173424.73104d4f@zooty> On Sun, 10 Dec 2006 07:34:40 +1000 ". ." wrote: > I'm new to Xen. I've been trying unsucessfully to setup an x86_64 guest on > my x86_64 Dom0 (both running Fedora Core 6). The dom0 system is a fresh > install of FC6 with latest updates applied. My exact situation as well, but installing the guest by blindly following the instructions in the FC6 Xen page worked OK for me, when it did the initial reboot, I just ran an xm create to get it running again, and the initial firstboot stuff came up and worked OK. I've been working on my Xen Frequently Confusing Issues web page documenting stuff I learn (and have yet to learn) as I go along: http://home.att.net/~Tom.Horsley/xen-fci.html Don't know if anything in there will help... From Hua.Zhang at Sun.COM Sun Dec 10 16:58:53 2006 From: Hua.Zhang at Sun.COM (Henry Zhang) Date: Mon, 11 Dec 2006 00:58:53 +0800 Subject: [Fedora-xen] What's the Pre-requisites for virt-manager In-Reply-To: <20061124035912.GA1197@redhat.com> References: <454E1DF2.90703@sun.com> <20061105205201.GC27599@redhat.com> <454EA329.9020705@sun.com> <20061106044542.GA28547@redhat.com> <456434FB.6050005@sun.com> <20061122121852.GE13945@redhat.com> <4566676E.1040706@sun.com> <20061124035912.GA1197@redhat.com> Message-ID: <457C3CCD.3000000@sun.com> Hi Dan, From Fedora site http://fedoraproject.org/wiki/Docs/Beats/Virtualization?highlight=%28xenguest-install%29 I find several information, I am sure if they are correct: 1, "Integrated graphical framebuffer. Both the GUI installer and the guest operating system's graphical environment can be accessed from virt-manager without the need for VNC." As I remembered, you told me when we double-click any DomU, we will start a graphic console, this console just use virt-manmager embedded vnc-viewer to access DomU, so need vnc connection. Also I know when install a guest domain, there also will appear a vnc-viewer for install OS. But from the above explanation, seems we never use vnc any more? 2,"CPU and memory management. The vCPUs and memory of active guest operating systems can be adjusted on the fly." From your website http://virt-manager.et.redhat.com/screenshots.html, I can see "Most of this dialog is currently non-functional. Compare with a scan of the design mockup" under "Virtual machine configuration", when I tried, seems it's true most of them can't work, so who is wrong? Thanks, Henry Daniel P. Berrange ??: > On Fri, Nov 24, 2006 at 11:30:54AM +0800, Henry Zhang wrote: >> hi Dan, I think it over, and seems more concern, see below, >> >> Daniel P. Berrange ??????: >>> On Wed, Nov 22, 2006 at 07:31:07PM +0800, Henry Zhang wrote: >>> >>>> Hi Daniel, >>>> >>>> Here I have another question on virt-manager, as you write "an embedded >>>> VNC client viewer provides console access to each of the guest domains", >>>> my concern is where is the vnc server, who provide it, and start it? >>>> Need we setup vnc? I looked through the process used to create guest, >>>> seems there is no any step for vnc... >>>> >>> The VNC server depends on what type of domain is being run. For HVM guests >>> the VNC server is provided by the qemu-dm process assoicated with that >>> guest. For paravirt guests, VNC is only available if you have the paravirt >>> framebuffer patches applied to your xen tree - these are not in >>> xen-unstable >>> yet. In paravirt, XenD will launch a xen-vncfb process to provide the VNC >>> server. >> due to vnc connection is required by vnc-viewer, vnc-viewer can present >> the graphical console, >> because there is no paravirt framebuffer patches applied to >> xen-unstable, so virt-manager can't work >> with xen-unstable for paravirt guests, because we can't get the >> graphical console run. is it right? > > That is correct - the paravirt framebuffer patches are no yet in the > xen-unstable tree. In Fedora kernels we apply them as a patch ourselves > since it was important to have graphical console available for both PV > and FV guests in the same way. So any FC5, FC6 or RHEL-5 guest has the > PV framebuffer patches available already, even though they're not > upstream > >> xen-unstable should be the latest version of Xen, if it has no paravirt >> framebuffer patches, maybe xen-stable >> should have no either? and if so, we may say virt-manager not support >> paravirt at the moment? > > The PV framebuffer patches have been submitted several times & it looks > like they are very close to being merged upstream. Perhaps next couple > of weeks if all goes well. > > Regards, > Dan. From bench at silentmedia.com Sun Dec 10 17:47:51 2006 From: bench at silentmedia.com (Ben) Date: Sun, 10 Dec 2006 09:47:51 -0800 Subject: [Fedora-xen] understanding perfomance Message-ID: <53846F97-9596-4660-A771-6A13978CFCFE@silentmedia.com> I'm having a hard time understanding how to determine load on my domUs. I'm running FC5 on both my dom0 and domUs, all up to date against the official fedora repositories as of last night. On at least one of my domUs acting as a database, xm top shows CPU load at roughly 60% when I fire off some long-running queries. That sounds reasonable to me, but running top of the domU itself shows almost no cpu load. The domU *is* doing a lot of I/O, but according to vmstat on the domU, very little of the processors are stuck in I/O wait state. So, I'm not sure what the proper question is. It's probably some combination of these two: 1. Why does the domU not think it's stuck in I/O wait? 2. Why does xm top and top on the domU disagree? From info at vsic.net Sun Dec 10 20:40:56 2006 From: info at vsic.net (Frank Morane) Date: Sun, 10 Dec 2006 14:40:56 -0600 Subject: [Fedora-xen] Cannot start domU Message-ID: <457C70D8.10101@vsic.net> Hi, This domU runs fine in FC5 (2.6.16-1.2133_FC5xen0) but not in FC6, I get this: [root at louisxi xen]# xm create -c paine Using config file "spooner". Started domain spooner Linux version 2.6.18-1.2849.fc6xen (brewbuilder at hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Fri Nov 10 13:56:52 EST 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000010200000 (usable) 0MB HIGHMEM available. 258MB LOWMEM available. Using x86 segment limits to approximate NX protection ACPI in unprivileged domain disabled Built 1 zonelists. Total pages: 66048 Kernel command line: root=/dev/sda1 ro Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 CPU 0 irqstacks, hard=c078a000 soft=c076a000 PID hash table entries: 2048 (order: 11, 8192 bytes) Xen reported: 1799.795 MHz processor. Console: colour dummy device 80x25 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Software IO TLB disabled vmalloc area: d1000000-f4ffe000, maxmem 2d7fe000 Memory: 243456k/264192k available (2098k kernel code, 12248k reserved, 838k data, 180k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 4503.89 BogoMIPS (lpj=9007786) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 512 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed Brought up 1 CPUs checking if image is initramfs... it is Freeing initrd memory: 4751k freed Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: setting up Xen PCI frontend stub ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xen_mem: Initialising balloon driver. usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: System does not support PCI PCI: System does not support PCI NetLabel: Initializing NetLabel: domain hash size = 128 NetLabel: protocols = UNLABELED CIPSOv4 NetLabel: unlabeled traffic allowed by default NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 6, 327680 bytes) TCP bind hash table entries: 8192 (order: 5, 163840 bytes) TCP: Hash tables configured (established 16384 bind 8192) TCP reno registered IA-32 Microcode Update Driver: v1.14-xen audit: initializing netlink socket (disabled) audit(1165782904.897:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key CA06D81CB13FD94 - User ID: Red Hat, Inc. (Kernel Module GPG key) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 rtc: IRQ 8 is not free. Non-volatile memory driver v1.2 Linux agpgart interface v0.101 (c) Dave Jones RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize Xen virtual console successfully installed as xvc0 Linux version 2.6.18-1.2849.fc6xen (brewbuilder at hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Fri Nov 10 13:56:52 EST 2006 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000010200000 (usable) 0MB HIGHMEM available. 258MB LOWMEM available. Using x86 segment limits to approximate NX protection ACPI in unprivileged domain disabled Built 1 zonelists. Total pages: 66048 Kernel command line: root=/dev/sda1 ro Enabling fast FPU save and restore... done. Enabling unmasked SIMD FPU exception support... done. Initializing CPU#0 CPU 0 irqstacks, hard=c078a000 soft=c076a000 PID hash table entries: 2048 (order: 11, 8192 bytes) Xen reported: 1799.795 MHz processor. Console: colour dummy device 80x25 Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Software IO TLB disabled vmalloc area: d1000000-f4ffe000, maxmem 2d7fe000 Memory: 243456k/264192k available (2098k kernel code, 12248k reserved, 838k data, 180k init, 0k highmem) Checking if this processor honours the WP bit even in supervisor mode... Ok. Calibrating delay using timer specific routine.. 4503.89 BogoMIPS (lpj=9007786) Security Framework v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 512 CPU: Trace cache: 12K uops, L1 D cache: 8K CPU: L2 cache: 512K Checking 'hlt' instruction... OK. SMP alternatives: switching to UP code Freeing SMP alternatives: 12k freed Brought up 1 CPUs checking if image is initramfs... it is Freeing initrd memory: 4751k freed Grant table initialized NET: Registered protocol family 16 Brought up 1 CPUs PCI: setting up Xen PCI frontend stub ACPI: Interpreter disabled. Linux Plug and Play Support v0.97 (c) Adam Belay pnp: PnP ACPI: disabled xen_mem: Initialising balloon driver. usbcore: registered new driver usbfs usbcore: registered new driver hub PCI: System does not support PCI PCI: System does not support PCI NetLabel: Initializing NetLabel: domain hash size = 128 NetLabel: protocols = UNLABELED CIPSOv4 NetLabel: unlabeled traffic allowed by default NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 6, 327680 bytes) TCP bind hash table entries: 8192 (order: 5, 163840 bytes) TCP: Hash tables configured (established 16384 bind 8192) TCP reno registered IA-32 Microcode Update Driver: v1.14-xen audit: initializing netlink socket (disabled) audit(1165782904.897:1): initialized VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key CA06D81CB13FD94 - User ID: Red Hat, Inc. (Kernel Module GPG key) io scheduler noop registered io scheduler anticipatory registered io scheduler deadline registered io scheduler cfq registered (default) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 rtc: IRQ 8 is not free. Non-volatile memory driver v1.2 Linux agpgart interface v0.101 (c) Dave Jones RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize Xen virtual console successfully installed as xvc0 Event-channel device installed. Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx ide-floppy driver 0.99.newide usbcore: registered new driver libusual usbcore: registered new driver hiddev usbcore: registered new driver usbhid drivers/usb/input/hid-core.c: v2.6:USB HID core driver PNP: No PS/2 controller found. Probing ports directly. i8042.c: No controller found. mice: PS/2 mouse device common for all mice md: md driver 0.90.3 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: bitmap version 4.39 TCP bic registered Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 Using IPI No-Shortcut mode XENBUS: Device with no driver: device/vbd/2049 XENBUS: Device with no driver: device/vbd/2052 XENBUS: Device with no driver: device/vbd/2050 XENBUS: Device with no driver: device/vbd/2051 XENBUS: Device with no driver: device/vif/0 Freeing unused kernel memory: 180k freed Write protecting the kernel read-only data: 357k Red Hat nash version 5.1.19 starting Mounting proc filesystem Mounting sysfs filesystem Creating /dev Creating initial device nodes Setting up hotplug. Creating block device nodes. Loading uhci-hcd.ko module USB Universal Host Controller Interface driver v3.0 Loading ohci-hcd.ko module Loading ehci-hcd.ko module Loading jbd.ko module Loading ext3.ko module Loading dm-mod.ko module device-mapper: ioctl: 4.7.0-ioctl (2006-06-24) initialised: dm-devel at redhat.com Loading dm-mirror.ko module Loading dm-zero.ko module Loading dm-snapshot.ko module Making device-mapper control node Scanning logical volumes Reading all physical volumes. This may take a while... No volume groups found Activating logical volumes Volume group "VolGroup00" not found Creating root device. Mounting root filesystem. mount: could not find filesystem '/dev/root' Setting up other filesystems. Setting up new root fs setuproot: moving /dev failed: No such file or directory no fstab.sys, mounting internal defaults setuproot: error mounting /proc: No such file or directory setuproot: error mounting /sys: No such file or directory Switching to new root and running init. unmounting old /dev unmounting old /proc unmounting old /sys switchroot: mount failed: No such file or directory Kernel panic - not syncing: Attempted to kill init! Can anyone help on how to get this running? I suspect it is related to initrd. Regards, -- Frank Morane (Free Thinker) http://www.adventuresinlegalland.com http://www.lysanderspooner.org http://thoreau.eserver.org From lee.hornby at btinternet.com Sun Dec 10 21:31:31 2006 From: lee.hornby at btinternet.com (Lee Hornby) Date: Sun, 10 Dec 2006 21:31:31 +0000 Subject: [Fedora-xen] Keyboard in fc6 guest In-Reply-To: <87bqmei9lb.fsf@pike.pond.sub.org> References: <1165541217.9398.10.camel@new-host-2.home> <87bqmei9lb.fsf@pike.pond.sub.org> Message-ID: <1165786291.21588.7.camel@new-host-2.home> On Fri, 2006-12-08 at 18:25 +0100, Markus Armbruster wrote: > Lee Hornby writes: > > > Hello all > > > > Fc6 guest under fc6. > > > > UK Keyboard. > > > > All keys map fine in Dom0 but in DomU some keys don't work or are wrong > > and can't get the | pipe key which is somewhat annoying. > > > > Have check keyboard in gnome is set to UK and Language is UK. > > This is the graphical console with vnc, I presume. Yes. > > > If run with a console and sdl get the following when pressing the keys > > in question. > > > > keyboard.c: can't emulate rawmode for keycode 0 > > > > Am I missing something obvious? > > No. > The paravirtual framebuffer in FC-6 assumes you're using the US > keymap. This restriction should be lifted, but it needs time. Oh well saved a lot more time spent going down blind alleys. Thanks + Regards Lee From pasik at iki.fi Mon Dec 11 13:18:16 2006 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Mon, 11 Dec 2006 15:18:16 +0200 Subject: [Fedora-xen] FC6 and updates for xen? Message-ID: <20061211131816.GA7490@edu.joroinen.fi> Hi list! xen-3.0.3-1.fc6.i386.rpm seems to be in updates-testing for FC6. Are there other xen updates planned for FC6.. ie. is 3.0.4 (or even 3.0.5) going to packaged for FC6? Thanks. -- Pasi From berrange at redhat.com Mon Dec 11 13:49:31 2006 From: berrange at redhat.com (Daniel P. Berrange) Date: Mon, 11 Dec 2006 13:49:31 +0000 Subject: [Fedora-xen] FC6 and updates for xen? In-Reply-To: <20061211131816.GA7490@edu.joroinen.fi> References: <20061211131816.GA7490@edu.joroinen.fi> Message-ID: <20061211134931.GA29520@redhat.com> On Mon, Dec 11, 2006 at 03:18:16PM +0200, Pasi K?rkk?inen wrote: > Hi list! > > xen-3.0.3-1.fc6.i386.rpm seems to be in updates-testing for FC6. > > Are there other xen updates planned for FC6.. ie. is 3.0.4 (or even 3.0.5) > going to packaged for FC6? Lets not get ahead of ourselves. 3.0.3 is the current stable release of Xen. 3.0.4 is not finished/released and 3.0.5 hasn't even begun development. Until released its premature to say that we'll release them as FC6 updates. As with most Xen updates, 3.0.4 is painful because we'll need to upgrade the complete hypervisor, kernel & userspace stack all in one go.... yet again.... because of ABI changes between HV & userspace. There have also been many control stack changes in the userspace of 3.0.4 which need extensive testing before allowing them anywhere near FC6. So /if/ 3.0.4 becomes available for FC6, it'll only be after a decent spell of stabalization & testing in rawhide. 3.0.5 is anybody's guess because there's no clear timeline for it & no really firm development roadmap from upstream Xen yet. Dan -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From pasik at iki.fi Mon Dec 11 14:55:49 2006 From: pasik at iki.fi (Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=) Date: Mon, 11 Dec 2006 16:55:49 +0200 Subject: [Fedora-xen] FC6 and updates for xen? In-Reply-To: <20061211134931.GA29520@redhat.com> References: <20061211131816.GA7490@edu.joroinen.fi> <20061211134931.GA29520@redhat.com> Message-ID: <20061211145549.GB7490@edu.joroinen.fi> On Mon, Dec 11, 2006 at 01:49:31PM +0000, Daniel P. Berrange wrote: > On Mon, Dec 11, 2006 at 03:18:16PM +0200, Pasi K?rkk?inen wrote: > > Hi list! > > > > xen-3.0.3-1.fc6.i386.rpm seems to be in updates-testing for FC6. > > > > Are there other xen updates planned for FC6.. ie. is 3.0.4 (or even 3.0.5) > > going to packaged for FC6? > > Lets not get ahead of ourselves. 3.0.3 is the current stable release of > Xen. 3.0.4 is not finished/released and 3.0.5 hasn't even begun development. > > Until released its premature to say that we'll release them as FC6 > updates. As with most Xen updates, 3.0.4 is painful because we'll need to > upgrade the complete hypervisor, kernel & userspace stack all in one go.... > yet again.... because of ABI changes between HV & userspace. There have > also been many control stack changes in the userspace of 3.0.4 which need > extensive testing before allowing them anywhere near FC6. > > So /if/ 3.0.4 becomes available for FC6, it'll only be after a decent spell > of stabalization & testing in rawhide. 3.0.5 is anybody's guess because > there's no clear timeline for it & no really firm development roadmap from > upstream Xen yet. > I was more over asking about the possible future plans, I know 3.0.4 is not yet released. Your reply addressed that :) Thanks. -- Pasi > Dan > -- > |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| > |=- Perl modules: http://search.cpan.org/~danberr/ -=| > |=- Projects: http://freshmeat.net/~danielpb/ -=| > |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From berrange at redhat.com Tue Dec 12 12:06:52 2006 From: berrange at redhat.com (Daniel P. Berrange) Date: Tue, 12 Dec 2006 12:06:52 +0000 Subject: [Fedora-xen] What's the Pre-requisites for virt-manager In-Reply-To: <457C3CCD.3000000@sun.com> References: <454E1DF2.90703@sun.com> <20061105205201.GC27599@redhat.com> <454EA329.9020705@sun.com> <20061106044542.GA28547@redhat.com> <456434FB.6050005@sun.com> <20061122121852.GE13945@redhat.com> <4566676E.1040706@sun.com> <20061124035912.GA1197@redhat.com> <457C3CCD.3000000@sun.com> Message-ID: <20061212120652.GC22225@redhat.com> On Mon, Dec 11, 2006 at 12:58:53AM +0800, Henry Zhang wrote: > Hi Dan, > > From Fedora site > http://fedoraproject.org/wiki/Docs/Beats/Virtualization?highlight=%28xenguest-install%29 > > I find several information, I am sure if they are correct: > > 1, "Integrated graphical framebuffer. Both the GUI installer and the > guest operating system's graphical environment can be accessed from > virt-manager without the need for VNC." > As I remembered, you told me when we double-click any DomU, we will > start a graphic console, this console just use virt-manmager embedded > vnc-viewer to access DomU, so need vnc connection. Also I know when > install a guest domain, there also will appear a vnc-viewer for install OS. > But from the above explanation, seems we never use vnc any more? What this means is that virt-manager implements the VNC protocol directly itself, so there is no need for a separate vncviewer program. The VNC code is all in the src/vncViewer directory. > 2,"CPU and memory management. The vCPUs and memory of active guest > operating systems can be adjusted on the fly." > From your website http://virt-manager.et.redhat.com/screenshots.html, I > can see "Most of this dialog is currently non-functional. Compare with a > scan of the design mockup" under "Virtual machine configuration", when I > tried, seems it's true most of them can't work, so who is wrong? Actually the VCPU & memory adjustment is functional now - within certain constraints. Paravirt guests can have memory & VCPUs adjusted. Fullyvirt guests cannot have any adjustments. For guests which are not currently running (ie inactive), memory, max-memory & VCPUs can be adjusted. Hotplug of disks & nics is not yet implemented for anything. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From Hua.Zhang at Sun.COM Tue Dec 12 17:41:01 2006 From: Hua.Zhang at Sun.COM (Henry Zhang) Date: Wed, 13 Dec 2006 01:41:01 +0800 Subject: [Fedora-xen] What's the Pre-requisites for virt-manager In-Reply-To: <20061212120652.GC22225@redhat.com> References: <454E1DF2.90703@sun.com> <20061105205201.GC27599@redhat.com> <454EA329.9020705@sun.com> <20061106044542.GA28547@redhat.com> <456434FB.6050005@sun.com> <20061122121852.GE13945@redhat.com> <4566676E.1040706@sun.com> <20061124035912.GA1197@redhat.com> <457C3CCD.3000000@sun.com> <20061212120652.GC22225@redhat.com> Message-ID: <457EE9AD.7000800@sun.com> Hi Dan, Daniel P. Berrange ??: > On Mon, Dec 11, 2006 at 12:58:53AM +0800, Henry Zhang wrote: >> Hi Dan, >> >> From Fedora site >> http://fedoraproject.org/wiki/Docs/Beats/Virtualization?highlight=%28xenguest-install%29 >> >> I find several information, I am sure if they are correct: >> >> 1, "Integrated graphical framebuffer. Both the GUI installer and the >> guest operating system's graphical environment can be accessed from >> virt-manager without the need for VNC." >> As I remembered, you told me when we double-click any DomU, we will >> start a graphic console, this console just use virt-manmager embedded >> vnc-viewer to access DomU, so need vnc connection. Also I know when >> install a guest domain, there also will appear a vnc-viewer for install OS. >> But from the above explanation, seems we never use vnc any more? > > What this means is that virt-manager implements the VNC protocol directly > itself, so there is no need for a separate vncviewer program. The VNC > code is all in the src/vncViewer directory. Ah, I see... > >> 2,"CPU and memory management. The vCPUs and memory of active guest >> operating systems can be adjusted on the fly." >> From your website http://virt-manager.et.redhat.com/screenshots.html, I >> can see "Most of this dialog is currently non-functional. Compare with a >> scan of the design mockup" under "Virtual machine configuration", when I >> tried, seems it's true most of them can't work, so who is wrong? > > Actually the VCPU & memory adjustment is functional now - within certain > constraints. Paravirt guests can have memory & VCPUs adjusted. Fullyvirt > guests cannot have any adjustments. For guests which are not currently > running (ie inactive), memory, max-memory & VCPUs can be adjusted. Hotplug > of disks & nics is not yet implemented for anything. I hacked a virt-manager, and it can run at Solaris now, I do a test, yes, you are right. Seems here I have to add another question. :) 3, From http://fedoraproject.org/wiki/FedoraXenQuickstartFC6, I can see "Installation must be a network type. It is not possible to install from a local disk or CDROM. " is it true? As I remember virt-manager will get CDROM list for HVM install, can this feature run now? I have no this type of machine to test HVM. BTW, when we create a new DomU, and not use virt-manager, what command line we can use? by now I only know virt-install, can xm or virsh create a DomU from zero? > > Regards, > Dan. From tomhorsley at adelphia.net Wed Dec 13 03:03:59 2006 From: tomhorsley at adelphia.net (Tom Horsley) Date: Tue, 12 Dec 2006 22:03:59 -0500 Subject: [Fedora-xen] smp fully virtualized system? Message-ID: <20061212220359.503eebde@zooty> I was playing with xen on monster server at work (4 dual core opterons). I've got FC6 x86_64 Dom0 on it, and tried to install a fully virtualized FC6 i386 guest (to test running 32 bit kernels). I first tried telling it to use 2 cpus for the new machine (creating it via virt-manager) and when the installer loads the initial linux kernel from the boot DVD, it just goes into a blank stare right after the kernel mentions it is bringing up 2 cpus. If I try again and tell it only 1 cpu, everything works great. Is this any kind of know problem? Should I report a bug anywhere? From jean-marc.pouchoulon at ac-montpellier.fr Wed Dec 13 06:53:29 2006 From: jean-marc.pouchoulon at ac-montpellier.fr (jean-marc pouchoulon) Date: Wed, 13 Dec 2006 07:53:29 +0100 Subject: [Fedora-xen] etho disappears in dom 0 FC6 Message-ID: <457FA369.2080009@ac-montpellier.fr> After rebooting on a xen-kernel FC6 (2.6.28-1.2860.fc6) , eth0 NIC device is not available. Rebooting on a non xen kernel it re-appears. Any ideas ? thanks jmp From felix.schwarz at web.de Wed Dec 13 07:47:10 2006 From: felix.schwarz at web.de (Felix Schwarz) Date: Wed, 13 Dec 2006 08:47:10 +0100 Subject: [Fedora-xen] Re: etho disappears in dom 0 FC6 In-Reply-To: <457FA369.2080009@ac-montpellier.fr> References: <457FA369.2080009@ac-montpellier.fr> Message-ID: <457FAFFE.7090000@web.de> jean-marc pouchoulon schrieb: > After rebooting on a xen-kernel FC6 (2.6.28-1.2860.fc6) , eth0 NIC > device is not available. Which nic? Certain broadcom devices are known to be problematic. fs From jean-marc.pouchoulon at ac-montpellier.fr Wed Dec 13 08:31:58 2006 From: jean-marc.pouchoulon at ac-montpellier.fr (jean-marc pouchoulon) Date: Wed, 13 Dec 2006 09:31:58 +0100 Subject: [Fedora-xen] Re: etho disappears in dom 0 FC6 In-Reply-To: <457FAFFE.7090000@web.de> References: <457FA369.2080009@ac-montpellier.fr> <457FAFFE.7090000@web.de> Message-ID: <457FBA7E.5080304@ac-montpellier.fr> > > Which nic? Certain broadcom devices are known to be problematic. broadcom 440 10/100 any way to deal with it ? From Felix.Schwarz at web.de Wed Dec 13 09:01:16 2006 From: Felix.Schwarz at web.de (Felix Schwarz) Date: Wed, 13 Dec 2006 10:01:16 +0100 Subject: [Fedora-xen] Re: Re: etho disappears in dom 0 FC6 In-Reply-To: <457FBA7E.5080304@ac-montpellier.fr> References: <457FA369.2080009@ac-montpellier.fr> <457FAFFE.7090000@web.de> <457FBA7E.5080304@ac-montpellier.fr> Message-ID: <1148934172.20061213100116@schwarz-online.org> jean-marc pouchoulon schrieb: >> Which nic? Certain broadcom devices are known to be problematic. > broadcom 440 10/100 > any way to deal with it ? Maybe its the same as in these bugs? https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=208242 https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219309 -- Felix From jean-marc.pouchoulon at ac-montpellier.fr Wed Dec 13 09:29:50 2006 From: jean-marc.pouchoulon at ac-montpellier.fr (jean-marc pouchoulon) Date: Wed, 13 Dec 2006 10:29:50 +0100 Subject: [Fedora-xen] Re: etho disappears in dom 0 FC6 In-Reply-To: <1148934172.20061213100116@schwarz-online.org> References: <457FA369.2080009@ac-montpellier.fr> <457FAFFE.7090000@web.de> <457FBA7E.5080304@ac-montpellier.fr> <1148934172.20061213100116@schwarz-online.org> Message-ID: <457FC80E.80601@ac-montpellier.fr> Ok thanks for all Etho is now enable But I still have the same problem of bugzilla 219309 and I can't have network access Hope this will be fixed in the near future Felix Schwarz wrote: >jean-marc pouchoulon schrieb: > > >>>Which nic? Certain broadcom devices are known to be problematic. >>> >>> > > > >>broadcom 440 10/100 >>any way to deal with it ? >> >> > >Maybe its the same as in these bugs? >https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=208242 >https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219309 > > > From tomhorsley at adelphia.net Wed Dec 13 18:37:08 2006 From: tomhorsley at adelphia.net (Tom Horsley) Date: Wed, 13 Dec 2006 13:37:08 -0500 Subject: [Fedora-xen] virt-manager and CD drive? Message-ID: <11543367.1166035028573.JavaMail.root@web26> I was impressed that I could install a fully virtual fedora guest directly from the DVD by pointing the virt-manager wizard at the dvd drive. I wonder though, if I have a guest OS with multiple CDs needed to install, will it let me swap CDs during the installation? Or do I need to arrange for some different source to install from? From evilbitz at gmail.com Wed Dec 13 18:01:29 2006 From: evilbitz at gmail.com (Guy Z) Date: Wed, 13 Dec 2006 20:01:29 +0200 Subject: [Fedora-xen] Debugging a Windows HVM Message-ID: <9e9705520612131001i40fcfc3die6a16a469470dfb9@mail.gmail.com> Hi all, I wrote an article about remote debugging of a Windows HVM using Windbg. http://www.evilbitz.com/2006/12/13/howto-debugging-a-remote-windows-hvm-under-xen-using-windbg/ Thanks, Guy. -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidsen at tmr.com Thu Dec 14 00:11:10 2006 From: davidsen at tmr.com (Bill Davidsen) Date: Wed, 13 Dec 2006 19:11:10 -0500 Subject: [Fedora-xen] Problem installing full virtualized Vista guest In-Reply-To: <395DB1DBC1F0E4499EA739E0919759D3DBC990@fmsmsx412.amr.corp.intel.com> References: <395DB1DBC1F0E4499EA739E0919759D3DBC990@fmsmsx412.amr.corp.intel.com> Message-ID: <4580969E.9010202@tmr.com> Jimison, Ed wrote: > > Now that I finally got W2K installed as a guest, I?m moving on to > Vista. The initial setup and config worked and the Vista install > booted from CDROM and transferred files to the harddrive. After reboot > there is just a blank black screen, which is very similar to the W2K > install. With W2K I worked around it by hitting F5 and selecting > Standard PC. With Vista there is no such option. > > I transferred the ISO to disk and added it to my config file. When I > create the guest and it tries to boot I get this error: > > Boot from Hard Disk 0 failed > > FATAL: not a bootable disk > You might try running xm with boot from CD. xm create vistavirt1 boot=d I've been trying to install Win98SE, and the startup claims it can't find a driver for the CD. My file looks just about like your, I get asked to boot from disk or CD, then after a few screens it says it can't find a CD driver. I'm about to switch to vmware, even if I have to run Windows. Also tried: phy:/dev/dvd,hdc:c,r with no more luck. The install used to run slowly under qemu, and the operative word there is "run," I spent a bunch on a big new hvm capable server, and I can't install the things I need to test. > > My config file: > > # Automatically generated xen config file > > name = "vistavirt1" > > builder = "hvm" > > memory = "500" > > disk = [ '_file:/xen/vistavirt1,hda,w_', > '_file:/home/evjimiso/vista.iso,hdc:c,r_'] > > vif = [ 'type=ioemu, mac=00:16:3e:3f:17:66, bridge=xenbr0', ] > > uuid = "2dc04ca6-4de7-0b22-8cc4-4bdb0ff273d9" > > device_model = "/usr/lib/xen/bin/qemu-dm" > > kernel = "/usr/lib/xen/boot/hvmloader" > > vnc=1 > > vncunused=1 > > apic=1 > > acpi=1 > > pae=1 > > vcpus=1 > > serial = "pty" # enable serial console > > on_reboot = 'restart' > > on_crash = 'restart' > > ------------------------------------------------------------------------ > > -- > Fedora-xen mailing list > Fedora-xen at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen > -- bill davidsen CTO TMR Associates, Inc Doing interesting things with small computers since 1979 From tomhorsley at adelphia.net Thu Dec 14 01:04:18 2006 From: tomhorsley at adelphia.net (Tom Horsley) Date: Wed, 13 Dec 2006 20:04:18 -0500 Subject: [Fedora-xen] console only on fedora? Message-ID: <20061213200418.16e142cd@zooty> I just successfully got a paravirtualized openSUSE 10.2 system running as a guest under Fedora Core 6 (x86_64 all around). I did it by installing suse in native mode, then editing the /boot/grub/menu.1st file to boot the xen kernel by default, then tweaking the config file I had laying around from a previous test to define the physical disk partitions the same way in the guest as they are in the host. This all worked (much to my amazement :-), but when I try to open the console from virt-manager, it tells me "Console not available". Is the console implemented by some special kernel module I probably don't have in the suse xen kernel? Just trying to learn how all this stuff fits together... (Not really a critical bit since I can access the guest just fine via the network). From berrange at redhat.com Thu Dec 14 01:40:37 2006 From: berrange at redhat.com (Daniel P. Berrange) Date: Thu, 14 Dec 2006 01:40:37 +0000 Subject: [Fedora-xen] console only on fedora? In-Reply-To: <20061213200418.16e142cd@zooty> References: <20061213200418.16e142cd@zooty> Message-ID: <20061214014037.GA14190@redhat.com> On Wed, Dec 13, 2006 at 08:04:18PM -0500, Tom Horsley wrote: > I just successfully got a paravirtualized openSUSE 10.2 system > running as a guest under Fedora Core 6 (x86_64 all around). > > I did it by installing suse in native mode, then editing > the /boot/grub/menu.1st file to boot the xen kernel by default, > then tweaking the config file I had laying around from a > previous test to define the physical disk partitions the > same way in the guest as they are in the host. > > This all worked (much to my amazement :-), but when I try > to open the console from virt-manager, it tells me > "Console not available". Yes, that means the graphical framebuffer is not available in the guest kernel. You should still have the traditional text based serial console (use View -> Serial console menu) > Is the console implemented by some special kernel module I > probably don't have in the suse xen kernel? Just trying to > learn how all this stuff fits together... The console is an add on patch we wrote for Fedora Core 6, which was not in upstream Xen 3.0.3 guest kernels / Dom0 userspace. We've been working to get it incorporated in upstream xen-unstable.hg repository and it was finally accepted last week. So unless they've taken the Fedora patch already, most other distros won't see a graphical guest console until they update to the Xen 3.0.4 tree for their guest kernels. Regards, Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| From tomhorsley at adelphia.net Thu Dec 14 02:03:33 2006 From: tomhorsley at adelphia.net (Tom Horsley) Date: Wed, 13 Dec 2006 21:03:33 -0500 Subject: [Fedora-xen] console only on fedora? In-Reply-To: <20061214014037.GA14190@redhat.com> References: <20061213200418.16e142cd@zooty> <20061214014037.GA14190@redhat.com> Message-ID: <20061213210333.0040d702@zooty> On Thu, 14 Dec 2006 01:40:37 +0000 "Daniel P. Berrange" wrote: > The console is an add on patch we wrote for Fedora Core 6, which was not > in upstream Xen 3.0.3 guest kernels / Dom0 userspace. Thanks for the info. I'm gratified to see that some of the things I imagine might be going on actually match reality - my internal Xen model must be getting better as I play with it :-). From tjb at unh.edu Thu Dec 14 14:23:16 2006 From: tjb at unh.edu (Thomas J. Baker) Date: Thu, 14 Dec 2006 09:23:16 -0500 Subject: [Fedora-xen] Strange Disk Goings On and No Console (Long) Message-ID: <1166106196.27741.15.camel@raptor.sr.unh.edu> I did a virt-manager install of FC6 on an FC6 host. I used a real disk (/dev/sdw) for the disk. The install went fine. Upon reboot, I get a pygrub error and the following xend-debug log entries: [root at wintermute xen]# more xend-debug.log Traceback (most recent call last): File "/usr/bin/pygrub", line 489, in ? g = Grub(file, isconfig) File "/usr/bin/pygrub", line 147, in __init__ self.read_config(file, isconfig) File "/usr/bin/pygrub", line 345, in read_config raise RuntimeError, "Unable to read filesystem" RuntimeError: Unable to read filesystem Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/server/SrvDomainDir.py", line 77, in op_create dominfo = self.xd.domain_create(config) File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 228, in domain_create dominfo = XendDomainInfo.create(config) File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 195, in create vm.initDomain() File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1290, in initDomain self.configure_bootloader() File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 1756, in configure_bootloader self.info['image']) File "/usr/lib64/python2.4/site-packages/xen/xend/XendBootloader.py", line 85, in bootloader raise VmError, msg VmError: Boot loader didn't return any data! Traceback (most recent call last): File "/usr/bin/pygrub", line 489, in ? g = Grub(file, isconfig) File "/usr/bin/pygrub", line 147, in __init__ self.read_config(file, isconfig) File "/usr/bin/pygrub", line 345, in read_config raise RuntimeError, "Unable to read filesystem" RuntimeError: Unable to read filesystem When I do an fdisk -l of the disk I just did the install on, it returns an empty disk: fdisk -l /dev/sdw Disk /dev/sdw: 9105 MB, 9105018880 bytes 255 heads, 63 sectors/track, 1106 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System I go home for the night. I come back the next morning and try to start the domain and it starts fine (except for a lack of console, more on that later.) Then for grins, I look at the disk again: fdisk -l /dev/sdw Disk /dev/sdw: 9105 MB, 9105018880 bytes 255 heads, 63 sectors/track, 1106 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdw1 * 1 13 104391 83 Linux /dev/sdw2 14 1106 8779522+ 8e Linux LVM It shows the correct layout that the domain would have written to the disk. Maybe I made a mistake. I don't know. So then I explode an RHEL5B2 tree to see if I can do a virt-manager install with it and it works fine. I point it to a blank disk (/dev/sdx) and do a complete install. Reboot and get the same pybrub errors. Look at the disk and it's showing this disk as empty too. fdisk -l /dev/sdx Disk /dev/sdx: 50.0 GB, 50019202560 bytes 255 heads, 63 sectors/track, 6081 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System I remember the apparent lack of sync so I run sync a couple of times, restart xend, all trying to get whatever has the disk data in memory sync'd back out to disk. No luck. I go home and come back in this morning and fdisk -l /dev/sdx Disk /dev/sdx: 50.0 GB, 50019202560 bytes 255 heads, 63 sectors/track, 6081 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdx1 * 1 13 104391 83 Linux /dev/sdx2 14 6081 48741210 8e Linux LVM Domain starts up fine again (except for the console.) Any clue what's going on here? As for the console, when I start either domain (FC6 or RHEL5B2), I don't get a graphics console. Here is the dumpxml of the fc6 domain: # virsh dumpxml doolittle.fc6 doolittle.fc6 8a187e862a14669361a482be4df7135f /usr/bin/pygrub linux /var/lib/xen/vmlinuz.h_sGDJ /var/lib/xen/initrd.oSeDqz ro root=/dev/vgx0/root rhgb quiet 512000 1 destroy restart restart