Problem installing full virtualized Vista guest
by Jimison, Ed
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'
17 years, 5 months
console only on fedora?
by Tom Horsley
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).
17 years, 5 months
etho disappears in dom 0 FC6
by jean-marc pouchoulon
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
17 years, 5 months
smp fully virtualized system?
by Tom Horsley
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?
17 years, 5 months
Keyboard in fc6 guest
by Lee Hornby
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
17 years, 5 months
Cannot start domU
by Frank Morane
Hi,
This domU runs fine in FC5 (2.6.16-1.2133_FC5xen0) but not in FC6, I get
this:
[root@louisxi xen]# xm create -c paine
Using config file "spooner".
Started domain spooner
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 - 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 <tigran(a)veritas.com>
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(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 - 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 <tigran(a)veritas.com>
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(a)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
17 years, 5 months
understanding perfomance
by Ben
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?
17 years, 5 months
Problems with guest Dom's on Fedora 6
by . .
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...
17 years, 5 months