Re: [gentoo-user] [OT] Resetting USB flash
On Fri, Jan 4, 2013 at 11:32 AM, Mick michaelkintz...@gmail.com 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. 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. /dev/sdb1 is still there no matter how I try to delete/format/overwrite it. Is there a way of resetting whatever needs resetting in the USB flash chip to make it work again? -- Regards, Mick Was it a drive with U3 on it? If so, there are tools you might use, but I can't remember their name. https://en.wikipedia.org/wiki/U3 -- :wq
Re: [gentoo-user] [OT] Resetting USB flash
On Friday 04 Jan 2013 16:48:41 Michael Mol wrote: On Fri, Jan 4, 2013 at 11:32 AM, Mick michaelkintz...@gmail.com 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. 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. /dev/sdb1 is still there no matter how I try to delete/format/overwrite it. Is there a way of resetting whatever needs resetting in the USB flash chip to make it work again? -- Regards, Mick Was it a drive with U3 on it? If so, there are tools you might use, but I can't remember their name. 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/1GB Flash Drive Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 idVendor 0x1307 Transcend Information, Inc. idProduct 0x0163 256MB/512MB/1GB Flash Drive bcdDevice1.00 iManufacturer 1 USBest Technology iProduct2 USB Mass Storage Device iSerial 3 08032204c2f5fd bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 39 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 80mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber0 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes2 Transfer TypeBulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x82 EP 2 IN bmAttributes2 Transfer TypeBulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 1 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes3 Transfer TypeInterrupt Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 8 Device Qualifier (for other device speed): bLength10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize064 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, it's bricked as is anyway, so it can't get *much* worse. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] [OT] Resetting USB flash
On Fri, Jan 4, 2013 at 11:18 AM, Mick michaelkintz...@gmail.com wrote: Is there some cryptic hdparm command I could run on it to reset it? I mean, it's bricked as is anyway, so it can't get *much* worse. hdparm -z /dev/sdX will force kernel to re-read the partition table, which should be the same that happens when you plug it in, but maybe it'll help... I had a SD card that I had to issue that command every time I plugged it in, the first read always failed. Otherwise, Transcend have a recovery utility (for Windows) that claims it can recover some dead flash drives. Might be worth a try if you have access to Windows box or a virtual machine: http://www.transcend-info.com/Products/online_recovery_2.asp Good luck.
Re: [gentoo-user] [OT] Resetting USB flash
On Friday 04 Jan 2013 17:32:14 Paul Hartman wrote: On Fri, Jan 4, 2013 at 11:18 AM, Mick michaelkintz...@gmail.com wrote: Is there some cryptic hdparm command I could run on it to reset it? I mean, it's bricked as is anyway, so it can't get *much* worse. hdparm -z /dev/sdX will force kernel to re-read the partition table, which should be the same that happens when you plug it in, but maybe it'll help... I had a SD card that I had to issue that command every time I plugged it in, the first read always failed. Otherwise, Transcend have a recovery utility (for Windows) that claims it can recover some dead flash drives. Might be worth a try if you have access to Windows box or a virtual machine: http://www.transcend-info.com/Products/online_recovery_2.asp Good luck. Thank you Paul! It seems that I'm running out of luck. I tried the transcend tool, which failed to detect the drive, as well as any hdparm command I could think of to reset/restore the darn thing. I think its condition is terminal. :-( -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] [OT] Resetting USB flash
On Fri, 4 Jan 2013 16:32:14 + Mick michaelkintz...@gmail.com 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. 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. /dev/sdb1 is still there no matter how I try to delete/format/overwrite it. Is there a way of resetting whatever needs resetting in the USB flash chip to make it work again? USB sticks don't last long. When they do that, they are nuked. They cost about as much as a packet of smokes. Chuck it in the bin, buy a new one, move on. It's not worth the time to even attempt to fix it. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] [OT] Resetting USB flash
On Friday 04 Jan 2013 22:31:53 Alan McKinnon wrote: On Fri, 4 Jan 2013 16:32:14 + Mick michaelkintz...@gmail.com 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. 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. /dev/sdb1 is still there no matter how I try to delete/format/overwrite it. Is there a way of resetting whatever needs resetting in the USB flash chip to make it work again? USB sticks don't last long. When they do that, they are nuked. They cost about as much as a packet of smokes. Chuck it in the bin, buy a new one, move on. It's not worth the time to even attempt to fix it. Yep, you're right. I have come to the conclusion that it is terminal. Out of sheer good luck I ran a backup just a day before it croaked! :-) -- Regards, Mick signature.asc Description: This is a digitally signed message part.