[sane-devel] (no subject)

V K list0570 at paradise.net.nz
Thu May 2 22:01:58 BST 2002


Ok, herewith I join the long list of people having this trouble.

Scanner: HP Scanjet 4P, SCSI
card: Buslogic BT-54xC  (ISA)
SuSE Linux 7.3 i386
sane 1.0.5 from the distribution
host CPU: P-III 450

> uname -a
Linux ruru 2.4.16-4GB #1 Mon Apr 15 08:57:26 GMT 2002 i686 unknown

> cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: HP       Model: C1130A           Rev: 3540
  Type:   Processor                        ANSI SCSI revision: 02

> cdrecord -scanbus
Cdrecord 1.10a04 (i486-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
Linux sg driver version: 3.1.20
Using libscg version 'schily-0.4'
scsibus0:
        0,0,0     0) *
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) 'HP      ' 'C1130A          ' '3540' Processor
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

> cat /etc/sane.d/hp.conf
scsi HP
/dev/sg0
option connect-scsi
option disable-scsi-request  # this make no difference

> cat /etc/sane.d/dll.conf
hp

> sane-find-scanner 
...
sane-find-scanner: found processor "HP C1130A 3540" at device /dev/sg0

> scanimage -d hp:/dev/sg0
scanimage: open of device hp:/dev/sg0 failed: Error during device I/O

With the card's bios (ctrl-B during boot) I set "fast transfers = no",
"negotiate synchronous = no", "negotiate disconnect = no". No
difference.

I then compiled sane-1.0.7 backend, but no difference. The following
output is from 1.0.7. If anyone has any ideas I'd really appreciate
them... thanks.


> env SANE_DEBUG_HP=255 /tmp/sane/bin/scanimage -d hp:/dev/sg0
[sanei_debug] Setting debug level of hp to 255.
[hp] sane_init called
[hp] sane_init will finish with Success
[hp] sane_open called
[hp] hp_read_config: hp backend v0.95 starts reading config file
[hp] hp_read_config: processing line <scsi HP>
[hp] hp_read_config: processing line </dev/sg0>
[hp] hp_read_config: attach scsi HP
[hp] hp_get_dev: New device /dev/sg0, connect-scsi, scsi-request=1
[hp] sanei_hp_device_new: /dev/sg0
[hp] scsi_inquire: sending INQUIRE
[hp] scsi_new: sending TEST_UNIT_READY
[hp] scsi_flush: writing 2 bytes:
[hp]  0x0000  1B 45                                            .E
[hp] scsi_flush: writing 7 bytes:
[hp]  0x0000  1B 2A 73 32 35 37 45                             .*s257E
[hp] scl_inq: read failed (Error during device I/O)
[hp] scl_errcheck: Can't read SCL error stack: Error during device I/O
[hp] sanei_hp_device_new: SCL reset failed
[hp] scsi_close: closing fd 5
[hp] hp_read_config: processing line <option connect-scsi>
[hp] hp_read_config: processing line <#option connect-device>
[hp] hp_read_config: processing line <option disable-scsi-request>
[hp] hp_read_config: attach /dev/sg0
[hp] hp_get_dev: New device /dev/sg0, connect-scsi, scsi-request=0
[hp] sanei_hp_device_new: /dev/sg0
[hp] scsi_inquire: sending INQUIRE
[hp] scsi_new: sending TEST_UNIT_READY
[hp] scsi_flush: writing 2 bytes:
[hp]  0x0000  1B 45                                            .E
[hp] scsi_flush: writing 7 bytes:
[hp]  0x0000  1B 2A 73 32 35 37 45                             .*s257E
[hp] scl_inq: read failed (Error during device I/O)
[hp] scl_errcheck: Can't read SCL error stack: Error during device I/O
[hp] sanei_hp_device_new: SCL reset failed
[hp] scsi_close: closing fd 4
[hp] hp_get_dev: New device /dev/sg0, connect-scsi, scsi-request=0
[hp] sanei_hp_device_new: /dev/sg0
[hp] scsi_inquire: sending INQUIRE
[hp] scsi_new: sending TEST_UNIT_READY
[hp] scsi_flush: writing 2 bytes:
[hp]  0x0000  1B 45                                            .E
[hp] scsi_flush: writing 7 bytes:
[hp]  0x0000  1B 2A 73 32 35 37 45                             .*s257E
[hp] scl_inq: read failed (Error during device I/O)
[hp] scl_errcheck: Can't read SCL error stack: Error during device I/O
[hp] sanei_hp_device_new: SCL reset failed
[hp] scsi_close: closing fd 3
scanimage: open of device hp:/dev/sg0 failed: Error during device I/O
[hp] sane_exit called
[hp] sane_exit will finish


