Al Savage
2013-02-08 17:42:38 UTC
It's hard to summarize these things in a terse fashion.
Summary:
Attempting to use SANE's scanimage.exe locks up the computer hard. No
POPUPLOG entry, no trap screen. The eCenter CPU load freezes, as does
the clock, and the mouse doesn't move, all I can do is pull the power
cord. Same problem on two identical computers (but differing version of
OS, different SCSI HAs and cables). Both computers can boot WinXP and
are able to scan well using TWAIN & PMView there.
Details:
I'd been all-SCSI until two years ago, when I went all-SATA, except for
two old large-format SCSI scanners. I gave away all my SCSI HDDs and
HAs, keeping only three HAs for these two scanners.
The HAs are Adaptec 2940UW Pro and 2930B.
I use the 2002 driver AIC7870.ADD v10.1.3
The HA BIOSs have been updated to the latest level for many years.
The last SANE that worked here was the 1.0.22 of Nov2011; I had not
tried the later Jan/Feb2012 release.
The scanner has an "In" and "Out" port. I've always had a separate,
expensive active terminator (with LED indicator) on the "Out" port.
As there is only the scanner on the SCSI chain on either computer, I
have set the 2930B & 2940UW Pro to Termination Enable for the adapter.
Automatic has worked fine in the past, though.
I've also turned off "Allow Disconnect/Reconnect" in the adapter
settings, and tried different SCSI bus speeds, and tried toggling "Auto
Negotiation" of bus width.
Recently, I migrated my W4 (FP17 HPFS386) box to newer hardware. In the
process, many OS files had to be changed. I needed APIC to work. I had
to move the kernel from 14.104 to 14.105_SMP, etc. Memory went from 1Gb
to 2Gb.
I've been attempting to get the scanners working with the same version
of SANE (or any version) and the new hardware. After a number of hours,
I also set up an eCS box with SCSI and SANE and tried from there as
well. Both boxes exhibit the same problem of a hard system hang at a
certain point after running sane-find-scanner or scanimage.
After trying two older sane releases (.15 & .18), for recent testing
I've been sticking with the last port: 1.0.22-os2-20120131 and the eCS
box.
I added these to CONFIG.SYS (without the versioning comments):
REM *** 07Feb2013 Added SCSI support for AHA2940 family
basedev=AIC7870.ADD /V (v10.1.3)
BASEDEV=OS2SCSI.DMD (v10.70)
BASEDEV=OS2ASPI.DMD /ALL (v10.70)
DEVICE=c:\OS2\BOOT\ASPIROUT.SYS /v (v1.1b10)
I'm using:
SET SANE_DEBUG_DLL=255
SET SANE_DEBUG_SANEI_SCSI=255
SET SANE_DEBUG_MUSTEK=255
SET SANE_DEBUG_SANEI_THREAD=255
I can't take screenshots when it's hung, so I resorted to a camera. I've
commented out everything in dll.conf except my scanner:
scanimage -L
Loading Image...
At the time of the screenshots, the system is dead-dead; all I can do is
pull the power cord.
I ran ASPIROUT.SYS' ASPIDBUG.exe /F and captured a log of the ASPI
interaction prior to a system hang:
1: Set buffer (pre): 02E7:0000
1: Set buffer (post): Status 0x0000; RC: 0
2: Send SRB (pre): 02DF:21A0; Inquiry; HA: 0; Ext. sig: 0x0000; Ext.
length: 0
2: Send SRB (post): Status 0x0000; SRB Status: 0x01
Num HA: 2; HA ID: 7; Ext. sig: 0x0000; Ext. length: 0
AspiMgr: 'OS2ASPI Dev Mgr '; Host: ''; Unique: ''
3: Send SRB (pre): 02DF:21A0; Inquiry; HA: 0; Ext. sig: 0x0000; Ext.
length: 0
3: Send SRB (post): Status 0x0000; SRB Status: 0x01
Num HA: 2; HA ID: 7; Ext. sig: 0x0000; Ext. length: 0
AspiMgr: 'OS2ASPI Dev Mgr '; Host: ''; Unique: ''
4: Send SRB (pre): 02DF:21A0; Device Type; HA,ID,LUN: 0,0,0
Ext. sig: 0x0000; Ext. length: 0
4: Send SRB (post): Status 0x0000; SRB Status: 0x82
5: Send SRB (pre): 02DF:21A0; Device Type; HA,ID,LUN: 0,1,0
Ext. sig: 0x0000; Ext. length: 0
5: Send SRB (post): Status 0x0000; SRB Status: 0x82
6: Send SRB (pre): 02DF:21A0; Device Type; HA,ID,LUN: 0,2,0
Ext. sig: 0x0000; Ext. length: 0
6: Send SRB (post): Status 0x0000; SRB Status: 0x82
7: Send SRB (pre): 02DF:21A0; Device Type; HA,ID,LUN: 0,3,0
Ext. sig: 0x0000; Ext. length: 0
7: Send SRB (post): Status 0x0000; SRB Status: 0x82
8: Send SRB (pre): 02DF:21A0; Device Type; HA,ID,LUN: 0,4,0
Ext. sig: 0x0000; Ext. length: 0
8: Send SRB (post): Status 0x0000; SRB Status: 0x82
9: Send SRB (pre): 02DF:21A0; Device Type; HA,ID,LUN: 0,5,0
Ext. sig: 0x0000; Ext. length: 0
9: Send SRB (post): Status 0x0000; SRB Status: 0x82
10: Send SRB (pre): 02DF:21A0; Device Type; HA,ID,LUN: 0,6,0
Ext. sig: 0x0000; Ext. length: 0
10: Send SRB (post): Status 0x0000; SRB Status: 0x01; Device Type: 6
Ext. sig: 0x0000; Ext. length: 0
11: Send SRB (pre): 02DF:21A0; Command; HA,ID,LUN: 0,6,0; Flags: 0x09
Data pointer: 0000:0000; Data length: 5; Sense length: 32; CDB length: 6
CDB (Unknown command): 12 00 00 00 05 00
[system hang]
The scanner is the only SCSI device, and it's ID is 6,0, so that looks
correct right up to entry 11.
Entry 11's DBD's command is 12 (INQUIRY), and the system hangs before a
response is found.
Anybody know where I should be looking next?
Summary:
Attempting to use SANE's scanimage.exe locks up the computer hard. No
POPUPLOG entry, no trap screen. The eCenter CPU load freezes, as does
the clock, and the mouse doesn't move, all I can do is pull the power
cord. Same problem on two identical computers (but differing version of
OS, different SCSI HAs and cables). Both computers can boot WinXP and
are able to scan well using TWAIN & PMView there.
Details:
I'd been all-SCSI until two years ago, when I went all-SATA, except for
two old large-format SCSI scanners. I gave away all my SCSI HDDs and
HAs, keeping only three HAs for these two scanners.
The HAs are Adaptec 2940UW Pro and 2930B.
I use the 2002 driver AIC7870.ADD v10.1.3
The HA BIOSs have been updated to the latest level for many years.
The last SANE that worked here was the 1.0.22 of Nov2011; I had not
tried the later Jan/Feb2012 release.
The scanner has an "In" and "Out" port. I've always had a separate,
expensive active terminator (with LED indicator) on the "Out" port.
As there is only the scanner on the SCSI chain on either computer, I
have set the 2930B & 2940UW Pro to Termination Enable for the adapter.
Automatic has worked fine in the past, though.
I've also turned off "Allow Disconnect/Reconnect" in the adapter
settings, and tried different SCSI bus speeds, and tried toggling "Auto
Negotiation" of bus width.
Recently, I migrated my W4 (FP17 HPFS386) box to newer hardware. In the
process, many OS files had to be changed. I needed APIC to work. I had
to move the kernel from 14.104 to 14.105_SMP, etc. Memory went from 1Gb
to 2Gb.
I've been attempting to get the scanners working with the same version
of SANE (or any version) and the new hardware. After a number of hours,
I also set up an eCS box with SCSI and SANE and tried from there as
well. Both boxes exhibit the same problem of a hard system hang at a
certain point after running sane-find-scanner or scanimage.
After trying two older sane releases (.15 & .18), for recent testing
I've been sticking with the last port: 1.0.22-os2-20120131 and the eCS
box.
I added these to CONFIG.SYS (without the versioning comments):
REM *** 07Feb2013 Added SCSI support for AHA2940 family
basedev=AIC7870.ADD /V (v10.1.3)
BASEDEV=OS2SCSI.DMD (v10.70)
BASEDEV=OS2ASPI.DMD /ALL (v10.70)
DEVICE=c:\OS2\BOOT\ASPIROUT.SYS /v (v1.1b10)
I'm using:
SET SANE_DEBUG_DLL=255
SET SANE_DEBUG_SANEI_SCSI=255
SET SANE_DEBUG_MUSTEK=255
SET SANE_DEBUG_SANEI_THREAD=255
I can't take screenshots when it's hung, so I resorted to a camera. I've
commented out everything in dll.conf except my scanner:
scanimage -L
Loading Image...
At the time of the screenshots, the system is dead-dead; all I can do is
pull the power cord.
I ran ASPIROUT.SYS' ASPIDBUG.exe /F and captured a log of the ASPI
interaction prior to a system hang:
1: Set buffer (pre): 02E7:0000
1: Set buffer (post): Status 0x0000; RC: 0
2: Send SRB (pre): 02DF:21A0; Inquiry; HA: 0; Ext. sig: 0x0000; Ext.
length: 0
2: Send SRB (post): Status 0x0000; SRB Status: 0x01
Num HA: 2; HA ID: 7; Ext. sig: 0x0000; Ext. length: 0
AspiMgr: 'OS2ASPI Dev Mgr '; Host: ''; Unique: ''
3: Send SRB (pre): 02DF:21A0; Inquiry; HA: 0; Ext. sig: 0x0000; Ext.
length: 0
3: Send SRB (post): Status 0x0000; SRB Status: 0x01
Num HA: 2; HA ID: 7; Ext. sig: 0x0000; Ext. length: 0
AspiMgr: 'OS2ASPI Dev Mgr '; Host: ''; Unique: ''
4: Send SRB (pre): 02DF:21A0; Device Type; HA,ID,LUN: 0,0,0
Ext. sig: 0x0000; Ext. length: 0
4: Send SRB (post): Status 0x0000; SRB Status: 0x82
5: Send SRB (pre): 02DF:21A0; Device Type; HA,ID,LUN: 0,1,0
Ext. sig: 0x0000; Ext. length: 0
5: Send SRB (post): Status 0x0000; SRB Status: 0x82
6: Send SRB (pre): 02DF:21A0; Device Type; HA,ID,LUN: 0,2,0
Ext. sig: 0x0000; Ext. length: 0
6: Send SRB (post): Status 0x0000; SRB Status: 0x82
7: Send SRB (pre): 02DF:21A0; Device Type; HA,ID,LUN: 0,3,0
Ext. sig: 0x0000; Ext. length: 0
7: Send SRB (post): Status 0x0000; SRB Status: 0x82
8: Send SRB (pre): 02DF:21A0; Device Type; HA,ID,LUN: 0,4,0
Ext. sig: 0x0000; Ext. length: 0
8: Send SRB (post): Status 0x0000; SRB Status: 0x82
9: Send SRB (pre): 02DF:21A0; Device Type; HA,ID,LUN: 0,5,0
Ext. sig: 0x0000; Ext. length: 0
9: Send SRB (post): Status 0x0000; SRB Status: 0x82
10: Send SRB (pre): 02DF:21A0; Device Type; HA,ID,LUN: 0,6,0
Ext. sig: 0x0000; Ext. length: 0
10: Send SRB (post): Status 0x0000; SRB Status: 0x01; Device Type: 6
Ext. sig: 0x0000; Ext. length: 0
11: Send SRB (pre): 02DF:21A0; Command; HA,ID,LUN: 0,6,0; Flags: 0x09
Data pointer: 0000:0000; Data length: 5; Sense length: 32; CDB length: 6
CDB (Unknown command): 12 00 00 00 05 00
[system hang]
The scanner is the only SCSI device, and it's ID is 6,0, so that looks
correct right up to entry 11.
Entry 11's DBD's command is 12 (INQUIRY), and the system hangs before a
response is found.
Anybody know where I should be looking next?
--
Regards,
Al S.
Regards,
Al S.