[Soekris] Ultradesic Guides under FreeBSD 7.0

Steven Finnegan sjf at ctrlsft.com
Mon Jan 14 19:17:27 UTC 2008


This is mainly addressed to David Courtney, or anyone else who may  
have tried using the Ultradesic scripts under FreeBSD 7.0

Using the script that writes the system image to CF, with FreeBSD  
6.1,  I have always been successful with the line:
	
	gzcat <gz_image_file> | dd of=/dev/ad0 bs=64k

However, under FreeBSD 7.0 this line now fails, reliably approximately  
14.2 to 14.3 million bytes into the transfer (regardless of the  
blocksize argument).
The transfer works fine if I Pre-decompress the source file, i.e.

	cat <image_file> | dd of=/dev/ad0 bs=64k

Interestingly, the error displayed is "dd: /dev/ad0: Invalid argument"  
-- even though we're almost 14MB into the transfer.
The disk light is on during the transfer, so it appears that the  
transfer is in process.

I can only assume that there is a buffer that is over/underflowing in  
the stdin/stdout mechanism which didn't occur under 6.1.

Any help resolving this would be appreciated. (Well, other than the  
obvious of "don't compress the image files", anyway!)

Thanks,
sjf





More information about the Soekris-tech mailing list