On 03/28/2010 07:59 AM, Pasi Kärkkäinen wrote:
On Sat, Mar 27, 2010 at 11:53:41PM -0500, Christopher G. Stach II wrote:
----- "Aaron Clark"<ophidian@xxxxxxxxxxxxxxxxxxx> wrote:
What steps should I take next to debug this?
Downgrade back to where you were bit by bit (or just guess that it's dom0's kernel) and see when it starts working again.
What does the busted guest say when it tries to boot while you watch its [serial] console? Does the dom0 ever unpause the guest? (It should say in the logs.)
Yeah, and remove the vfb (graphical vnc console) from the guest,
so you can then do:
xm create -f /etc/xen/guest -c
to immediately attach to the console and see the guest kernel boot messages.
Ok, I've tried the following now:
- rebooted the dom0 into the previous, working kernel-xen and start domU
(doesn't work)
- while in the old kernel-xen, switch the grub config for the domU to
use the old kernel then try to start the domU (doesn't work)
- remove the vnc lines from the guest's config via virsh edit and
attempt to start (doesn't work)
I do not have any serial console stuff set up, so I'll need a little bit
more detailed instructions to get that working (which files I need to
modify on guest and host, what to put where, etc).
I have attached the snippet of the xend.log from my latest startup
attempt and the virsh xml in use while it is 'running' but not actually
working.
Aaron
--
"The goblins are in charge of maintenance? Why not just set it on fire
now and call it a day?"
--Whip Tongue, Viashino Technician
[2010-03-28 12:37:05 xend.XendDomainInfo 3186] DEBUG (XendDomainInfo:206) XendDomainInfo.create(['vm', ['name', 'Belldandy'], ['memory', '256'], ['maxmem', '256'], ['vcpus', '1'], ['uuid', '2627c318-d3a7-83a6-522c-fa2586fb86be'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['vcpus', '1'], ['boot', 'c'], ['acpi', '1'], ['apic', '1'], ['pae', '1'], ['usb', '1'], ['parallel', 'none'], ['serial', 'none'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vnc', '1'], ['vncunused', '0'], ['vncdisplay', '2']]], ['device', ['vbd', ['dev', 'hda:disk'], ['uname', 'phy:/dev/SystemsVG/Belldandy'], ['mode', 'w']]], ['device', ['vif', ['mac', '00:16:3e:1d:43:df'], ['bridge', 'xenbr0'], ['script', 'vif-bridge']]]])
[2010-03-28 12:37:05 xend.XendDomainInfo 3186] DEBUG (XendDomainInfo:328) parseConfig: config is ['vm', ['name', 'Belldandy'], ['memory', '256'], ['maxmem', '256'], ['vcpus', '1'], ['uuid', '2627c318-d3a7-83a6-522c-fa2586fb86be'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['image', ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['vcpus', '1'], ['boot', 'c'], ['acpi', '1'], ['apic', '1'], ['pae', '1'], ['usb', '1'], ['parallel', 'none'], ['serial', 'none'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vnc', '1'], ['vncunused', '0'], ['vncdisplay', '2']]], ['device', ['vbd', ['dev', 'hda:disk'], ['uname', 'phy:/dev/SystemsVG/Belldandy'], ['mode', 'w']]], ['device', ['vif', ['mac', '00:16:3e:1d:43:df'], ['bridge', 'xenbr0'], ['script', 'vif-bridge']]]]
[2010-03-28 12:37:05 xend.XendDomainInfo 3186] DEBUG (XendDomainInfo:445) parseConfig: result is {'features': None, 'image': ['hvm', ['kernel', '/usr/lib/xen/boot/hvmloader'], ['vcpus', '1'], ['boot', 'c'], ['acpi', '1'], ['apic', '1'], ['pae', '1'], ['usb', '1'], ['parallel', 'none'], ['serial', 'none'], ['device_model', '/usr/lib64/xen/bin/qemu-dm'], ['vnc', '1'], ['vncunused', '0'], ['vncdisplay', '2']], 'cpus': None, 'vcpu_avail': None, 'backend': [], 'uuid': '2627c318-d3a7-83a6-522c-fa2586fb86be', 'on_reboot': 'restart', 'cpu_weight': None, 'memory': 256, 'cpu_cap': None, 'localtime': None, 'timer_mode': None, 'start_time': None, 'on_poweroff': 'destroy', 'on_crash': 'restart', 'device': [('vbd', ['vbd', ['dev', 'hda:disk'], ['uname', 'phy:/dev/SystemsVG/Belldandy'], ['mode', 'w']]), ('vif', ['vif', ['mac', '00:16:3e:1d:43:df'], ['bridge', 'xenbr0'], ['script', 'vif-bridge']])], 'bootloader': None, 'maxmem': 256, 'shadow_memory': None, 'name': 'Belldandy', 'bootloader_args': None, 'vcpus': 1, 'cpu': None}
[2010-03-28 12:37:05 xend.XendDomainInfo 3186] DEBUG (XendDomainInfo:1774) XendDomainInfo.construct: None
[2010-03-28 12:37:05 xend 3186] DEBUG (balloon:145) Balloon: 274716 KiB free; need 4096; done.
[2010-03-28 12:37:05 xend.XendDomainInfo 3186] DEBUG (XendDomainInfo:1900) XendDomainInfo.initDomain: 3 256
[2010-03-28 12:37:05 xend 3186] DEBUG (image:330) args: boot, val: c
[2010-03-28 12:37:05 xend 3186] DEBUG (image:330) args: fda, val: None
[2010-03-28 12:37:05 xend 3186] DEBUG (image:330) args: fdb, val: None
[2010-03-28 12:37:05 xend 3186] DEBUG (image:330) args: soundhw, val: None
[2010-03-28 12:37:05 xend 3186] DEBUG (image:330) args: localtime, val: None
[2010-03-28 12:37:05 xend 3186] DEBUG (image:330) args: serial, val: none
[2010-03-28 12:37:05 xend 3186] DEBUG (image:330) args: std-vga, val: None
[2010-03-28 12:37:05 xend 3186] DEBUG (image:330) args: isa, val: None
[2010-03-28 12:37:05 xend 3186] DEBUG (image:330) args: vcpus, val: 1
[2010-03-28 12:37:05 xend 3186] DEBUG (image:330) args: acpi, val: 1
[2010-03-28 12:37:05 xend 3186] DEBUG (image:330) args: usb, val: 1
[2010-03-28 12:37:05 xend 3186] DEBUG (image:330) args: usbdevice, val: None
[2010-03-28 12:37:05 xend 3186] DEBUG (image:330) args: k, val: None
[2010-03-28 12:37:05 xend 3186] DEBUG (image:390) No VNC passwd configured for vfb access
[2010-03-28 12:37:05 xend.XendDomainInfo 3186] DEBUG (XendDomainInfo:1941) _initDomain:shadow_memory=0x0, maxmem=0x100, memory=0x100.
[2010-03-28 12:37:05 xend 3186] DEBUG (balloon:145) Balloon: 273680 KiB free; need 273408; done.
[2010-03-28 12:37:05 xend 3186] INFO (image:139) buildDomain os=None dom=3 vcpus=1
[2010-03-28 12:37:05 xend 3186] DEBUG (image:275) domid = 3
[2010-03-28 12:37:05 xend 3186] DEBUG (image:276) image = /usr/lib/xen/boot/hvmloader
[2010-03-28 12:37:05 xend 3186] DEBUG (image:277) store_evtchn = 2
[2010-03-28 12:37:05 xend 3186] DEBUG (image:278) memsize = 256
[2010-03-28 12:37:05 xend 3186] DEBUG (image:279) vcpus = 1
[2010-03-28 12:37:05 xend 3186] DEBUG (image:280) pae = 1
[2010-03-28 12:37:05 xend 3186] DEBUG (image:281) acpi = 1
[2010-03-28 12:37:05 xend 3186] DEBUG (image:282) apic = 1
[2010-03-28 12:37:05 xend.XendDomainInfo 3186] DEBUG (XendDomainInfo:633) Checking for duplicate for uname: /dev/SystemsVG/Belldandy [phy:/dev/SystemsVG/Belldandy], dev: hda:disk, mode: w
[2010-03-28 12:37:05 xend 3186] DEBUG (blkif:27) exception looking up device number for hda:disk: [Errno 2] No such file or directory: '/dev/hda:disk'
[2010-03-28 12:37:05 xend 3186] DEBUG (DevController:114) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/3/768'} to /local/domain/3/device/vbd/768.
[2010-03-28 12:37:05 xend 3186] DEBUG (DevController:116) DevController: writing {'domain': 'Belldandy', 'frontend': '/local/domain/3/device/vbd/768', 'format': 'raw', 'dev': 'hda', 'state': '1', 'params': '/dev/SystemsVG/Belldandy', 'mode': 'w', 'online': '1', 'frontend-id': '3', 'type': 'phy'} to /local/domain/0/backend/vbd/3/768.
[2010-03-28 12:37:05 xend 3186] DEBUG (DevController:114) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:1d:43:df', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/3/0'} to /local/domain/3/device/vif/0.
[2010-03-28 12:37:05 xend 3186] DEBUG (DevController:116) DevController: writing {'bridge': 'xenbr0', 'domain': 'Belldandy', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'state': '1', 'frontend': '/local/domain/3/device/vif/0', 'mac': '00:16:3e:1d:43:df', 'online': '1', 'frontend-id': '3'} to /local/domain/0/backend/vif/3/0.
[2010-03-28 12:37:05 xend 3186] INFO (image:434) spawning device models: /usr/lib64/xen/bin/qemu-dm ['/usr/lib64/xen/bin/qemu-dm', '-d', '3', '-m', '256', '-boot', 'c', '-serial', 'none', '-vcpus', '1', '-acpi', '-usb', '-domain-name', 'Belldandy', '-net', 'nic,vlan=1,macaddr=00:16:3e:1d:43:df,model=rtl8139', '-net', 'tap,vlan=1,bridge=xenbr0', '-vnc', '127.0.0.1:2', '-vncunused']
[2010-03-28 12:37:05 xend 3186] INFO (image:437) device model pid: 4621
[2010-03-28 12:37:05 xend.XendDomainInfo 3186] DEBUG (XendDomainInfo:992) Storing VM details: {'shadow_memory': '3', 'uuid': '2627c318-d3a7-83a6-522c-fa2586fb86be', 'on_reboot': 'restart', 'start_time': '1269794225.79', 'on_poweroff': 'destroy', 'name': 'Belldandy', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '256', 'on_crash': 'restart', 'image': '(hvm (kernel /usr/lib/xen/boot/hvmloader) (vcpus 1) (boot c) (acpi 1) (apic 1) (pae 1) (usb 1) (parallel none) (serial none) (device_model /usr/lib64/xen/bin/qemu-dm) (vnc 1) (vncunused 0) (vncdisplay 2))', 'maxmem': '256'}
[2010-03-28 12:37:05 xend.XendDomainInfo 3186] DEBUG (XendDomainInfo:1027) Storing domain details: {'console/port': '3', 'name': 'Belldandy', 'console/limit': '1048576', 'vm': '/vm/2627c318-d3a7-83a6-522c-fa2586fb86be', 'domid': '3', 'cpu/0/availability': 'online', 'memory/target': '262144', 'store/ring-ref': '65534', 'store/port': '2'}
[2010-03-28 12:37:05 xend.XendDomainInfo 3186] DEBUG (XendDomainInfo:1249) XendDomainInfo.handleShutdownWatch
[2010-03-28 12:37:05 xend 3186] DEBUG (DevController:158) Waiting for devices vif.
[2010-03-28 12:37:05 xend 3186] DEBUG (DevController:164) Waiting for 0.
[2010-03-28 12:37:05 xend 3186] DEBUG (DevController:509) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:509) hotplugStatusCallback /local/domain/0/backend/vif/3/0/hotplug-status.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:523) hotplugStatusCallback 1.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:158) Waiting for devices usb.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:158) Waiting for devices vbd.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:164) Waiting for 768.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:509) hotplugStatusCallback /local/domain/0/backend/vbd/3/768/hotplug-status.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:509) hotplugStatusCallback /local/domain/0/backend/vbd/3/768/hotplug-status.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:523) hotplugStatusCallback 1.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:158) Waiting for devices irq.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:158) Waiting for devices vkbd.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:158) Waiting for devices vfb.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:158) Waiting for devices pci.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:158) Waiting for devices ioports.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:158) Waiting for devices tap.
[2010-03-28 12:37:06 xend 3186] DEBUG (DevController:158) Waiting for devices vtpm.
[2010-03-28 12:37:06 xend 3186] INFO (XendDomain:389) Domain Belldandy (3) unpaused.
<domain type='xen' id='3'>
<name>Belldandy</name>
<uuid>2627c318-d3a7-83a6-522c-fa2586fb86be</uuid>
<memory>262144</memory>
<currentMemory>262144</currentMemory>
<vcpu>1</vcpu>
<os>
<type>hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='hd'/>
</os>
<features>
<acpi/>
<apic/>
<pae/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>restart</on_crash>
<devices>
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
<disk type='block' device='disk'>
<driver name='phy'/>
<source dev='/dev/SystemsVG/Belldandy'/>
<target dev='hda' bus='ide'/>
</disk>
<interface type='bridge'>
<mac address='00:16:3e:1d:43:df'/>
<source bridge='xenbr0'/>
<script path='vif-bridge'/>
<target dev='vif3.0'/>
</interface>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='5902' autoport='no'/>
</devices>
</domain>
_______________________________________________
CentOS-virt mailing list
CentOS-virt@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos-virt