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 2A1F61382B9 for ; Fri, 4 Jan 2013 19:31:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0B6621C0D7; Fri, 4 Jan 2013 19:31:23 +0000 (UTC) Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5BB7A21C0CC for ; Fri, 4 Jan 2013 19:29:21 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id hm6so120324wib.15 for ; Fri, 04 Jan 2013 11:29:20 -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=pdi66zsyRJ8aGqh2ZGiy+E3K+vCfroDmDNylaYzf+bU=; b=qnCD8TSG37vZjRy+/EinDcH3CTyYc2cJSgWQ5nkMdhy7PBBUtJp+fH5LVWiF5hTE/e ebDjtuYLF3TQl2WVRy56jfzFxqk+BuZMh2McAFXv+WP+Is3nbMTOT0GPw2r3cAV8fjEk bLAtIYjnIsCFXUnBSkoSenxc2tK8FNYXXPoQBEgbquL8uk1HDjljPtArNF+kdKORo2qS rTk454vwmZupKMc2GxiDnDO/gKCGHtK+QdoTJZVcLq1m5yQdIsDk3+HAUuD72Nmpkpe2 /KH8/IuGvjcC26gfQ3v18lLyhVF+j3ZcSqiyAydfvzgP9oJUCXTZyopXFsSNECeCONpU o2Ow== X-Received: by 10.180.93.40 with SMTP id cr8mr84590625wib.15.1357327760058; Fri, 04 Jan 2013 11:29:20 -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 gz3sm386967wib.2.2013.01.04.11.29.18 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 04 Jan 2013 11:29:19 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: [OT] Resetting USB flash Date: Fri, 4 Jan 2013 19:29:03 +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="nextPart2808278.8joQaD6jJE"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201301041929.05677.michaelkintzios@gmail.com> X-Archives-Salt: dc6926ed-38f9-4a9e-8abd-af329e2d56be X-Archives-Hash: 640506dfb393f1c86ab3e07232de28c8 --nextPart2808278.8joQaD6jJE Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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. >=20 > Can you elaborate on that? Do you get any error messages from dd or in > dmesg? dd if=3D/dev/zero of=3D/mnt/iso/bigfile.txt bs=3D512 dd: writing =E2=80=98/mnt/iso/bigfile.txt=E2=80=99: 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 =E2=80=98/mnt/iso/bigfile.txt=E2=80=99: Read-only file sy= stem 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 =3D 135 usb 2-1.1: New USB device found, idVendor=3D1307, idProduct=3D0163 usb 2-1.1: New USB device strings: Mfr=3D1, Product=3D2, SerialNumber=3D3 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 importa= nt=20 I can get these for you. Thanks. =2D-=20 Regards, Mick --nextPart2808278.8joQaD6jJE 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) iEYEABECAAYFAlDnLYEACgkQVTDTR3kpaLb1ZwCfaq/lRV6+4g3PC9M5ffmEcUMQ m+cAoKXiudcQeyDtx8s45LvTxT57LINx =5wc+ -----END PGP SIGNATURE----- --nextPart2808278.8joQaD6jJE--