cdrw firmware update

Florian Müller flo at flo.s-s-f.de
Mon May 21 09:39:35 CDT 2001


On 20 May 2001, Uwe Bonnes <bon at elektron.ikp.physik.tu-darmstadt.de> wrote:

>: The cdrw is connected to the 2nd port as slave and used with the ide-scsi
>: emulation driver.
> 
>: Thank you and I hope you can help me...
> 
> --debugmsg +relay,+aspi might be a good start.

In the following logs I've used +aspi, since +relay produces lots of
similar lines. But if anybody is interessted in, I can put them on my
homepage. 

Here are the first lines where the ide-scsi-device seems to be initialized:

trace:aspi:SCSI_printprocentry Host: scsi0 Channel: 00 Id: 00 Lun: 00
trace:aspi:SCSI_printprocentry   Vendor:  Model: ATAPI CDROM   Rev: 130M
trace:aspi:SCSI_printprocentry   Type:  CD-ROM  ANSI SCSI revision: 02
trace:aspi:SCSI_printprocentry Host: scsi0 Channel: 00 Id: 01 Lun: 00
trace:aspi:SCSI_printprocentry   Vendor: IDE-CD  Model: R/RW 8x4x32  Rev:  1.1
trace:aspi:SCSI_printprocentry  Type:  CD-ROM  ANSI SCSI revision: 02
trace:aspi:ASPI_GetNumControllers Returning 1 host adapters
fixme:aspi:SendASPI32Command ASPI: Partially implemented SC_HA_INQUIRY 
for adapter 0.
trace:aspi:ASPI_DebugPrintCmd INQUIRY {
trace:aspi:ASPI_DebugPrintCmd 	EVPD: 0
trace:aspi:ASPI_DebugPrintCmd 	LUN: 0
trace:aspi:ASPI_DebugPrintCmd 	PAGE CODE: 0
trace:aspi:ASPI_DebugPrintCmd 	ALLOCATION LENGTH: 200
trace:aspi:ASPI_DebugPrintCmd 	CONTROL: 0
trace:aspi:ASPI_DebugPrintCmd }
trace:aspi:ASPI_DebugPrintCmd Host Adapter: 0
trace:aspi:ASPI_DebugPrintCmd Flags: 8
trace:aspi:ASPI_DebugPrintCmd 	Data transfer: Target to host. Length checked.
trace:aspi:ASPI_DebugPrintCmd 	Residual byte length reporting disabled
trace:aspi:ASPI_DebugPrintCmd 	Linking disabled
trace:aspi:ASPI_DebugPrintCmd 	Posting disabled
trace:aspi:ASPI_DebugPrintCmd Target: 0
trace:aspi:ASPI_DebugPrintCmd Lun: 0
trace:aspi:ASPI_DebugPrintCmd BufLen: 200
trace:aspi:ASPI_DebugPrintCmd SenseLen: 0
trace:aspi:ASPI_DebugPrintCmd BufPtr: 0x405a6be0
trace:aspi:ASPI_DebugPrintCmd CDB Length: 6
trace:aspi:ASPI_DebugPrintCmd POST Proc: 0
CDB buffer[12,00,00,00,c8,00]
trace:aspi:SCSI_GetDeviceName scsi h00c00t00d00: Device name: /dev/sga
trace:aspi:SCSI_OpenDevice Opening device /dev/sga mode O_RDWR
trace:aspi:SCSI_LinuxSetTimeout Setting timeout to 30000 jiffies
trace:aspi:SCSI_LinuxDeviceIo Writing to Linux sg device
trace:aspi:SCSI_LinuxDeviceIo Reading reply from Linux sg device
trace:aspi:ASPI_DebugPrintResult SRB_Status: 0
trace:aspi:ASPI_DebugPrintResult SRB_HaStat: 0
trace:aspi:ASPI_DebugPrintResult SRB_TargStat: 0
trace:aspi:ASPI_DebugPrintResult Vendor: ' ATAPI CDROM 130M400D-m ÍC40X-1  K
'
trace:aspi:SendASPI32Command returning devicetype 5 for target 0
trace:aspi:ASPI_DebugPrintCmd INQUIRY {
trace:aspi:ASPI_DebugPrintCmd 	EVPD: 0
trace:aspi:ASPI_DebugPrintCmd 	LUN: 0
trace:aspi:ASPI_DebugPrintCmd 	PAGE CODE: 0
trace:aspi:ASPI_DebugPrintCmd 	ALLOCATION LENGTH: 36
trace:aspi:ASPI_DebugPrintCmd 	CONTROL: 0
trace:aspi:ASPI_DebugPrintCmd }
trace:aspi:ASPI_DebugPrintCmd Host Adapter: 0
trace:aspi:ASPI_DebugPrintCmd Flags: 72
trace:aspi:ASPI_DebugPrintCmd 	Data transfer: Target to host. Length checked.
trace:aspi:ASPI_DebugPrintCmd 	Residual byte length reporting disabled
trace:aspi:ASPI_DebugPrintCmd 	Linking disabled
trace:aspi:ASPI_DebugPrintCmd 	Posting disabled
trace:aspi:ASPI_DebugPrintCmd Target: 0
trace:aspi:ASPI_DebugPrintCmd Lun: 0
trace:aspi:ASPI_DebugPrintCmd BufLen: 36
trace:aspi:ASPI_DebugPrintCmd SenseLen: 18
trace:aspi:ASPI_DebugPrintCmd BufPtr: 0x47a730
trace:aspi:ASPI_DebugPrintCmd CDB Length: 6
trace:aspi:ASPI_DebugPrintCmd POST Proc: 44
CDB buffer[12,00,00,00,24,00]
trace:aspi:SCSI_LinuxDeviceIo Writing to Linux sg device
trace:aspi:SCSI_LinuxDeviceIo Reading reply from Linux sg device
CDB[12,00,00,00,24,00]
Request Sense reports:
	Invalid sense header: 0x00 instead of 0x70
