Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error creating USB [issue]: #1253

Open
1 task done
sharicov opened this issue Nov 17, 2021 · 18 comments
Open
1 task done

Error creating USB [issue]: #1253

sharicov opened this issue Nov 17, 2021 · 18 comments

Comments

@sharicov
Copy link

Official FAQ

  • I have checked the official FAQ.

Ventoy Version

1.0.61

What about latest release

Yes. I have tried the latest release, but the bug still exist.

BIOS Mode

Legacy BIOS Mode

Partition Style

MBR

Disk Capacity

64GB

Disk Manufacturer

Jmicron

Image file checksum (if applicable)

No response

Image file download link (if applicable)

No response

What happened?

Bootable USB cannot be created, getting following error. With this kind of USB only (tried several pieces).

[2021/11/17 05:26:43.754]
##################################################################################
######################### Ventoy2DiskX86 1.0.0.3 (1.0.61) #########################
##################################################################################
[2021/11/17 05:26:43.754] Current directory:
[2021/11/17 05:26:43.763] id=4364/7432
[2021/11/17 05:26:43.764] PPath:<C:\Windows\explorer.exe>
[2021/11/17 05:26:43.764] PSize:<5028992 4911KB>
[2021/11/17 05:26:43.764] Lunch main process 0
[2021/11/17 05:26:43.764] Control Flag: 0 1 1
[2021/11/17 05:26:43.765] Windows Version: <<Windows 11 Pro, 64-bit (Build 22000.318)>>
[2021/11/17 05:26:43.765]
===================== Enum All PhyDrives =====================
[2021/11/17 05:26:43.767] RegOpenKeyExA <SYSTEM\CurrentControlSet\Services\disk\Enum> Ret:0
[2021/11/17 05:26:43.767] RegQueryValueExA ret:0 Size:4 Value:4
[2021/11/17 05:26:43.767] GetPhysicalDriveCount: 4
[2021/11/17 05:26:43.768] Logical Drives: 0x1c
[2021/11/17 05:26:43.768] LogicalDrive:\.\C: PhyDrive:3 Offset:1048576 ExtentLength:50359959552
[2021/11/17 05:26:43.768] C --> 3
[2021/11/17 05:26:43.768] LogicalDrive:\.\D: PhyDrive:0 Offset:268435456 ExtentLength:511841402880
[2021/11/17 05:26:43.768] D --> 0
[2021/11/17 05:26:43.769] LogicalDrive:\.\E: PhyDrive:2 Offset:1048576 ExtentLength:63993544704
[2021/11/17 05:26:43.769] E --> 2
[2021/11/17 05:26:43.770] Create file Handle:000001B8 \.\PhysicalDrive0 status:0
[2021/11/17 05:26:43.770] PHYSICALDRIVE0 size 512110190592 bytes
[2021/11/17 05:26:43.771] Create file Handle:000001B8 \.\PhysicalDrive1 status:0
[2021/11/17 05:26:43.771] PHYSICALDRIVE1 size 62537072640 bytes
[2021/11/17 05:26:43.772] Create file Handle:000001BC \.\PhysicalDrive2 status:0
[2021/11/17 05:26:43.775] PHYSICALDRIVE2 size 63996690432 bytes
[2021/11/17 05:26:43.776] Create file Handle:000001BC \.\PhysicalDrive3 status:0
[2021/11/17 05:26:43.776] PHYSICALDRIVE3 size 50465865728 bytes
[2021/11/17 05:26:43.776] PhyDrv:0 BusType:Nvme Removable:0 Size:512GB(512110190592) Name: TS512GMTE110S
[2021/11/17 05:26:43.776] PhyDrv:1 BusType:SD Removable:0 Size:64GB(62537072640) Name:VID:13 G1J38E
[2021/11/17 05:26:43.776] PhyDrv:2 BusType:USB Removable:0 Size:64GB(63996690432) Name:JMicron Tech
[2021/11/17 05:26:43.777] PhyDrv:3 BusType:FileBackedVirtual Removable:0 Size:47GB(50465865728) Name:Msft Virtual Disk
[2021/11/17 05:26:43.777] LogicalDrive:\.\C: PhyDrive:3 Offset:1048576 ExtentLength:50359959552
[2021/11/17 05:26:43.777] Logical Drive:C ===> PhyDrive:3
[2021/11/17 05:26:43.777] LogicalDrive:\.\D: PhyDrive:0 Offset:268435456 ExtentLength:511841402880
[2021/11/17 05:26:43.777] Logical Drive:D ===> PhyDrive:0
[2021/11/17 05:26:43.778] LogicalDrive:\.\E: PhyDrive:2 Offset:1048576 ExtentLength:63993544704
[2021/11/17 05:26:43.778] Logical Drive:E ===> PhyDrive:2
[2021/11/17 05:26:43.779] Create file Handle:000001B8 \.\PhysicalDrive2 status:0
[2021/11/17 05:26:43.779] Read MBR Ret:0 Size:0 code:87
[2021/11/17 05:26:43.779] < TS512GMTE110S> is filtered for not USB type.
[2021/11/17 05:26:43.779] <VID:13 G1J38E> is filtered for not USB type.
[2021/11/17 05:26:43.779] is filtered for not USB type.
[2021/11/17 05:26:43.865] Load languages from json file ...
[2021/11/17 05:26:43.866] language json file len:180106 json parse:0
[2021/11/17 05:26:43.868] Total 41 languages ...
[2021/11/17 05:26:44.052] Not ventoy disk, clear secure boot option
[2021/11/17 05:27:01.913] SpaceMB:0 SizeInMB:61032
[2021/11/17 05:27:01.925] #####################################################
[2021/11/17 05:27:01.927] InstallVentoy2PhyDrive try1 MBR PhyDrive2 <<JMicron Tech 64GB>>
[2021/11/17 05:27:01.927] #####################################################
[2021/11/17 05:27:01.931] Copy boot img success
[2021/11/17 05:27:01.931] Disk signature: 0x490666f1
[2021/11/17 05:27:01.931] ReservedSector: 0
[2021/11/17 05:27:01.932] Lock disk for clean .............................
[2021/11/17 05:27:01.933] QueryDosDeviceA success \Device\Harddisk2\DR6
[2021/11/17 05:27:01.935] [0] CreateFileA \.\PhysicalDrive2 code:0 000002F8
[2021/11/17 05:27:01.938] FSCTL_LOCK_VOLUME success
[2021/11/17 05:27:01.938] LogicalDrive:\.\C: PhyDrive:3 Offset:1048576 ExtentLength:50359959552
[2021/11/17 05:27:01.938] LogicalDrive:\.\D: PhyDrive:0 Offset:268435456 ExtentLength:511841402880
[2021/11/17 05:27:01.939] LogicalDrive:\.\E: PhyDrive:2 Offset:1048576 ExtentLength:63993544704
[2021/11/17 05:27:01.939] E: is belong to phydrive2
[2021/11/17 05:27:01.941] Delete mountpoint E:\ ret:1 code:0
[2021/11/17 05:27:01.941] Will use 'E:' as volume mountpoint
[2021/11/17 05:27:03.272] VDS init OK, service 012ADD04
[2021/11/17 05:27:03.290] Callback 1 process for disk <\?\PhysicalDrive2>
[2021/11/17 05:27:03.290] Deleting ALL partitions from disk '\?\PhysicalDrive2':
[2021/11/17 05:27:03.290] * Partition 1 (offset: 1048576, size: 63993544704) delete it.
[2021/11/17 05:27:03.374] Delete this partitions success
[2021/11/17 05:27:03.374] VDS_DeleteAllPartitions 2 ret:1 (SUCCESS)
[2021/11/17 05:27:03.375] Deleting all partitions ......................... OK
[2021/11/17 05:27:03.395] Lock disk for write .............................
[2021/11/17 05:27:03.395] QueryDosDeviceA success \Device\Harddisk2\DR6
[2021/11/17 05:27:03.396] [0] CreateFileA \.\PhysicalDrive2 code:0 00000368
[2021/11/17 05:27:03.396] Opened \.\PhysicalDrive2 for exclusive write access
[2021/11/17 05:27:03.405] FSCTL_LOCK_VOLUME success
[2021/11/17 05:27:03.410] Formatting part1 exFAT ...
[2021/11/17 05:27:03.410] Formatting Part1 exFAT ...
[2021/11/17 05:27:03.416] WriteFile error bRet:0 WriteSize:4608 dwSize:0 ErrCode:87
[2021/11/17 05:27:03.428] WriteFile error bRet:0 WriteSize:1952256 dwSize:0 ErrCode:87
[2021/11/17 05:27:03.658] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:03.658] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:03.658] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:03.658] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:03.659] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:03.659] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:03.659] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:03.659] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:03.660] Formatting Part1 exFAT failed, write error.
[2021/11/17 05:27:03.661] FormatPart1exFAT failed.
[2021/11/17 05:27:03.664] FindProcessOccupyDisk for PhyDrive 2
[2021/11/17 05:27:03.665] QueryDosDeviceA success \Device\Harddisk2\DR6
[2021/11/17 05:27:03.711] handles->NumberOfHandles = 74757
[2021/11/17 05:27:03.712] NOTE: Could not identify the process(es) or service(s) accessing \Device\Harddisk2\DR6
[2021/11/17 05:27:03.716] This time install failed, clean disk by disk, wait 5s and retry...
[2021/11/17 05:27:03.746] VDS init OK, service 012BAE54
[2021/11/17 05:27:04.451] Callback 1 process for disk <\?\PhysicalDrive2>
[2021/11/17 05:27:05.481] Disk clean QueryStatus OK
[2021/11/17 05:27:05.482] VDS_CleanDisk 2 ret:1 (SUCCESS)
[2021/11/17 05:27:10.499] Now retry to install...
[2021/11/17 05:27:10.500] #####################################################
[2021/11/17 05:27:10.500] InstallVentoy2PhyDrive try2 MBR PhyDrive2 <<JMicron Tech 64GB>>
[2021/11/17 05:27:10.501] #####################################################
[2021/11/17 05:27:10.511] Disk signature: 0x1e3715b6
[2021/11/17 05:27:10.511] ReservedSector: 0
[2021/11/17 05:27:10.511] Lock disk for clean .............................
[2021/11/17 05:27:10.513] QueryDosDeviceA success \Device\Harddisk2\DR6
[2021/11/17 05:27:10.515] [0] CreateFileA \.\PhysicalDrive2 code:0 0000036C
[2021/11/17 05:27:10.519] FSCTL_LOCK_VOLUME success
[2021/11/17 05:27:10.519] LogicalDrive:\.\C: PhyDrive:3 Offset:1048576 ExtentLength:50359959552
[2021/11/17 05:27:10.519] LogicalDrive:\.\D: PhyDrive:0 Offset:268435456 ExtentLength:511841402880
[2021/11/17 05:27:10.520] No drive letter was assigned...
[2021/11/17 05:27:10.520] GetFirstUnusedDriveLetter E: ...
[2021/11/17 05:27:10.520] Will use 'E:' as volume mountpoint
[2021/11/17 05:27:10.555] VDS init OK, service 012BA23C
[2021/11/17 05:27:10.569] VDS_DeleteAllPartitions 2 ret:0 (FAIL)
[2021/11/17 05:27:10.569] Notice: Could not delete partitions: 0xb7, but we continue.
[2021/11/17 05:27:10.569] Deleting all partitions ......................... OK
[2021/11/17 05:27:10.571] Lock disk for write .............................
[2021/11/17 05:27:10.572] QueryDosDeviceA success \Device\Harddisk2\DR6
[2021/11/17 05:27:10.573] [0] CreateFileA \.\PhysicalDrive2 code:0 00000370
[2021/11/17 05:27:10.573] Opened \.\PhysicalDrive2 for exclusive write access
[2021/11/17 05:27:10.573] FSCTL_LOCK_VOLUME success
[2021/11/17 05:27:10.579] Formatting part1 exFAT ...
[2021/11/17 05:27:10.579] Formatting Part1 exFAT ...
[2021/11/17 05:27:10.585] WriteFile error bRet:0 WriteSize:4608 dwSize:0 ErrCode:87
[2021/11/17 05:27:10.590] WriteFile error bRet:0 WriteSize:1952256 dwSize:0 ErrCode:87
[2021/11/17 05:27:10.593] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:10.593] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:10.594] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:10.594] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:10.594] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:10.594] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:10.594] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:10.594] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:10.596] Formatting Part1 exFAT failed, write error.
[2021/11/17 05:27:10.596] FormatPart1exFAT failed.
[2021/11/17 05:27:10.599] FindProcessOccupyDisk for PhyDrive 2
[2021/11/17 05:27:10.600] QueryDosDeviceA success \Device\Harddisk2\DR6
[2021/11/17 05:27:10.615] handles->NumberOfHandles = 74772
[2021/11/17 05:27:10.615] NOTE: Could not identify the process(es) or service(s) accessing \Device\Harddisk2\DR6
[2021/11/17 05:27:10.616] This time install failed, clean disk by diskpart, wait 10s and retry...
[2021/11/17 05:27:10.616] CleanDiskByDiskpart <2>
[2021/11/17 05:27:10.618] CreateProcess <C:\Windows\system32\diskpart.exe /s "D:\iso\ventoy-1.0.61\ventoy\diskpart_4364.txt">
[2021/11/17 05:27:10.630] Wair process ...
[2021/11/17 05:27:11.853] Process finished...
[2021/11/17 05:27:21.856] Now retry to install...
[2021/11/17 05:27:21.856] #####################################################
[2021/11/17 05:27:21.857] InstallVentoy2PhyDrive try3 MBR PhyDrive2 <<JMicron Tech 64GB>>
[2021/11/17 05:27:21.857] #####################################################
[2021/11/17 05:27:21.862] Disk signature: 0x5a1bd649
[2021/11/17 05:27:21.862] ReservedSector: 0
[2021/11/17 05:27:21.862] Lock disk for clean .............................
[2021/11/17 05:27:21.863] QueryDosDeviceA success \Device\Harddisk2\DR6
[2021/11/17 05:27:21.865] [0] CreateFileA \.\PhysicalDrive2 code:0 00000370
[2021/11/17 05:27:21.866] FSCTL_LOCK_VOLUME success
[2021/11/17 05:27:21.867] LogicalDrive:\.\C: PhyDrive:3 Offset:1048576 ExtentLength:50359959552
[2021/11/17 05:27:21.868] LogicalDrive:\.\D: PhyDrive:0 Offset:268435456 ExtentLength:511841402880
[2021/11/17 05:27:21.868] No drive letter was assigned...
[2021/11/17 05:27:21.869] GetFirstUnusedDriveLetter E: ...
[2021/11/17 05:27:21.869] Will use 'E:' as volume mountpoint
[2021/11/17 05:27:21.935] VDS init OK, service 012B9FFC
[2021/11/17 05:27:21.949] VDS_DeleteAllPartitions 2 ret:0 (FAIL)
[2021/11/17 05:27:21.949] Notice: Could not delete partitions: 0xb7, but we continue.
[2021/11/17 05:27:21.949] Deleting all partitions ......................... OK
[2021/11/17 05:27:21.951] Lock disk for write .............................
[2021/11/17 05:27:21.951] QueryDosDeviceA success \Device\Harddisk2\DR6
[2021/11/17 05:27:21.952] [0] CreateFileA \.\PhysicalDrive2 code:0 0000037C
[2021/11/17 05:27:21.952] Opened \.\PhysicalDrive2 for exclusive write access
[2021/11/17 05:27:21.952] FSCTL_LOCK_VOLUME success
[2021/11/17 05:27:21.956] Formatting part1 exFAT ...
[2021/11/17 05:27:21.957] Formatting Part1 exFAT ...
[2021/11/17 05:27:21.962] WriteFile error bRet:0 WriteSize:4608 dwSize:0 ErrCode:87
[2021/11/17 05:27:21.969] WriteFile error bRet:0 WriteSize:1952256 dwSize:0 ErrCode:87
[2021/11/17 05:27:21.973] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:21.973] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:21.973] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:21.973] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:21.973] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:21.974] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:21.974] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:21.974] WriteFile error bRet:0 WriteSize:512 dwSize:0 ErrCode:87
[2021/11/17 05:27:21.976] Formatting Part1 exFAT failed, write error.
[2021/11/17 05:27:21.976] FormatPart1exFAT failed.
[2021/11/17 05:27:21.979] FindProcessOccupyDisk for PhyDrive 2
[2021/11/17 05:27:21.979] QueryDosDeviceA success \Device\Harddisk2\DR6
[2021/11/17 05:27:21.994] handles->NumberOfHandles = 74246
[2021/11/17 05:27:21.994] NOTE: Could not identify the process(es) or service(s) accessing \Device\Harddisk2\DR6
[2021/11/17 05:27:24.695] Not ventoy disk, clear secure boot option

