From owner-freebsd-fs@FreeBSD.ORG Wed Feb 5 09:42:59 2014 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6DD691C2 for ; Wed, 5 Feb 2014 09:42:59 +0000 (UTC) Received: from smtpdg7.aruba.it (smtpdg8.aruba.it [62.149.158.238]) by mx1.freebsd.org (Postfix) with ESMTP id A978614E9 for ; Wed, 5 Feb 2014 09:42:57 +0000 (UTC) Received: from cloverinformatica.it ([188.10.129.202]) by smtpcmd03.ad.aruba.it with bizsmtp id NZhl1n0184N8xN401ZhlQR; Wed, 05 Feb 2014 10:41:46 +0100 Received: from [192.168.0.99] (MAURIZIO-PC [192.168.0.99]) by cloverinformatica.it (Postfix) with ESMTP id C6FEBCCA; Wed, 5 Feb 2014 10:41:45 +0100 (CET) Message-ID: <52F2073A.1030608@cloverinformatica.it> Date: Wed, 05 Feb 2014 10:41:14 +0100 From: Maurizio Vairani User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: Daryl Richards Subject: Re: SDHC Sony SF-8UX =?windows-1252?Q?don=92t_works=2E?= References: <52EFC1EC.7010903@cloverinformatica.it> <52F13A6B.2000002@isletech.net> In-Reply-To: <52F13A6B.2000002@isletech.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2014 09:42:59 -0000 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: 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 >> >> 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" >