Koon, Thanks for the suggestion. Unfortunately, it seems not to be the formatting process (as seen below) but perhaps the mounting of the disk. I will dig around some more in the source and see if I can find something.
# mkfs.msdos /dev/hdc1 mkfs.msdos 2.11 (12 Mar 2005) Successful format! # gnap_overlay -c overlays/project/etc/overlay.conf -d /dev/hdc1 -r hda1 -o overlays/project/ -n -m -s 9600 GNAP overlay tool gnap_overlay 1.8 * Checking parameters... [ ok ] * Warning : you have selected disk install * Make sure you are root or have full access to /dev/hdc1 * /dev/hdc must have an MBR installed, run: * dd if=/usr/lib/gnap/mbr/mbr.bin of=/dev/hdc bs=512 count=1 if needed * /dev/hdc1 must contain an active partition: * use fdisk /dev/hdc if needed * Current data on /dev/hdc1 will be destroyed ! * Are your sure you want to continue [N]: Y * Expanding /usr/lib/gnap/gnap-core.tar core... [ ok ] * Preparing overlay... [ ok ] * Adding baudrate for serial console... [ ok ] * Adding overlays/project/ (directory overlay)... [ ok ] * Adding overlays/project/etc/overlay.conf (overlay.conf file)... [ ok ] * Creating overlay tarball... [ ok ] * Formatting /dev/hdc1... [ !! ] * Cleaning temporary directories... [ ok ] Overlay failed, try gnap_overlay -h for more help Here's the output of mount, so it doesn't appear to be related to an automounting issue (suggested by Sune): # mount /dev/hda3 on / type ext3 (rw,noatime) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) udev on /dev type tmpfs (rw,nosuid) devpts on /dev/pts type devpts (rw) shm on /dev/shm type tmpfs (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw) Thanks for the help. I'll keep poking at it. Ross Carlson Corvus Technologies -----Original Message----- From: Thierry Carrez [mailto:[EMAIL PROTECTED] Sent: Friday, August 19, 2005 5:08 AM To: [email protected] Subject: Re: [gentoo-embedded] GNAP Media Formatting Error? Ross Carlson wrote: > * Creating overlay tarball... > [ ok ] > * Formatting /dev/hdc1... > [ !! ] > > I had GNAP running on 1.7.1 (syslinux 2.13) but can't seem to get it > running now with 1.8. The box that I'm using to build on has been > reloaded in the past few days. Perhaps I am missing something in the > kernel (2.6.12-gentoo-r9)? The target disk (SanDisk Compact Flash > 256MB) has been re-partitioned with a single, bootable partition. The > gnap MBR has been copied using dd. And then gnap_overlay as shown > above. Can't seem to figure this out. Thierry? Anyone? Here is the code snippet that gnap_overlay runs on the "Formatting..." part : gbegin "Formatting ${OUTPUT}" mkfs.msdos "${OUTPUT}" > /dev/null 2>&1 gtest $? The [ !! ] is written by gtest if an error code is set by the previous command. So it's the mkfs.msdos that failed. I suppressed the output (might not be a good idea) so you obviously miss the message. Try "mkfs.msdos /dev/hdc1" directly and see what happens. My wild guess : a required msdos/fat/vfat module is missing in your brand-new kernel. -- Koon -- [email protected] mailing list -- [email protected] mailing list
