Date: Wed, 05 Feb 2014 10:41:14 +0100 From: Maurizio Vairani <maurizio.vairani@cloverinformatica.it> To: Daryl Richards <daryl@isletech.net> Cc: freebsd-fs@freebsd.org Subject: Re: SDHC Sony SF-8UX =?windows-1252?Q?don=92t_works=2E?= Message-ID: <52F2073A.1030608@cloverinformatica.it> In-Reply-To: <52F13A6B.2000002@isletech.net> References: <52EFC1EC.7010903@cloverinformatica.it> <52F13A6B.2000002@isletech.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Thank you Daryl using /dev/rdisk1 the Mac-mini is the winner: Mac Read: mac-mini:~ maurizio$ sudo dd of=/dev/null if=/dev/rdisk1 bs=1048576 count=200 209715200 bytes transferred in 2.631920 secs (79681446 bytes/sec) Mac Write: mac-mini:~ maurizio$ sudo dd if=/dev/zero of=/dev/rdisk1 bs=1048576 count=200 209715200 bytes transferred in 11.709435 secs (17909933 bytes/sec) On 04/02/2014 20:07, Daryl Richards wrote: > Just to you since kinda OT: > > On the mac, use /dev/rdiskn instead of /dev/diskn. The rdisk is raw > and works much faster than disk.. > > On 2/3/2014, 11:21 AM, Maurizio Vairani wrote: >> I'm trying to use this SDHC as a ZFS cache on a Samsung laptop: >> da0 at umass-sim0 bus 0 scbus3 target 0 lun 0 >> da0: <Multiple Card Reader 1.00> Removable Direct Access SCSI-0 device >> da0: Serial Number 058F63666438 >> da0: 40.000MB/s transfers >> da0: 7667MB (15702016 512 byte sectors: 255H 63S/T 977C) >> da0: quirks=0x2<NO_6_BYTE> >> >> After some minutes of usage this error is displayed : >> (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 0a 97 9f 00 00 05 00 >> (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error >> (da0:umass-sim0:0:0:0): SCSI status: Check Condition >> (da0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not >> ready to ready change, medium may have changed) >> (da0:umass-sim0:0:0:0): Command Specific Info: 0xaa5501 >> (da0:umass-sim0:0:0:0): Retrying command (per sense data) >> (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 0a 97 9f 00 00 05 00 >> (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error >> (da0:umass-sim0:0:0:0): SCSI status: Check Condition >> (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not >> present) >> (da0:umass-sim0:0:0:0): Command Specific Info: 0xaa5501 >> (da0:umass-sim0:0:0:0): Error 6, Unretryable error >> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 01 00 00 01 00 >> (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error >> (da0:umass-sim0:0:0:0): SCSI status: Check Condition >> (da0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not >> ready to ready change, medium may have changed) >> (da0:umass-sim0:0:0:0): Command Specific Info: 0xaa5501 >> (da0:umass-sim0:0:0:0): Retrying command (per sense data) >> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 00 00 01 00 00 01 00 >> (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error >> (da0:umass-sim0:0:0:0): SCSI status: Check Condition >> (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not >> present) >> (da0:umass-sim0:0:0:0): Command Specific Info: 0xaa5501 >> (da0:umass-sim0:0:0:0): Error 6, Unretryable error >> GEOM: da0: corrupt or invalid GPT detected. >> GEOM: da0: GPT rejected -- may not be recoverable. >> >> Trying to use the SDHC as a MS-DOS device I have receive the error: >> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 4a 00 00 00 00 80 00 >> (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error >> (da0:umass-sim0:0:0:0): SCSI status: Check Condition >> (da0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not >> ready to ready change, medium may have changed) >> (da0:umass-sim0:0:0:0): Command Specific Info: 0xaa5501 >> (da0:umass-sim0:0:0:0): Retrying command (per sense data) >> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 00 4a 00 00 00 00 80 00 >> (da0:umass-sim0:0:0:0): CAM status: SCSI Status Error >> (da0:umass-sim0:0:0:0): SCSI status: Check Condition >> (da0:umass-sim0:0:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not >> present) >> (da0:umass-sim0:0:0:0): Command Specific Info: 0xaa5501 >> (da0:umass-sim0:0:0:0): Error 6, Unretryable error >> >> I'm using: >> [root@ativ ~/bin]# uname -a >> FreeBSD ativ.local 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r260700: Thu >> Jan 16 07:03:04 CET 2014 >> root@ativ.local:/usr/obj/usr/src/sys/NEWCONS amd64 >> >> I've tested the card in Mac OS X on a Mac mini and in Windows 8 on >> the same laptop, without problems. I've only noted that the I/O speed >> is much lower on the Mac mini. >> >> Mac Write: >> mac-mini:~ maurizio$ sudo dd if=/dev/zero of=/dev/disk1 bs=1048576 >> count=200 >> 209715200 bytes transferred in 138.019361 secs (1519462 bytes/sec) >> Mac Read: >> mac-mini:~ maurizio$ sudo dd of=/dev/null if=/dev/disk1 bs=1048576 >> count=200 >> 209715200 bytes transferred in 23.719487 secs (8841473 bytes/sec) >> >> FreeBSD Write: >> [root@ativ ~]# dd if=/dev/zero of=/dev/da0 bs=1048576 count=200 >> 209715200 bytes transferred in 13.647264 secs (15366831 bytes/sec) >> FreeBSD Read: >> [root@ativ ~]# dd of=/dev/null if=/dev/da0 bs=1048576 count=200 >> 209715200 bytes transferred in 11.050251 secs (18978320 bytes/sec) >> >> Windows Write: >> with DH_Speed 1 min. test 16M/sec >> Windows Read: >> with DH_Speed 1 min. test 17.4M/sec >> >> Regards, >> Maurizio >> _______________________________________________ >> freebsd-fs@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-fs >> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52F2073A.1030608>