Re: A problem when creating HVM guest for Win 2003 server
by Henry Zhang
Resending this mail to xen mailing list, hope someone can give any comment.
Thanks,
Henry
Henry Zhang 写道:
> Hi there,
>
> When I tried to create a HVM guest for Win 2003 Server by using virt-manager,
> I am failed, after the image download, and Win try to reboot, it stop
> and complain that 'NTLDR is missing', I'd think it's a bug on Win2003? is
> anyone see this problem, and know anything on this problem?
>
> I enclosed the screen shot for the problem, so you can see what's
> happened....
>
> Thanks,
> Henry
>
> ------------------------------------------------------------------------
>
16 years
domU auto start order
by Ranbir
Hi All,
Is it possible to auto start domU's listed in /etc/xen/auto in a
particular order? I imagine it is, but my reading comprehension or my
searching skills suck, because I can't find anything about this.
Thanks,
Ranbir
--
Kanwar Ranbir Sandhu
Linux 2.6.22.14-72.fc6 i686 GNU/Linux
21:12:35 up 1 day, 51 min, 2 users, load average: 1.69, 0.73, 0.49
16 years
Fedora 8 - Guest can't find rootfs.
by Friedrich Clausen
Hi,
Note: Full kernel output at end of email and Xen logs are at
http://www.derf.nl/drop/xen-logs
Details:
OS - Fedora 8
Arch - x86_64
Kernel - 2.6.21.7-2.fc8xen
Packages - xen-3.1.2-2.fc8, kernel-xen-2.6.21.7-2.fc8, xen-libs-3.1.2-2.fc8
Description:
I am trying to boot a CentOS image downloaded from jailtime.org,
specifically the image at:
http://www.jailtime.org/download:centos64:v5.1
My configuration currently looks like this:
kernel = "/boot/vmlinuz-2.6.21.7-2.fc8xen"
ramdisk = "/boot/initrd-2.6.21.7-2.fc8xen.img"
memory = 256
name = "centos.5-1.64"
vif = [ '' ]
disk = ['file:/var/lib/xen/images/xen/centos.5-1.64.img,sda1,w',
'file:/var/lib/xen/images/xen/centos.swap,sda2,w']
root = "/dev/sda1"
extra = "ro enforcing=0"
Selinux is off on the dom0 host, which is Fedora 8. The seemingly relevant
bit of the log is :
Loading xenblk.ko module
register_blkdev: cannot get major 8 for sd
vbd vbd-2049: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2049
register_blkdev: cannot get major 8 for sd
vbd vbd-2049: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2049
register_blkdev: cannot get major 8 for sd
vbd vbd-2050: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2050
register_blkdev: cannot get major 8 for sd
vbd vbd-2050: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2050
XENBUS: Timeout connecting to device: device/vbd/2049 (state 6)
XENBUS: Timeout connecting to device: device/vbd/2050 (state 6)
Loading xennet.ko module
netfront: Initialising virtual ethernet driver.
netfront: device eth0 has copying receive path.
Loading xenbus_be.ko module
Loading xenblktap.ko module
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
Booting has failed.
Kernel panic - not syncing: Attempted to kill init!
I have tried the following :
* I have create a new initrd, making sure to include the Xen block devices
but the guest is still not able to boot.
* Loopback mounted to check for for the existence of /proc,/dev and /sys
and those dirs are present.
Any assistance will be much appreciated!
Thanks,
Fred.
------------------------------
Full log output below
------------------------------
Using config file "./centos.5-1.64.xen3.cfg".
Started domain centos.5-1.64
Linux version 2.6.21.7-2.fc8xen (
mockbuild(a)xenbuilder4.fedora.phx.redhat.com) (gcc version 4.1.2 20070925
(Red Hat 4.1.2-33)) #1 SMP Fri Feb 15 12:34:28 EST 2008
Command line: root=/dev/sda1 ro enforcing=0
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000010800000 (usable)
end_pfn_map = 67584
Zone PFN ranges:
DMA 0 -> 67584
DMA32 67584 -> 67584
Normal 67584 -> 67584
early_node_map[1] active PFN ranges
0: 0 -> 67584
No mptable found.
PERCPU: Allocating 26496 bytes of per cpu data
Built 1 zonelists. Total pages: 63160
Kernel command line: root=/dev/sda1 ro enforcing=0
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 8192 bytes)
Xen reported: 2327.486 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Software IO TLB disabled
Memory: 243620k/270336k available (2265k kernel code, 18172k reserved, 1351k
data, 200k init)
Calibrating delay using timer specific routine.. 4658.34 BogoMIPS
(lpj=2329173)
Security Framework v1.0.0 initialized
SELinux: Initializing.
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
SMP alternatives: switching to UP code
Freeing SMP alternatives: 28k freed
Brought up 1 CPUs
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
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 interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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: 2048 (order: 2, 16384 bytes)
TCP established hash table entries: 8192 (order: 5, 196608 bytes)
TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 8336k freed
audit: initializing netlink socket (disabled)
audit(1204719069.778:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
ksign: Installing public key data
Loading keyring
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.102 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Linux version 2.6.21.7-2.fc8xen (mockbuild(a)xenbuilder4.fedora.phx.redhat.com)
(gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP Fri Feb 15 12:34:28
EST 2008
Command line: root=/dev/sda1 ro enforcing=0
BIOS-provided physical RAM map:
Xen: 0000000000000000 - 0000000010800000 (usable)
end_pfn_map = 67584
Zone PFN ranges:
DMA 0 -> 67584
DMA32 67584 -> 67584
Normal 67584 -> 67584
early_node_map[1] active PFN ranges
0: 0 -> 67584
No mptable found.
PERCPU: Allocating 26496 bytes of per cpu data
Built 1 zonelists. Total pages: 63160
Kernel command line: root=/dev/sda1 ro enforcing=0
Initializing CPU#0
PID hash table entries: 1024 (order: 10, 8192 bytes)
Xen reported: 2327.486 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode-cache hash table entries: 16384 (order: 5, 131072 bytes)
Software IO TLB disabled
Memory: 243620k/270336k available (2265k kernel code, 18172k reserved, 1351k
data, 200k init)
Calibrating delay using timer specific routine.. 4658.34 BogoMIPS
(lpj=2329173)
Security Framework v1.0.0 initialized
SELinux: Initializing.
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 256
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
CPU: Physical Processor ID: 0
CPU: Processor Core ID: 0
SMP alternatives: switching to UP code
Freeing SMP alternatives: 28k freed
Brought up 1 CPUs
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
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 interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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: 2048 (order: 2, 16384 bytes)
TCP established hash table entries: 8192 (order: 5, 196608 bytes)
TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 8336k freed
audit: initializing netlink socket (disabled)
audit(1204719069.778:1): initialized
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
ksign: Installing public key data
Loading keyring
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.102 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Event-channel device installed.
usbcore: registered new interface driver hiddev
usbcore: registered new interface 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
TCP bic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
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/console/0
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Freeing unused kernel memory: 200k freed
Write protecting the kernel read-only data: 981k
Red Hat nash version 6.0.19 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Loading ehci-hcd.ko module
Loading ohci-hcd.ko module
Loading uhci-hcd.ko module
USB Universal Host Controller Interface driver v3.0
Loading mbcache.ko module
Loading jbd.ko module
Loading ext3.ko module
Loading scsi_mod.ko module
SCSI subsystem initialized
Loading sd_mod.ko module
Loading libata.ko module
Loading ahci.ko module
Waiting for driver initialization.
Loading ata_generic.ko module
Loading usb-storage.ko module
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
Waiting for driver initialization.
stabilized: stat /proc/bus/usb/devices: No such file or directory
Loading xenblk.ko module
register_blkdev: cannot get major 8 for sd
vbd vbd-2049: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2049
register_blkdev: cannot get major 8 for sd
vbd vbd-2049: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2049
register_blkdev: cannot get major 8 for sd
vbd vbd-2050: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2050
register_blkdev: cannot get major 8 for sd
vbd vbd-2050: 19 xlvbd_add at /local/domain/0/backend/vbd/47/2050
XENBUS: Timeout connecting to device: device/vbd/2049 (state 6)
XENBUS: Timeout connecting to device: device/vbd/2050 (state 6)
Loading xennet.ko module
netfront: Initialising virtual ethernet driver.
netfront: device eth0 has copying receive path.
Loading xenbus_be.ko module
Loading xenblktap.ko module
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
Booting has failed.
Kernel panic - not syncing: Attempted to kill init!
----------------------
End full log
----------------------
16 years
virbr0 comes from where?
by Tom Horsley
Actually I'm on centos, but I figure it probably does things
similar to fedora. On centos I see a virbr0 bridge that gets
created and used in clients where I pick virtual network.
I've been trying to understand Xen networking, and since this
virbr0 on centos is doing exactly what I tried unsuccessfully
to do on a debian xen 3.2 system, I thought I'd look and
see how it works.
Easy to say, hard to do :-).
I can't find any place that creates the virbr0 bridge. I don't
see an ifcfg file to create it at boot time, and I just replaced
the brctl command with a shell script to log all info about
brctl calls, then invoke the original brctl, and no brctl command
is ever issued to create virbr0!
Where do it come from?
16 years
no guest configuration file in /etc/xen
by Akl Spec
Hi All,
I am newbie to Xen. I installed xen-3.1.0-13.fc8 on fc8 and configured two fedora guest domains, one with virt-manager and the other with virt-installer. Both the virtual servers are up and i can boot them successfully, but both the installation didn't create the guest configuration file in /etc/xen directory(docs says configuration file will be created here).
Can anybody please help me to find out those files??
Thanks in advance.
AKL
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
16 years
VCL for xen?
by Yonas Abraham
Hi,
I am looking for open source application that does similar to NC
states Virtual Computing Library (VCL) for xen management. I have
seen ovirt.org, but it seems to require hardware virtualization, which
I don't have.
any pointers will be appreciated.
/yonas
16 years