|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Problem with the domain builder
Hi,
I tried to start a rudimentary domU but got the following failure:
Error: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader found\n')
In /var/log/xen/domain-builder-ng.log I found the line:
xc_dom_check_gzip: size (zip 4575, unzip 41219) looks insane, skip gunzip
I looked at the code in libxc/xc_dom_core.c and found the following check in
the xc_dom_check_gzip() function:
if ( (unziplen < ziplen) || (unziplen > (ziplen * 8)) )
{
xc_dom_printf
("%s: size (zip %zd, unzip %zd) looks insane, skip gunzip\n",
__FUNCTION__, ziplen, unziplen);
return 0;
}
So my question is, where is the factor 8 came from?
In my case the image is 41219 bytes and the zipped image is 4575 bytes and
therewith the factor is 9 and the image got not started.
I removed the second check and all went fine.
Is there a real reason for this?
Thanks.
Dietmar
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] Problem with the domain builder,
Dietmar Hahn <=
|
|
|
|
|