From owner-freebsd-questions@freebsd.org Fri Jan 3 22:00:00 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9C7701EE28A for ; Fri, 3 Jan 2020 22:00:00 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [174.136.98.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47qJjW31P5z4Q0y for ; Fri, 3 Jan 2020 21:59:59 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from duke.nomadlogic.org (ec2-34-199-235-200.compute-1.amazonaws.com [34.199.235.200]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 898af6dd (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 3 Jan 2020 21:59:51 +0000 (UTC) Subject: Re: usb tape drive issue To: Wayne Anschutz , freebsd-questions@freebsd.org References: <202001031348.aa02716@cri450.crinc.com> From: Pete Wright Message-ID: Date: Fri, 3 Jan 2020 13:59:50 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <202001031348.aa02716@cri450.crinc.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 47qJjW31P5z4Q0y X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 174.136.98.114 as permitted sender) smtp.mailfrom=pete@nomadlogic.org X-Spamd-Result: default: False [-5.00 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[nomadlogic.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-2.70)[ip: (-9.30), ipnet: 174.136.96.0/20(-3.82), asn: 25795(-0.31), country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:25795, ipnet:174.136.96.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jan 2020 22:00:00 -0000 On 1/3/20 11:48 AM, Wayne Anschutz wrote: > Folks, > > I'm new at this bsd OS, but did get an xinuos open server 10 operating > which is BSD. I've managed to get everything working with some trial and > error picking the correct ports for necessary libraries. The BSD os is > stable version 11.3. > > The problem popped up when I tried to make a backup tape using a usb dat160 > internal drive. After testing a lot I found that the drive would read > tar and dd formats correctly. It did only a flawed read on cpio tapes. It > always failed on any write with CAM errors and scsi errors. Research on > the web proved that this is not an uncommon problem with usb storage > devices. I am not interested in being a freeBSD test bed! I need a stable > OS for my customers. > > My first question - would updateing to stable 12.1 solve this? If so what > are the updateing pit falls? Would switching to a dat160 scsi lvd drive > solve the problem? I think the best next step would be if you could provide additional debugging information.  for example: - what is the model number of the tape drive in question?  also, what does the output of "usbconfig" look like when the device is attached? - can you share an example of the errors when you are running cpio? also relevant messages from "dmesg" would be helpful here as well. - also if you can share the cpio commands you are running that would be helpful as well. Cheers, -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA