FC5 domU network connectivity
by dgreen@CLEMSON.EDU
Trying to set up my domUs with network connectivity. I am running FC5 on
dom0 and FC5 on my two domUs.
My dom0 has a static eth0 and I run the 'network bridge' and 'vif bridge'
in the script at startup. My ifconfig shows (edited for length...):
eth0 Link encap:Ethernet HWaddr 00:E0:81:5D:B1:70
inet addr:130.127.XX.XXX Bcast:130.127.XX.XXX Mask:255.255.254.0
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
peth0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
vif0.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
vif1.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
vif2.0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
xenbr0 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF
inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
Questions/Comments:
1) How would I set up my bridge to give out automatic DHCP info to the
domUs? Do I have to run DHCP services on dom0?
2) I would like to keep my 130.127 address on eth0 so I can still connect
to the network, can this still be done and give private 192.168.12.X
addresses to my domUs?
Thanks for any help you can give.
Vince
17 years, 9 months
Updated snapshot of virt-manager GUI application
by Daniel P. Berrange
I have just pushed out RPM / tar.gz of a new development (alpha) snapshot
of the virt-manager GUI application. The changes in this snapshot are:
* Fixed DBus service activation & general brokeness
* Added a display of virtual CPU count in summary view
* Fixed alignment of status label in details page
* Make hardware config panel resizeable
* Switch detailed graph rendering to use sparkline code instead of
matplotlib, removing a huge RPM dependancy chain
* Switch to use filled sparkline graphs instead of outline
Although I didn't increment the RPM dependancy, I strongly recommend using
libvirt 0.1.3 if your host is running > 5 guest domains. This reduces the
number of HTTP GETs made by an order of magnitude, improving the response
time / scalability of the virt-manager refresh.
Regards,
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
17 years, 10 months
no kernel specified on config file
by Gary Siao
hi gurus
i an createing the first guest domain using the xenguest-install.py on FC5..
the install completed ok but when i run xm create -c domain1, i get no
kernel specified... i am lost here... how do i know which kernel i will put
in the config file for the first domain... need help badly
thanks
17 years, 10 months
floppy.ko & lightweight FC5 guests
by Philip Rhoades
People,
I want to install lightweight FC5 guests using RULE
(http://www.rule-project.org) so I need floppy disk access but there is
no floppy.ko in 2.6.17-1.2139_FC5xen0 . . how do I fix this?
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
Mobile: +61:(0)411-185-652
Fax: +61:(0)2-8221-9599
E-mail: phil(a)pricom.com.au
17 years, 10 months
Xen migration problems
by Cameron Pitt-Downton
Hi,
I've been trying to test out Xen migration, but keep running into a
kernel Oops/crash. It might be my setup or I might be running into some
other problem, but I've searched mailing lists/google and haven't found
anything that has helped.
I'm using 3 FC5 boxes all running the latest kernels, updates, etc:
One box to export a mounted image file generated with
xenguest-install.py via AoE using vblade (have also tried using NFS to
export a directory containing the image file).
The other 2 boxes are running Xen. The guest starts and runs on either
Xen box without a problem, but when trying to do a migration or a live
migration between the 2 Xen boxes, in either direction, I run into the
kernel crash.
The migration actually moves the guest from one box to the other, but it
stops responding via the network, and when logging in using 'xm console'
I see a kernel call trace. The guest kinda still works other than
networking not working at all, so I tried doing a service network
restart, but this causes the guest to totally lock up. If the guest is
rebooted it works fine.
Bellow is the kernel call trace and what is in the destination Xen
server's xend.log.
Thanks
Cameron
-------------------------
BUG: unable to handle kernel NULL pointer dereference at virtual address
00000000
printing eip:
d10c2c27
*pde = ma 00000000 pa fffff000
Oops: 0002 [#1]
SMP
Modules linked in: ipv6 autofs4 sunrpc xennet ip_conntrack_netbios_ns
ipt_REJECT xt_state ip_conntrack nfnetlink xt_tcpudp iptable_filter
ip_tables x_tables dm_snapshot dm_zero dm_mirror dm_mod
CPU: 0
EIP: 0061:[<d10c2c27>] Not tainted VLI
EFLAGS: 00010046 (2.6.17-1.2145_FC5xenU #1)
EIP is at backend_changed+0x15c/0x24d [xennet]
eax: 00000000 ebx: cf608400 ecx: cf608498 edx: 00000000
esi: 00000001 edi: 00000000 ebp: 00000101 esp: c09cbf70
ds: 007b es: 007b ss: 0069
Process xenwatch (pid: 8, threadinfo=c09ca000 task=c06c6b30)
Stack: <0>c09f2200 cf608000 00000000 cf608498 cf608488 c0898dc0 c09ca000
c0898dc0
c051d45e c051cdee c09f2200 00000002 00000002 00000000 c051d5aa
c0898dc0
00000000 c06c6b30 c0429cd7 c09cbfbc c09cbfbc c0a43e7c c0429c16
00000000
Call Trace:
<c051d45e> xenwatch_thread+0x0/0x163 <c051cdee>
xenwatch_handle_callback+0x12/0x45
<c051d5aa> xenwatch_thread+0x14c/0x163 <c0429cd7>
autoremove_wake_function+0x0/0x3a
<c0429c16> kthread+0xa0/0xcd <c0429b76> kthread+0x0/0xcd
<c0402989> kernel_thread_helper+0x5/0xb
Code: 08 8b 47 60 01 43 18 ff 43 10 45 81 fd 01 01 00 00 0f 85 35 ff ff
ff 8b 44 24 08 89 43 68 8b 53 74 be 01 00 00 00 31 ff 8b 43 68 <89> 02
8b 84 b3 f8 04 00 00 3d ff ff ff bf 76 58 8b 80 98 00 00
EIP: [<d10c2c27>] backend_changed+0x15c/0x24d [xennet] SS:ESP
0069:c09cbf70
<3>BUG: sleeping function called from invalid context at
include/linux/rwsem.h:43
in_atomic():0, irqs_disabled():1
<c04242e2> blocking_notifier_call_chain+0x11/0x48 <c04198d6>
profile_task_exit+0x10/0x14
<c041b08d> do_exit+0x1b/0x78b <c040571a> die+0x1c0/0x27b
<c04057af> die+0x255/0x27b <c040ee98> do_page_fault+0x0/0x70f
<c040f4a7> do_page_fault+0x60f/0x70f <c040ee98>
do_page_fault+0x0/0x70f
<c0404d07> error_code+0x2b/0x30 <d10c2c27> backend_changed+0x15c/0x24d
[xennet]
<c051d45e> xenwatch_thread+0x0/0x163 <c051cdee>
xenwatch_handle_callback+0x12/0x45
<c051d5aa> xenwatch_thread+0x14c/0x163 <c0429cd7>
autoremove_wake_function+0x0/0x3a
<c0429c16> kthread+0xa0/0xcd <c0429b76> kthread+0x0/0xcd
<c0402989> kernel_thread_helper+0x5/0xb
BUG: xenwatch/8, lock held at task exit time!
[c06083e0] {xenwatch_mutex}
.. held by: xenwatch: 8 [c06c6b30, 110]
... acquired at: xenwatch_thread+0x95/0x163
------------------------
[2006-07-10 12:42:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:260)
XendDomainInfo.restore(['domain', ['domid', '5'], ['uuid',
'08cd716d-1deb-00f4-77b2-66f14244bc16'], ['vcpus', '1'], ['vcpu_avail',
'1'], ['cpu_weight', '1.0'], ['memory', '256'], ['maxmem', '256'],
['bootloader', '/usr/bin/pygrub'], ['features'], ['name',
'xen.guest.migration.test'], ['on_poweroff', 'destroy'], ['on_reboot',
'restart'], ['on_crash', 'restart'], ['image', ['linux', ['ramdisk',
'/var/lib/xen/initrd.ihUbbw'], ['kernel',
'/var/lib/xen/vmlinuz.4kwzZ2'], ['args', 'ro
root=/dev/VolGroup00/LogVol00']]], ['device', ['vif', ['backend', '0'],
['script', 'vif-bridge'], ['mac', '00:16:3e:09:8a:dc']]], ['device',
['vbd', ['backend', '0'], ['dev', 'xvda'], ['uname', 'phy:etherd/e0.2'],
['mode', 'w']]], ['state', '-b----'], ['shutdown_reason', 'poweroff'],
['cpu_time', '0.142407299'], ['online_vcpus', '1'], ['up_time',
'508.123579025'], ['start_time', '1152498812.32'], ['store_mfn',
'613739'], ['console_mfn', '613738']])
[2006-07-10 12:42:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:291)
parseConfig: config is ['domain', ['domid', '5'], ['uuid',
'08cd716d-1deb-00f4-77b2-66f14244bc16'], ['vcpus', '1'], ['vcpu_avail',
'1'], ['cpu_weight', '1.0'], ['memory', '256'], ['maxmem', '256'],
['bootloader', '/usr/bin/pygrub'], ['features'], ['name',
'xen.guest.migration.test'], ['on_poweroff', 'destroy'], ['on_reboot',
'restart'], ['on_crash', 'restart'], ['image', ['linux', ['ramdisk',
'/var/lib/xen/initrd.ihUbbw'], ['kernel',
'/var/lib/xen/vmlinuz.4kwzZ2'], ['args', 'ro
root=/dev/VolGroup00/LogVol00']]], ['device', ['vif', ['backend', '0'],
['script', 'vif-bridge'], ['mac', '00:16:3e:09:8a:dc']]], ['device',
['vbd', ['backend', '0'], ['dev', 'xvda'], ['uname', 'phy:etherd/e0.2'],
['mode', 'w']]], ['state', '-b----'], ['shutdown_reason', 'poweroff'],
['cpu_time', '0.142407299'], ['online_vcpus', '1'], ['up_time',
'508.123579025'], ['start_time', '1152498812.32'], ['store_mfn',
'613739'], ['console_mfn', '613738']]
[2006-07-10 12:42:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:390)
parseConfig: result is {'uuid': '08cd716d-1deb-00f4-77b2-66f14244bc16',
'on_crash': 'restart', 'on_reboot': 'restart', 'image': ['linux',
['ramdisk', '/var/lib/xen/initrd.ihUbbw'], ['kernel',
'/var/lib/xen/vmlinuz.4kwzZ2'], ['args', 'ro
root=/dev/VolGroup00/LogVol00']], 'on_poweroff': 'destroy',
'bootloader_args': None, 'cpus': None, 'name':
'xen.guest.migration.test', 'backend': [], 'vcpus': 1, 'cpu_weight':
1.0, 'features': None, 'vcpu_avail': 1, 'memory': 256, 'device':
[('vif', ['vif', ['backend', '0'], ['script', 'vif-bridge'], ['mac',
'00:16:3e:09:8a:dc']]), ('vbd', ['vbd', ['backend', '0'], ['dev',
'xvda'], ['uname', 'phy:etherd/e0.2'], ['mode', 'w']])], 'bootloader':
'/usr/bin/pygrub', 'cpu': None, 'maxmem': 256}
[2006-07-10 12:42:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:1216)
XendDomainInfo.construct: None
[2006-07-10 12:42:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:701)
Storing VM details: {'name': 'xen.guest.migration.test', 'on_reboot':
'restart', 'image': "(linux (ramdisk /var/lib/xen/initrd.ihUbbw) (kernel
/var/lib/xen/vmlinuz.4kwzZ2) (args 'ro
root=/dev/VolGroup00/LogVol00'))", 'on_poweroff': 'destroy', 'uuid':
'08cd716d-1deb-00f4-77b2-66f14244bc16', 'on_crash': 'restart', 'vcpus':
'1', 'vcpu_avail': '1', 'memory': '256', 'maxmem': '256'}
[2006-07-10 12:42:00 xend] DEBUG (DevController:110) DevController:
writing {'backend-id': '0', 'mac': '00:16:3e:09:8a:dc', 'handle': '0',
'state': '1', 'backend': '/local/domain/0/backend/vif/6/0'} to
/local/domain/6/device/vif/0.
[2006-07-10 12:42:00 xend] DEBUG (DevController:112) DevController:
writing {'mac': '00:16:3e:09:8a:dc', 'state': '1', 'handle': '0',
'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '6', 'domain':
'xen.guest.migration.test', 'frontend': '/local/domain/6/device/vif/0'}
to /local/domain/0/backend/vif/6/0.
[2006-07-10 12:42:00 xend] DEBUG (blkif:24) exception looking up device
number for xvda: [Errno 2] No such file or directory: '/dev/xvda'
[2006-07-10 12:42:00 xend] DEBUG (DevController:110) DevController:
writing {'virtual-device': '51712', 'backend-id': '0', 'state': '1',
'backend': '/local/domain/0/backend/vbd/6/51712'} to
/local/domain/6/device/vbd/51712.
[2006-07-10 12:42:00 xend] DEBUG (DevController:112) DevController:
writing {'domain': 'xen.guest.migration.test', 'frontend':
'/local/domain/6/device/vbd/51712', 'dev': 'xvda', 'state': '1',
'params': 'etherd/e0.2', 'mode': 'w', 'frontend-id': '6', 'type': 'phy'}
to /local/domain/0/backend/vbd/6/51712.
[2006-07-10 12:42:00 xend.XendDomainInfo] DEBUG (XendDomainInfo:736)
Storing domain details: {'console/port': '2', 'name':
'xen.guest.migration.test', 'console/limit': '1048576', 'vm':
'/vm/08cd716d-1deb-00f4-77b2-66f14244bc16', 'domid': '6',
'cpu/0/availability': 'online', 'memory/target': '262144', 'store/port':
'1'}
[2006-07-10 12:42:00 xend] DEBUG (balloon:128) Balloon: free 746; need
265; done.
[2006-07-10 12:42:00 xend] DEBUG (XendCheckpoint:155) [xc_restore]:
/usr/lib/xen/bin/xc_restore 10 15 6 67584 1 2
[2006-07-10 12:42:00 xend] ERROR (XendCheckpoint:234) xc_linux_restore
start: max_pfn = 10800
[2006-07-10 12:42:00 xend] ERROR (XendCheckpoint:234) Increased domain
reservation by 42000 KB
[2006-07-10 12:42:00 xend] ERROR (XendCheckpoint:234) Reloading memory
pages: 0%
[2006-07-10 12:42:03 xend] ERROR (XendCheckpoint:234) Received all pages
(0 races)
[2006-07-10 12:42:03 xend] ERROR (XendCheckpoint:2100%
[2006-07-10 12:42:03 xend] ERROR (XendCheckpoint:234) Memory reloaded.
[2006-07-10 12:42:03 xend] ERROR (XendCheckpoint:234) Decreased
reservation by 2101 pages
[2006-07-10 12:42:03 xend] ERROR (XendCheckpoint:234) Domain ready to be
built.
[2006-07-10 12:42:03 xend] ERROR (XendCheckpoint:234) Restore exit with
rc=0
[2006-07-10 12:42:03 xend] DEBUG (XendCheckpoint:207) store-mfn 59373
[2006-07-10 12:42:03 xend] DEBUG (XendCheckpoint:207) console-mfn 59372
[2006-07-10 12:42:03 xend.XendDomainInfo] DEBUG (XendDomainInfo:664)
XendDomainInfo.completeRestore
[2006-07-10 12:42:03 xend.XendDomainInfo] DEBUG (XendDomainInfo:736)
Storing domain details: {'console/ring-ref': '59372', 'console/port':
'2', 'name': 'xen.guest.migration.test', 'console/limit': '1048576',
'vm': '/vm/08cd716d-1deb-00f4-77b2-66f14244bc16', 'domid': '6',
'cpu/0/availability': 'online', 'memory/target': '262144',
'store/ring-ref': '59373', 'store/port': '1'}
[2006-07-10 12:42:03 xend.XendDomainInfo] DEBUG (XendDomainInfo:674)
XendDomainInfo.completeRestore done
[2006-07-10 12:42:03 xend.XendDomainInfo] DEBUG (XendDomainInfo:919)
XendDomainInfo.handleShutdownWatch
17 years, 10 months
X server problem when booting domain0 with kernel-xen0-2.6.17-1.2145_FC5
by sunzen w.
Hi,
I'am a new Xen user.
When i tried booting domain0 with kernel-xen0-2.6.17-1.2145_FC5, serveral
kinds of exceptions happened.
1. X can't be started.
2. X can be started, but
i). rather slow when starting X
ii)Can't input when X logining
iii)after X logining, X ''always' restarts
The X log is as the following:
---------------------------------------------------------------
X Window System Version 7.0.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 7.0
Build Operating System:Linux 2.6.9-34.ELsmp i686Red Hat, Inc.
Current Operating System: Linux localhost.localdomain
2.6.17-1.2145_FC5xen0#1 SMP Sat Jul 1 13:38:11 EDT 2006 i686
Build Date: 30 June 2006
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/dev/null", Time: Sat Jul 8 15:03:54 2006
(++) Using config file: "/tmp/tmpZy0nMyxorg.config"
*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.
Backtrace:
0: /usr/bin/Xorg(xf86SigHandler+0x87) [0x80b8727]
1: [0x993420]
2: /usr/lib/xorg/modules/libfb.so(fbOddStipple+0x152) [0x217002]
3: /usr/lib/xorg/modules/libfb.so(fbPolyFillRect+0x1be) [0x20cd9e]
4: /usr/bin/Xorg [0x8151f21]
5: /usr/bin/Xorg(CreateDefaultStipple+0x106) [0x8097fc6]
6: /usr/bin/Xorg(main+0x319) [0x8070069]
7: /lib/i686/nosegneg/libc.so.6(__libc_start_main+0xdc) [0x25e724]
8: /usr/bin/Xorg(FontFileCompleteXLFD+0xb1) [0x806f511]
Fatal server error:
Caught signal 8. Server aborting
x53d724]
9: /usr/bin/Xorg(FontFileCompleteXLFD+0xb1) [0x806f511]
Fatal server error:
Caught signal 8. Server aborting
-------------------------------------------------------------------
Signal 8 is floatpoint exception. How can it happen?
Note: The domain0 can be successfully booted when i use runlevel 0.
Any suggestion/advice is welcome. Thanks!
--
sunzen
17 years, 10 months
Xen - FC6 VT install of Windows XP hangsl
by Algie Seat
I have a Dell 380 which is VT capable. I have installed FC6 as a VT
(unmodified)
Guest under FC6. I'm now trying to install Windows XP PRO as a VT guest.
I'm doing the install from CD. It initially looks like it is going to work,
but after
The drivers are loaded, I get the standard "Setup is starting Windows"
message, but
nothing else after that. A "xm list" command shows the guest is gaining
time rapidly
so it must be in a loop. I saw some info about hitting F5 and choosing
"standard PC"
as the machine type. I did that but still have the same symptoms. I am
completely up
to date with all my packages on FC6. As I also mentioned above, a FC6 VT
guest has
been installed no problem.
17 years, 10 months
heeeeeeeelp on XEN
by Gary Siao
hi gurus
i'm a newbie to xen and like some guidance...
i have an existing machine that has FC5 and i just installed XEN3.0.2.2..
was able to boot the machine using XEN... i know the next step is to create
a guest domain but my problem is how do i create an image of the existing
FC5 since it has some data already (would be nice if you can give me the
actual command).. also once i created an image of the existing FC5, where do
i dump th image file and have xen boot from it...
thanks
Gary
17 years, 10 months
xen changeset is not available
by Zhao, Yunfeng
Xen changeset is not available on FC6 Test1.
And this info is very useful for fedora-xen user.
Is it possible to build changeset number in xen binary of FC6?
Thanks
Yunfeng
17 years, 10 months