[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] 2.6.31.6 pv_ops from xen-4.0.0-rc1 hangs by DomU initrd



> > Also, how did you generate the initrd?
> > 
> echo ""
>   mecho -info "Create initrd ..."
>   echo ""
> 
>   cd ${INITRD_DIR}
>   find ./ | cpio -H newc -o > ${INSTALL_PATH}/boot/initrd-${KERNEL_VERSION}
>   cpio=$?
> 
>   if [ ${cpio} == 0 ]
>   then
>     gzip -f ${INSTALL_PATH}/boot/initrd-${KERNEL_VERSION}

I think you need to append "-9" argument. That is what 'mkinitrd' does:

(cd $MNTIMAGE; findall . | cpio -H newc --quiet -o) >| $IMAGE || exit 1

if [ -n "$compress" ]; then
    gzip -9 < $IMAGE >| $target || rc=1
else
    cp -a $IMAGE $target || rc=1
fi

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.