@ventoy
Copy link
Owner

ventoy commented Nov 17, 2021

I have no idea about why Windows return ErrCode:87 when Ventoy try to write data to the USB stick.
You can try some alternative install method as follows:
https://www.ventoy.net/en/doc_ventoy2disk.html

@sharicov
Copy link
Author

thanks for quick response!
In Linux ventoy recognizes the USB with huge delay. Hangs on 82% during installation, but successfully installs the USB.
dmesg output:
[ 124.359434] usb 1-2: new high-speed USB device number 6 using xhci_hcd
[ 124.473471] usb 1-2: device descriptor read/64, error -71
[ 124.693573] usb 1-2: Device not responding to setup address.
[ 124.899470] usb 1-2: Device not responding to setup address.
[ 125.107430] usb 1-2: device not accepting address 6, error -71
[ 125.995485] usb usb1-port2: Cannot enable. Maybe the USB cable is bad?
[ 125.995625] usb usb1-port2: attempt power cycle
[ 127.011482] usb usb1-port2: Cannot enable. Maybe the USB cable is bad?
[ 127.125436] usb 1-2: new high-speed USB device number 9 using xhci_hcd
[ 127.125490] usb 1-2: Device not responding to setup address.
[ 127.331479] usb 1-2: Device not responding to setup address.
[ 127.539387] usb 1-2: device not accepting address 9, error -71
[ 127.539552] usb usb1-port2: unable to enumerate USB device
[ 128.603444] usb usb1-port2: Cannot enable. Maybe the USB cable is bad?
[ 129.555435] usb usb1-port2: Cannot enable. Maybe the USB cable is bad?
[ 129.555554] usb usb1-port2: attempt power cycle
[ 130.571456] usb usb1-port2: Cannot enable. Maybe the USB cable is bad?
[ 131.523425] usb usb1-port2: Cannot enable. Maybe the USB cable is bad?
[ 131.523557] usb usb1-port2: unable to enumerate USB device
[ 159.929441] usb 1-2: new high-speed USB device number 14 using xhci_hcd
[ 160.195439] usb 1-2: New USB device found, idVendor=152d, idProduct=0562, bcdDevice= 6.06
[ 160.195451] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 160.195457] usb 1-2: Product: External
[ 160.195462] usb 1-2: Manufacturer: JMicron
[ 160.195467] usb 1-2: SerialNumber: 210207590001734
[ 160.199096] scsi host2: uas
[ 160.319794] scsi 2:0:0:0: Direct-Access JMicron Tech 0606 PQ: 0 ANSI: 6
[ 160.321875] sd 2:0:0:0: [sdb] 15624192 4096-byte logical blocks: (64.0 GB/59.6 GiB)
[ 160.322024] sd 2:0:0:0: tag#28 data cmplt err -75 uas-tag 1 inflight: CMD
[ 160.322028] sd 2:0:0:0: tag#28 CDB: opcode=0x1a 1a 00 3f 00 04 00
[ 160.322037] sd 2:0:0:0: [sdb] Write Protect is off
[ 160.322040] sd 2:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 161.149765] sd 2:0:0:0: tag#29 data cmplt err -71 uas-tag 1 inflight:
[ 161.149780] sd 2:0:0:0: tag#29 CDB: opcode=0x1a 1a 00 08 00 04 00
[ 161.149860] usb 1-2: USB disconnect, device number 14
[ 161.149882] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 161.149891] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 161.162252] sd 2:0:0:0: [sdb] Optimal transfer size 268431360 bytes
[ 161.166301] sd 2:0:0:0: [sdb] Read Capacity(16) failed: Result: hostbyte=0x07 driverbyte=0x00
[ 161.166306] sd 2:0:0:0: [sdb] Sense not available.
[ 161.166318] sd 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=0x07 driverbyte=0x00
[ 161.166320] sd 2:0:0:0: [sdb] Sense not available.
[ 161.166332] sd 2:0:0:0: [sdb] 0 4096-byte logical blocks: (0 B/0 B)
[ 161.166347] sd 2:0:0:0: [sdb] Attached SCSI disk
[ 164.596791] usb 2-6: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 164.609549] usb 2-6: New USB device found, idVendor=152d, idProduct=0562, bcdDevice= 6.06
[ 164.609561] usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 164.609566] usb 2-6: Product: External
[ 164.609571] usb 2-6: Manufacturer: JMicron
[ 164.609576] usb 2-6: SerialNumber: 210207590001734
[ 164.614281] scsi host2: uas
[ 164.734863] scsi 2:0:0:0: Direct-Access JMicron Tech 0606 PQ: 0 ANSI: 6
[ 164.737845] sd 2:0:0:0: [sdb] 15624192 4096-byte logical blocks: (64.0 GB/59.6 GiB)
[ 164.737954] sd 2:0:0:0: tag#9 data cmplt err -75 uas-tag 1 inflight: CMD
[ 164.737958] sd 2:0:0:0: tag#9 CDB: opcode=0x1a 1a 00 3f 00 04 00
[ 164.738004] sd 2:0:0:0: [sdb] Write Protect is off
[ 164.738007] sd 2:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 195.118421] sd 2:0:0:0: tag#10 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 195.118438] sd 2:0:0:0: tag#10 CDB: opcode=0x1a 1a 00 08 00 04 00
[ 195.128284] scsi host2: uas_eh_device_reset_handler start
[ 195.243923] usb 2-6: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 195.258320] scsi host2: uas_eh_device_reset_handler success
[ 195.264617] sd 2:0:0:0: tag#10 data cmplt err -75 uas-tag 1 inflight: CMD
[ 195.264632] sd 2:0:0:0: tag#10 CDB: opcode=0x1a 1a 00 08 00 04 00
[ 195.264751] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 195.264760] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 210.490796] Buffer I/O error on dev dm-0, logical block 0, async page read
[ 210.490802] Buffer I/O error on dev dm-0, logical block 1, async page read
[ 210.490807] Buffer I/O error on dev dm-0, logical block 0, async page read
[ 210.490809] Buffer I/O error on dev dm-0, logical block 1, async page read
[ 214.074302] Buffer I/O error on dev dm-0, logical block 0, async page read
[ 214.074309] Buffer I/O error on dev dm-0, logical block 1, async page read
[ 214.074318] Buffer I/O error on dev dm-0, logical block 0, async page read
[ 214.074322] Buffer I/O error on dev dm-0, logical block 1, async page read
[ 220.155920] Buffer I/O error on dev dm-0, logical block 0, async page read
[ 220.155926] Buffer I/O error on dev dm-0, logical block 1, async page read
[ 220.155930] Buffer I/O error on dev dm-0, logical block 0, async page read
[ 220.155933] Buffer I/O error on dev dm-0, logical block 1, async page read
[ 224.803540] usb 2-6: USB disconnect, device number 2
[ 224.803855] xhci_hcd 0000:00:15.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 224.803892] sd 2:0:0:0: tag#8 uas_zap_pending 0 uas-tag 1 inflight: CMD
[ 224.803901] sd 2:0:0:0: tag#8 CDB: opcode=0x12 12 01 00 00 40 00
[ 224.804016] sd 2:0:0:0: [sdb] Optimal transfer size 268431360 bytes
[ 224.809275] sd 2:0:0:0: [sdb] Read Capacity(16) failed: Result: hostbyte=0x07 driverbyte=0x00
[ 224.809280] sd 2:0:0:0: [sdb] Sense not available.
[ 224.809288] sd 2:0:0:0: [sdb] Read Capacity(10) failed: Result: hostbyte=0x07 driverbyte=0x00
[ 224.809290] sd 2:0:0:0: [sdb] Sense not available.
[ 224.809299] sd 2:0:0:0: [sdb] 0 4096-byte logical blocks: (0 B/0 B)
[ 224.809309] sd 2:0:0:0: [sdb] Attached SCSI disk
[ 227.627142] usb 2-6: new SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 227.639599] usb 2-6: New USB device found, idVendor=152d, idProduct=0562, bcdDevice= 6.06
[ 227.639611] usb 2-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 227.639616] usb 2-6: Product: External
[ 227.639621] usb 2-6: Manufacturer: JMicron
[ 227.639626] usb 2-6: SerialNumber: 210207590001734
[ 227.644071] scsi host2: uas
[ 227.765022] scsi 2:0:0:0: Direct-Access JMicron Tech 0606 PQ: 0 ANSI: 6
[ 227.767755] sd 2:0:0:0: [sdb] 15624192 4096-byte logical blocks: (64.0 GB/59.6 GiB)
[ 227.767863] sd 2:0:0:0: tag#12 data cmplt err -75 uas-tag 1 inflight: CMD
[ 227.767868] sd 2:0:0:0: tag#12 CDB: opcode=0x1a 1a 00 3f 00 04 00
[ 227.767910] sd 2:0:0:0: [sdb] Write Protect is off
[ 227.767913] sd 2:0:0:0: [sdb] Mode Sense: 00 00 00 00
[ 230.589566] Buffer I/O error on dev dm-0, logical block 0, async page read
[ 230.589571] Buffer I/O error on dev dm-0, logical block 1, async page read
[ 230.589580] Buffer I/O error on dev dm-0, logical block 0, async page read
[ 230.589584] Buffer I/O error on dev dm-0, logical block 1, async page read
[ 258.094446] sd 2:0:0:0: tag#13 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 258.094462] sd 2:0:0:0: tag#13 CDB: opcode=0x1a 1a 00 08 00 04 00
[ 258.100314] scsi host2: uas_eh_device_reset_handler start
[ 258.215922] usb 2-6: reset SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 258.230729] scsi host2: uas_eh_device_reset_handler success
[ 258.237622] sd 2:0:0:0: tag#13 data cmplt err -75 uas-tag 1 inflight: CMD
[ 258.237638] sd 2:0:0:0: tag#13 CDB: opcode=0x1a 1a 00 08 00 04 00
[ 258.237725] sd 2:0:0:0: [sdb] Asking for cache data failed
[ 258.237739] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[ 288.302463] sd 2:0:0:0: tag#14 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 288.302479] sd 2:0:0:0: tag#14 CDB: opcode=0x12 12 01 00 00 40 00
[ 288.308297] scsi host2: uas_eh_device_reset_handler start
[ 288.423833] usb 2-6: reset SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 288.438305] scsi host2: uas_eh_device_reset_handler success
[ 288.444681] sd 2:0:0:0: [sdb] Optimal transfer size 268431360 bytes
[ 288.446696] sd 2:0:0:0: tag#28 data cmplt err -75 uas-tag 1 inflight: CMD
[ 288.446702] sd 2:0:0:0: tag#28 CDB: opcode=0x1a 1a 00 3f 00 04 00
[ 318.510257] sd 2:0:0:0: tag#29 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 318.510263] sd 2:0:0:0: tag#29 CDB: opcode=0x1a 1a 00 08 00 04 00
[ 318.515251] scsi host2: uas_eh_device_reset_handler start
[ 318.629557] usb 2-6: reset SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 318.643317] scsi host2: uas_eh_device_reset_handler success
[ 318.649419] sd 2:0:0:0: tag#29 data cmplt err -75 uas-tag 1 inflight: CMD
[ 318.649426] sd 2:0:0:0: tag#29 CDB: opcode=0x1a 1a 00 08 00 04 00
[ 348.718296] sd 2:0:0:0: tag#28 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 348.718313] sd 2:0:0:0: tag#28 CDB: opcode=0x12 12 01 00 00 40 00
[ 348.724273] scsi host2: uas_eh_device_reset_handler start
[ 348.839861] usb 2-6: reset SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 348.854230] scsi host2: uas_eh_device_reset_handler success
[ 348.861168] sdb: sdb1
[ 348.868641] sd 2:0:0:0: tag#28 data cmplt err -75 uas-tag 1 inflight: CMD
[ 348.868647] sd 2:0:0:0: tag#28 CDB: opcode=0x1a 1a 00 3f 00 04 00
[ 378.926459] sd 2:0:0:0: tag#29 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 378.926475] sd 2:0:0:0: tag#29 CDB: opcode=0x1a 1a 00 08 00 04 00
[ 378.926739] sd 2:0:0:0: [sdb] tag#12 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN
[ 378.926748] sd 2:0:0:0: [sdb] tag#12 CDB: opcode=0x28 28 00 00 ee 67 f0 00 00 01 00
[ 383.534306] sd 2:0:0:0: [sdb] tag#13 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD IN
[ 383.534322] sd 2:0:0:0: [sdb] tag#13 CDB: opcode=0x28 28 00 00 00 00 00 00 00 20 00
[ 383.544304] scsi host2: uas_eh_device_reset_handler start
[ 383.659734] usb 2-6: reset SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 383.674303] scsi host2: uas_eh_device_reset_handler success
[ 383.680488] sd 2:0:0:0: tag#29 data cmplt err -75 uas-tag 1 inflight: CMD
[ 383.680503] sd 2:0:0:0: tag#29 CDB: opcode=0x1a 1a 00 08 00 04 00
[ 413.742262] sd 2:0:0:0: tag#28 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 413.742269] sd 2:0:0:0: tag#28 CDB: opcode=0x12 12 01 00 00 40 00
[ 413.751267] scsi host2: uas_eh_device_reset_handler start
[ 413.756195] sd 2:0:0:0: [sdb] tag#12 uas_zap_pending 0 uas-tag 2 inflight: CMD
[ 413.756208] sd 2:0:0:0: [sdb] tag#12 CDB: opcode=0x28 28 00 00 ee 67 f0 00 00 01 00
[ 413.756218] sd 2:0:0:0: [sdb] tag#13 uas_zap_pending 0 uas-tag 3 inflight: CMD
[ 413.756225] sd 2:0:0:0: [sdb] tag#13 CDB: opcode=0x28 28 00 00 00 00 00 00 00 20 00
[ 413.871562] usb 2-6: reset SuperSpeed Gen 1 USB device number 3 using xhci_hcd
[ 413.886030] scsi host2: uas_eh_device_reset_handler success
[ 414.014380] sd 2:0:0:0: [sdb] Attached SCSI disk