> env SANE_DEBUG_SANEI_SCSI=1 /tmp/sane/bin/scanimage -d hp:/dev/sg0
[sanei_debug] Setting debug level of sanei_scsi to 1.
[sanei_scsi] lx_chk_devicename: matched device(direct): /dev/sg0
[sanei_debug] Setting debug level of sanei_scsi to 1.
[sanei_debug] Setting debug level of sanei_scsi to 1.
[sanei_debug] Setting debug level of sanei_scsi to 1.
[sanei_scsi] lx_chk_devicename: matched device(direct): /dev/sg0
[sanei_scsi] sanei_scsi_open: SG driver version: 30120
[sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer
[sanei_scsi] trying to enable low level command queueing
[sanei_scsi] sanei_scsi_open: Host adapter queue depth: 2
[sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time
[sanei_scsi] sanei_scsi_open: low level command queueing enabled
[sanei_scsi] sanei_scsi_open: using new SG header structure
[sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Success
[sanei_debug] Setting debug level of sanei_scsi to 1.
[sanei_scsi] sanei_scsi_open: SG driver version: 30120
[sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer
[sanei_scsi] trying to enable low level command queueing
[sanei_scsi] sanei_scsi_open: Host adapter queue depth: 2
[sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time
[sanei_scsi] sanei_scsi_open: low level command queueing enabled
[sanei_scsi] sanei_scsi_open: using new SG header structure
[sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Success
[sanei_debug] Setting debug level of sanei_scsi to 1.
[sanei_scsi] sanei_scsi_open: SG driver version: 30120
[sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer
[sanei_scsi] trying to enable low level command queueing
[sanei_scsi] sanei_scsi_open: Host adapter queue depth: 2
[sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time
[sanei_scsi] sanei_scsi_open: low level command queueing enabled
[sanei_scsi] sanei_scsi_open: using new SG header structure
[sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Success
scanimage: open of device hp:/dev/sg0 failed: Error during device I/O


> env SANE_DEBUG_SANEI_SCSI=255 /tmp/sane/bin/scanimage -d hp:/dev/sg0
[sanei_debug] Setting debug level of sanei_scsi to 255.
[sanei_scsi] sanei_scsi_find_devices: vendor=HP model=(null) type=(null)
	bus=0 chan=0 id=3 lun=0  num=0
[sanei_scsi] lx_chk_id: 0,0  0,0  3,3  0,0
[sanei_scsi] lx_chk_devicename: matched device(direct): /dev/sg0
[sanei_debug] Setting debug level of sanei_scsi to 255.
[sanei_debug] Setting debug level of sanei_scsi to 255.
[sanei_debug] Setting debug level of sanei_scsi to 255.
[sanei_scsi] sanei_scsi_find_devices: vendor=(null) model=(null) type=Processor
	bus=0 chan=0 id=3 lun=0  num=0
[sanei_scsi] lx_chk_id: 0,0  0,0  3,3  0,0
[sanei_scsi] lx_chk_devicename: matched device(direct): /dev/sg0
[sanei_scsi] get_max_buffer_size for /dev/sg0: 131072
[sanei_scsi] sanei_scsi_open: sanei_scsi_max_request_size=131072 bytes
[sanei_scsi] sanei_scsi_open: SG driver version: 30120
[sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer
[sanei_scsi] trying to enable low level command queueing
[sanei_scsi] sanei_scsi_open: Host adapter queue depth: 2
[sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time
[sanei_scsi] sanei_scsi_open: low level command queueing enabled
[sanei_scsi] sanei_scsi_open: using new SG header structure
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=0 blen=36 dur=10ms sgat=0 op=0x12
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=0 blen=36 dur=10ms sgat=0 op=0x12
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rcv: id=1 blen=0 dur=0ms sgat=0 op=0x00
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rcv: id=1 blen=0 dur=0ms sgat=0 op=0x00
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> act: id=2 blen=2 t_o/elap=60000/20ms sgat=0 op=0x0a
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=2 blen=2 dur=20ms sgat=0 op=0x0a
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=3 blen=7 dur=10ms sgat=0 op=0x0a
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=3 blen=7 dur=10ms sgat=0 op=0x0a
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=4 blen=16 dur=10ms sgat=0 op=0x08
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=4 blen=16 dur=10ms sgat=0 op=0x08
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Success
[sanei_scsi] sense buffer: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[sanei_scsi] target status: 00 host status: 0007 driver status: 0027
[sanei_debug] Setting debug level of sanei_scsi to 255.
[sanei_scsi] sanei_scsi_open: SG driver version: 30120
[sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer
[sanei_scsi] trying to enable low level command queueing
[sanei_scsi] sanei_scsi_open: Host adapter queue depth: 2
[sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time
[sanei_scsi] sanei_scsi_open: low level command queueing enabled
[sanei_scsi] sanei_scsi_open: using new SG header structure
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=5 blen=36 dur=10ms sgat=0 op=0x12
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=5 blen=36 dur=10ms sgat=0 op=0x12
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rcv: id=6 blen=0 dur=0ms sgat=0 op=0x00
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rcv: id=6 blen=0 dur=0ms sgat=0 op=0x00
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> act: id=7 blen=2 t_o/elap=60000/10ms sgat=0 op=0x0a
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=7 blen=2 dur=10ms sgat=0 op=0x0a
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=8 blen=7 dur=10ms sgat=0 op=0x0a
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=8 blen=7 dur=10ms sgat=0 op=0x0a
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=9 blen=16 dur=10ms sgat=0 op=0x08
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=9 blen=16 dur=10ms sgat=0 op=0x08
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Success
[sanei_scsi] sense buffer: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[sanei_scsi] target status: 00 host status: 0007 driver status: 0027
[sanei_debug] Setting debug level of sanei_scsi to 255.
[sanei_scsi] sanei_scsi_open: SG driver version: 30120
[sanei_scsi] sanei_scsi_open_extended: using 131072 bytes as SCSI buffer
[sanei_scsi] trying to enable low level command queueing
[sanei_scsi] sanei_scsi_open: Host adapter queue depth: 2
[sanei_scsi] sanei_scsi_open: SG driver can change buffer size at run time
[sanei_scsi] sanei_scsi_open: low level command queueing enabled
[sanei_scsi] sanei_scsi_open: using new SG header structure
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=10 blen=36 dur=0ms sgat=0 op=0x12
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=10 blen=36 dur=0ms sgat=0 op=0x12
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rcv: id=11 blen=0 dur=0ms sgat=0 op=0x00
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rcv: id=11 blen=0 dur=0ms sgat=0 op=0x00
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> act: id=12 blen=2 t_o/elap=60000/20ms sgat=0 op=0x0a
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=12 blen=2 dur=20ms sgat=0 op=0x0a
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=13 blen=7 dur=10ms sgat=0 op=0x0a
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=13 blen=7 dur=10ms sgat=0 op=0x0a
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] scsi_req_enter: entered 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=14 blen=16 dur=0ms sgat=0 op=0x08
[sanei_scsi] scsi_req_enter: queue_used: 1, queue_max: 2
[sanei_scsi] sanei_scsi_req_wait: waiting for 0x401b1008
[sanei_scsi] sanei_scsi.issue: 0x401b1008
dev_max(currently)=7 max_active_device=1 (origin 1)
 scsi_dma_free_sectors=2096 sg_pool_secs_aval=320 def_reserved_size=32768
 >>> device=sg0 scsi0 chan=0 id=3 lun=0   em=0 sg_tablesize=128 excl=1
   FD(1): timeout=60000ms bufflen=131072 (res)sgat=4 low_dma=1
   cmd_q=1 f_packid=0 k_orphan=0 closed=0
     rb>> rcv: id=14 blen=16 dur=0ms sgat=0 op=0x08
[sanei_scsi] sanei_scsi_req_wait: read 64 bytes
[sanei_scsi] sanei_scsi_req_wait: SCSI command complained: Success
[sanei_scsi] sense buffer: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[sanei_scsi] target status: 00 host status: 0007 driver status: 0027
scanimage: open of device hp:/dev/sg0 failed: Error during device I/O


Volker

-- 
Volker Kuhlmann			is possibly list0570 with the domain in header
http://volker.orcon.net.nz/		Please do not CC list postings to me.




More information about the sane-devel mailing list