saramibreak / DiscImageCreator

This is the disc (CD, GD, DVD, HD-DVD, BD, GC/Wii, XBOX, XBOX 360) and disk (Floppy, MO, USB etc) image creation tool
http://forum.redump.org/topic/10483/discimagecreator/
Apache License 2.0
530 stars 45 forks source link

Error on dumping 3.5 floppy disc #177

Closed Feathered-Serpent closed 1 year ago

Feathered-Serpent commented 1 year ago

Version 32 bit, AnsiBuild, 20230111T021641

Describe the bug When trying to dump a regular 3.5 floppy drive (connected via standard floppy connector cable to floppy pins on motherboard) I get the message about an incorrect function. I can format the drive at the command line with no problems, I also can list the contents (which are empty, because freshly formatted). Putting a file onto the floppy disk doesn't change the outcome.

Log file listing of the empty floppy disk from command line

dir A:
 Volume in Laufwerk A: hat keine Bezeichnung.
 Volumeseriennummer: 9811-F131

 Verzeichnis von A:\

Datei nicht gefunden

DCI output (no log files are generated on disc containing more than that, not even _voldesc file when there's a file on the floppy disk):

DiscImageCreator fd a floppy.bin
AppVersion
        32 bit, AnsiBuild, 20230111T021641
CurrentDirectory
        C:\Users\Jack\Desktop\dumps
WorkingPath
         Argument: floppy.bin
         FullPath: C:\Users\Jack\Desktop\dumps\floppy.bin
            Drive: C:
        Directory: \Users\Jack\Desktop\dumps\
         Filename: floppy
        Extension: .bin
StartTime: 2023-01-25T08:15:57+0100
[F:TestUnitReady][L:45] GetLastError: 1, Unzulässige Funktion.

Please wait for 25000 milliseconds until the device is returned
EndTime: 2023-01-25T08:16:23+0100
saramibreak commented 1 year ago

connected via standard floppy connector cable to floppy pins on motherboard

I only checked a floppy drive via usb, it's no problem.

Feathered-Serpent commented 1 year ago

Any way I can debug this? What is [F:TestUnitReady][L:45] refering to?

saramibreak commented 1 year ago

What is [F:TestUnitReady][L:45] refering to?

https://github.com/saramibreak/DiscImageCreator/blob/master/DiscImageCreator/execScsiCmd.cpp#L45 It failed to execute TestUnitReady function. Generally, It's a hardware problem.

Feathered-Serpent commented 1 year ago

As I can use the drive without any problems (formatting disk, copying files onto disk, saving BIOS image onto the disk) I only could imagine, that the old motherboard or the floppy connector doesn't return a specific information which a USB drive would do.

Feathered-Serpent commented 1 year ago

Considering modern motherboards never will have a floppy connector anymore, this problem probably can be neglected.