[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-xen
Subject:    [Fedora-xen] "Invalid kernel" error on PV creation -- what's
From:       "JimmyT _" <jtatpbl () gmail ! com>
Date:       2008-02-01 3:12:23
Message-ID: d617524e0801311912y4027fc8exad2d9c24cba496d0 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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')

[Attachment #5 (text/html)]

I don&#39;t know if this is a Fedora, Xen, Cobbler/Koan or local config problem. Or \
some combination.<br><br>I&#39;m using cobbler+koan to create a PV VM.<br><br>hostOS \
= Fedora 8, guestOS = Fedora 8.<br><br>On attempt to create the PV, it chokes at \
(console error)<br> <br>&nbsp;&quot;Error: (2, &#39;Invalid kernel&#39;, \
&#39;xc_dom_find_loader: no loader found\n&#39;)&quot;<br><br>I see the same in \
/var/log/xen/xend.log (detailed tail, below), so I suspect it&#39;s a problem with \
xen.<br><br> The vmlinuz &amp; initrd.img I&#39;m using, by reference in &#39;cobbler \
distro ...&#39; invocation are pulled from<br><a \
href="http://mirrors.kernel.org/fedora/releases/8/Fedora/x86_64/os/images/xen/">http://mirrors.kernel.org/fedora/releases/8/Fedora/x86_64/os/images/xen/</a>, \
so I&#39;m not clear what&#39;s &quot;Invalid&quot; about the kernel.<br> <br>Any \
suggestions?<br><br>Jimmy<br><br><br>[2008-01-31 18:21:13 2438] DEBUG \
(XendDomainInfo:84) XendDomainInfo.create([&#39;vm&#39;, [&#39;name&#39;, \
&#39;f8TEST&#39;], [&#39;memory&#39;, &#39;1024&#39;], [&#39;maxmem&#39;, \
&#39;1024&#39;], [&#39;vcpus&#39;, &#39;2&#39;], [&#39;uuid&#39;, \
&#39;30a76e12-53ef-dfb7-7acb-1aaf3fdfccff&#39;], [&#39;on_poweroff&#39;, \
&#39;destroy&#39;], [&#39;on_reboot&#39;, &#39;destroy&#39;], [&#39;on_crash&#39;, \
&#39;destroy&#39;], [&#39;image&#39;, [&#39;linux&#39;, [&#39;kernel&#39;, \
&#39;/var/lib/xen/vmlinuz&#39;], [&#39;ramdisk&#39;, \
&#39;/var/lib/xen/initrd.img&#39;], [&#39;args&#39;, &#39;ks=<a \
href="http://10.0.0.100/cblr/kickstarts/f8TEST/ks.cfg">http://10.0.0.100/cblr/kickstarts/f8TEST/ks.cfg</a> \
ksdevice=eth0 lang=&nbsp; kssendmac syslog=<a \
href="http://10.0.0.100:25150">10.0.0.100:25150</a> text&nbsp; &#39;]]], \
[&#39;device&#39;, [&#39;vbd&#39;, [&#39;dev&#39;, &#39;xvda&#39;], [&#39;uname&#39;, \
&#39;phy:/dev/VG01/f8TEST&#39;], [&#39;mode&#39;, &#39;w&#39;]]], [&#39;device&#39;, \
[&#39;vif&#39;, [&#39;mac&#39;, &#39;00:15:3f:2d:68:d5&#39;], [&#39;bridge&#39;, \
&#39;eth0&#39;]]]])<br> [2008-01-31 18:21:13 2438] DEBUG (XendDomainInfo:1555) \
XendDomainInfo.constructDomain<br>[2008-01-31 18:21:13 2438] DEBUG (balloon:116) \
Balloon: 6596932 KiB free; need 2048; done.<br>[2008-01-31 18:21:13 2438] DEBUG \
(XendDomain:443) Adding Domain: 22<br> [2008-01-31 18:21:13 2438] DEBUG \
(XendDomainInfo:1609) XendDomainInfo.initDomain: 22 256<br>[2008-01-31 18:21:13 2438] \
DEBUG (XendDomainInfo:1640) _initDomain:shadow_memory=0x0, \
memory_static_max=0x40000000, memory_static_min=0x0.<br> [2008-01-31 18:21:13 2438] \
DEBUG (balloon:116) Balloon: 6596924 KiB free; need 1048576; done.<br>[2008-01-31 \
18:21:13 2438] INFO (image:129) buildDomain os=linux dom=22 vcpus=2<br>[2008-01-31 \
18:21:13 2438] DEBUG (image:198) \
domid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 22<br> [2008-01-31 \
18:21:13 2438] DEBUG (image:199) memsize&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = \
1024<br>[2008-01-31 18:21:13 2438] DEBUG (image:200) \
image&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = \
/var/lib/xen/vmlinuz<br>[2008-01-31 18:21:13 2438] DEBUG (image:201) \
store_evtchn&nbsp;&nbsp; = 1<br> [2008-01-31 18:21:13 2438] DEBUG (image:202) \
console_evtchn = 2<br>[2008-01-31 18:21:13 2438] DEBUG (image:203) \
cmdline&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = ks=<a \
href="http://10.0.0.100/cblr/kickstarts/f8TEST/ks.cfg">http://10.0.0.100/cblr/kickstarts/f8TEST/ks.cfg</a> \
ksdevice=eth0 lang=&nbsp; kssendmac syslog=<a \
href="http://10.0.0.100:25150">10.0.0.100:25150</a> text&nbsp; <br> [2008-01-31 \
18:21:13 2438] DEBUG (image:204) ramdisk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = \
/var/lib/xen/initrd.img<br>[2008-01-31 18:21:13 2438] DEBUG (image:205) \
vcpus&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = 2<br>[2008-01-31 \
18:21:13 2438] DEBUG (image:206) features&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = <br> \
[2008-01-31 18:21:13 2438] ERROR (XendDomainInfo:1682) XendDomainInfo.initDomain: \
exception occurred<br>Traceback (most recent call last):<br>&nbsp; File \
&quot;/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py&quot;, line 1657, \
in _initDomain<br> &nbsp;&nbsp;&nbsp; channel_details = \
self.image.createImage()<br>&nbsp; File \
&quot;/usr/lib64/python2.5/site-packages/xen/xend/image.py&quot;, line 112, in \
createImage<br>&nbsp;&nbsp;&nbsp; return self.createDomain()<br>&nbsp; File \
&quot;/usr/lib64/python2.5/site-packages/xen/xend/image.py&quot;, line 131, in \
createDomain<br> &nbsp;&nbsp;&nbsp; result = self.buildDomain()<br>&nbsp; File \
&quot;/usr/lib64/python2.5/site-packages/xen/xend/image.py&quot;, line 530, in \
buildDomain<br>&nbsp;&nbsp;&nbsp; return \
LinuxImageHandler.buildDomain(self)<br>&nbsp; File \
&quot;/usr/lib64/python2.5/site-packages/xen/xend/image.py&quot;, line 215, in \
buildDomain<br> &nbsp;&nbsp;&nbsp; features&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = \
self.vm.getFeatures())<br>Error: (2, &#39;Invalid kernel&#39;, \
&#39;xc_dom_find_loader: no loader found\n&#39;)<br>[2008-01-31 18:21:13 2438] ERROR \
(XendDomainInfo:424) VM start failed<br>Traceback (most recent call last):<br> &nbsp; \
File &quot;/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py&quot;, line \
404, in start<br>&nbsp;&nbsp;&nbsp; XendTask.log_progress(31, 60, \
self._initDomain)<br>&nbsp; File \
&quot;/usr/lib64/python2.5/site-packages/xen/xend/XendTask.py&quot;, line 209, in \
log_progress<br> &nbsp;&nbsp;&nbsp; retval = func(*args, **kwds)<br>&nbsp; File \
&quot;/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py&quot;, line 1685, \
in _initDomain<br>&nbsp;&nbsp;&nbsp; raise VmError(str(exn))<br>VmError: (2, \
&#39;Invalid kernel&#39;, &#39;xc_dom_find_loader: no loader found\n&#39;)<br> \
[2008-01-31 18:21:13 2438] DEBUG (XendDomainInfo:1802) XendDomainInfo.destroy: \
domid=22<br>[2008-01-31 18:21:13 2438] DEBUG (XendDomainInfo:1821) \
XendDomainInfo.destroyDomain(22)<br>[2008-01-31 18:21:13 2438] ERROR \
(XendDomainInfo:89) Domain construction failed<br> Traceback (most recent call \
last):<br>&nbsp; File \
&quot;/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py&quot;, line 87, \
in create<br>&nbsp;&nbsp;&nbsp; vm.start()<br>&nbsp; File \
&quot;/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py&quot;, line 404, \
in start<br> &nbsp;&nbsp;&nbsp; XendTask.log_progress(31, 60, \
self._initDomain)<br>&nbsp; File \
&quot;/usr/lib64/python2.5/site-packages/xen/xend/XendTask.py&quot;, line 209, in \
log_progress<br>&nbsp;&nbsp;&nbsp; retval = func(*args, **kwds)<br>&nbsp; File \
&quot;/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py&quot;, line 1685, \
in _initDomain<br> &nbsp;&nbsp;&nbsp; raise VmError(str(exn))<br>VmError: (2, \
&#39;Invalid kernel&#39;, &#39;xc_dom_find_loader: no loader \
found\n&#39;)<br>[2008-01-31 18:21:13 2438] DEBUG (XendDomainInfo:1802) \
XendDomainInfo.destroy: domid=22<br>[2008-01-31 18:21:13 2438] DEBUG \
(XendDomainInfo:1821) XendDomainInfo.destroyDomain(22)<br> [2008-01-31 18:21:13 2438] \
ERROR (XendDomainInfo:1832) XendDomainInfo.destroy: xc.domain_destroy \
failed.<br>Traceback (most recent call last):<br>&nbsp; File \
&quot;/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py&quot;, line 1827, \
in destroyDomain<br> &nbsp;&nbsp;&nbsp; xc.domain_destroy(self.domid)<br>Error: (3, \
&#39;No such process&#39;)<br>[2008-01-31 18:21:13 2438] ERROR (SrvBase:88) Request \
create failed.<br>Traceback (most recent call last):<br>&nbsp; File \
&quot;/usr/lib64/python2.5/site-packages/xen/web/SrvBase.py&quot;, line 85, in \
perform<br> &nbsp;&nbsp;&nbsp; return op_method(op, req)<br>&nbsp; File \
&quot;/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDomainDir.py&quot;, line \
82, in op_create<br>&nbsp;&nbsp;&nbsp; raise XendError(&quot;Error creating domain: \
&quot; + str(ex))<br>XendError: Error creating domain: (2, &#39;Invalid kernel&#39;, \
&#39;xc_dom_find_loader: no loader found\n&#39;)<br> <br>



--
Fedora-xen mailing list
Fedora-xen@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-xen


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic