Janusz Syrytczyk wrote:
Hi,

I created another gnap device, but it's primary goal is to write some image to an ide disk. Gnap was to be used as transport for an iso file which is about 3.8 GB large. I've created extension which contains the file, remastered "mynewcore", overlayed and tried to boot.

And I got such messages:

>> Mounting squashfs filesystem
mount: mounting /newroot/mnt/cdrom/image.squashfs on /newroot/mnt/livecd failed: Invalid argument

Later I've got all the consequences of not mounting squashfs and finaly kernel panic ( - not syncing: Attempted to kill init!).

My iso file is ~750 MB. Do I miss something obvious or sth else? Not even mention that image.squashfs taken from "mynewcore.tar" mounts perfectly in host system (for example mount -o loop image.squashfs /mnt/squash goes ok).

Janusz

Well,
because no one gave me an answer I needed to get this cracked by myself ;-)

On host system I use gentoo-sources - 2.6.16-gentoo-r1. It looks that creating squashfs filesystem using the kernel and squashfs-tools-3.1_p2 results in error while booting GNAP core remastered with any extension (including boa, dash, rrdtool delivered as examples to GNAP).

I've also tried using another system as host (2.6.17-gentoo-r7) and the results were exactly the same.

Because above error was about squashfs, I tried changing the GNAP kernel (I've chosen new gentoo sources 2.6.18). This resolved the problem, so I assume it was problem with squashfs mounting options in standard GNAP kernel. I find this as a GNAP bug, because it prevents anyone using some kernel versions using GNAP extensions or standard GNAP kernel. Unfortunately, I don't know how to resolve this problem permanently :-(

Janusz

--
[email protected] mailing list

Reply via email to