From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aawRn-0008Gt-Ve for qemu-devel@nongnu.org; Tue, 01 Mar 2016 21:23:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aawRj-0003gw-17 for qemu-devel@nongnu.org; Tue, 01 Mar 2016 21:23:31 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aawRi-0003fh-LO for qemu-devel@nongnu.org; Tue, 01 Mar 2016 21:23:26 -0500 Date: Wed, 2 Mar 2016 10:23:18 +0800 From: Fam Zheng Message-ID: <20160302022317.GB20565@ad.usersys.redhat.com> References: <1455626399-7111-1-git-send-email-famz@redhat.com> <1455626399-7111-4-git-send-email-famz@redhat.com> <874mcrjuzn.fsf@linaro.org> <20160301011907.GD15213@ad.usersys.redhat.com> <878u22eda5.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <878u22eda5.fsf@linaro.org> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 03/15] docker: Add images List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex =?iso-8859-1?Q?Benn=E9e?= Cc: kwolf@redhat.com, peter.maydell@linaro.org, sw@weilnetz.de, qemu-devel@nongnu.org, stefanha@redhat.com, Paolo Bonzini , jsnow@redhat.com, david@gibson.dropbear.id.au On Tue, 03/01 09:52, Alex Benn=E9e wrote: >=20 > Fam Zheng writes: >=20 > > On Mon, 02/29 17:18, Alex Benn=E9e wrote: > >> > >> Fam Zheng writes: > >> > >> > Signed-off-by: Fam Zheng > >> > >> I think we need to include the dtc libs in here unless we need to sh= ip > >> all submodules in the tree as well. > > > > OK, will take a look. > > > >> > >> Is there a way to get a plain install shell? PAUSE=3D1 on the test s= hells > >> doesn't seem to allow me to install anything. > > > > What is the error when you install things? I think it is an unmodifie= d shell > > and "yum" or "apt-get" should just work. It's just that when the cont= ainer > > exits the changes will be discarded. >=20 > So running: >=20 > make docker-test-quick@ubuntu PAUSE=3D1 >=20 > And I got a shell I wanted to try and get working: >=20 > root@72d09615d5b2:/var/tmp/qemu.tmp# ./configure >=20 > ERROR: DTC (libfdt) version >=3D 1.4.0 not present. Your options: > (1) Preferred: Install the DTC (libfdt) devel package > (2) Fetch the DTC submodule, using: > git submodule update --init dtc >=20 > root@72d09615d5b2:/var/tmp/qemu.tmp# apt-cache search libfdt > libfdt-dev - Flat Device Trees manipulation library - development > files > libfdt1 - Flat Device Trees manipulation library > root@72d09615d5b2:/var/tmp/qemu.tmp# apt-get install libfdt-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following extra packages will be installed: > libfdt1 > The following NEW packages will be installed: > libfdt-dev libfdt1 > 0 upgraded, 2 newly installed, 0 to remove and 10 not upgraded. > Need to get 37.8 kB of archives. > After this operation, 216 kB of additional disk space will be used. > Do you want to continue? [Y/n] > Err http://archive.ubuntu.com/ubuntu/ trusty/main libfdt1 amd64 > 1.4.0+dfsg-1 > Could not resolve 'archive.ubuntu.com' > Err http://archive.ubuntu.com/ubuntu/ trusty/main libfdt-dev amd64 > 1.4.0+dfsg-1 > Could not resolve 'archive.ubuntu.com' > E: Failed to fetch > http://archive.ubuntu.com/ubuntu/pool/main/d/device-tree-compiler/libfd= t1_1.4.0+dfsg-1_amd64.deb > Could not resolve 'archive.ubuntu.com' >=20 > E: Failed to fetch > http://archive.ubuntu.com/ubuntu/pool/main/d/device-tree-compiler/libfd= t-dev_1.4.0+dfsg-1_amd64.deb > Could not resolve 'archive.ubuntu.com' >=20 > E: Unable to fetch some archives, maybe run apt-get update or try with > --fix-missing? > root@72d09615d5b2:/var/tmp/qemu.tmp# apt-get update > Err http://archive.ubuntu.com trusty InRelease >=20 > Err http://archive.ubuntu.com trusty-updates InRelease >=20 > Err http://archive.ubuntu.com trusty-security InRelease >=20 > Err http://archive.ubuntu.com trusty Release.gpg > Could not resolve 'archive.ubuntu.com' > Err http://archive.ubuntu.com trusty-updates Release.gpg > Could not resolve 'archive.ubuntu.com' > Err http://archive.ubuntu.com trusty-security Release.gpg > Could not resolve 'archive.ubuntu.com' > Reading package lists... Done > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/trusty/InRelease >=20 > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease >=20 > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/trusty-security/InRelease >=20 > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg Could not > resolve 'archive.ubuntu.com' >=20 > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg > Could not resolve 'archive.ubuntu.com' >=20 > W: Failed to fetch > http://archive.ubuntu.com/ubuntu/dists/trusty-security/Release.gpg > Could not resolve 'archive.ubuntu.com' >=20 > W: Some index files failed to download. They have been ignored, or old > ones used instead. >=20 >=20 > So it looks like networking isn't working in the test images. For > debugging problems I think we need to be able to install stuff on a > running image so we can then fix the base recipes. Oh yes, I added "-net=3Dnone" to the "docker run" command for better isol= ation. So in this case we should enable it. Let's rename PAUSE=3D1 to DEBUG=3D1 = and enable network. Fam