32 bit F7 HVM hangs under 64 bit F6 host
by Tom Horsley
All my attempts to install a Fedora 7 HVM under the x86_64 Fedora 6
host I have have gone into 100% cpu use hangs during the install.
Today I tried something new - I installed Fedora Core 6 as an HVM,
then built a repo from the F7 dvd image and updated all the packages.
That actually ran, but it only works if I boot the old Fedora Core 6
kernel. Any attempt to boot any F7 kernel I've tried gets far enough
to print:
PCI: PIIX3: Enabling Passive Release on 0000:00:01.0
then it is hung in the same ol 100% cpu usage state.
Anyone know what is happening right there (or right after there)?
Any good kernel boot parameters to try?
16 years, 10 months
Problem Installing Fedora 7 as a Guest on Xen machine
by Samad, Alex
Hi
Resending message not sure if it made through the first time
Hi
I have run into a problem installing fedora 7 as a guest on a Xen machine.
The host machine is a amd64 - Debian lenny install. Running 2.6.20-1-xen-amd64
xm info
host : debxen
release : 2.6.20-1-xen-amd64
version : #1 SMP Tue Apr 24 22:23:22 UTC 2007
machine : x86_64
nr_cpus : 4
nr_nodes : 1
sockets_per_node : 2
cores_per_socket : 2
threads_per_core : 1
cpu_mhz : 2800
hw_caps : 178bfbff:ebd3fbff:00000000:00000010:00002001:00000000:0000001f
total_memory : 8191
free_memory : 1
xen_major : 3
xen_minor : 0
xen_extra : .3-1
xen_caps : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : Tue Oct 17 22:09:52 2006 +0100
cc_compiler : gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19)
cc_compile_by : ultrotter
cc_compile_domain : debian.org
cc_compile_date : Fri Nov 3 00:21:27 CET 2006
xend_config_format : 2
I have downloaded the fedora 7 DVD, I have extracted the xen vmlinuz and zen initrd.img
This is my fedora7.cfg
#
# Kernel + memory size
#
kernel = '/etc/xen/data/fedora7/vmlinuz'
ramdisk = '/etc/xen/data/fedora7/initrd.img'
memory = '1024'
extra = 'pnpacpi=off sync_console vnc vncpassword=qwerty text vncconnect=16.144.29.11'
#bootloader = '/usr/lib/xen-3.0.3-1/bin/pygrub'
#
# Disk device(s).
#
disk = [ 'phy:vglocal/fedora7-disk,xvda,w' ]
#
# Hostname
#
name = 'fedora7'
#
# Networking
#
dhcp = 'dhcp'
#vif = [ 'type=ioemu, bridge=xenbr0' ]
vif = [ '' ]
#
# Behaviour
#
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
serial = "pty"
localtime = 0
vcpus = 2
I tried something similar with RHEL5 and it worked, fedora7 is getting stuck
>From xm console fedora7
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
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 libusual
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/51712
XENBUS: Device with no driver: device/vif/0
Write protecting the kernel read-only data: 938k
I not sure what is mean to come after here for me to guess where it might be getting stuck. Can any one provide any hints or know what is going wrong. Maybe there is a mis match of the xen versions ???
Thanks
Alex
--
Fedora-xen mailing list
Fedora-xen(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-xen
16 years, 10 months
problem doing provision...
by John Sanabria
Hi,
i have two systems with fc6:
shutdown.ece.uprm.edu (with updates) -> Linux shutdown
2.6.20-1.2952.fc6xen #1 SMP Wed May 16 19:19:04 EDT 2007 i686 i686 i386
GNU/Linux
init.ece.uprm.edu (no recent updates) -> Linux init
2.6.19-1.2911.6.5.fc6xen #1 SMP Sun Mar 4 16:59:41 EST 2007 i686 i686 i386
GNU/Linux
my problems appear when i decide update packages in shutdown machine. When
execute the next command:
cobbler enchant --virt=yes --address=shutdown.ece.uprm.edu
--profile="base-box"
i got the message at the end of this e-mail. However, everything works
properly when execute this command:
cobbler enchant --virt=yes --address=init.ece.uprm.edu --profile="base-box"
What probably udpate crash the shutdown system? Do you need some specific
details of the system in order to give a suggestion?
thanks a lot for your attention, regards.
+-------------+
|message error|
+-------------+
- url=http://136.145.116.11libvir: error : configuration file syntax
error: expecting a name
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/koan/app.py", line 97, in main
k.run()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 152, in run
self.do_virt()
File "/usr/lib/python2.4/site-packages/koan/app.py", line 297, in do_virt
return self.do_net_install("/tmp",after_download)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 253, in
do_net_install
after_download(self, distro_data, profile_data)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 296, in
after_download
self.do_virt_net_install(profile_data, distro_data)
File "/usr/lib/python2.4/site-packages/koan/app.py", line 600, in
do_virt_net_install
extra=kextra
File "/usr/lib/python2.4/site-packages/koan/virtcreate.py", line 102, in
start_paravirt_install
guest.start_install()
File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 643, in
start_install
meter = progress.BaseMeter()
4/cobbler/images/xentemplate/vmlinuz
- kernel saved = /tmp/vmlinuz
- initrd saved = /tmp/initrd.img
NameError: global name 'progress' is not defined
returns: 3
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/cobbler/action_enchant.py", line
101, in run
self.ssh_exec("koan %s --profile=%s --server=%s" % (operation,
self.profile, self.settings.server))
File "/usr/lib/python2.4/site-packages/cobbler/action_enchant.py", line
57, in ssh_exec
raise cexceptions.CobblerException("enchant_failed","ssh failure")
CobblerException: 'enchant failed (ssh failure)'
enchant failed (exception)
http://ece.uprm.edu/~s047267
http://del.icio.us/josanabr
http://blog-grid.blogspot.com
16 years, 10 months
virt-install on FC7 gives errors - why ?
by Ian Brown
Helllo,
1) I had installed FC7 on x86_64 machine; I am running the default FC7
Xen domain 0
on it. I tried to install FC7 guest (also x86_64) by virt-install. This guest
should be paravirualized (I don't have support for full virtualization on this
CPU).
What I did was:
virt-install -b --vcpus=1 -n guset4 -r 256 -s 4 -f
/mnt/sda5/xenguest/guest4 -l http://192.168.0.131/ftp/ -p --nographics
on http://192.168.0.131/ftp/ there is the FC7 installation tree ; This machines
runs an apache http server.
What I see on the screen is:
...
...
Starting install...
libvir: Xen Daemon error : GET operation failed:
libvir: error : configuration file syntax error: expecting a name
libvir: error : configuration file syntax error: expecting a name
libvir: error : configuration file syntax error: expecting a name
Retrieving Fedora... 491 kB 00:00
Retrieving vmlinuz... 100% |=========================| 1.8 MB 00:01
Retrieving initrd.img... 100% |=========================| 5.4 MB 00:01
libvir: Xen Daemon error : GET operation failed:
Creating storage file... 100% |=========================| 4.0 GB 00:00
...
>From where do these libvir errors come ? What should I do to avoid
them (eventually
the guest ** is not ** created).? about which configuration file is
this error message?
2)
A second question: from running "virt-install --help" I see that
I can choose -b (for bridging) optionally with a bridge name. I can
also choose -w NETWORK for connecting to a nic.
My question is: must I add "-b" or "-w" ? or is there some default behaviour if
I don't select any of these options?
Regards,
Ian
16 years, 10 months
F7 System crash with high network load
by Sven Oehme
Hi,
i experienced it now a couple of time that my Dom0 will get unstable if i
copy a lot of files over a gigabit link using rsync into the dom0.
That happens even, when there is no workload on the system beside this
process at all.
How to reproduce :
rsync -avuzP --delete --progress /home/user1 xenhost:/home/user1
the rsync will start and after a few minutes the remote host (xen) is no
longer responding on the network.
when i look at the console of the xen host, it prints millions of :
[<c1005540>] syscall_call+0x7/0xb
only a hard reset helps now ..
environment :
xen-libs-3.1.0-2.fc7
xen-3.1.0-2.fc7
kernel-xen-2.6.20-2925.11.fc7
kernel-xen-devel-2.6.20-2925.11.fc7
so i assume it is a f7 kernel-xen bug .. is this known, as i haven't found
anything in bugzilla ..
should i open a ticket against f7 ?
thanks . Sven
16 years, 10 months
Fedora 7 HVM Guest
by Thomas Frenken
Hi all,
some days ago I upgraded from FC6 to F7.
Machine details:
[root@fettemoehre ~]# uname -a
Linux fettemoehre.XXXX 2.6.20-2925.9.fc7xen #1 SMP Tue May 22 09:29:36 EDT
2007 x86_64 x86_64 x86_64 GNU/Linux
[root@fettemoehre ~]# 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 nx lm constant_tsc pni monitor
ds_cpl vmx est tm2 ssse3 cx16 xtpr dca lahf_lm
[root@fettemoehre ~]# cat /sys/hypervisor/properties/capabilities
xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
---
I already managed in FC6 to run various fully virtualized guests including
Windows XP / Server 2003 and FC6 32/64.
However whenever I try to fully virtualize a F7 guest the installation failes.
This happens independantly on whether I use virt-manager, virt-install or xm
create [config] to create the guest.
After creating the domu the system hangs before any installer shows up. E.g. a
sample session using virt-install:
[root@fettemoehre ~]# virt-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? F7_Gast1
How much RAM should be allocated (in megabytes)? 8092
What would you like to use as the disk (path)? /dev/VolGroup00/f7gast2
Would you like to enable graphics support? (yes or no) no
What is the virtual CD image, CD device or install
location? /tmp/F-7-x86_64-DVD.iso
Starting install...
libvir: Xen Daemon error : GET operation failed:
libvir: Xen Daemon error : GET operation failed:
Creating domain... 0 B 00:07
---
The installation doesn't continue, using a graphical installer I only see a
black screen.
Has anyone already managed to virtualize F7 or solved this or a similar issue?
Thank!
Thomas
-------- LOGILES --------
Content of logifle qemu*:
domid: 10
qemu: the number of cpus is 1
Watching /local/domain/10/logdirty/next-active
qemu_map_cache_init nr_buckets = 10000
shared page at pfn effff
buffered io page at pfn efffd
xs_read(/vm/3404b719-29f4-bb90-986c-64f18e20e9e0/rtc/timeoffset): read error
xs_read(): vncpasswd get
error. /vm/3404b719-29f4-bb90-986c-64f18e20e9e0/vncpasswd.
char device redirected to /dev/pts/4
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
Triggered log-dirty buffer switch
Content of logile xend.log:
[2007-06-18 10:02:09 2892] DEBUG (XendDomainInfo:78)
XendDomainInfo.create(['vm', ['name', 'F7_GUEST'], ['memory', '8192'],
['maxmem', '8192'], ['vcpus', '1'],
['uuid', '3404b719-29f4-bb90-986c-64f18e20e9e0'], ['on_poweroff', 'destroy'],
['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['image', ['hvm',
['kernel', '/usr/lib/xen/boot/hvmloader'],
['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vcpus', '1'],
['boot', 'd'], ['pae', '1'], ['serial', 'pty']]], ['device', ['vbd',
['dev', 'hda:disk'], ['uname', 'phy:/dev/VolGroup00/f7gast2'],
['mode', 'w']]], ['device', ['vbd', ['dev', 'hdc:cdrom'],
['uname', 'file:/tmp/F-7-x86_64-DVD.iso'], ['mode', 'r']]], ['device',
['vif', ['mac', '00:16:3e:28:9f:fc'], ['bridge', 'eth0'],
['type', 'ioemu']]]])
[2007-06-18 10:02:09 2892] DEBUG (XendDomainInfo:1460)
XendDomainInfo.constructDomain
[2007-06-18 10:02:09 2892] DEBUG (balloon:113) Balloon: 8362784 KiB free; need
2048; done.
[2007-06-18 10:02:09 2892] DEBUG (XendDomain:443) Adding Domain: 10
[2007-06-18 10:02:09 2892] DEBUG (XendDomainInfo:1514)
XendDomainInfo.initDomain: 10 256
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: boot, val: d
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: fda, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: fdb, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: soundhw, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: localtime, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: serial, val: pty
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: std-vga, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: isa, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: acpi, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: usb, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: usbdevice, val: None
[2007-06-18 10:02:09 2892] DEBUG (image:330) args: k, val: None
[2007-06-18 10:02:09 2892] DEBUG (XendDomainInfo:1546)
_initDomain:shadow_memory=0x0, memory_static_max=0x200000000,
memory_static_min=0x0.
[2007-06-18 10:02:09 2892] DEBUG (balloon:119) Balloon: 8361748 KiB free; 0 to
scrub; need 8463360; retries: 20.
[2007-06-18 10:02:09 2892] DEBUG (balloon:134) Balloon: setting dom0 target to
15982 MiB.
[2007-06-18 10:02:09 2892] DEBUG (XendDomainInfo:581) Setting memory target of
domain Domain-0 (0) to 15982 MiB.
[2007-06-18 10:02:09 2892] DEBUG (XendDomainInfo:873) Storing domain details:
{'cpu/3/availability': 'online', 'name': 'Domain-0', 'console/limit': '1048576', 'memory/target': '16365568', 'cpu/2/availability': 'online', 'vm': '/vm/00000000-0000-0000-0000-000000000000', 'domid': '0', 'cpu/7/availability': 'online', 'cpu/0/availability': 'online', 'cpu/1/availability': 'online', 'cpu/5/availability': 'online', 'control/platform-feature-multiprocessor-suspend': '1', 'cpu/6/availability': 'online', 'cpu/4/availability': 'online'}
[2007-06-18 10:02:09 2892] DEBUG (balloon:113) Balloon: 8464148 KiB free; need
8463360; done.
[2007-06-18 10:02:09 2892] INFO (image:129) buildDomain os=hvm dom=10 vcpus=1
[2007-06-18 10:02:09 2892] DEBUG (image:278) domid = 10
[2007-06-18 10:02:09 2892] DEBUG (image:279) image
= /usr/lib/xen/boot/hvmloader
[2007-06-18 10:02:09 2892] DEBUG (image:280) store_evtchn = 2
[2007-06-18 10:02:09 2892] DEBUG (image:281) memsize = 8192
[2007-06-18 10:02:09 2892] DEBUG (image:282) vcpus = 1
[2007-06-18 10:02:09 2892] DEBUG (image:283) pae = 1
[2007-06-18 10:02:09 2892] DEBUG (image:284) acpi = 0
[2007-06-18 10:02:09 2892] DEBUG (image:285) apic = 0
[2007-06-18 10:02:10 2892] INFO (XendDomainInfo:1362) createDevice: vbd :
{'uuid': '0d69061d-fdeb-b7fe-f3bd-d73d472a3c8a', 'bootable':
1, 'driver': 'paravirtualised', 'dev': 'hda:disk', 'uname': 'phy:/dev/VolGroup00/f7gast2', 'mode': 'w'}
[2007-06-18 10:02:10 2892] DEBUG (DevController:115) DevController: writing
{'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/10/768'}
to /local/domain/10/device/vbd/768.
[2007-06-18 10:02:10 2892] DEBUG (DevController:117) DevController: writing
{'domain': 'F7_GUEST', 'frontend': '/local/domain/10/device/vbd/768', 'uuid': '0d69061d-fdeb-b7fe-f3bd-d73d472a3c8a', 'dev': 'hda', 'state': '1', 'params': '/dev/VolGroup00/f7gast2', 'mode': 'w', 'online': '1', 'frontend-id': '10', 'type': 'phy'}
to /local/domain/0/backend/vbd/10/768.
[2007-06-18 10:02:10 2892] INFO (XendDomainInfo:1362) createDevice: vbd :
{'uuid': 'a3b0b798-be08-a3c3-d69d-1e5237acb964', 'bootable':
0, 'driver': 'paravirtualised', 'dev': 'hdc:cdrom', 'uname': 'file:/tmp/F-7-x86_64-DVD.iso', 'mode': 'r'}
[2007-06-18 10:02:10 2892] DEBUG (DevController:115) DevController: writing
{'backend-id': '0', 'virtual-device': '5632', 'device-type': 'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/vbd/10/5632'}
to /local/domain/10/device/vbd/5632.
[2007-06-18 10:02:10 2892] DEBUG (DevController:117) DevController: writing
{'domain': 'F7_GUEST', 'frontend': '/local/domain/10/device/vbd/5632', 'uuid': 'a3b0b798-be08-a3c3-d69d-1e5237acb964', 'dev': 'hdc', 'state': '1', 'params': '/tmp/F-7-x86_64-DVD.iso', 'mode': 'r', 'online': '1', 'frontend-id': '10', 'type': 'file'}
to /local/domain/0/backend/vbd/10/5632.
[2007-06-18 10:02:10 2892] INFO (XendDomainInfo:1362) createDevice: vif :
{'bridge': 'eth0', 'mac': '00:16:3e:28:9f:fc', 'type': 'ioemu', 'uuid': 'add6d423-d0a7-5e7c-76b7-5fe7248c4dba'}
[2007-06-18 10:02:10 2892] DEBUG (DevController:115) DevController: writing
{'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vif/10/0'}
to /local/domain/10/device/vif/0.
[2007-06-18 10:02:10 2892] DEBUG (DevController:117) DevController: writing
{'bridge': 'eth0', 'domain': 'F7_GUEST', 'handle': '0', 'uuid': 'add6d423-d0a7-5e7c-76b7-5fe7248c4dba', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/10/device/vif/0', 'mac': '00:16:3e:28:9f:fc', 'online': '1', 'frontend-id': '10', 'type': 'ioemu'}
to /local/domain/0/backend/vif/10/0.
[2007-06-18 10:02:10 2892] INFO (image:445) spawning device
models: /usr/lib64/xen/bin/qemu-dm
['/usr/lib64/xen/bin/qemu-dm', '-d', '10', '-vcpus', '1', '-boot', 'd', '-serial', 'pty', '-domain-name', 'F7_GUEST', '-net', 'nic,vlan=1,macaddr=00:16:3e:28:9f:fc,model=rtl8139', '-net', 'tap,vlan=1,bridge=eth0', '-nographic']
[2007-06-18 10:02:10 2892] INFO (image:449) device model pid: 15638
[2007-06-18 10:02:10 2892] DEBUG (XendDomainInfo:2019) Storing VM details:
{'on_xend_stop': 'ignore', 'shadow_memory': '65', 'uuid': '3404b719-29f4-bb90-986c-64f18e20e9e0', 'on_reboot': 'destroy', 'start_time': '1182153730.57', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'destroy', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image': '(hvm
(kernel /usr/lib/xen/boot/hvmloader) (boot d)
(device_model /usr/lib64/xen/bin/qemu-dm) (pae 1) (serial pty) (notes
(SUSPEND_CANCEL 1)))', 'name': 'F7_GUEST'}
[2007-06-18 10:02:10 2892] DEBUG (XendDomainInfo:873) Storing domain details:
{'console/port': '3', 'name': 'F7_GUEST', 'console/limit': '1048576', 'vm': '/vm/3404b719-29f4-bb90-986c-64f18e20e9e0', 'domid': '10', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '8388608', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '983038', 'store/port': '2'}
[2007-06-18 10:02:10 2892] DEBUG (XendDomainInfo:873) Storing domain details:
{'name': 'F7_GUEST', 'console/limit': '1048576', 'image/suspend-cancel': '1', 'domid': '10', 'vm': '/vm/3404b719-29f4-bb90-986c-64f18e20e9e0', 'cpu/0/availability': 'online', 'memory/target': '8388608', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '983038', 'store/port': '2'}
[2007-06-18 10:02:10 2892] DEBUG (XendDomainInfo:954)
XendDomainInfo.handleShutdownWatch
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices vif.
[2007-06-18 10:02:11 2892] DEBUG (DevController:153) Waiting for 0.
[2007-06-18 10:02:11 2892] DEBUG (DevController:556)
hotplugStatusCallback /local/domain/0/backend/vif/10/0/hotplug-status.
[2007-06-18 10:02:11 2892] DEBUG (DevController:570) hotplugStatusCallback 1.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices usb.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices vbd.
[2007-06-18 10:02:11 2892] DEBUG (DevController:153) Waiting for 768.
[2007-06-18 10:02:11 2892] DEBUG (DevController:556)
hotplugStatusCallback /local/domain/0/backend/vbd/10/768/hotplug-status.
[2007-06-18 10:02:11 2892] DEBUG (DevController:570) hotplugStatusCallback 1.
[2007-06-18 10:02:11 2892] DEBUG (DevController:153) Waiting for 5632.
[2007-06-18 10:02:11 2892] DEBUG (DevController:556)
hotplugStatusCallback /local/domain/0/backend/vbd/10/5632/hotplug-status.
[2007-06-18 10:02:11 2892] DEBUG (DevController:556)
hotplugStatusCallback /local/domain/0/backend/vbd/10/5632/hotplug-status.
[2007-06-18 10:02:11 2892] DEBUG (DevController:570) hotplugStatusCallback 1.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices irq.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices vkbd.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices vfb.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices
console.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices pci.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices
ioports.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices tap.
[2007-06-18 10:02:11 2892] DEBUG (DevController:148) Waiting for devices vtpm.
[2007-06-18 10:02:11 2892] INFO (XendDomain:1117) Domain F7_GUEST (10)
unpaused.
[2007-06-18 10:02:11 2892] DEBUG (XendDomainInfo:233)
XendDomainInfo.createDormant({'vcpus_params':
{}, 'PV_args': '', 'features': '', 'cpus': [], 'devices':
{'ebdb8802-92ab-2393-d58a-f7e6bd4d5302': ('vbd',
{'uuid': 'ebdb8802-92ab-2393-d58a-f7e6bd4d5302', 'bootable':
1, 'driver': 'paravirtualised', 'dev': 'hda:disk', 'uname': 'phy:/dev/VolGroup00/f7gast2', 'mode': 'w'}), 'dd75b195-189f-1df1-99c4-2bfd4cc88e64':
('vif',
{'bridge': 'eth0', 'mac': '00:16:3e:28:9f:fc', 'type': 'ioemu', 'uuid': 'dd75b195-189f-1df1-99c4-2bfd4cc88e64'})}, 'vcpu_avail':
1, 'VCPUs_live':
1, 'PV_bootloader': '', 'actions_after_crash': 'restart', 'vbd_refs':
['ebdb8802-92ab-2393-d58a-f7e6bd4d5302'], 'PV_ramdisk': '', 'is_control_domain':
False, 'name_label': 'F7_GUEST', 'VCPUs_at_startup': 1, 'HVM_boot_params':
{'order': 'c'}, 'platform':
{'device_model': '/usr/lib64/xen/bin/qemu-dm', 'serial': 'pty', 'boot': 'c', 'pae': '1'}, 'cpu_weight':
256, 'console_refs': [], 'cpu_cap':
0, 'on_xend_stop': 'ignore', 'memory_static_min': 0, 'HVM_boot_policy': 'BIOS
order', 'VCPUs_max': 1, 'memory_static_max':
8589934592, 'actions_after_shutdown': 'destroy', 'on_xend_start': 'ignore', 'memory_dynamic_max':
8589934592, 'actions_after_suspend': '', 'is_a_template':
False, 'memory_dynamic_min':
8589934592, 'uuid': '3404b719-29f4-bb90-986c-64f18e20e9e0', 'PV_kernel': '/usr/lib/xen/boot/hvmloader', 'shadow_memory':
0, 'PV_bootloader_args': '', 'other_config':
{}, 'actions_after_reboot': 'restart', 'vif_refs':
['dd75b195-189f-1df1-99c4-2bfd4cc88e64'], 'vtpm_refs': [], 'security': None})
[2007-06-18 10:02:11 2892] DEBUG (XendDomain:960) Creating new managed domain:
F7_GUEST
Content of lofile xend-debug.log:
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 140,
in process
resource = self.getResource()
File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 172,
in getResource
return self.getServer().getResource(self)
File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 351,
in getResource
return self.root.getRequestResource(req)
File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 39, in
getRequestResource
return findResource(self, req)
File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 26, in
findResource
next = resource.getPathResource(pathElement, request)
File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 49, in
getPathResource
val = self.getChild(path, request)
File "/usr/lib64/python2.5/site-packages/xen/web/SrvDir.py", line 71, in
getChild
val = self.get(x)
File "/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDomainDir.py",
line 52, in get
return self.domain(x)
File "/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDomainDir.py",
line 44, in domain
dom = self.xd.domain_lookup(x)
File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomain.py", line 524,
in domain_lookup
raise XendInvalidDomain(str(domid))
XendInvalidDomain: <Fault 3: '3404b719-29f4-bb90-986c-64f18e20e9e0'>
Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 140,
in process
resource = self.getResource()
File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 172,
in getResource
return self.getServer().getResource(self)
File "/usr/lib64/python2.5/site-packages/xen/web/httpserver.py", line 351,
in getResource
return self.root.getRequestResource(req)
File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 39, in
getRequestResource
return findResource(self, req)
File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 26, in
findResource
next = resource.getPathResource(pathElement, request)
File "/usr/lib64/python2.5/site-packages/xen/web/resource.py", line 49, in
getPathResource
val = self.getChild(path, request)
File "/usr/lib64/python2.5/site-packages/xen/web/SrvDir.py", line 71, in
getChild
val = self.get(x)
File "/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDomainDir.py",
line 52, in get
return self.domain(x)
File "/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDomainDir.py",
line 44, in domain
dom = self.xd.domain_lookup(x)
File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomain.py", line 524,
in domain_lookup
raise XendInvalidDomain(str(domid))
XendInvalidDomain: <Fault 3: 'F7_GUEST'>
16 years, 10 months
Removing PAE support in kernel-xen
by Johan De Wit
Hi all,
I want to use xen and the virtualisation tools provided in FC7. This
will be running on my laptop, which has no PAE support, since the max
ram = 2GB.
I already rebuilded the kerne-xen package, and removed pae support.
kernel-xen.spec line 94
%ifarch i686
%define buildpae 0
%define builddebug 0
# we build always xen HV with pae
%define xen_flags verbose=y crash_debug=y <--- change this line,
remove the pae bit
%endif
And in SOURCES/kernel-2.6.20-i686-xen.config at the end
# CONFIG_HIGHMEM64G is not set
CONFIG_HIGHMEM4G=y
But when installing an new xen guest with virt-manager, this doesn't
work. I've setup a local repo, and now i'm looking to get rid of the
pae stuff that is builtin the <pathtorepo>/images/xen/[vmlinuz|
initrd.img]
Overwriting the vmlinuz with the kernel I rebuild with the above steps
doesnt't work well.
Searching the web didn't get me to a solution.
Could someone please direct me to a solution ? I've looked into
anaconda, revision etc, but still cannot figure out how to fix my
problem.
Thanks
Johan
16 years, 10 months
Re: [Fedora-xen] virt-manager and guest config file
by Ranbir
On Fri, 2007-06-15 at 09:53 -0400, Hugh Brock wrote:
> >> virsh dumpxml DOMAINNAME > guest.xml
> >> vi guest.xml
> >> virsh define guest.xml
> >
> > I just tried this, and it didn't work. I had to "undefine" the guest
> > before I could define it again:
> >
>
> Hmm, it should work... what do you mean by "it didn't work?" Error message?
Here's what happens:
1. I do a a xml dump of the domU:
[root@xenmaster xen]# virsh dumpxml asterisk > guest.xml
libvir: error : failed to read configuration file /etc/xen/guest.xml
Though there's an error, guest.xml is created and looks okay.
2. I try to define the domU with the xml file I just dumped (after editing the RAM parameters):
[root@xenmaster xen]# virsh define guest.xml
libvir: error : configuration file syntax error: expecting a name
libvir: Xen Daemon error : internal error domain with name already exists
error: Failed to define domain from guest.xml
I check domU config file, and nothing has changed: the define really did fail.
3. I undefine said domU:
[root@xenmaster xen]# virsh undefine asterisk
libvir: error : configuration file syntax error: expecting a name
Domain asterisk has been undefined
The asterisk config has been deleted, so it looks good so far.
4. I again try to define the asterisk domU with the xml file I dumped earlier:
[root@xenmaster xen]# virsh define guest.xml
libvir: error : configuration file syntax error: expecting a name
Domain asterisk defined from guest.xml
I check the domU config, and it's been updated with the changes I made to the xml dump.
I hope that helps.
Regards,
Ranbir
--
Kanwar Ranbir Sandhu
Linux 2.6.20-1.2944.fc6 i686 GNU/Linux
01:47:34 up 7 days, 16:35, 1 user, load average: 0.78, 0.50, 0.40
16 years, 10 months
network problem after upgrade...
by John Sanabria
hi,
i had two machines (shutdown and init) dedicated as domain0 with fc6 and
xen installed. Both machines has guest domains deployed. Last days, i
decided to update the shutdown machine with kernel and xen packages, using
update software tool (aka. pup). As consequence my old guest domains in
shutdown machine has network problems, cannot communicate outside, then i
decide to deploy a new guest domain, after to updating process, and it
does not have any problems. The problem appear with old guest domains. :-(
But, the old guest domains in init machine (with no updates) work properly.
any suggestion? thanks a lot.
init xen-packages and kernel running version
kernel-xen.i686 2.6.19-1.2911.6.5.fc6 installed
kernel-xen.i686 2.6.18-1.2798.fc6 installed
xen.i386 3.0.3-6.fc6 installed
xen-libs.i386 3.0.3-6.fc6 installed
(uname -a) Linux init 2.6.19-1.2911.6.5.fc6xen #1 SMP Sun Mar 4 16:59:41
EST 2007 i686 i686 i386 GNU/Linux
shutdown xen-packages and kernel running version
kernel-xen.i686 2.6.20-1.2952.fc6 installed
kernel-xen.i686 2.6.19-1.2911.6.4.fc6 installed
xen.i386 3.0.3-9.fc6 installed
xen-libs.i386 3.0.3-9.fc6 installed
(uname -a) Linux shutdown 2.6.19-1.2911.6.4.fc6xen #1 SMP Sat Feb 24
14:57:17 EST 2007 i686 i686 i386 GNU/Linux
http://ece.uprm.edu/~s047267
http://del.icio.us/josanabr
http://blog-grid.blogspot.com
16 years, 10 months