[Wine] aspi error ASPI_ExecScsiCmd in Wine

De Swaef Jeroen Jeroen.DeSwaef at vandewiele.com
Mon Feb 20 02:46:37 CST 2006


Has anyone encountered the same problem:

I want to read a special kind of floppies under Linux. These floppies can only be read by an USB floppy drive that is made by a company that also delivers a (Windows) program to read these floppies. It has a SCSI interface and it makes use of the aspi drivers.

The aspi dll's are copied to the correct locations in Wine.

Wine added 2 SCSI drives to the registry: one "aspi" and one "WINE SCSI".

I see the drive when doing a 'cat /proc/scsi/scsi'

I read that other people had trouble because the buffer was to small, so I enlarged the buffer.

When I try to execute the program under Wine, I get the following error:

fixme:aspi:ASPI_ExecScsiCmd Failed

I see that the drive is doing something, but the program did nothing.

These are the kernel messages:

Feb 15 23:19:31 localhost kernel: Attached scsi removable disk sda at scsi6, channel 0, id 0, lun 0

Feb 15 23:19:31 localhost kernel: Attached scsi generic sg0 at scsi6, channel 0, id 0, lun 0, type 0

Feb 15 23:19:59 localhost kernel: usb 1-2: USB disconnect, address 8

Feb 15 23:20:02 localhost kernel: usb 1-2: new full speed USB device using uhci_hcd and address 9

Feb 15 23:20:02 localhost kernel: scsi7 : SCSI emulation for USB Mass Storage devices

Feb 15 23:20:07 localhost kernel: Vendor: Y-E DATA Model: USB-FDU Rev: 7.03

Feb 15 23:20:07 localhost kernel: Type: Direct-Access ANSI SCSI revision: 00

Feb 15 23:20:11 localhost kernel: sda: Unit Not Ready, sense:

Feb 15 23:20:11 localhost kernel: Current : sense key Medium Error

Feb 15 23:20:11 localhost kernel: Additional sense: Cannot read medium - unknown format

Feb 15 23:20:11 localhost kernel: sda : READ CAPACITY failed.

Feb 15 23:20:11 localhost kernel: sda : status=1, message=00, host=0, driver=08

Feb 15 23:20:11 localhost kernel: Current sd: sense key Medium Error

Feb 15 23:20:11 localhost kernel: Additional sense: Cannot read medium - unknown format

Feb 15 23:20:11 localhost kernel: sda: Write Protect is off

Feb 15 23:20:11 localhost kernel: sda: assuming drive cache: write through

Feb 15 23:20:12 localhost kernel: sda: Unit Not Ready, sense:

Feb 15 23:20:12 localhost kernel: Current : sense key Medium Error

Feb 15 23:20:12 localhost kernel: Additional sense: Cannot read medium - unknown format

Feb 15 23:20:12 localhost kernel: sda : READ CAPACITY failed.

Feb 15 23:20:12 localhost kernel: sda : status=1, message=00, host=0, driver=08

Feb 15 23:20:12 localhost kernel: Current sd: sense key Medium Error

Feb 15 23:20:12 localhost kernel: Additional sense: Cannot read medium - unknown format

 

I don't know whether it is a problem with SCSI under linux, or it is a aspi wine problem.

Can anyone help me?

Jeroen.

jeroendeswaef at gmail.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-users/attachments/20060220/fb8486dd/attachment.htm


More information about the wine-users mailing list