[Soekris] cf write and boot issues, sandisk imagemate

Brian Havens bhavens at insightbb.com
Sun Nov 16 01:56:35 UTC 2003


I have had no problems writing to a Sandisk 128MB CF (980-8-32) using
OpenBSD 3.3 and 3.4 with the Sandisk SDDR-91.

-Brian


On Sat, 2003-11-15 at 15:24, Sancho2k.net Lists wrote:
> Greetz,
> 
> I'm trying to get started using opensoekris for my net4521 and am having 
> some problems using the CF disk and reader/writer device (Sandisk 
> ImageMate CF model # SDDR-91 with a 256 MB CF disk). Are these supported 
> items? Here's a portion of the dmesg showing the device attachment:
> 
> umass0 at uhub0 port 2 configuration 1 interface 0
> umass0: SanDisk ImageMate CF, rev 2.00/1.19, addr 2
> umass0: using SCSI over BBB-P
> scsibus2 at umass0: 2 targets
> sd0 at scsibus2 targ 1 lun 0: <Generic, STORAGE DEVICE, 0119> SCSI0
> 0/direct removable
> sd0: mode sense (4) returned nonsense; using fictitious geometry
> sd0: 245MB, 245 cyl, 64 head, 32 sec, 512 bytes/sec, 501760 sec total
> 
> I am (apparently) able to successfully create an image file to write to 
> the CF but can't get a clean write. Trying to write to CF on OpenBSD 
> 3.3-stable causes timeout errors like in this post: 
> http://marc.theaimsgroup.com/?l=openbsd-misc&m=103867948619917&w=2
> 
> If I try to cat the image to the CF in OpenBSD, use 'dd', or let 
> opensoekris.sh use its native disk write methodology, it eventually 
> times out and the disk access light on the reader will freeze amber 
> colored. I have tried writing to the disk from Linux (2.4.20 kernel) and 
> the same thing occurs. It seems that part of the image is written 
> because my net4521 will begin to boot and partway through (after 
> detection of PCMCIA cards) it stops with "warning: /dev/console error 20".
> 
> Here's the disk geometries I came up with with the help of 
> http://www.csgnetwork.com/mediasizecalc.html:
> 
> # 256Meg CF
> totalsize=501760        # "total sectors:"
> bytessec=512            # "bytes/sector:"
> sectorstrack=32         # "sectors/track:"
> sectorscylinder=2048    # "sectors/cylinder:"
> trackscylinder=64       # "tracks/cylinder:"
> cylinders=245           # "cylinders:"
> 
> Can someone help me determine if my difficulties are because of 
> incompatible/bad hardware, bad image, or something else?
> 
> TIA
> 
> DS
> 
> _____________________________________________________________________
> Soekris Engineering, technical discussion mailing list
> [un]subscribe: http://lists.soekris.com/mailman/listinfo/soekris-tech



More information about the Soekris-tech mailing list