Gentoo Archives: gentoo-embedded

From: Thierry Carrez <koon@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] GNAP Media Formatting Error?
Date: Fri, 19 Aug 2005 09:08:54
Message-Id: 4305A152.7090005@gentoo.org
In Reply to: [gentoo-embedded] GNAP Media Formatting Error? by Ross Carlson
1 Ross Carlson wrote:
2
3 > * Creating overlay tarball...
4 > [ ok ]
5 > * Formatting /dev/hdc1...
6 > [ !! ]
7 >
8 > I had GNAP running on 1.7.1 (syslinux 2.13) but can't seem to get it running
9 > now with 1.8. The box that I'm using to build on has been reloaded in the
10 > past few days. Perhaps I am missing something in the kernel
11 > (2.6.12-gentoo-r9)? The target disk (SanDisk Compact Flash 256MB) has been
12 > re-partitioned with a single, bootable partition. The gnap MBR has been
13 > copied using dd. And then gnap_overlay as shown above. Can't seem to
14 > figure this out. Thierry? Anyone?
15
16 Here is the code snippet that gnap_overlay runs on the "Formatting..."
17 part :
18
19 gbegin "Formatting ${OUTPUT}"
20 mkfs.msdos "${OUTPUT}" > /dev/null 2>&1
21 gtest $?
22
23 The [ !! ] is written by gtest if an error code is set by the previous
24 command. So it's the mkfs.msdos that failed. I suppressed the output
25 (might not be a good idea) so you obviously miss the message. Try
26 "mkfs.msdos /dev/hdc1" directly and see what happens.
27
28 My wild guess : a required msdos/fat/vfat module is missing in your
29 brand-new kernel.
30
31 --
32 Koon
33 --
34 gentoo-embedded@g.o mailing list

Replies

Subject Author
RE: [gentoo-embedded] GNAP Media Formatting Error? Ross Carlson <rcarlson@××××××.com>