From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: [OT] Resetting USB flash
Date: Fri, 4 Jan 2013 19:29:03 +0000 [thread overview]
Message-ID: <201301041929.05677.michaelkintzios@gmail.com> (raw)
In-Reply-To: <kc79iu$8c3$1@ger.gmane.org>
[-- Attachment #1: Type: Text/Plain, Size: 2561 bytes --]
On Friday 04 Jan 2013 19:12:18 Nikos Chantziaras wrote:
> On 04/01/13 18:32, 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.
>
> Can you elaborate on that? Do you get any error messages from dd or in
> dmesg?
dd if=/dev/zero of=/mnt/iso/bigfile.txt bs=512
dd: writing ‘/mnt/iso/bigfile.txt’: Input/output error
376705+0 records in
376704+0 records out
192872448 bytes (193 MB) copied, 1.01944 s, 189 MB/s
rm /mnt/iso/bigfile.txt
rm: cannot remove ‘/mnt/iso/bigfile.txt’: Read-only file system
The output of mount:
/dev/sdb1 on /mnt/iso type vfat (rw)
(was mounted rw as root just in case).
This is what dmesg shows:
hub 2-1:1.0: state 7 ports 8 chg 0000 evt 0002
hub 2-1:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 2-1:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
hub 2-1:1.0: port 1 not reset yet, waiting 10ms
usb 2-1.1: new high-speed USB device number 8 using ehci_hcd
hub 2-1:1.0: port 1 not reset yet, waiting 10ms
usb 2-1.1: default language 0x0409
usb 2-1.1: udev 8, busnum 2, minor = 135
usb 2-1.1: New USB device found, idVendor=1307, idProduct=0163
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1.1: Product: USB Mass Storage Device
usb 2-1.1: Manufacturer: USBest Technology
usb 2-1.1: SerialNumber: 08032204c2f5fd
usb 2-1.1: usb_probe_device
usb 2-1.1: configuration #1 chosen from 1 choice
usb 2-1.1: adding 2-1.1:1.0 (config #1, interface 0)
usb-storage 2-1.1:1.0: usb_probe_interface
usb-storage 2-1.1:1.0: usb_probe_interface - got id
scsi10 : usb-storage 2-1.1:1.0
scsi 10:0:0:0: Direct-Access Ut163 USB2FlashStorage 0.00 PQ: 0 ANSI: 2
sd 10:0:0:0: Attached scsi generic sg2 type 0
sd 10:0:0:0: [sdb] 1974271 512-byte logical blocks: (1.01 GB/963 MiB)
sd 10:0:0:0: [sdb] Write Protect is off
sd 10:0:0:0: [sdb] Mode Sense: 00 00 00 00
sd 10:0:0:0: [sdb] Asking for cache data failed
sd 10:0:0:0: [sdb] Assuming drive cache: write through
sd 10:0:0:0: [sdb] Asking for cache data failed
sd 10:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
sd 10:0:0:0: [sdb] Asking for cache data failed
sd 10:0:0:0: [sdb] Assuming drive cache: write through
sd 10:0:0:0: [sdb] Attached SCSI removable disk
I can't recall the hdparm errors (run it on a different box) but if important
I can get these for you.
Thanks.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2013-01-04 19:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-04 16:32 [gentoo-user] [OT] Resetting USB flash Mick
2013-01-04 16:48 ` Michael Mol
2013-01-04 17:18 ` Mick
2013-01-04 17:32 ` Paul Hartman
2013-01-04 19:13 ` Mick
2013-01-04 18:43 ` [gentoo-user] " James
2013-01-04 19:16 ` Mick
2013-01-04 20:27 ` Walter Dnes
2013-01-04 23:56 ` Mick
2013-01-05 2:26 ` Walter Dnes
2013-01-05 10:05 ` Mick
2013-01-07 3:13 ` Walter Dnes
2013-01-07 6:44 ` Mick
2013-01-04 19:12 ` Nikos Chantziaras
2013-01-04 19:29 ` Mick [this message]
2013-01-04 22:31 ` [gentoo-user] " Alan McKinnon
2013-01-04 23:59 ` Mick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201301041929.05677.michaelkintzios@gmail.com \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox