[sane-devel] Acard AEC6712S (atp870u.ko) and HP 6100C C2520A (sg.ko) problems

abel deuring adeuring at gmx.net
Fri Aug 18 09:54:59 UTC 2006


Justin Findlay wrote:
> I have an HP 6100C scanjet (I wonder why they call it a scanjet) anyway
> I have this scanner connected to an Acard SCSI PCI adapter.  When I load
> the driver module for the SCSI card (atp870u) this is what gets printed
> out in /var/log/kernel:
> 
>  atp870u: use 32bit DMA mask.
>     ACARD AEC-671X PCI Ultra/W SCSI-2/3 Host Adapter: 0 IO:cc00, IRQ:20.
>           ID:  2  HP      C2520A          3644
>           ID:  7  Host Adapter
>  scsi5 : ACARD AEC-6710/6712/67160 PCI Ultra/W/LVD SCSI-3 Adapter Driver V2.6+ac
>   atp870u: abort Channel = 0
>  working=1 last_cmd=2  quhdu=1 quendu=1  r 0= 6 r 1=2c r 2=cf r 3=12 r 4= 0 r 5= 0 r 6= 0 r 7=24 r 8= 0 r 9= 0 r a= 0 r b= 0 r c= 0 r d= 0 r e= 0 r f= 0 r10=36 r11=20 r12= 0 r13= 0 r14= 8 r15= 2 r16=80 r17=42 r1c=a1 r1f=37 in_snd= 0  d00= 9 d02= 0
>  working=1 last_cmd=2  quhdu=1 quendu=2  r 0= 6 r 1=2c r 2=cf r 3=12 r 4= 0 r 5= 0 r 6= 0 r 7=24 r 8= 0 r 9= 0 r a= 0 r b= 0 r c= 0 r d= 0 r e= 0 r f= 0 r10=36 r11=20 r12= 0 r13= 0 r14= 8 r15= 2 r16=80 r17=42 r1c=a1 r1f=37 in_snd= 0  d00= 9 d02= 0
>   que cdb=   0   0   0   0   0   0  last_lenu= 24 <6>scsi 5:0:2:0: scsi: Device offlined - not ready after error recovery
> 
> So my question is whether the scanner is bad or the sg SCSI driver
> doesn't like the scanner or something else I'm not thinking of.

No idea, what exactly is going wrong. This message comes from the
atp870u driver; obviously something is broken at a very basic level.
The cause can be the scanner, the SCSI host adapter, the atp870u
driver -- or simply a bad SCSI cable or missing SCSI bus
termination. If you have other devices connected to the same SCSI
bus, they could be the cause of the problem too.

If possible, try different cables and another SCSI adapter, or
connect another SCSI device to the Acard adapter to get a better
idea, where the error might come from.

Abel



More information about the sane-devel mailing list