From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B76ED1382B5 for ; Fri, 4 Jan 2013 17:20:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68C3521C0D8; Fri, 4 Jan 2013 17:20:36 +0000 (UTC) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46F2C21C03E for ; Fri, 4 Jan 2013 17:18:54 +0000 (UTC) Received: by mail-wi0-f180.google.com with SMTP id hj13so46584wib.13 for ; Fri, 04 Jan 2013 09:18:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:reply-to:to:subject:date:user-agent:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=CRDne9iDdW9yN4FVoORXJyG5SnHefw5gI+u0w/ZeKBI=; b=UBd64Nw98ZoTb1cgRyPnJyVN57ufuCV9ygRwcux+e8WxcH47vZpIszHOGrM1Rwt/hR KqFSslJ8cgfINcngAEAmddjjx/A33CWCuOukouDEFBhTcoXURrvJ7D+CUOjhLa8bisxO WPs8yxqeVTeEcgtL9W04UIkP32k1MhJAoX0MJAch6QxPdEFaLQZ9DUE33SUqpnrChGzN QUv4op27Ag8eq06Cmu9c4MEcVCfbT0uRoAjewSRP2VNk6q/Aalud33Rn+PlYn0YR7NPJ 8lScDKRfpp1N37lhfWkQWVHBxx75gVUEb5f5FhDTOGZX/X6zb5S2ivFoB6TbWDGxRlCW VwgA== X-Received: by 10.194.88.65 with SMTP id be1mr84813009wjb.25.1357319932955; Fri, 04 Jan 2013 09:18:52 -0800 (PST) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPS id gz3sm94654435wib.2.2013.01.04.09.18.51 (version=SSLv3 cipher=OTHER); Fri, 04 Jan 2013 09:18:51 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [OT] Resetting USB flash Date: Fri, 4 Jan 2013 17:18:36 +0000 User-Agent: KMail/1.13.7 (Linux/3.6.11-gentoo; KDE/4.9.3; x86_64; ; ) References: <201301041632.26752.michaelkintzios@gmail.com> In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1970973.VeFXPdqtfp"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201301041718.38230.michaelkintzios@gmail.com> X-Archives-Salt: eed09fc2-62c0-46d9-bf65-9ecd27aacc96 X-Archives-Hash: dfddd2357e01bdf24f52e79487fa2df8 --nextPart1970973.VeFXPdqtfp Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Friday 04 Jan 2013 16:48:41 Michael Mol wrote: > On Fri, Jan 4, 2013 at 11:32 AM, Mick wrote: > > I was trying to zero out a USB stick and at some point it seems to have > > locked itself up. By that I mean that for all intends and purposes I > > cannot write to it in any conceivable way. > >=20 > > I tried to delete /dev/sdb1 with c/fdisk, the dd zeros into /dev/sdb1, > > /dev/sdb and also the first 512B to delete the partition table, but > > nothing seems to work. > >=20 > > /dev/sdb1 is still there no matter how I try to delete/format/overwrite > > it. > >=20 > > Is there a way of resetting whatever needs resetting in the USB flash > > chip to make it work again? > > -- > > Regards, > > Mick >=20 > Was it a drive with U3 on it? If so, there are tools you might use, > but I can't remember their name. >=20 > https://en.wikipedia.org/wiki/U3 No, it's a normal USB flash stick: Bus 002 Device 006: ID 1307:0163 Transcend Information, Inc. 256MB/512MB/1G= B=20 =46lash Drive Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0=20 bDeviceProtocol 0=20 bMaxPacketSize0 64 idVendor 0x1307 Transcend Information, Inc. idProduct 0x0163 256MB/512MB/1GB Flash Drive bcdDevice 1.00 iManufacturer 1 USBest Technology iProduct 2 USB Mass Storage Device iSerial 3 08032204c2f5fd bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0=20 bmAttributes 0x80 (Bus Powered) MaxPower 80mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 0=20 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 8 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0=20 bDeviceProtocol 0=20 bMaxPacketSize0 64 bNumConfigurations 1 Device Status: 0x000a (Bus Powered) Remote Wakeup Enabled Is there some cryptic hdparm command I could run on it to reset it? I mean= ,=20 it's bricked as is anyway, so it can't get *much* worse. =2D-=20 Regards, Mick --nextPart1970973.VeFXPdqtfp Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEABECAAYFAlDnDu4ACgkQVTDTR3kpaLZZpQCfdCKitYIEdT2iSq1Raa1ZWlTN xZAAoKrW8whVoUieZFNl+tckz1zNDfZr =NWM0 -----END PGP SIGNATURE----- --nextPart1970973.VeFXPdqtfp--