FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

LinkBack Thread Tools
Old 10-26-2010, 04:01 PM
Ales Kozumplik
Default Fix two problems with initrds for multipla kernels during a pungi compose.

For i386, pungi hanged when PAE kernel modules are gathered: this was
because we extracted the PAE modules into the same location as the non-PAE
modules previously. By this time, non-PAE modules exist compressed with
.gz. When mk-images runs gzip on the new modules, it interactively asks
user whether it should owerwrite the compressed (non-PAE) files. Pungi
doesn't show you the prompt so all you see is that it hangs. This is not
observable with x86_64 composes since they only produce one
kernel. Neither is it observable with any pungi composes run via cron
since (my explanation) cron closes stdin for pungi, gzip inherits that and
assumes 'no' for overwriting files, producing a corrupted initrd.img in
the process.

The second problem was that our PAE initrds have always contained both sets
of modules, thus making them 20 MB larger then necessary.
scripts/mk-images | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/scripts/mk-images b/scripts/mk-images
index 3b0f918..c807758 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -288,6 +288,8 @@ makemoduletree() {
ln -snf ../firmware $MMB_DIR/lib/firmware

echo "Copying kernel modules..."
+ # might not be the first kernel we are building the image for, remove the target dir's contents
+ rm -rf $MMB_DIR/lib/modules/*
cp -a $KERNELROOT/lib/modules/* $MMB_DIR/lib/modules/
echo "Removing extraneous modules..."
find $MMB_DIR/lib/modules/ -name *.ko | while read module ; do
@@ -499,6 +501,7 @@ for KERNELARCH in $arches; do

mkdir -p $KERNELROOT
+ rm -rf $KERNELROOT/* # in case we already populated the dir for a previous kernel tag



Anaconda-devel-list mailing list

Tue Oct 26 18:30:01 2010
Return-path: <gentoo-user+bounces-115961-tom=linux-archive.org@lists.gentoo.org>
Envelope-to: tom@linux-archive.org
Delivery-date: Tue, 26 Oct 2010 18:15:24 +0300
Received: from pigeon.gentoo.org ([]:54226 helo=lists.gentoo.org)
by s2.java-tips.org with esmtps (TLSv1:AES256-SHA:256)
(Exim 4.69)
(envelope-from <gentoo-user+bounces-115961-tom=linux-archive.org@lists.gentoo.org>)
id 1PAlFD-0008V8-Us
for tom@linux-archive.org; Tue, 26 Oct 2010 18:15:24 +0300
Received: from pigeon.gentoo.org (localhost [])
by pigeon.gentoo.org (Postfix) with SMTP id DDEF9E0829
for <tom@linux-archive.org>; Tue, 26 Oct 2010 16:11:24 +0000 (UTC)
X-Original-To: gentoo-user@lists.gentoo.org
Delivered-To: gentoo-user@lists.gentoo.org
Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [])
by pigeon.gentoo.org (Postfix) with ESMTP id 67A55E0797
for <gentoo-user@lists.gentoo.org>; Tue, 26 Oct 2010 15:37:57 +0000 (UTC)
Received: by fxm6 with SMTP id 6so5504242fxm.40
for <gentoo-user@lists.gentoo.org>; Tue, 26 Oct 2010 08:37:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
b=kuUd3zMCNrwfJkjJg35XOQvZLO6VE+JrG9jTvez3t06nQoYk JJmKXwFTCh7dZREenm
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
b=tzvXzK2XSxrI1RgMBr0ispVE8Fwiy3JqFVViMImbNzopRTKr RBqXc59Amu4myyPVN2
Received: by with SMTP id r1mr995263fal.24.1288107476741;
Tue, 26 Oct 2010 08:37:56 -0700 (PDT)
Received: from [] (cm181.delta131.maxonline.com.sg [])
by mx.google.com with ESMTPS id j8sm3606909fah.30.2010.
(version=SSLv3 cipher=RC4-MD5);
Tue, 26 Oct 2010 08:37:55 -0700 (PDT)
Message-ID: <4CC6F5CE.7090201@gmail.com>
Date: Tue, 26 Oct 2010 23:37:50 +0800
From: =?UTF-8?B?IlNpbmdhcG9yZSBDaXRpemVuIE1yLiBUZW8gRW4gTWluZy AoWmhhbmcgRQ==?=
=?UTF-8?B?bm1pbmcpIOW8oOaBqem4oyAi?= <space.time.universe@gmail.com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-user@lists.gentoo.org
CC: "space.time.universe@gmail.com" <space.time.universe@gmail.com>,
"teoenming@hotmail.com" <teoenming@hotmail.com>,
Subject: [gentoo-user] Photographs of Singapore Citizen Mr. Teo En Ming (Zhang Enming)
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable

Dear All,

Please click on the following photo links [photographs of Singapore=20
Citizen Mr. Teo En Ming (Zhang Enming)].

[0] http://i.imgur.com/xTfLr.jpg

[1] http://i54.tinypic.com/2415z7t.jpg

[2] http://img842.imageshack.us/img842/7534/enmingteodscf2511.jpg

[3] http://img543.imageshack.us/img543/9185/dscf4036.jpg

[4] http://i.imgur.com/2vZxb.jpg

[5] http://i51.tinypic.com/dqgm8h.jpg

[6] http://imgur.com/Ywca3.jpg

Thank you very much for your kind attention.

Yours sincerely,

Singapore Citizen Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=A9=E9=B8=
Dip(Mechatronics) BEng(Hons)(Mechanical Engineering)
Singapore Identity Card No.: S78*6*2*H
Location: Bedok Reservoir Road, Singapore
ZIP: 470103
Mobile Phone (Starhub Pre-paid): +65-8369-2618
Windows Live Messenger: teoenming-at-hotmail.com
My Youtube videos: http://www.youtube.com/user/enmingteo
Alma Maters:
[1] Singapore Polytechnic (Graduated 1998)
[2] National University of Singapore (Graduated 2006)
My Open Letter (Plea for Medical Help/Assistance) to World Leaders=20
(Updated 28 August 2010):-
Photo of Singapore Citizen Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=
=A9=E9=B8=A3 #1:=20
Photo of Singapore Citizen Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=
=A9=E9=B8=A3 #2:=20
Photo of Singapore Citizen Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=
=A9=E9=B8=A3 #3:=20
Photo of Singapore Citizen Mr. Teo En Ming (Zhang Enming) =E5=BC=A0=E6=81=
=A9=E9=B8=A3 #4:

Thread Tools

All times are GMT. The time now is 09:20 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org