From owner-freebsd-questions@freebsd.org Tue Aug 4 15:24:10 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 36FC29B38A5 for ; Tue, 4 Aug 2015 15:24:10 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id ED3B91FFA for ; Tue, 4 Aug 2015 15:24:09 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id t74FO8CL061189 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 4 Aug 2015 09:24:08 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id t74FO85P061186; Tue, 4 Aug 2015 09:24:08 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 4 Aug 2015 09:24:08 -0600 (MDT) From: Warren Block To: Michael Powell cc: freebsd-questions@freebsd.org Subject: Re: USB stick and some help with it. In-Reply-To: Message-ID: References: <55BF6AA0.2030802@bananmonarki.se> <55BF8824.9050803@gmail.com> <55BF8D65.6010404@bananmonarki.se> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 04 Aug 2015 09:24:08 -0600 (MDT) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2015 15:24:10 -0000 On Mon, 3 Aug 2015, Michael Powell wrote: > Bernt Hansson wrote: > >> >> >> On 2015-08-03 17:26, jd1008 wrote: >>> dd if=/dev/zero of=/dev/rda1 >> dd if=/dev/zero of=/dev/rda1 bs=1m count=10 >> >> dd: /dev/rda1: Operation not supported > > Does setting sysctl kern.geom.debugflags=16 (as root) make any difference? > Don't recall for sure if it's supposed to be 16 or 15, but I've used this > command before successfully to unlock. No. Please do not use that. It is a foot-shooting enabler. If there is a partitioning scheme on the disk, use 'gpart destroy' to correctly destroy it. If there is no partitioning scheme and the device still cannot be written, something else is wrong. Many USB devices need quirks to function properly, and that would be the next guess.