israpps / HDL-Batch-installer

A GUI for HDL Dump. Featuring batch installation of PS2 games to PS2 internal hdd and some game management utilities
https://israpps.github.io/HDL-Batch-installer/
GNU General Public License v3.0
215 stars 11 forks source link

Format error: No such device (--19) #73

Closed CplMadMurdock closed 4 months ago

CplMadMurdock commented 7 months ago

Issue

Ran application as admin, closed explorer windows, receive error when attempting to format a new drive. Error code -19. I am attempting to format a 4TB SATA using a Sabrent external drive bay (SATA to USB).

expected behaviour

Expected the program to format the HDD.

Program version

No response

Relevant log output

HDLBINST_APPDATA [C:\Users\Tage\AppData\Roaming\HDLBInst]
Loading lang ID [0]
Checking for updates...
we have internet! Checking for Updates...
sucessfully recovered version tag from github
this version is the latest release!
welcome to HDL Batch Installer [v3.5.1 - Revision 5]
Standard error: Cannot open error report, read the terminal logs to find the issue
> Config File Loaded!
database mode=0
debug level=5
MiniOPL=0
OSD_Hide=0
Default_iso_path=C:\
Default DMA Mode=*u4
Custom Icon Loader=1
Report Unknown Game ID's=0
Game Title Database, 15853 ID's registered
        hdd0: 476937 MB
        hdd1: 476937 MB
        hdd2: 953867 MB
        hdd3: 953867 MB
        hdd4: 953867 MB
        hdd5: 953867 MB
        hdd6: 3815437 MB
Caption                    DeviceID            InterfaceType

Samsung SSD 970 EVO 1TB    \\.\PHYSICALDRIVE2  SCSI

Samsung SSD 850 EVO 500GB  \\.\PHYSICALDRIVE0  IDE

Samsung SSD 970 EVO 1TB    \\.\PHYSICALDRIVE3  SCSI

Samsung SSD 970 EVO 1TB    \\.\PHYSICALDRIVE4  SCSI

SABRENT  SCSI Disk Device  \\.\PHYSICALDRIVE6  SCSI

Samsung SSD 850 EVO 500GB  \\.\PHYSICALDRIVE1  IDE

Samsung SSD 970 EVO 1TB    \\.\PHYSICALDRIVE5  SCSI

WILL FORMAT NOW
 - accessing device \\.\PHYSICALDRIVE6
 - Initializing APA:
hdd: PS2 APA Driver v2.5 (c) 2003 Vector
hdd: max open = 1, 3 buffers
hdd: 15:41:32 12/28/2023
hdd: disk0: 0xd1c06bff sectors, max 0x04000000
hdd: checking log...
read/write: \\.\PHYSICALDRIVE6 : Invalid argument
read/write: \\.\PHYSICALDRIVE6 : Invalid argument
hdd: error: log check failed.
 - Initializing PFS:
pfs Playstation Filesystem Driver v2.2
ps2fs: (c) 2003 Sjeep, Vector and Florin Sasu
pfs Max mount: 1, Max open: 1, Number of buffers: 10
pfs version 0000 driver start.
 - Initializing HDLFS:
PFSShell: finished init
 -- HDD format requested --
PFSShell: (!) format error: No such device (--19).

In which package have you experienced this issue?

No response

other checks

israpps commented 7 months ago
  1. 4TB HDDs are not supported in the APA format
  2. The log gave you the answer, no such device. Try checking if your HDD is getting enough power and if the adapter used to plug it to the PC (if any) is not failing
CplMadMurdock commented 7 months ago

Thanks. I'll see if I have a smaller HDD. The drive bay works; I use it with FatXplorer frequently. Could it be a driver incompatibility?

israpps commented 4 months ago

Closing this issue since it's more likely an OS or Hardware issue.