[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't know if this is a Fedora, Xen, Cobbler/Koan or local config problem. Or \
some combination.<br><br>I'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> "Error: (2, 'Invalid kernel', \
'xc_dom_find_loader: no loader found\n')"<br><br>I see the same in \
/var/log/xen/xend.log (detailed tail, below), so I suspect it's a problem with \
xen.<br><br> The vmlinuz & initrd.img I'm using, by reference in 'cobbler \
distro ...' 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'm not clear what's "Invalid" 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(['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=<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= kssendmac syslog=<a \
href="http://10.0.0.100:25150">10.0.0.100:25150</a> text ']]], \
['device', ['vbd', ['dev', 'xvda'], ['uname', \
'phy:/dev/VG01/f8TEST'], ['mode', 'w']]], ['device', \
['vif', ['mac', '00:15:3f:2d:68:d5'], ['bridge', \
'eth0']]]])<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 = 22<br> [2008-01-31 \
18:21:13 2438] DEBUG (image:199) memsize = \
1024<br>[2008-01-31 18:21:13 2438] DEBUG (image:200) \
image = \
/var/lib/xen/vmlinuz<br>[2008-01-31 18:21:13 2438] DEBUG (image:201) \
store_evtchn = 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 = 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= kssendmac syslog=<a \
href="http://10.0.0.100:25150">10.0.0.100:25150</a> text <br> [2008-01-31 \
18:21:13 2438] DEBUG (image:204) ramdisk = \
/var/lib/xen/initrd.img<br>[2008-01-31 18:21:13 2438] DEBUG (image:205) \
vcpus = 2<br>[2008-01-31 \
18:21:13 2438] DEBUG (image:206) features = <br> \
[2008-01-31 18:21:13 2438] ERROR (XendDomainInfo:1682) XendDomainInfo.initDomain: \
exception occurred<br>Traceback (most recent call last):<br> File \
"/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1657, \
in _initDomain<br> channel_details = \
self.image.createImage()<br> File \
"/usr/lib64/python2.5/site-packages/xen/xend/image.py", line 112, in \
createImage<br> return self.createDomain()<br> File \
"/usr/lib64/python2.5/site-packages/xen/xend/image.py", line 131, in \
createDomain<br> result = self.buildDomain()<br> File \
"/usr/lib64/python2.5/site-packages/xen/xend/image.py", line 530, in \
buildDomain<br> return \
LinuxImageHandler.buildDomain(self)<br> File \
"/usr/lib64/python2.5/site-packages/xen/xend/image.py", line 215, in \
buildDomain<br> features = \
self.vm.getFeatures())<br>Error: (2, 'Invalid kernel', \
'xc_dom_find_loader: no loader found\n')<br>[2008-01-31 18:21:13 2438] ERROR \
(XendDomainInfo:424) VM start failed<br>Traceback (most recent call last):<br> \
File "/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line \
404, in start<br> XendTask.log_progress(31, 60, \
self._initDomain)<br> File \
"/usr/lib64/python2.5/site-packages/xen/xend/XendTask.py", line 209, in \
log_progress<br> retval = func(*args, **kwds)<br> File \
"/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1685, \
in _initDomain<br> raise VmError(str(exn))<br>VmError: (2, \
'Invalid kernel', 'xc_dom_find_loader: no loader found\n')<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> File \
"/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 87, \
in create<br> vm.start()<br> File \
"/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 404, \
in start<br> XendTask.log_progress(31, 60, \
self._initDomain)<br> File \
"/usr/lib64/python2.5/site-packages/xen/xend/XendTask.py", line 209, in \
log_progress<br> retval = func(*args, **kwds)<br> File \
"/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1685, \
in _initDomain<br> raise VmError(str(exn))<br>VmError: (2, \
'Invalid kernel', 'xc_dom_find_loader: no loader \
found\n')<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> File \
"/usr/lib64/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 1827, \
in destroyDomain<br> xc.domain_destroy(self.domid)<br>Error: (3, \
'No such process')<br>[2008-01-31 18:21:13 2438] ERROR (SrvBase:88) Request \
create failed.<br>Traceback (most recent call last):<br> File \
"/usr/lib64/python2.5/site-packages/xen/web/SrvBase.py", line 85, in \
perform<br> return op_method(op, req)<br> File \
"/usr/lib64/python2.5/site-packages/xen/xend/server/SrvDomainDir.py", line \
82, in op_create<br> raise XendError("Error creating domain: \
" + str(ex))<br>XendError: Error creating domain: (2, 'Invalid kernel', \
'xc_dom_find_loader: no loader found\n')<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