ALT Linux hardware support
 help / color / mirror / Atom feed
* [Hardware] Больная Flash
@ 2007-01-12  6:38 Genix
  2007-01-13 16:27 ` Sergey Vlasov
  0 siblings, 1 reply; 2+ messages in thread
From: Genix @ 2007-01-12  6:38 UTC (permalink / raw)
  To: hardware

Приветствую!

Подскажите. Есть такая флешка:

usb-storage: waiting for device to settle before scanning
   Vendor: SKYMEDI   Model: USB Drive         Rev: 1.0
   Type:   Direct-Access                      ANSI SCSI revision: 02
sdf : very big device. try to use READ CAPACITY(16).
sdf : READ CAPACITY(16) failed.
sdf : status=0, message=00, host=5, driver=00
sdf : use 0xffffffff as device size
SCSI device sdf: 4294967296 512-byte hdwr sectors (2199023 MB)
sdf: Write Protect is off
sdf: Mode Sense: 03 00 00 00
sdf: assuming drive cache: write through
sdf : very big device. try to use READ CAPACITY(16).
sdf : READ CAPACITY(16) failed.
sdf : status=0, message=00, host=5, driver=00
sdf : use 0xffffffff as device size
SCSI device sdf: 4294967296 512-byte hdwr sectors (2199023 MB)
sdf: Write Protect is off
sdf: Mode Sense: 03 00 00 00
sdf: assuming drive cache: write through
  sdf: unknown partition table

После чего попытки открыть fdisk'ом дают только ошибку:

# fdisk /dev/sdf
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF 
disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

You must set cylinders.
You can do this from the extra functions menu.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by 
w(rite)

Command (m for help): q

root@genix:~# fdisk /dev/sdf
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF 
disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

You must set cylinders.
You can do this from the extra functions menu.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by 
w(rite)

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Устройство 
или ресурс занято.
The kernel still uses the old table.
The new table will be used at the next reboot.

Error closing file

При попытке создать раздел в fdisk выдает:

You must set cylinders.
You can do this from the extra functions menu.

Вопрос:

Можно ли оживить эту флешку?


-- 
У каждого в башке свои тараканы...



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Hardware] Больная Flash
  2007-01-12  6:38 [Hardware] Больная Flash Genix
@ 2007-01-13 16:27 ` Sergey Vlasov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergey Vlasov @ 2007-01-13 16:27 UTC (permalink / raw)
  To: hardware

[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]

On Fri, Jan 12, 2007 at 09:38:00AM +0300, Genix wrote:
> Подскажите. Есть такая флешка:
> 
> usb-storage: waiting for device to settle before scanning
>    Vendor: SKYMEDI   Model: USB Drive         Rev: 1.0
>    Type:   Direct-Access                      ANSI SCSI revision: 02
> sdf : very big device. try to use READ CAPACITY(16).

В ответ на обычную команду READ CAPACITY (ограниченную 32-разрядным
номером сектора) устройство вернуло 0xffffffff.  Скорее всего, это
означает, что разрушена какая-то служебная информация, используемая
контроллером флеш-памяти.

> Можно ли оживить эту флешку?

Разве что попробовать найти утилиту низкоуровневого форматирования от
производителя флешки (при отсутствии такой можно попробовать поискать
"чужую" утилиту для флешек с тем же типом контроллера - этот тип может
быть виден, например, в выводе lsusb -v).  Если это не поможет, можно
ещё перед выбрасыванием флешки в мусорное ведро поиграться с sg_format
из sg3_utils, но это вряд ли сработает.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-13 16:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-12  6:38 [Hardware] Больная Flash Genix
2007-01-13 16:27 ` Sergey Vlasov

ALT Linux hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.hardware


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git