1 |
Janusz Syrytczyk wrote: |
2 |
> Hi, |
3 |
> |
4 |
> I created another gnap device, but it's primary goal is to write some |
5 |
> image to an ide disk. Gnap was to be used as transport for an iso file |
6 |
> which is about 3.8 GB large. I've created extension which contains the |
7 |
> file, remastered "mynewcore", overlayed and tried to boot. |
8 |
> |
9 |
> And I got such messages: |
10 |
> |
11 |
> >> Mounting squashfs filesystem |
12 |
> mount: mounting /newroot/mnt/cdrom/image.squashfs on |
13 |
> /newroot/mnt/livecd failed: Invalid argument |
14 |
> |
15 |
> Later I've got all the consequences of not mounting squashfs and |
16 |
> finaly kernel panic ( - not syncing: Attempted to kill init!). |
17 |
> |
18 |
> My iso file is ~750 MB. Do I miss something obvious or sth else? Not |
19 |
> even mention that image.squashfs taken from "mynewcore.tar" mounts |
20 |
> perfectly in host system (for example mount -o loop image.squashfs |
21 |
> /mnt/squash goes ok). |
22 |
> |
23 |
> Janusz |
24 |
|
25 |
Well, |
26 |
because no one gave me an answer I needed to get this cracked by myself ;-) |
27 |
|
28 |
On host system I use gentoo-sources - 2.6.16-gentoo-r1. It looks that |
29 |
creating squashfs filesystem using the kernel and squashfs-tools-3.1_p2 |
30 |
results in error while booting GNAP core remastered with any extension |
31 |
(including boa, dash, rrdtool delivered as examples to GNAP). |
32 |
|
33 |
I've also tried using another system as host (2.6.17-gentoo-r7) and the |
34 |
results were exactly the same. |
35 |
|
36 |
Because above error was about squashfs, I tried changing the GNAP kernel |
37 |
(I've chosen new gentoo sources 2.6.18). This resolved the problem, so I |
38 |
assume it was problem with squashfs mounting options in standard GNAP |
39 |
kernel. I find this as a GNAP bug, because it prevents anyone using some |
40 |
kernel versions using GNAP extensions or standard GNAP kernel. |
41 |
Unfortunately, I don't know how to resolve this problem permanently :-( |
42 |
|
43 |
Janusz |
44 |
|
45 |
-- |
46 |
gentoo-embedded@g.o mailing list |