@sharicov
Copy link
Author

Was too soon to celebrate.
Now disk is shown as RAW partition:
Windows disk manager:
image
Minitool Partition Wizard
image

@steve6375
Copy link

Probably fake USB drives? Test with FakeFlashTest.exe or H2TESTW.exe under Windows.

@sharicov
Copy link
Author

Rufus lists it under USB HDD.
image

Also warns about nonstandard sector size:
image

Same result: RAW partition:
image

@sharicov
Copy link
Author

Couldn't reformat the USB with windows disk manager after rufus, only with minitool partition wizard.
h2testw gives following warning:
image
Running the test:
image

@sharicov
Copy link
Author

Done, seems normal.
image

@sharicov
Copy link
Author

image

@sharicov
Copy link
Author

sharicov commented Nov 17, 2021

Output of fakeflashtest:
image
Strange because I definitely put large files in it and was able to read it no problem and h2testw was OK

@steve6375
Copy link

Maybe it is a 4K sector drive and FakeFlashTest does not handle 4K sector drives.
What actually is the drive?

@sharicov
Copy link
Author

This one:
DM FS200 External PSSD 64GB 128GB 256GB Portable Solid State Flash Drive
https://a.aliexpress.com/_mLGh4YS

Probably you righr and it's 4k drive.
Need it to boot old BIOS PCs.

@steve6375
Copy link

Well the AliExpress ad says compatible with Win98/XP - so it should be 512 byte sector device.
Very odd device! Usually a flash drive reports as a Removable device not a Fixed device and always as 512 bytes/sector.

@sharicov
Copy link
Author

Just checked the sector size, it's 4k indeed.
Still it doesn't explain why can't I make this USB bootable (for UEFI) with Ventoy.
AIOBoot works well with the same USB drive.

fsutil fsinfo ntfsinfo e:

image

@steve6375
Copy link

Ventoy2disk may not support 4k disks.

@sharicov
Copy link
Author

Dear Ventoy developers, please add 4k disks support to your wonderful program!

@ventoy
Copy link
Owner

ventoy commented Nov 18, 2021

Yes. Currently ventoy doesn't support 4K disks and I have no time and plan to support it in the near future.

@truefriend-cz
Copy link

I have same problem in year 2024.
@ventoy do you can support for 4k disks now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants