RE: [Fedora-xen] W2K CD installation error on guest
by Jimison, Ed
Yes I can see the directory contents. I was able to get past this CDROM
problem by disabling SELinux.
[root@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@localhost ~]#
________________________________
From: Andrew Cathrow [mailto:acathrow@redhat.com]
Sent: Monday, December 04, 2006 10:57 AM
To: Jimison, Ed
Cc: fedora-xen(a)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@redhat.com]
Sent: Monday, December 04, 2006 10:33 AM
To: Jimison, Ed
Cc: fedora-xen(a)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@redhat.com]
Sent: Saturday, December 02, 2006 6:05 AM
To: Jimison, Ed
Cc: fedora-xen(a)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(a)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(a)redhat.com
--
Andrew Cathrow
Red Hat, Inc.
(678) 733 0452 - Mobile
(404) 437 6178 - Home Office
acathrow(a)redhat.com
--
Andrew Cathrow
Red Hat, Inc.
(678) 733 0452 - Mobile
(404) 437 6178 - Home Office
acathrow(a)redhat.com
17 years, 5 months
RE: [Fedora-xen] W2K CD installation error on guest
by Jimison, Ed
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@redhat.com]
Sent: Monday, December 04, 2006 11:03 AM
To: Jimison, Ed
Cc: Andrew Cathrow; fedora-xen(a)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@redhat.com]
> *Sent:* Monday, December 04, 2006 10:33 AM
> *To:* Jimison, Ed
> *Cc:* fedora-xen(a)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
>
<snip>
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
17 years, 5 months
ENC: Error Xen
by Thiago Morais
Hello All.
Now, I got this error:
Linux version 2.6.18-1.2849.fc6xen (brewbuilder(a)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 <tigran(a)veritas.com>
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(a)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 <tigran(a)veritas.com>
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@matsya auto]# less text.txt
[root@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@caprioli.com.br]
Enviada em: quinta-feira, 30 de novembro de 2006 13:07
Para: 'fedora-xen(a)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
17 years, 5 months
RE: [Fedora-xen] W2K CD installation error on guest
by Jimison, Ed
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@redhat.com]
Sent: Monday, December 04, 2006 10:33 AM
To: Jimison, Ed
Cc: fedora-xen(a)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@redhat.com]
Sent: Saturday, December 02, 2006 6:05 AM
To: Jimison, Ed
Cc: fedora-xen(a)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(a)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(a)redhat.com
--
Andrew Cathrow
Red Hat, Inc.
(678) 733 0452 - Mobile
(404) 437 6178 - Home Office
acathrow(a)redhat.com
17 years, 5 months
RE: [Fedora-xen] W2K CD installation error on guest
by Jimison, Ed
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@redhat.com]
Sent: Saturday, December 02, 2006 6:05 AM
To: Jimison, Ed
Cc: fedora-xen(a)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(a)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(a)redhat.com
17 years, 5 months
resize domU
by Gary Siao
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
17 years, 5 months
Re: Question to virt-install and fully virt. guests (virtual-cd-rom)
by Felix Schwarz
Thomas Trepper schrieb:
> [root@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
17 years, 5 months
Question to virt-install and fully virt. guests (virtual-cd-rom)
by Thomas Trepper
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 <thomas.trepper(a)microbyte.at>
An: fedora-xen(a)redhat.com
Hi all,
i have a problem with 'virt-install' as follows:
--------------------------
[root@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@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@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(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-xen
[root@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(a)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
17 years, 5 months
Question to virt-install and fully virt. guests (virt cd-rom)
by Thomas Trepper
Hi all,
i have a problem with 'virt-install' as follows:
--------------------------
[root@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@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@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
17 years, 5 months
Suse10.1 under FC6
by Lee Hornby
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
17 years, 5 months