[Fedora-xen] "Invalid kernel" error on PV creation -- what's invalid?

JimmyT _ jtatpbl at gmail.com
Fri Feb 1 03:12:23 UTC 2008


I don't know if this is a Fedora, Xen, Cobbler/Koan or local config problem.
Or some combination.

I'm using cobbler+koan to create a PV VM.

hostOS = Fedora 8, guestOS = Fedora 8.

On attempt to create the PV, it chokes at (console error)

 "Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')"

I see the same in /var/log/xen/xend.log (detailed tail, below), so I suspect
it's a problem with xen.

The vmlinuz & initrd.img I'm using, by reference in 'cobbler distro ...'
invocation are pulled from
http://mirrors.kernel.org/fedora/releases/8/Fedora/x86_64/os/images/xen/, so
I'm not clear what's "Invalid" about the kernel.

Any suggestions?

Jimmy


[2008-01-31 18:21:13 2438] DEBUG (XendDomainInfo:84)
XendDomainInfo.create(['vm',
['name', 'f8TEST'], ['memory', '1024'], ['maxmem', '1024'], ['vcpus', '2'],
['uuid', '30a76e12-53ef-dfb7-7acb-1aaf3fdfccff'], ['on_poweroff',
'destroy'], ['on_reboot', 'destroy'], ['on_crash', 'destroy'], ['image',
['linux', ['kernel', '/var/lib/xen/vmlinuz'], ['ramdisk',
'/var/lib/xen/initrd.img'], ['args', 'ks=
http://10.0.0.100/cblr/kickstarts/f8TEST/ks.cfg ksdevice=eth0 lang=
kssendmac syslog=10.0.0.100:25150 text  ']]], ['device', ['vbd', ['dev',
'xvda'], ['uname', 'phy:/dev/VG01/f8TEST'], ['mode', 'w']]], ['device',
['vif', ['mac', '00:15:3f:2d:68:d5'], ['bridge', 'eth0']]]])
[2008-01-31 18:21:13 2438] DEBUG (XendDomainInfo:1555)
XendDomainInfo.constructDomain
[2008-01-31 18:21:13 2438] DEBUG (balloon:116) Balloon: 6596932 KiB free;
need 2048; done.
[2008-01-31 18:21:13 2438] DEBUG (XendDomain:443) Adding Domain: 22
[2008-01-31 18:21:13 2438] DEBUG (XendDomainInfo:1609)
XendDomainInfo.initDomain: 22 256
[2008-01-31 18:21:13 2438] DEBUG (XendDomainInfo:1640)
_initDomain:shadow_memory=0x0, memory_static_max=0x40000000,
memory_static_min=0x0.
[2008-01-31 18:21:13 2438] DEBUG (balloon:116) Balloon: 6596924 KiB free;
need 1048576; done.
[2008-01-31 18:21:13 2438] INFO (image:129) buildDomain os=linux dom=22
vcpus=2
[2008-01-31 18:21:13 2438] DEBUG (image:198) domid          = 22
[2008-01-31 18:21:13 2438] DEBUG (image:199) memsize        = 1024
[2008-01-31 18:21:13 2438] DEBUG (image:200) image          =
/var/lib/xen/vmlinuz
[2008-01-31 18:21:13 2438] DEBUG (image:201) store_evtchn   = 1
[2008-01-31 18:21:13 2438] DEBUG (image:202) console_evtchn = 2
[2008-01-31 18:21:13 2438] DEBUG (image:203) cmdline        = ks=
http://10.0.0.100/cblr/kickstarts/f8TEST/ks.cfg ksdevice=eth0 lang=
kssendmac syslog=10.0.0.100:25150 text
[2008-01-31 18:21:13 2438] DEBUG (image:204) ramdisk        =
/var/lib/xen/initrd.img
[2008-01-31 18:21:13 2438] DEBUG (image:205) vcpus          = 2
[2008-01-31 18:21:13 2438] DEBUG (image:206) features       =
[2008-01-31 18:21:13 2438] ERROR (XendDomainInfo:1682)
XendDomainInfo.initDomain: exception occurred
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line
1657, in _initDomain
    channel_details = self.image.createImage()
  File "/usr/lib64/python2.5/site-packages/xen/xend/image.py", line 112, in
createImage
    return self.createDomain()
  File "/usr/lib64/python2.5/site-packages/xen/xend/image.py", line 131, in
createDomain
    result = self.buildDomain()
  File "/usr/lib64/python2.5/site-packages/xen/xend/image.py", line 530, in
buildDomain
    return LinuxImageHandler.buildDomain(self)
  File "/usr/lib64/python2.5/site-packages/xen/xend/image.py", line 215, in
buildDomain
    features       = self.vm.getFeatures())
Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')
[2008-01-31 18:21:13 2438] ERROR (XendDomainInfo:424) VM start failed
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line
404, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendTask.py", line 209,
in log_progress
    retval = func(*args, **kwds)
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line
1685, in _initDomain
    raise VmError(str(exn))
VmError: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')
[2008-01-31 18:21:13 2438] DEBUG (XendDomainInfo:1802)
XendDomainInfo.destroy: domid=22
[2008-01-31 18:21:13 2438] DEBUG (XendDomainInfo:1821)
XendDomainInfo.destroyDomain(22)
[2008-01-31 18:21:13 2438] ERROR (XendDomainInfo:89) Domain construction
failed
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line
87, in create
    vm.start()
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line
404, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendTask.py", line 209,
in log_progress
    retval = func(*args, **kwds)
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line
1685, in _initDomain
    raise VmError(str(exn))
VmError: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')
[2008-01-31 18:21:13 2438] DEBUG (XendDomainInfo:1802)
XendDomainInfo.destroy: domid=22
[2008-01-31 18:21:13 2438] DEBUG (XendDomainInfo:1821)
XendDomainInfo.destroyDomain(22)
[2008-01-31 18:21:13 2438] ERROR (XendDomainInfo:1832)
XendDomainInfo.destroy: xc.domain_destroy failed.
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line
1827, in destroyDomain
    xc.domain_destroy(self.domid)
Error: (3, 'No such process')
[2008-01-31 18:21:13 2438] ERROR (SrvBase:88) Request create failed.
Traceback (most recent call last):
  File "/usr/lib64/python2.5/site-packages/xen/web/SrvBase.py", line 85, in
perform
    return op_method(op, req)
  File "/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDomainDir.py",
line 82, in op_create
    raise XendError("Error creating domain: " + str(ex))
XendError: Error creating domain: (2, 'Invalid kernel', 'xc_dom_find_loader:
no loader found\n')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20080131/714eacd4/attachment.htm>


More information about the Fedora-xen mailing list