From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: 2.6.31.6 pv_ops from xen-4.0.0-rc1 hangs by DomU initrd Date: Tue, 26 Jan 2010 15:00:36 -0500 Message-ID: <20100126200036.GB15197@phenom.dumpdata.com> References: <20100126142432.GL2861@reaktio.net> <4B5F17DB.6060100@access.denied> <20100126163428.GO2861@reaktio.net> <4B5F265B.4070009@access.denied> <20100126173243.GX2861@reaktio.net> <4B5F2943.1020509@access.denied> <20100126175206.GZ2861@reaktio.net> <4B5F3EE9.8040307@access.denied> <20100126191915.GB2861@reaktio.net> <4B5F4254.4080107@access.denied> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4B5F4254.4080107@access.denied> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefan Kuhne Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > > 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