trace:aspi:ASPI_DebugPrintResult SRB_Status: 0
trace:aspi:ASPI_DebugPrintResult SRB_HaStat: 0
trace:aspi:ASPI_DebugPrintResult SRB_TargStat: 0
trace:aspi:ASPI_DebugPrintResult Vendor: '        ATAPI CDROM     130M'
trace:aspi:WNASPI32_DoPosting Setting event 0044
trace:aspi:ASPI_DebugPrintCmd INQUIRY {
trace:aspi:ASPI_DebugPrintCmd 	EVPD: 0
trace:aspi:ASPI_DebugPrintCmd 	LUN: 0
trace:aspi:ASPI_DebugPrintCmd 	PAGE CODE: 0
trace:aspi:ASPI_DebugPrintCmd 	ALLOCATION LENGTH: 200
trace:aspi:ASPI_DebugPrintCmd 	CONTROL: 0
trace:aspi:ASPI_DebugPrintCmd }
trace:aspi:ASPI_DebugPrintCmd Host Adapter: 0
trace:aspi:ASPI_DebugPrintCmd Flags: 8
trace:aspi:ASPI_DebugPrintCmd 	Data transfer: Target to host. Length checked.
trace:aspi:ASPI_DebugPrintCmd 	Residual byte length reporting disabled
trace:aspi:ASPI_DebugPrintCmd 	Linking disabled
trace:aspi:ASPI_DebugPrintCmd 	Posting disabled
trace:aspi:ASPI_DebugPrintCmd Target: 1
trace:aspi:ASPI_DebugPrintCmd Lun: 0
trace:aspi:ASPI_DebugPrintCmd BufLen: 200
trace:aspi:ASPI_DebugPrintCmd SenseLen: 0
trace:aspi:ASPI_DebugPrintCmd BufPtr: 0x405a6be0
trace:aspi:ASPI_DebugPrintCmd CDB Length: 6
trace:aspi:ASPI_DebugPrintCmd POST Proc: 0
CDB buffer[12,00,00,00,c8,00]
trace:aspi:SCSI_GetDeviceName scsi h00c00t01d00: Device name: /dev/sgb
trace:aspi:SCSI_OpenDevice Opening device /dev/sgb mode O_RDWR
trace:aspi:SCSI_LinuxSetTimeout Setting timeout to 30000 jiffies
trace:aspi:SCSI_LinuxDeviceIo Writing to Linux sg device
trace:aspi:SCSI_LinuxDeviceIo Reading reply from Linux sg device
trace:aspi:ASPI_DebugPrintResult SRB_Status: 0
trace:aspi:ASPI_DebugPrintResult SRB_HaStat: 0
trace:aspi:ASPI_DebugPrintResult SRB_TargStat: 0
trace:aspi:ASPI_DebugPrintResult Vendor: 'IDE-CD  R/RW 8x4x32      
1.14VO2018DH01247  0022ion(410b1830) ret=0044f6bd'
trace:aspi:SendASPI32Command returning devicetype 5 for target 1
trace:aspi:ASPI_DebugPrintCmd INQUIRY {
trace:aspi:ASPI_DebugPrintCmd 	EVPD: 0
trace:aspi:ASPI_DebugPrintCmd 	LUN: 0
trace:aspi:ASPI_DebugPrintCmd 	PAGE CODE: 0
trace:aspi:ASPI_DebugPrintCmd 	ALLOCATION LENGTH: 36
trace:aspi:ASPI_DebugPrintCmd 	CONTROL: 0
trace:aspi:ASPI_DebugPrintCmd }
trace:aspi:ASPI_DebugPrintCmd Host Adapter: 0
trace:aspi:ASPI_DebugPrintCmd Flags: 72
trace:aspi:ASPI_DebugPrintCmd 	Data transfer: Target to host. Length checked.
trace:aspi:ASPI_DebugPrintCmd 	Residual byte length reporting disabled
trace:aspi:ASPI_DebugPrintCmd 	Linking disabled
trace:aspi:ASPI_DebugPrintCmd 	Posting disabled
trace:aspi:ASPI_DebugPrintCmd Target: 1
trace:aspi:ASPI_DebugPrintCmd Lun: 0
trace:aspi:ASPI_DebugPrintCmd BufLen: 36
trace:aspi:ASPI_DebugPrintCmd SenseLen: 18
trace:aspi:ASPI_DebugPrintCmd BufPtr: 0x47a730
trace:aspi:ASPI_DebugPrintCmd CDB Length: 6
trace:aspi:ASPI_DebugPrintCmd POST Proc: 44
CDB buffer[12,00,00,00,24,00]
trace:aspi:SCSI_LinuxDeviceIo Writing to Linux sg device
trace:aspi:SCSI_LinuxDeviceIo Reading reply from Linux sg device
CDB[12,00,00,00,24,00]
Request Sense reports:
	Invalid sense header: 0x00 instead of 0x70
