Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gnap problems...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
meulie
l33t
l33t


Joined: 17 Jun 2003
Posts: 845
Location: a Dutchman living in Norway

PostPosted: Mon May 29, 2006 7:08 am    Post subject: Gnap problems... Reply with quote

Hi all!

I've been experimenting a bit with GNAP. Installing a 'default' image on a CF works fine, and boots like a charm. For that I use:
Code:
gnap_overlay -d /dev/sda1 -r hdc1 -o /gnap/overlay1/

(The CF is seen in my desktop as sda, but the Nexnet unit sees it as hdc).

But... Then I try to use a different kernel, remastering with the following commands:
Code:
genkernel --kerneldir=/usr/src/linux-2.6.16-rt23 --menuconfig --minkernpackage=/gnap/kernel.tar.bz2 --modulespackage=/gnap/modules.tar.bz2 --no-install --module-prefix=/gnap/overlay1_modules all
gnap_remaster -k /gnap/kernel.tar.bz2 -m /gnap/modules.tar.bz2 -o /gnap/mynewcore.tar
gnap_overlay -d /dev/sda1 -g /gnap/mynewcore.tar -r hdc1 -m -o /gnap/overlay1/


This boots partially, and ends with a Kernel Panic. The error message I get is:
Code:
mount: Mounting /newroot/mnt/image.sfs on /newroot/mnt/livecd failed: No such device

(there's a bunch of other errors, but those seem to be caused by this first error)


Anyone here who know where I messed up? 8)
_________________
Greetz,
Evert Meulie
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon May 29, 2006 5:53 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Gentoo on Alternative Architectures.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Canska
n00b
n00b


Joined: 08 Jun 2006
Posts: 2

PostPosted: Thu Jun 08, 2006 5:15 pm    Post subject: Reply with quote

I'm not sure whats going wrong, but I'm getting similar behaviour.

I'm using gnap-2.0, gnap-dev-2.0, and gnap-ext-2.0. The entire build process was error free. During boot the error I get is:

Code:
>> Mounting squashfs filesystem
mount: Mounting /newroot/mnt/image.sfs on /newroot/mnt/livecd failed: Invalid argument
Back to top
View user's profile Send private message
Canska
n00b
n00b


Joined: 08 Jun 2006
Posts: 2

PostPosted: Mon Jun 12, 2006 7:06 pm    Post subject: Reply with quote

I think it may be related to squashfs-tools on the build machine.

I downgraded from sys-fs/squashfs-tools-3.0 to sys-fs/squashfs-tools-2.2_p2 and ran gnap_remaster again, then gnap_overlay'd to my compact flash (CF) card and it booted perfectly.

Please let me know if that works for you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum