From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1G2aAd-0001Av-Tl for garchives@archives.gentoo.org; Mon, 17 Jul 2006 20:58:28 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6HKvHOj006665; Mon, 17 Jul 2006 20:57:17 GMT Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6HKvGDu022483 for ; Mon, 17 Jul 2006 20:57:17 GMT Received: by py-out-1112.google.com with SMTP id d42so1675397pyd for ; Mon, 17 Jul 2006 13:57:16 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YYADMM+Eseyx/7iIZ49chZwV/YtskQNqBk3ip6KVEBTQG6nrAEBkXGagFGOYsVHlWYMm1bQc41K8StB+sc7GEREViJU43ymuhPfDGlIt3VwEglQDIXqUutpvm9Di4HizyukVodQadlTmoS3/Yiu1RLQu4Avn9viOYy7GheS+u8Q= Received: by 10.35.62.19 with SMTP id p19mr4550842pyk; Mon, 17 Jul 2006 13:57:16 -0700 (PDT) Received: by 10.35.113.16 with HTTP; Mon, 17 Jul 2006 13:57:16 -0700 (PDT) Message-ID: <20c6f18e0607171357u59411dd6y2826782d8b6c98b7@mail.gmail.com> Date: Mon, 17 Jul 2006 21:57:16 +0100 From: "Marcelo Coelho" To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] My first GNAP use: error: umount: /dev/loop/0 In-Reply-To: <20c6f18e0607140343l696004aq764ad3dba27665d5@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20c6f18e0607131528o3b022fd1j4f94dd914e763ae0@mail.gmail.com> <44B76281.4050807@gentoo.org> <20c6f18e0607140343l696004aq764ad3dba27665d5@mail.gmail.com> X-Archives-Salt: dd6443ed-69b0-43df-b1de-6e5c28dcb002 X-Archives-Hash: 4c4b534b0c1c8285cd25d9298eb6cdd2 Hi! Well, after a few "echos" i noticed that there was an endless loop caused by the invocation of the gtest function invoked by the cleanup function. So a workaround could be changing lines 108 and 115 by if [ $? ] ; then echo "Failed to unmount ${LOOP}" ; fi and if [ $? ] ; then echo "Failed to remove ${DIRTOREMOVE}" ; fi Nevertheless, i'm thinking about using some other software that isn't supported by GNAP, so i'll probably start using catalyst. Where does GNAP stores the spec files it uses for catalyst? Thanks for your help! 2006/7/14, Marcelo Coelho : > 2006/7/14, Thierry Carrez : > > Marcelo Coelho wrote: > > > > > I'm trying GNAP for the first time. Now i'm trying to create a disk > > > image to put into a pentium 200 to use it as a router and ADSL > > > gateway. > > > > > > For now, i tried to start the creation of the image, with > > > gnap_overlay -L newimagefile.img -S 14 -r hda1 -o my_overlay/ > > > > > > but i had the following, > > > > > > [...] > > > Can it be a bug or is a mistake i'm doing? > > > > It can be a bug. The image file support comes from an external patch > > that was not so well tested... Maybe some missing loopback support in > > the kernel. > > > > You can also have a look at the gnap_overlay script and see what else > > could be failing. I suspect the mount is not checked for errors or > > something like that, unfortunately I have no time to check right now. > > > > As a workaround, you could try to mount your P200 hard disk into your > > workstation (as /dev/hdd or whatever) and use overlay to disk directly > > (rather than using an intermediary image file). This is way better tested ;) > > Yeah, absolutely. I'm just trying to avoid the noise that the hd makes : ) > This weekend i won't time to do it, but next week i'll check that. If > there is a bug in the script i'll tell you guys. > > > Have a nice week-end! > -- gentoo-embedded@gentoo.org mailing list