trace:aspi:ASPI_DebugPrintResult SRB_Status: 0
trace:aspi:ASPI_DebugPrintResult SRB_HaStat: 0
trace:aspi:ASPI_DebugPrintResult SRB_TargStat: 0
trace:aspi:ASPI_DebugPrintResult Vendor: 'IDE-CD  R/RW 8x4x32      1.1'
trace:aspi:WNASPI32_DoPosting Setting event 0044
trace:aspi:ASPI_DebugPrintCmd INQUIRY {
trace:aspi:ASPI_DebugPrintCmd 	EVPD: 0
trace:aspi:ASPI_DebugPrintCmd 	LUN: 0
trace:aspi:ASPI_DebugPrintCmd 	PAGE CODE: 0
trace:aspi:ASPI_DebugPrintCmd 	ALLOCATION LENGTH: 200
trace:aspi:ASPI_DebugPrintCmd 	CONTROL: 0
trace:aspi:ASPI_DebugPrintCmd }
trace:aspi:ASPI_DebugPrintCmd Host Adapter: 0
trace:aspi:ASPI_DebugPrintCmd Flags: 8
trace:aspi:ASPI_DebugPrintCmd 	Data transfer: Target to host. Length checked.
trace:aspi:ASPI_DebugPrintCmd 	Residual byte length reporting disabled
trace:aspi:ASPI_DebugPrintCmd 	Linking disabled
trace:aspi:ASPI_DebugPrintCmd 	Posting disabled
trace:aspi:ASPI_DebugPrintCmd Target: 2
trace:aspi:ASPI_DebugPrintCmd Lun: 0
trace:aspi:ASPI_DebugPrintCmd BufLen: 200
trace:aspi:ASPI_DebugPrintCmd SenseLen: 0
trace:aspi:ASPI_DebugPrintCmd BufPtr: 0x405a6be0
trace:aspi:ASPI_DebugPrintCmd CDB Length: 6
trace:aspi:ASPI_DebugPrintCmd POST Proc: 0
CDB buffer[12,00,00,00,c8,00]
warn:aspi:SCSI_GetDeviceName Could not query value 
HKEY_DYN_DATA\WineScsi\h00c00t02d00
warn:aspi:SCSI_OpenDevice Could not get device name for h00c00t02d00
trace:aspi:SendASPI32Command returning devicetype 0 for target 2
trace:aspi:ASPI_DebugPrintCmd INQUIRY {
trace:aspi:ASPI_DebugPrintCmd 	EVPD: 0
trace:aspi:ASPI_DebugPrintCmd 	LUN: 0
trace:aspi:ASPI_DebugPrintCmd 	PAGE CODE: 0
trace:aspi:ASPI_DebugPrintCmd 	ALLOCATION LENGTH: 200
trace:aspi:ASPI_DebugPrintCmd 	CONTROL: 0
trace:aspi:ASPI_DebugPrintCmd }
trace:aspi:ASPI_DebugPrintCmd Host Adapter: 0
trace:aspi:ASPI_DebugPrintCmd Flags: 8
trace:aspi:ASPI_DebugPrintCmd 	Data transfer: Target to host. Length checked.
trace:aspi:ASPI_DebugPrintCmd 	Residual byte length reporting disabled
trace:aspi:ASPI_DebugPrintCmd 	Linking disabled
trace:aspi:ASPI_DebugPrintCmd 	Posting disabled
trace:aspi:ASPI_DebugPrintCmd Target: 3
trace:aspi:ASPI_DebugPrintCmd Lun: 0
trace:aspi:ASPI_DebugPrintCmd BufLen: 200
trace:aspi:ASPI_DebugPrintCmd SenseLen: 0
trace:aspi:ASPI_DebugPrintCmd BufPtr: 0x405a6be0
trace:aspi:ASPI_DebugPrintCmd CDB Length: 6
trace:aspi:ASPI_DebugPrintCmd POST Proc: 0
CDB buffer[12,00,00,00,c8,00]
warn:aspi:SCSI_GetDeviceName Could not query value 
HKEY_DYN_DATA\WineScsi\h00c00t03d00
warn:aspi:SCSI_OpenDevice Could not get device name for h00c00t03d00


