[CUWiN-Dev] disklabel error building flash image

Bill Comisky bcomisky at pobox.com
Thu Mar 17 08:51:10 CST 2005


I'm getting this error message:
/usr/local/cuwin/build/D/sbin/disklabel: 1: Syntax error: "(" unexpected

Is it treating disklabel like a script?  I couldn't execute it from the 
command line either:

-bash-2.05b$ ls -lt /usr/local/cuwin/build/D/sbin/disklabel
-r-xr-xr-x  1 bcomisky  users  31236 Mar 16 21:02 /usr/local/cuwin/build/D/sbin/disklabel*

-bash-2.05b$ /usr/local/cuwin/build/D/sbin/disklabel
-bash: /usr/local/cuwin/build/D/sbin/disklabel: cannot execute binary file

I just rebuilt everything and am getting the same results.  Any ideas?
The mkstaboot command and output are below.

Bill

--
Bill Comisky
bcomisky at pobox.com

./mkstaboot -C /usr/local/cuwin/svkrepo/src/boot-image/config/cuw_config -P /usr/local/cuwin/svkrepo/src/boot-image/config/pwds -b /usr/local/cuwin/build -s /usr/local/src/cuwin-0.5.5-src-netbsd/src -u -o -T net4526 -f /usr/local/cuwin/images/cuwin-0.5.5.2504.img flash
mkstaboot: will write a CompactFlash image to /usr/local/cuwin/images/cuwin-0.5.5.2504.img
mkstaboot: skipped step 'tools'
mkstaboot: begin step 'toolenv'
mkstaboot: finished step 'toolenv'
mkstaboot: begin step 'makewrapperenv'
mkstaboot: finished step 'makewrapperenv'
mkstaboot: skipped step 'distrib'
mkstaboot: skipped step 'metalog'
mkstaboot: skipped step 'patch'
mkstaboot: skipped step 'makewrapper'
mkstaboot: skipped step 'mv-root-home'
mkstaboot: skipped step 'flash-kernel'
mkstaboot: skipped step 'extras'
mkstaboot: skipped step 'users'
mkstaboot: skipped step 'modules'
mkstaboot: skipped step 'cuwinize-metalog'
mkstaboot: skipped step 'install'
mkstaboot: begin step 'postinstallenv'
mkstaboot: finished step 'postinstallenv'
mkstaboot: begin step 'flash'
Creating /usr/local/cuwin/images/cuwin-0.5.5.2504.img with 125056 512-byte sectors.
125056+0 records in
125056+0 records out
64028672 bytes transferred in 5.133 secs (12473927 bytes/sec)
Creating /usr/local/cuwin/build/ffs.img with 62497 512-byte sectors.
62497+0 records in
62497+0 records out
31998464 bytes transferred in 1.349 secs (23720136 bytes/sec)
Calculated size of `/usr/local/cuwin/build/ffs.img': 24879104 bytes, 931 inodes
Extent size set to 4096
/usr/local/cuwin/build/ffs.img: 23.7MB (48592 sectors) block size 4096, fragment size 512
 	using 2 cylinder groups of 13.13MB, 3361 blks, 544 inodes.
super-block backups (for fsck -b #) at:
     32, 26920,
Populating `/usr/local/cuwin/build/ffs.img'
Image `/usr/local/cuwin/build/ffs.img' complete
sh in free(): warning: chunk is already free.
sh in free(): warning: chunk is already free.
/usr/local/cuwin/build/D/sbin/disklabel: 1: Syntax error: "(" unexpected


More information about the CU-Wireless-Dev mailing list