This is the mail archive of the
mailing list for the Cygwin project.
Re: 1.5.19-4 : problem with SCSI emulation for CD-ROM
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 24 Mar 2006 16:01:06 +0100
- Subject: Re: 1.5.19-4 : problem with SCSI emulation for CD-ROM
- References: <firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
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 http://cygwin.com/snapshots/ a try.
Thanks for the report,
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html