1 |
Hi! |
2 |
|
3 |
Well, after a few "echos" i noticed that there was an endless loop |
4 |
caused by the invocation of the gtest function invoked by the cleanup |
5 |
function. |
6 |
|
7 |
So a workaround could be changing lines 108 and 115 by |
8 |
|
9 |
if [ $? ] ; then echo "Failed to unmount ${LOOP}" ; fi |
10 |
|
11 |
and |
12 |
|
13 |
if [ $? ] ; then echo "Failed to remove ${DIRTOREMOVE}" ; fi |
14 |
|
15 |
|
16 |
Nevertheless, i'm thinking about using some other software that isn't |
17 |
supported by GNAP, so i'll probably start using catalyst. Where does |
18 |
GNAP stores the spec files it uses for catalyst? |
19 |
|
20 |
|
21 |
Thanks for your help! |
22 |
|
23 |
|
24 |
|
25 |
|
26 |
2006/7/14, Marcelo Coelho <marcelocoelho@×××××.com>: |
27 |
> 2006/7/14, Thierry Carrez <koon@g.o>: |
28 |
> > Marcelo Coelho wrote: |
29 |
> > |
30 |
> > > I'm trying GNAP for the first time. Now i'm trying to create a disk |
31 |
> > > image to put into a pentium 200 to use it as a router and ADSL |
32 |
> > > gateway. |
33 |
> > > |
34 |
> > > For now, i tried to start the creation of the image, with |
35 |
> > > gnap_overlay -L newimagefile.img -S 14 -r hda1 -o my_overlay/ |
36 |
> > > |
37 |
> > > but i had the following, |
38 |
> > > |
39 |
> > > [...] |
40 |
> > > Can it be a bug or is a mistake i'm doing? |
41 |
> > |
42 |
> > It can be a bug. The image file support comes from an external patch |
43 |
> > that was not so well tested... Maybe some missing loopback support in |
44 |
> > the kernel. |
45 |
> > |
46 |
> > You can also have a look at the gnap_overlay script and see what else |
47 |
> > could be failing. I suspect the mount is not checked for errors or |
48 |
> > something like that, unfortunately I have no time to check right now. |
49 |
> > |
50 |
> > As a workaround, you could try to mount your P200 hard disk into your |
51 |
> > workstation (as /dev/hdd or whatever) and use overlay to disk directly |
52 |
> > (rather than using an intermediary image file). This is way better tested ;) |
53 |
> |
54 |
> Yeah, absolutely. I'm just trying to avoid the noise that the hd makes : ) |
55 |
> This weekend i won't time to do it, but next week i'll check that. If |
56 |
> there is a bug in the script i'll tell you guys. |
57 |
> |
58 |
> |
59 |
> Have a nice week-end! |
60 |
> |
61 |
-- |
62 |
gentoo-embedded@g.o mailing list |