From owner-freebsd-stable@FreeBSD.ORG Thu Mar 29 03:41:34 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4B3DB1065673 for ; Thu, 29 Mar 2012 03:41:34 +0000 (UTC) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Received: from nskntmtas03p.mx.bigpond.com (nskntmtas03p.mx.bigpond.com [61.9.168.143]) by mx1.freebsd.org (Postfix) with ESMTP id 8AC148FC1B for ; Thu, 29 Mar 2012 03:41:33 +0000 (UTC) Received: from nskntotgx02p.mx.bigpond.com ([58.172.112.105]) by nskntmtas03p.mx.bigpond.com with ESMTP id <20120329034125.OGTI10464.nskntmtas03p.mx.bigpond.com@nskntotgx02p.mx.bigpond.com>; Thu, 29 Mar 2012 03:41:25 +0000 Received: from hermes.heuristicsystems.com.au ([58.172.112.105]) by nskntotgx02p.mx.bigpond.com with ESMTP id <20120329034125.ECLF26699.nskntotgx02p.mx.bigpond.com@hermes.heuristicsystems.com.au>; Thu, 29 Mar 2012 03:41:25 +0000 Received: from white (white.hs [10.0.5.2]) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id q2T3fEnP092449 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 29 Mar 2012 14:41:15 +1100 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) From: "Dewayne Geraghty" To: "'Nenhum_de_Nos'" References: Date: Thu, 29 Mar 2012 14:41:14 +1100 Message-ID: <4E34FD0A83F1447A9416E7AB81F7E8D8@white> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac0NH/Wla21oEmcPSd6DK9IgCzezjgAO6nOw In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-SIH-MSG-ID: rRE2EtL6TAD0zmQv0WC2O1J3yArnq3Mt8ZoaRdJjqwQZTUTduMHbU677NrM8kMz21jdcNhmPOmAqYan0X4/QsOM= Cc: stable@freebsd.org Subject: RE: problem: bsdlabel X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2012 03:41:34 -0000 Hi Matheus, You have two options. Option 1. Resync the in-memory and on-disk view of the world Identify the device from # usbconfig list Then power it off and then power on. If this doesn't work then you'll need to dd the device. For example: # usbconfig list ugen4.2:
at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE # usbconfig -d 4.2 power_off # usbconfig -d 4.2 power_on Option 2. Clear the boot blocks # dd if=/dev/zero of=/dev/da0 bs=1M count=1 If this doesn't help then zero the whole device, omit the bs and count arguments. I'd also suggest that you assign 0xa5 to the device, by # fdisk -p da0 > /tmp/fdisk.cf Use a text editor to change the 0xa6 to 0xa5; then write it back to fdisk # fdisk -f /tmp/fdisk.cf /dev/da0 Of course, the excessive option is to reboot... Regards, Dewayne. PS I think this question would be better placed in the FreeBSD Questions mailing list :)