And now the output after the continue-button was pushed: 


trace:aspi:ASPI_DebugPrintCmd 	EVPD: 0
trace:aspi:ASPI_DebugPrintCmd 	LUN: 0
trace:aspi:ASPI_DebugPrintCmd 	PAGE CODE: 0
trace:aspi:ASPI_DebugPrintCmd 	ALLOCATION LENGTH: 56
trace:aspi:ASPI_DebugPrintCmd 	CONTROL: 0
trace:aspi:ASPI_DebugPrintCmd }
trace:aspi:ASPI_DebugPrintCmd Host Adapter: 0
trace:aspi:ASPI_DebugPrintCmd Flags: 72
trace:aspi:ASPI_DebugPrintCmd 	Data transfer: Target to host. Length checked.
trace:aspi:ASPI_DebugPrintCmd 	Residual byte length reporting disabled
trace:aspi:ASPI_DebugPrintCmd 	Linking disabled
trace:aspi:ASPI_DebugPrintCmd 	Posting disabled
trace:aspi:ASPI_DebugPrintCmd Target: 0
trace:aspi:ASPI_DebugPrintCmd Lun: 0
trace:aspi:ASPI_DebugPrintCmd BufLen: 56
trace:aspi:ASPI_DebugPrintCmd SenseLen: 18
trace:aspi:ASPI_DebugPrintCmd BufPtr: 0x47a730
trace:aspi:ASPI_DebugPrintCmd CDB Length: 6
trace:aspi:ASPI_DebugPrintCmd POST Proc: 44
CDB buffer[12,00,00,00,38,00]
trace:aspi:SCSI_LinuxDeviceIo Writing to Linux sg device
trace:aspi:SCSI_LinuxDeviceIo Reading reply from Linux sg device
CDB[12,00,00,00,38,00]
Request Sense reports:
	Invalid sense header: 0x00 instead of 0x70
trace:aspi:ASPI_DebugPrintResult SRB_Status: 0
trace:aspi:ASPI_DebugPrintResult SRB_HaStat: 0
trace:aspi:ASPI_DebugPrintResult SRB_TargStat: 0
trace:aspi:ASPI_DebugPrintResult Vendor: ' ATAPI CDROM  130M400D-m  ÍC40X-1  '
trace:aspi:WNASPI32_DoPosting Setting event 0044
fixme:aspi:SendASPI32Command ASPI: Partially implemented SC_HA_INQUIRY for 
adapter 0.
trace:aspi:ASPI_DebugPrintCmd INQUIRY {
trace:aspi:ASPI_DebugPrintCmd 	EVPD: 0
trace:aspi:ASPI_DebugPrintCmd 	LUN: 0
trace:aspi:ASPI_DebugPrintCmd 	PAGE CODE: 0
trace:aspi:ASPI_DebugPrintCmd 	ALLOCATION LENGTH: 56
trace:aspi:ASPI_DebugPrintCmd 	CONTROL: 0
trace:aspi:ASPI_DebugPrintCmd }
trace:aspi:ASPI_DebugPrintCmd Host Adapter: 0
trace:aspi:ASPI_DebugPrintCmd Flags: 72
trace:aspi:ASPI_DebugPrintCmd 	Data transfer: Target to host. Length checked.
trace:aspi:ASPI_DebugPrintCmd 	Residual byte length reporting disabled
trace:aspi:ASPI_DebugPrintCmd 	Linking disabled
trace:aspi:ASPI_DebugPrintCmd 	Posting disabled
trace:aspi:ASPI_DebugPrintCmd Target: 1
trace:aspi:ASPI_DebugPrintCmd Lun: 0
trace:aspi:ASPI_DebugPrintCmd BufLen: 56
trace:aspi:ASPI_DebugPrintCmd SenseLen: 18
trace:aspi:ASPI_DebugPrintCmd BufPtr: 0x47a730
trace:aspi:ASPI_DebugPrintCmd CDB Length: 6
trace:aspi:ASPI_DebugPrintCmd POST Proc: 44
CDB buffer[12,00,00,00,38,00]
trace:aspi:SCSI_LinuxDeviceIo Writing to Linux sg device
trace:aspi:SCSI_LinuxDeviceIo Reading reply from Linux sg device
CDB[12,00,00,00,38,00]
Request Sense reports:
	Invalid sense header: 0x00 instead of 0x70
