[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Trying to get CentOS guest running, but xm cant find the kernel image.
Jerry Amundson wrote: > On 11/28/06, Henning Sprang <henning_sprang@xxxxxx> wrote: >> >> So now, this is your current problem - your initrd doesn't match the >> Kernel you are trying to run. create an initrd for your xen kernel >> with mkinitramfs or mkinitrd. > > This echoes my thoughts, also. > OK thanks guys. I now have a initrd that was created successfully and from what I can tell was accepted, only because I can't find a complaint in the logs. What was it that told you the initrd was the problem before? I'm pretty much at the same point I was before. I see Roland is suffering from the same problem. I'm wondering if these error messages are an indication of the problem? xenstore-read: couldn't read path backend/vbd/7/771/node xenstore-read: couldn't read path backend/vbd/8/771/node That's from the xen-hotplug.log file. Or is this just a symptom of the crashed domain? I googled for the error but I didn't find any solutions. Here is my config again, kernel = "/boot/vmlinuz-2.6.16.29-xenU" ramdisk = "/boot/initrd-2.6.16.29-xenU.img" memory = 256 name = "IServer" vif = [ '' ] disk = [ 'phy:VolGroup00/LogVol00,hda1,w' ] disk = [ 'phy:VolGroup00/LogVol02,hda2,w' ] disk = [ 'phy:hda7,hda7,w' ] disk = [ 'phy:VolGroup00/LogVol01,hda3,w' ] dhcp="dhcp" root = "/dev/hda1 ro" extra = "3" Are there any debug flags or other ways I can get Xen to tell me more about it's problem? xend.log from initialization to crash [2006-11-29 08:48:11 xend.XendDomainInfo] DEBUG (XendDomainInfo:180) XendDomainInfo.create(['vm', ['name', 'IServer'], ['memory', 256], ['root', '/dev/hda1 ro'], ['vcpus', 1], ['root', '/dev/hda1 ro'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.16.29-xenU'], ['ramdisk', '/boot/initrd-2.6.16.29-xenU.img'], ['ip', ':::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['args', '3']]], ['device', ['vbd', ['uname', 'phy:VolGroup00/LogVol01'], ['dev', 'hda3'], ['mode', 'w']]], ['device', ['vif']]]) [2006-11-29 08:48:11 xend.XendDomainInfo] DEBUG (XendDomainInfo:286) parseConfig: config is ['vm', ['name', 'IServer'], ['memory', 256], ['root', '/dev/hda1 ro'], ['vcpus', 1], ['root', '/dev/hda1 ro'], ['image', ['linux', ['kernel', '/boot/vmlinuz-2.6.16.29-xenU'], ['ramdisk', '/boot/initrd-2.6.16.29-xenU.img'], ['ip', ':::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['args', '3']]], ['device', ['vbd', ['uname', 'phy:VolGroup00/LogVol01'], ['dev', 'hda3'], ['mode', 'w']]], ['device', ['vif']]] [2006-11-29 08:48:11 xend.XendDomainInfo] DEBUG (XendDomainInfo:382) parseConfig: result is {'ssidref': None, 'uuid': None, 'on_crash': None, 'on_reboot': None, 'localtime': None, 'image': ['linux', ['kernel', '/boot/vmlinuz-2.6.16.29-xenU'], ['ramdisk', '/boot/initrd-2.6.16.29-xenU.img'], ['ip', ':::::eth0:dhcp'], ['root', '/dev/hda1 ro'], ['args', '3']], 'on_poweroff': None, 'cpus': None, 'name': 'IServer', 'backend': [], 'cpu': None, 'vcpus': 1, 'cpu_weight': None, 'vcpu_avail': None, 'memory': 256, 'device': [('vbd', ['vbd', ['uname', 'phy:VolGroup00/LogVol01'], ['dev', 'hda3'], ['mode', 'w']]), ('vif', ['vif'])], 'bootloader': None, 'root': '/dev/hda1 ro', 'bootentry': None, 'maxmem': None} [2006-11-29 08:48:11 xend.XendDomainInfo] DEBUG (XendDomainInfo:1189) XendDomainInfo.construct: None 0 [2006-11-29 08:48:11 xend.XendDomainInfo] DEBUG (XendDomainInfo:1221) XendDomainInfo.initDomain: 7 1.0 [2006-11-29 08:48:11 xend] DEBUG (balloon:136) Balloon: free 1764; need 257; done. [2006-11-29 08:48:11 xend] INFO (image:136) buildDomain os=linux dom=7 vcpus=1 [2006-11-29 08:48:11 xend] DEBUG (image:174) dom = 7 [2006-11-29 08:48:11 xend] DEBUG (image:175) image = /boot/vmlinuz-2.6.16.29-xenU [2006-11-29 08:48:11 xend] DEBUG (image:176) store_evtchn = 1 [2006-11-29 08:48:11 xend] DEBUG (image:177) console_evtchn = 2 [2006-11-29 08:48:11 xend] DEBUG (image:178) cmdline = ip=:::::eth0:dhcp root=/dev/hda1 ro 3 [2006-11-29 08:48:11 xend] DEBUG (image:179) ramdisk = /boot/initrd-2.6.16.29-xenU.img [2006-11-29 08:48:11 xend] DEBUG (image:180) vcpus = 1 [2006-11-29 08:48:11 xend] DEBUG (image:181) features = [2006-11-29 08:48:11 xend] DEBUG (DevController:103) DevController: writing {'virtual-device': '771', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/771'} to /local/domain/7/device/vbd/771. [2006-11-29 08:48:11 xend] DEBUG (DevController:105) DevController: writing {'domain': 'IServer', 'frontend': '/local/domain/7/device/vbd/771', 'dev': 'hda3', 'state': '1', 'params': 'VolGroup00/LogVol01', 'mode': 'w', 'frontend-id': '7', 'type': 'phy'} to /local/domain/0/backend/vbd/7/771. [2006-11-29 08:48:11 xend] DEBUG (DevController:103) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:64:b8:1c', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/7/0'} to /local/domain/7/device/vif/0. [2006-11-29 08:48:11 xend] DEBUG (DevController:105) DevController: writing {'mac': '00:16:3e:64:b8:1c', 'state': '1', 'handle': '0', 'script': '/etc/xen/scripts/vif-bridge', 'frontend-id': '7', 'domain': 'IServer', 'frontend': '/local/domain/7/device/vif/0'} to /local/domain/0/backend/vif/7/0. [2006-11-29 08:48:11 xend.XendDomainInfo] DEBUG (XendDomainInfo:675) Storing VM details: {'ssidref': '0', 'uuid': '14d3f1f7-faf7-0178-d8f8-9d79fa893b64', 'on_reboot': 'restart', 'start_time': '1164808091.29', 'on_poweroff': 'destroy', 'name': 'IServer', 'vcpus': '1', 'vcpu_avail': '1', 'memory': '256', 'on_crash': 'restart', 'image': "(linux (kernel /boot/vmlinuz-2.6.16.29-xenU) (ramdisk /boot/initrd-2.6.16.29-xenU.img) (ip :::::eth0:dhcp) (root '/dev/hda1 ro') (args 3))", 'maxmem': '256'} [2006-11-29 08:48:11 xend.XendDomainInfo] DEBUG (XendDomainInfo:700) Storing domain details: {'console/ring-ref': '55794', 'console/port': '2', 'name': 'IServer', 'console/limit': '1048576', 'vm': '/vm/14d3f1f7-faf7-0178-d8f8-9d79fa893b64', 'domid': '7', 'cpu/0/availability': 'online', 'memory/target': '262144', 'store/ring-ref': '55795', 'store/port': '1'} [2006-11-29 08:48:11 xend.XendDomainInfo] DEBUG (XendDomainInfo:881) XendDomainInfo.handleShutdownWatch [2006-11-29 08:48:11 xend] DEBUG (DevController:132) Waiting for devices vif. [2006-11-29 08:48:11 xend] DEBUG (DevController:138) Waiting for 0. [2006-11-29 08:48:11 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status. [2006-11-29 08:48:11 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status. [2006-11-29 08:48:11 xend] DEBUG (DevController:417) hotplugStatusCallback 1. [2006-11-29 08:48:11 xend] DEBUG (DevController:132) Waiting for devices usb. [2006-11-29 08:48:11 xend] DEBUG (DevController:132) Waiting for devices vbd. [2006-11-29 08:48:11 xend] DEBUG (DevController:138) Waiting for 771. [2006-11-29 08:48:11 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/7/771/hotplug-status. [2006-11-29 08:48:11 xend] DEBUG (DevController:403) hotplugStatusCallback /local/domain/0/backend/vbd/7/771/hotplug-status. [2006-11-29 08:48:11 xend] DEBUG (DevController:417) hotplugStatusCallback 1. [2006-11-29 08:48:11 xend] DEBUG (DevController:132) Waiting for devices irq. [2006-11-29 08:48:11 xend] DEBUG (DevController:132) Waiting for devices pci. [2006-11-29 08:48:11 xend] DEBUG (DevController:132) Waiting for devices ioports. [2006-11-29 08:48:11 xend] DEBUG (DevController:132) Waiting for devices vtpm. [2006-11-29 08:48:11 xend] INFO (XendDomain:363) Domain IServer (7) unpaused. [2006-11-29 08:48:11 xend.XendDomainInfo] WARNING (XendDomainInfo:823) Domain has crashed: name=IServer id=7. [2006-11-29 08:48:11 xend.XendDomainInfo] DEBUG (XendDomainInfo:1364) XendDomainInfo.destroyDomain(7) ~ _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |