This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 1.5.19-4 : problem with SCSI emulation for CD-ROM

On Mar 23 09:23, Gary Cowell wrote:
> Under 1.5.19-4 on Windows 2000 SP4, the SCSI emulated CD-ROM device no
> longer works.
> [...]
> This computer has 2 CD devices, an internal IDE and an external USB.
> The following are results from some more devices when both drives
> contained a CD-ROM:
> $ dd if=/dev/scd0 | md5sum
> dd: opening `/dev/scd0': Invalid request code
> $ dd if=/dev/scd1 | md5sum
> dd: opening `/dev/scd1': No such file or directory
> $ dd if=/dev/scd2 | md5sum
> dd: opening `/dev/scd2': Function not implemented
> $ dd if=/dev/scd3 | md5sum
> dd: opening `/dev/scd3': No such file or directory

I can't exactly reproduce all of these messages, but I found at least
the reason for the "Invalid request code" problem.  When trying to
request the block size and disk size of CDs and DVDs, NT4 and W2K don't
support the IOCTL_DISK_GET_DRIVE_GEOMETRY ioctl.  I changed the
function which requests this data to try again using the native NT
function NtQueryVolumeInformationFile, which seems to do the trick.

Maybe that heals it for the USB drive as well?  Please give the next
developer snapshot from a try.

Thanks for the report,

Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]