LINUX.ORG.RU

Сообщения Aptem34

 

fdisk не видит USB флешку.

Форум — General

Всех приветствую. Прошерстил весь интернет, но не нашёл решения своей проблемы. Помогите, те кто сталкивался, пожалуйста. В какой-то момент флешка перестала монтироваться. На флешке несколько важных файлов без копий где-либо еще. Желательно флешку восстановить.

Система видит флешку:

System:
  Kernel: 6.8.0-48-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0 clocksource: hpet
  Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm: LightDM v: 1.30.0
    Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble
Machine:
  Type: Desktop Mobo: Micro-Star model: A320M PRO-E (MS-7A36) v: 3.0 serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends v: H.20 date: 01/22/2019
CPU:
  Info: quad core model: AMD Ryzen 3 2200G with Radeon Vega Graphics bits: 64 type: MCP
    smt: <unsupported> arch: Zen rev: 0 cache: L1: 384 KiB L2: 2 MiB L3: 4 MiB
  Speed (MHz): avg: 1600 min/max: 1600/3500 boost: enabled cores: 1: 1600 2: 1600 3: 1600 4: 1600
    bogomips: 28000
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm


Device-1: 1-3:23 info: GEMBIRD MicroSD Card Reader/Writer type: mass storage
    driver: usb-storage interfaces: 1 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 150mA
    chip-ID: 1908:0226 class-ID: 0806

lsusb видит флешку

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 062a:4101 MosArt Semiconductor Corp. Wireless Keyboard/Mouse
Bus 001 Device 021: ID 1908:0226 GEMBIRD MicroSD Card Reader/Writer
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 2357:010c TP-Link TL-WN722N v2/v3 [Realtek RTL8188EUS]
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

lsusb -vv

Bus 001 Device 023: ID 1908:0226 GEMBIRD MicroSD Card Reader/Writer
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 [unknown]
  bDeviceSubClass         0 [unknown]
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1908 GEMBIRD
  idProduct          0x0226 MicroSD Card Reader/Writer
  bcdDevice            1.11
  iManufacturer           0 
  iProduct                0 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0020
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              150mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      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               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

Вывод lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 111,8G  0 disk 
├─sda1   8:1    0   285M  0 part /boot/efi
├─sda2   8:2    0  37,3G  0 part /
├─sda3   8:3    0  70,5G  0 part /home
└─sda4   8:4    0   3,7G  0 part [SWAP]
sdb      8:16   0 298,1G  0 disk 
├─sdb1   8:17   0  99,6G  0 part /window
├─sdb2   8:18   0     1K  0 part 
└─sdb5   8:21   0 198,5G  0 part /local
sdc      8:32   1     0B  0 disk 

dmesg | tail

[13138.975001] xhci_hcd 0000:15:00.0:   device [1022:43bc] error status/mask=00000080/00002000
[13138.975007] xhci_hcd 0000:15:00.0:    [ 7] BadDLLP               
[13140.363483] usb 1-3: USB disconnect, device number 21
[13142.642084] usb 1-3: new high-speed USB device number 22 using xhci_hcd
[13142.842629] usb 1-3: New USB device found, idVendor=1908, idProduct=0226, bcdDevice= 1.11
[13142.842642] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[13142.849651] usb-storage 1-3:1.0: USB Mass Storage device detected
[13142.851246] scsi host9: usb-storage 1-3:1.0
[13143.898157] scsi 9:0:0:0: Direct-Access     Generic  Mass-Storage     1.11 PQ: 0 ANSI: 2
[13143.898525] sd 9:0:0:0: Attached scsi generic sg2 type 0

dmesg | grep usb

[ 5268.330837] usb 1-3: USB disconnect, device number 16
[ 5268.752104] usb 1-3: new high-speed USB device number 17 using xhci_hcd
[ 5268.951581] usb 1-3: New USB device found, idVendor=1908, idProduct=0226, bcdDevice= 1.11
[ 5268.951594] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 5268.958639] usb-storage 1-3:1.0: USB Mass Storage device detected
[ 5268.958973] scsi host9: usb-storage 1-3:1.0
[ 5268.975224] usb 1-3: USB disconnect, device number 17
[12029.327046] usb 1-6: new high-speed USB device number 18 using xhci_hcd
[12029.525767] usb 1-6: New USB device found, idVendor=1908, idProduct=0226, bcdDevice= 1.11
[12029.525779] usb 1-6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[12029.532889] usb-storage 1-6:1.0: USB Mass Storage device detected
[12029.533152] scsi host9: usb-storage 1-6:1.0
[12061.026774] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12091.548766] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12122.274746] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12158.615770] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12189.335842] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12220.057196] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12262.040754] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12298.394750] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12334.743795] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12365.465790] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12401.815826] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12442.264749] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12482.718779] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12515.488882] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12548.247861] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12595.869791] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12628.633773] usb 1-6: reset high-speed USB device number 18 using xhci_hcd
[12644.433994] usb 1-6: USB disconnect, device number 18
[12647.074408] usb 1-6: new high-speed USB device number 19 using xhci_hcd
[12647.274860] usb 1-6: New USB device found, idVendor=1908, idProduct=0226, bcdDevice= 1.11
[12647.274873] usb 1-6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[12647.281901] usb-storage 1-6:1.0: USB Mass Storage device detected
[12647.282322] scsi host9: usb-storage 1-6:1.0
[12690.587232] usb 1-6: reset high-speed USB device number 19 using xhci_hcd
[12698.281860] usb 1-6: USB disconnect, device number 19
[12708.578443] usb 1-6: new high-speed USB device number 20 using xhci_hcd
[12708.778505] usb 1-6: New USB device found, idVendor=1908, idProduct=0226, bcdDevice= 1.11
[12708.778517] usb 1-6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[12708.785559] usb-storage 1-6:1.0: USB Mass Storage device detected
[12708.785833] scsi host9: usb-storage 1-6:1.0
[12740.248839] usb 1-6: reset high-speed USB device number 20 using xhci_hcd
[12770.969852] usb 1-6: reset high-speed USB device number 20 using xhci_hcd
[12801.688832] usb 1-6: reset high-speed USB device number 20 using xhci_hcd
[12832.408212] usb 1-6: reset high-speed USB device number 20 using xhci_hcd
[12874.595221] usb 1-6: reset high-speed USB device number 20 using xhci_hcd
[12905.624076] usb 1-6: reset high-speed USB device number 20 using xhci_hcd
[12936.343754] usb 1-6: reset high-speed USB device number 20 using xhci_hcd
[12975.186747] usb 1-6: USB disconnect, device number 20
[12977.638113] usb 1-3: new high-speed USB device number 21 using xhci_hcd
[12977.838040] usb 1-3: New USB device found, idVendor=1908, idProduct=0226, bcdDevice= 1.11
[12977.838053] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[12977.845056] usb-storage 1-3:1.0: USB Mass Storage device detected
[12977.845370] scsi host9: usb-storage 1-3:1.0
[13140.363483] usb 1-3: USB disconnect, device number 21
[13142.642084] usb 1-3: new high-speed USB device number 22 using xhci_hcd
[13142.842629] usb 1-3: New USB device found, idVendor=1908, idProduct=0226, bcdDevice= 1.11
[13142.842642] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[13142.849651] usb-storage 1-3:1.0: USB Mass Storage device detected
[13142.851246] scsi host9: usb-storage 1-3:1.0
[13203.645289] usb 1-3: USB disconnect, device number 22
[13209.732432] usb 1-3: new high-speed USB device number 23 using xhci_hcd
[13209.933006] usb 1-3: New USB device found, idVendor=1908, idProduct=0226, bcdDevice= 1.11
[13209.933038] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[13209.940084] usb-storage 1-3:1.0: USB Mass Storage device detected
[13209.940411] scsi host9: usb-storage 1-3:1.0