trace:aspi:ASPI_DebugPrintResult SRB_Status: 0
trace:aspi:ASPI_DebugPrintResult SRB_HaStat: 0
trace:aspi:ASPI_DebugPrintResult SRB_TargStat: 0
trace:aspi:ASPI_DebugPrintResult Vendor: 'IDE-CD  R/RW 
8x4x32      1.14VO2018DH01247  0022'
trace:aspi:WNASPI32_DoPosting Setting event 0044
fixme:aspi:SendASPI32Command ASPI: Partially implemented SC_HA_INQUIRY for 
adapter 0.
trace:aspi:ASPI_DebugPrintCmd Host Adapter: 0
trace:aspi:ASPI_DebugPrintCmd Flags: 64
warn:aspi:ASPI_DebugPrintCmd 	Transfer by scsi cmd. Length not checked.
trace:aspi:ASPI_DebugPrintCmd 	Residual byte length reporting disabled
trace:aspi:ASPI_DebugPrintCmd 	Linking disabled
trace:aspi:ASPI_DebugPrintCmd 	Posting disabled
trace:aspi:ASPI_DebugPrintCmd Target: 1
trace:aspi:ASPI_DebugPrintCmd Lun: 0
trace:aspi:ASPI_DebugPrintCmd BufLen: 0
trace:aspi:ASPI_DebugPrintCmd SenseLen: 18
trace:aspi:ASPI_DebugPrintCmd BufPtr: (nil)
trace:aspi:ASPI_DebugPrintCmd CDB Length: 12
trace:aspi:ASPI_DebugPrintCmd POST Proc: 44
CDB buffer[00,01,00,00,00,00,00,00,00,00,00,00]
trace:aspi:SCSI_Fix_CMD_LEN CDBLen for command 0 claims to be 12, expected 6
trace:aspi:SCSI_LinuxDeviceIo Writing to Linux sg device
trace:aspi:SCSI_LinuxDeviceIo Reading reply from Linux sg device
CDB[00,01,00,00,00,00,00,00,00,00,00,00]
Request Sense reports:
	Current command read filemark: no
	Early warning passed: no
	Incorrect blocklength: no
	Sense Key: 2
	Additional Sense Length: 19
	Additional Sense Code: 58
	Additional Sense Code Qualifier: 0
SenseArea[70,00,02,00,00,00,00,13,00,00,00,00,3a,00,00,00,00,00]
trace:aspi:ASPI_DebugPrintResult SRB_Status: 0
trace:aspi:ASPI_DebugPrintResult SRB_HaStat: 0
trace:aspi:ASPI_DebugPrintResult SRB_TargStat: 0
Request Sense reports:
	Current command read filemark: no
	Early warning passed: no
	Incorrect blocklength: no
	Sense Key: 2
	Additional Sense Length: 19
	Additional Sense Code: 58
	Additional Sense Code Qualifier: 0
SenseArea[70,00,02,00,00,00,00,13,00,00,00,00,3a,00,00,00,00,00]
trace:aspi:WNASPI32_DoPosting Setting event 0044



> And have the phone number of the drive manufacturer handy if you screw
> up the drive beyonf repair...
Can I really damage the drive or would it be possible to flash the firmware
by installing windows again after crashing?

Bye, Flo
-- 
I hope I didn't post too much lines, sorry.



More information about the wine-users mailing list