I try to build my openwrt on an xen host but kernel build isn't correct,
what am i doing wrong?


Mephisto xen # xm create wrt.cfg 
Using config file "./wrt.cfg".
Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')

Xen Log

....
    retval = func(*args, **kwds)
  File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2912, in _initDomain
    raise VmError(str(exn))
VmError: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')
[2012-07-21 18:48:03 10116] DEBUG (XendDomainInfo:3053) XendDomainInfo.destroy: domid=342
[2012-07-21 18:48:03 10116] DEBUG (XendDomainInfo:2411) Destroying device model
[2012-07-21 18:48:03 10116] DEBUG (XendDomainInfo:2418) Releasing devices
[2012-07-21 18:48:03 10116] ERROR (XendDomainInfo:106) Domain construction failed
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 104, in create
    vm.start()
  File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 469, in start
    XendTask.log_progress(31, 60, self._initDomain)
  File "/usr/lib64/python2.6/site-packages/xen/xend/XendTask.py", line 209, in log_progress
    retval = func(*args, **kwds)
  File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 2912, in _initDomain
    raise VmError(str(exn))
VmError: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')