ls -l /dev/sd*

brw-rw---- 1 root disk 8,  0 ноя  6 13:39 /dev/sda
brw-rw---- 1 root disk 8,  1 ноя  6 13:39 /dev/sda1
brw-rw---- 1 root disk 8,  2 ноя  6 13:39 /dev/sda2
brw-rw---- 1 root disk 8,  3 ноя  6 13:39 /dev/sda3
brw-rw---- 1 root disk 8,  4 ноя  6 13:39 /dev/sda4
brw-rw---- 1 root disk 8, 16 ноя  6 13:39 /dev/sdb
brw-rw---- 1 root disk 8, 17 ноя  6 13:39 /dev/sdb1
brw-rw---- 1 root disk 8, 18 ноя  6 13:39 /dev/sdb2
brw-rw---- 1 root disk 8, 21 ноя  6 13:39 /dev/sdb5
brw-rw---- 1 root disk 8, 32 ноя  6 16:48 /dev/sdc

sudo fdisk -l ничего не видит

Диск /dev/sda: 111,79 GiB, 120034123776 байт, 234441648 секторов
Disk model: SSD 120GB       
Единицы: секторов по 1 * 512 = 512 байт
Размер сектора (логический/физический): 512 байт / 512 байт
Размер I/O (минимальный/оптимальный): 512 байт / 512 байт
Тип метки диска: gpt
Идентификатор диска: E7D3C45D-65BA-4CA6-B037-949184A95D2E

Устр-во       начало     Конец   Секторы Размер Тип
/dev/sda1       2048    585727    583680   285M EFI
/dev/sda2     585728  78710727  78125000  37,3G Файловая система Linux
/dev/sda3   78710784 226628752 147917969  70,5G Файловая система Linux
/dev/sda4  226629632 234440703   7811072   3,7G Linux своп


Диск /dev/sdb: 298,09 GiB, 320072933376 байт, 625142448 секторов
Disk model: WDC WD3200BPVT-2
Единицы: секторов по 1 * 512 = 512 байт
Размер сектора (логический/физический): 512 байт / 4096 байт
Размер I/O (минимальный/оптимальный): 4096 байт / 4096 байт
Тип метки диска: dos
Идентификатор диска: 0x00022e85

Устр-во    Загрузочный    начало     Конец   Секторы Размер Идентификатор Тип
/dev/sdb1                     63 208892641 208892579  99,6G            83 Linux
/dev/sdb2              208893256 625141759 416248504 198,5G             5 Расширенный
/dev/sdb5              208893258 625141759 416248502 198,5G            83 Linux

Раздел 1 начинается не на границе физического сектора.
Раздел 5 начинается не на границе физического сектора.

sudo fdisk -l /dev/sdc

fdisk: невозможно открыть /dev/sdc: Носитель не найден

Даже затирание нулями не дает результата, dd просто не видит флешку.

sudo dd if=/dev/zero of=/dev/sdc count=1
dd: не удалось открыть '/dev/sdc': Носитель не найден

Testdisk видит только /dev/sda и /dev/sdb Gparted не видит флешку, только два жестких.

НО! Disks видит флешку в /dev/sdc

Другие флешки в этом порту и других портах ведут себя нормально. Эта флешка кочевала по портам и компам. В машине на винде ее тоже не видно. Точнее она появляется как логический диск, но при попытке открыть флешку «мой компьютер» перестает отвечать и виснет, пока либо не закроешь его, либо не выдернешь флешку. Так же ее не видят Rufus, Recuva, SDFormat, HDD Low Level Format Tool, SDFormatter и прочие восстановители из под винды

Что с этим делать?

 , ,

Aptem34
()

RSS подписка на новые темы